@surrealdb/lezer 1.0.5 → 1.0.8

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.
@@ -1,7 +1,7 @@
1
1
  $ lezer-generator src/surrealql.grammar -o src/parser.js && rollup -c
2
- Precedence specified for unknown token "f'" (src/surrealql.grammar 1642:15)
3
- Precedence specified for unknown token "f\"" (src/surrealql.grammar 1642:20)
2
+ Precedence specified for unknown token "f'" (src/surrealql.grammar 1651:15)
3
+ Precedence specified for unknown token "f\"" (src/surrealql.grammar 1651:20)
4
4
  Wrote src/parser.js and src/parser.terms.js
5
5
  
6
6
  ./src/index.js → ./dist/index.cjs, ./dist/index.js...
7
- created ./dist/index.cjs, ./dist/index.js in 84ms
7
+ created ./dist/index.cjs, ./dist/index.js in 91ms
@@ -39,15 +39,22 @@ $ bun run test/test-surrealql.js
39
39
  ✔ Define database
40
40
  ✔ Define user
41
41
  ✔ Define event
42
+ ✔ Define event with async
42
43
  ✔ Define field
43
44
  ✔ Define field with default
44
45
  ✔ Define field with assert
45
46
  ✔ Define field readonly
46
47
  ✔ Define field flexible type
48
+ ✔ Define field with flexible after type clause
49
+ ✔ Define field flexible after parameterized object type
47
50
  ✔ Define field with permissions
48
51
  ✔ Define field with reference
49
52
  ✔ Define field with computed
53
+ ✔ Define field on array items
54
+ ✔ Define field on array items with bracket wildcard
55
+ ✔ Define field nested below array items
50
56
  ✔ Define index unique
57
+ ✔ Define index on array items
51
58
  ✔ Define index search analyzer
52
59
  ✔ Define index mtree
53
60
  ✔ Define index hnsw
@@ -68,7 +75,7 @@ $ bun run test/test-surrealql.js
68
75
  ✔ Define config graphql
69
76
  ✔ Define bucket
70
77
  ✔ Define scope
71
-  35 tests: 35 passed
78
+  42 tests: 42 passed
72
79
 
73
80
  statements/delete.txt
74
81
  ✔ Simple delete
@@ -245,13 +252,14 @@ $ bun run test/test-surrealql.js
245
252
  ✔ Update with SET
246
253
  ✔ Update with CONTENT
247
254
  ✔ Update with MERGE
255
+ ✔ Update path target with MERGE expression
248
256
  ✔ Update with REPLACE
249
257
  ✔ Update with UNSET
250
258
  ✔ Update with WHERE
251
259
  ✔ Update with RETURN
252
260
  ✔ Update with TIMEOUT
253
261
  ✔ Update with PARALLEL
254
-  11 tests: 11 passed
262
+  12 tests: 12 passed
255
263
 
256
264
  statements/upsert.txt
257
265
  ✔ Simple upsert
@@ -366,11 +374,12 @@ $ bun run test/test-surrealql.js
366
374
  ✔ Float
367
375
  ✔ Float with exponent
368
376
  ✔ Float with f suffix
377
+ ✔ Underscore separators
369
378
  ✔ Float special values
370
379
  ✔ Decimal
371
380
  ✔ Negative numbers
372
381
  ✔ Positive explicit sign
373
-  8 tests: 8 passed
382
+  9 tests: 9 passed
374
383
 
375
384
  values/objects.txt
376
385
  ✔ Simple object
@@ -498,4 +507,4 @@ $ bun run test/test-surrealql.js
498
507
  ✔ Subquery with create
499
508
   3 tests: 3 passed
500
509
 
501
- Total: 354 | Passed: 354 | Failed: 0
510
+ Total: 363 | Passed: 363 | Failed: 0