@sanity-labs/groq-wasm 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -193,7 +193,7 @@ interface ParamReference {
193
193
 
194
194
  ## Lint Rules
195
195
 
196
- The following rules are available. They run on Rust groq-lint's IR. `join-in-filter`, `computed-value-in-filter`, `deep-pagination`, `deep-pagination-param`, `large-pages`, `non-literal-comparison`, `count-in-correlated-subquery` and `many-joins` are reimplemented in `rust/src/rules/` so their findings match the Content Lake query plan:
196
+ The following rules are available. They come from Rust groq-lint. `join-in-filter`, `computed-value-in-filter`, `deep-pagination`, `deep-pagination-param`, `large-pages`, `non-literal-comparison`, `count-in-correlated-subquery` and `many-joins` match the Content Lake query plan:
197
197
 
198
198
  - Slices of one document's attribute array (`reviews[1500..1600]`) are not pagination.
199
199
  - A correlated `count()` is only reported when its `^` condition is not `==` or `references()`, because those are batched into one index read.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity-labs/groq-wasm",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "WASM bindings for GROQ linting and formatting (groq-lint + groq-format)",
5
5
  "keywords": [
6
6
  "sanity",
Binary file