@traqula/test-utils 0.0.1-alpha.148 → 0.0.1-alpha.9
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 +3 -3
- package/lib/Sparql11NotesTest.d.ts +2 -2
- package/lib/Sparql11NotesTest.js +27 -25
- package/lib/Sparql11NotesTest.js.map +1 -1
- package/lib/fileUtils.d.ts +3 -0
- package/lib/fileUtils.js +6 -0
- package/lib/fileUtils.js.map +1 -0
- package/lib/index.cjs +521 -149
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/matchers/toEqualParsedQuery.js +27 -13
- package/lib/matchers/toEqualParsedQuery.js.map +1 -1
- package/lib/matchers/vitest.d.ts +1 -0
- package/lib/matchers/vitest.js.map +1 -1
- package/lib/statics/generators.d.ts +4 -3
- package/lib/statics/generators.js +33 -17
- package/lib/statics/generators.js.map +1 -1
- package/lib/statics/generators.ts +49 -28
- package/lib/statics/paths/a-generated.sparql +1 -0
- package/lib/statics/paths/a-opt-generated.sparql +1 -0
- package/lib/statics/paths/a-opt.json +16 -5
- package/lib/statics/paths/a-star-generated.sparql +1 -0
- package/lib/statics/paths/a-star.json +16 -5
- package/lib/statics/paths/a.json +8 -3
- package/lib/statics/paths/named-node-generated.sparql +1 -0
- package/lib/statics/paths/named-node-sequence-generated.sparql +1 -0
- package/lib/statics/paths/named-node-sequence.json +32 -0
- package/lib/statics/paths/named-node.json +10 -0
- package/lib/statics/paths/prefixed-generated.sparql +1 -0
- package/lib/statics/paths/prefixed.json +26 -7
- package/lib/statics/sparql-1-1/all-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/all.json +82 -25
- package/lib/statics/sparql-1-1/artists-ghent-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/artists-ghent.json +457 -135
- package/lib/statics/sparql-1-1/artists-york-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/artists-york.json +188 -60
- package/lib/statics/sparql-1-1/ask-in-anonymous-node-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/ask-in-anonymous-node.json +109 -21
- package/lib/statics/sparql-1-1/blanks-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/blanks.json +1099 -346
- package/lib/statics/sparql-1-1/boolean-case-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/boolean-case.json +405 -165
- package/lib/statics/sparql-1-1/bsbm1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm1.json +406 -106
- package/lib/statics/sparql-1-1/bsbm10-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm10.json +552 -170
- package/lib/statics/sparql-1-1/bsbm3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm3.json +340 -82
- package/lib/statics/sparql-1-1/bsbm4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm4.json +768 -239
- package/lib/statics/sparql-1-1/bsbm5-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm5.json +748 -257
- package/lib/statics/sparql-1-1/bsbm6-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm6.json +227 -61
- package/lib/statics/sparql-1-1/bsbm8-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm8.json +752 -236
- package/lib/statics/sparql-1-1/bsbm9-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/bsbm9.json +103 -25
- package/lib/statics/sparql-1-1/clear-drop-generated.sparql +12 -0
- package/lib/statics/sparql-1-1/clear-drop.json +290 -67
- package/lib/statics/sparql-1-1/compact-bgp-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/compact-bgp.json +508 -172
- package/lib/statics/sparql-1-1/construct-extra-semicolon-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/construct-extra-semicolon.json +189 -66
- package/lib/statics/sparql-1-1/construct-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/construct-multi-extra-semicolons-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/construct-multi-extra-semicolons.json +189 -66
- package/lib/statics/sparql-1-1/construct-without-template-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/construct-without-template.json +118 -35
- package/lib/statics/sparql-1-1/construct.json +120 -35
- package/lib/statics/sparql-1-1/count-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/count.json +134 -34
- package/lib/statics/sparql-1-1/empty-values-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/empty-values.json +93 -27
- package/lib/statics/sparql-1-1/fedbench-cd1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/fedbench-cd1.json +211 -65
- package/lib/statics/sparql-1-1/fedbench-cd2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/fedbench-cd2.json +168 -56
- package/lib/statics/sparql-1-1/fedbench-cd3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/fedbench-cd3.json +252 -86
- package/lib/statics/sparql-1-1/group-and-bind-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/group-and-bind.json +178 -45
- package/lib/statics/sparql-1-1/group-brackets-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/group-brackets.json +223 -58
- package/lib/statics/sparql-1-1/group-concat-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/group-concat.json +207 -54
- package/lib/statics/sparql-1-1/group-variable-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/group-variable.json +255 -67
- package/lib/statics/sparql-1-1/in-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/in.json +227 -90
- package/lib/statics/sparql-1-1/inverse-paths-anonymous-node-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/inverse-paths-anonymous-node.json +250 -76
- package/lib/statics/sparql-1-1/inverse-paths-in-anonymous-node-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/inverse-paths-in-anonymous-node-2.json +214 -63
- package/lib/statics/sparql-1-1/inverse-paths-in-anonymous-node-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/inverse-paths-in-anonymous-node.json +250 -76
- package/lib/statics/sparql-1-1/lists-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/lists.json +2134 -819
- package/lib/statics/sparql-1-1/load-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/load-into-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/load-into.json +44 -10
- package/lib/statics/sparql-1-1/load.json +25 -6
- package/lib/statics/sparql-1-1/multiline-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/multiline.json +84 -31
- package/lib/statics/sparql-1-1/negate-and-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/negate-and.json +223 -82
- package/lib/statics/sparql-1-1/nested-path-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/nested-path.json +151 -40
- package/lib/statics/sparql-1-1/optional-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/optional-subquery-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/optional-subquery.json +139 -42
- package/lib/statics/sparql-1-1/optional.json +245 -90
- package/lib/statics/sparql-1-1/or-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/or.json +663 -294
- package/lib/statics/sparql-1-1/order-operator-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/order-operator.json +155 -43
- package/lib/statics/sparql-1-1/sequence-paths-in-anonymous-node-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sequence-paths-in-anonymous-node.json +207 -59
- package/lib/statics/sparql-1-1/spaced-data-update-generated.sparql +3 -0
- package/lib/statics/sparql-1-1/spaced-data-update.json +182 -70
- package/lib/statics/sparql-1-1/sparql-10-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-10-1a.json +337 -108
- package/lib/statics/sparql-1-1/sparql-10-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-10-1b.json +355 -114
- package/lib/statics/sparql-1-1/sparql-10-2-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-10-2-2a.json +230 -59
- package/lib/statics/sparql-1-1/sparql-10-2-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-10-2-2b.json +227 -63
- package/lib/statics/sparql-1-1/sparql-10-2-2c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-10-2-2c.json +224 -57
- package/lib/statics/sparql-1-1/sparql-11-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-11-1.json +286 -86
- package/lib/statics/sparql-1-1/sparql-11-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-11-2.json +185 -49
- package/lib/statics/sparql-1-1/sparql-11-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-11-3.json +213 -63
- package/lib/statics/sparql-1-1/sparql-11-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-11-4.json +238 -70
- package/lib/statics/sparql-1-1/sparql-11-5-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-11-5.json +247 -67
- package/lib/statics/sparql-1-1/sparql-12-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-12.json +289 -77
- package/lib/statics/sparql-1-1/sparql-13-2-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-2-1.json +115 -30
- package/lib/statics/sparql-1-1/sparql-13-2-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-2-2.json +128 -34
- package/lib/statics/sparql-1-1/sparql-13-2-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-2-3.json +244 -68
- package/lib/statics/sparql-1-1/sparql-13-3-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-3-1.json +197 -60
- package/lib/statics/sparql-1-1/sparql-13-3-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-3-2.json +208 -57
- package/lib/statics/sparql-1-1/sparql-13-3-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-3-3.json +458 -139
- package/lib/statics/sparql-1-1/sparql-13-3-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-13-3-4.json +279 -81
- package/lib/statics/sparql-1-1/sparql-15-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-1a.json +128 -28
- package/lib/statics/sparql-1-1/sparql-15-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-1b.json +184 -43
- package/lib/statics/sparql-1-1/sparql-15-1c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-1c.json +199 -46
- package/lib/statics/sparql-1-1/sparql-15-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-2.json +103 -25
- package/lib/statics/sparql-1-1/sparql-15-3-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-3-1.json +104 -26
- package/lib/statics/sparql-1-1/sparql-15-3-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-3-2.json +104 -26
- package/lib/statics/sparql-1-1/sparql-15-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-3.json +103 -25
- package/lib/statics/sparql-1-1/sparql-15-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-4.json +139 -30
- package/lib/statics/sparql-1-1/sparql-15-5-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-15-5.json +114 -26
- package/lib/statics/sparql-1-1/sparql-16-1-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-1-1.json +255 -80
- package/lib/statics/sparql-1-1/sparql-16-1-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-1-2a.json +265 -73
- package/lib/statics/sparql-1-1/sparql-16-1-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-1-2b.json +288 -77
- package/lib/statics/sparql-1-1/sparql-16-2-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-2-1.json +440 -116
- package/lib/statics/sparql-1-1/sparql-16-2-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-2-2.json +349 -97
- package/lib/statics/sparql-1-1/sparql-16-2-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-2-3.json +230 -52
- package/lib/statics/sparql-1-1/sparql-16-2-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-2-4.json +137 -33
- package/lib/statics/sparql-1-1/sparql-16-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-2.json +158 -33
- package/lib/statics/sparql-1-1/sparql-16-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-3.json +129 -40
- package/lib/statics/sparql-1-1/sparql-16-4-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-4-1.json +24 -5
- package/lib/statics/sparql-1-1/sparql-16-4-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-4-2a.json +103 -25
- package/lib/statics/sparql-1-1/sparql-16-4-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-4-2b.json +102 -30
- package/lib/statics/sparql-1-1/sparql-16-4-2c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-4-2c.json +119 -29
- package/lib/statics/sparql-1-1/sparql-16-4-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-16-4-3.json +102 -30
- package/lib/statics/sparql-1-1/sparql-17-4-1-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-1a.json +228 -57
- package/lib/statics/sparql-1-1/sparql-17-4-1-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-1b.json +219 -61
- package/lib/statics/sparql-1-1/sparql-17-4-1-7a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-7a.json +302 -99
- package/lib/statics/sparql-1-1/sparql-17-4-1-7b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-7b.json +238 -66
- package/lib/statics/sparql-1-1/sparql-17-4-1-8a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-8a.json +314 -105
- package/lib/statics/sparql-1-1/sparql-17-4-1-8b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-1-8b.json +412 -130
- package/lib/statics/sparql-1-1/sparql-17-4-2-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-1.json +176 -51
- package/lib/statics/sparql-1-1/sparql-17-4-2-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-2.json +309 -84
- package/lib/statics/sparql-1-1/sparql-17-4-2-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-3.json +176 -51
- package/lib/statics/sparql-1-1/sparql-17-4-2-5-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-5.json +198 -67
- package/lib/statics/sparql-1-1/sparql-17-4-2-6-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-6.json +198 -67
- package/lib/statics/sparql-1-1/sparql-17-4-2-7-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-2-7.json +237 -61
- package/lib/statics/sparql-1-1/sparql-17-4-3-13a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-3-13a.json +188 -68
- package/lib/statics/sparql-1-1/sparql-17-4-3-13b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-3-13b.json +152 -50
- package/lib/statics/sparql-1-1/sparql-17-4-3-14-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-4-3-14.json +150 -54
- package/lib/statics/sparql-1-1/sparql-17-6a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-6a.json +204 -53
- package/lib/statics/sparql-1-1/sparql-17-6b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17-6b.json +390 -136
- package/lib/statics/sparql-1-1/sparql-17-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-17.json +228 -58
- package/lib/statics/sparql-1-1/sparql-18-a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-18-a.json +252 -77
- package/lib/statics/sparql-1-1/sparql-18-b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-18-b.json +511 -153
- package/lib/statics/sparql-1-1/sparql-18-c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-18-c.json +208 -60
- package/lib/statics/sparql-1-1/sparql-19-a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-19-a.json +134 -33
- package/lib/statics/sparql-1-1/sparql-4-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-4-2a.json +103 -25
- package/lib/statics/sparql-1-1/sparql-4-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-4-2b.json +124 -26
- package/lib/statics/sparql-1-1/sparql-4-2c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-4-2c.json +122 -26
- package/lib/statics/sparql-1-1/sparql-5-2-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-1.json +34 -6
- package/lib/statics/sparql-1-1/sparql-5-2-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-2a.json +188 -61
- package/lib/statics/sparql-1-1/sparql-5-2-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-2b.json +187 -60
- package/lib/statics/sparql-1-1/sparql-5-2-2c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-2c.json +198 -65
- package/lib/statics/sparql-1-1/sparql-5-2-3a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-3a.json +151 -42
- package/lib/statics/sparql-1-1/sparql-5-2-3b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-3b.json +198 -65
- package/lib/statics/sparql-1-1/sparql-5-2-3c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2-3c.json +170 -49
- package/lib/statics/sparql-1-1/sparql-5-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2a.json +151 -42
- package/lib/statics/sparql-1-1/sparql-5-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-5-2b.json +181 -54
- package/lib/statics/sparql-1-1/sparql-6-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-6-1.json +171 -50
- package/lib/statics/sparql-1-1/sparql-6-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-6-2.json +235 -69
- package/lib/statics/sparql-1-1/sparql-6-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-6-3.json +239 -75
- package/lib/statics/sparql-1-1/sparql-7a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-7a.json +203 -47
- package/lib/statics/sparql-1-1/sparql-7b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-7b.json +211 -49
- package/lib/statics/sparql-1-1/sparql-7c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-7c.json +289 -77
- package/lib/statics/sparql-1-1/sparql-8-1-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-1-1.json +199 -49
- package/lib/statics/sparql-1-1/sparql-8-1-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-1-2.json +199 -49
- package/lib/statics/sparql-1-1/sparql-8-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-2.json +180 -53
- package/lib/statics/sparql-1-1/sparql-8-3-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-1a.json +156 -48
- package/lib/statics/sparql-1-1/sparql-8-3-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-1b.json +139 -46
- package/lib/statics/sparql-1-1/sparql-8-3-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-2a.json +177 -47
- package/lib/statics/sparql-1-1/sparql-8-3-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-2b.json +160 -45
- package/lib/statics/sparql-1-1/sparql-8-3-3a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-3a.json +198 -50
- package/lib/statics/sparql-1-1/sparql-8-3-3b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-8-3-3b.json +198 -60
- package/lib/statics/sparql-1-1/sparql-9-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2a.json +162 -34
- package/lib/statics/sparql-1-1/sparql-9-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2b.json +160 -34
- package/lib/statics/sparql-1-1/sparql-9-2c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2c.json +159 -45
- package/lib/statics/sparql-1-1/sparql-9-2d-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2d.json +170 -49
- package/lib/statics/sparql-1-1/sparql-9-2e-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2e.json +243 -70
- package/lib/statics/sparql-1-1/sparql-9-2f-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2f.json +227 -68
- package/lib/statics/sparql-1-1/sparql-9-2g-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2g.json +246 -77
- package/lib/statics/sparql-1-1/sparql-9-2h-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2h.json +101 -24
- package/lib/statics/sparql-1-1/sparql-9-2i-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2i.json +111 -29
- package/lib/statics/sparql-1-1/sparql-9-2j-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2j.json +171 -53
- package/lib/statics/sparql-1-1/sparql-9-2k-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2k.json +177 -51
- package/lib/statics/sparql-1-1/sparql-9-2l-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2l.json +170 -51
- package/lib/statics/sparql-1-1/sparql-9-2m-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2m.json +151 -39
- package/lib/statics/sparql-1-1/sparql-9-2n-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2n.json +152 -39
- package/lib/statics/sparql-1-1/sparql-9-2o-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2o.json +152 -39
- package/lib/statics/sparql-1-1/sparql-9-2p-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2p.json +169 -43
- package/lib/statics/sparql-1-1/sparql-9-2q-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2q.json +143 -44
- package/lib/statics/sparql-1-1/sparql-9-2r-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-2r.json +153 -39
- package/lib/statics/sparql-1-1/sparql-9-3a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-3a.json +121 -32
- package/lib/statics/sparql-1-1/sparql-9-3b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-3b.json +139 -37
- package/lib/statics/sparql-1-1/sparql-9-3c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-3c.json +154 -42
- package/lib/statics/sparql-1-1/sparql-9-4a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-4a.json +162 -42
- package/lib/statics/sparql-1-1/sparql-9-4b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-9-4b.json +134 -31
- package/lib/statics/sparql-1-1/sparql-fed-2-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-1.json +186 -58
- package/lib/statics/sparql-1-1/sparql-fed-2-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-2.json +269 -87
- package/lib/statics/sparql-1-1/sparql-fed-2-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-3.json +124 -34
- package/lib/statics/sparql-1-1/sparql-fed-2-4a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-4a.json +172 -51
- package/lib/statics/sparql-1-1/sparql-fed-2-4b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-4b.json +123 -26
- package/lib/statics/sparql-1-1/sparql-fed-2-4c-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-4c.json +154 -35
- package/lib/statics/sparql-1-1/sparql-fed-2-4d-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-2-4d.json +182 -55
- package/lib/statics/sparql-1-1/sparql-fed-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-fed-4.json +292 -86
- package/lib/statics/sparql-1-1/sparql-modifiers-order-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-modifiers-order.json +311 -90
- package/lib/statics/sparql-1-1/sparql-update-1-1-1-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-1-1-1.json +100 -27
- package/lib/statics/sparql-1-1/sparql-update-3-1-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-1a.json +117 -43
- package/lib/statics/sparql-1-1/sparql-update-3-1-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-1b.json +128 -30
- package/lib/statics/sparql-1-1/sparql-update-3-1-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-2a.json +117 -43
- package/lib/statics/sparql-1-1/sparql-update-3-1-2b-generated.sparql +2 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-2b.json +176 -57
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-1a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-1a.json +263 -76
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-1b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-1b.json +191 -60
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2a.json +290 -77
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2b.json +283 -66
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2c-generated.sparql +2 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-2c.json +567 -160
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-3a-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-3a.json +117 -38
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-3b-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-3b.json +199 -62
- package/lib/statics/sparql-1-1/sparql-update-3-1-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-1-3.json +206 -77
- package/lib/statics/sparql-1-1/sparql-update-3-2-3-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-2-3.json +42 -12
- package/lib/statics/sparql-1-1/sparql-update-3-2-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-2-4.json +42 -12
- package/lib/statics/sparql-1-1/sparql-update-3-2-5-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-3-2-5.json +42 -12
- package/lib/statics/sparql-1-1/sparql-update-4-2-4-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-4-2-4.json +156 -49
- package/lib/statics/sparql-1-1/sparql-update-multiple-prefixes-generated.sparql +2 -0
- package/lib/statics/sparql-1-1/sparql-update-multiple-prefixes.json +160 -49
- package/lib/statics/sparql-1-1/sparql-update-only-prefix-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-only-prefix.json +31 -2
- package/lib/statics/sparql-1-1/sparql-update-trailing-prologue-generated.sparql +2 -0
- package/lib/statics/sparql-1-1/sparql-update-trailing-prologue.json +84 -25
- package/lib/statics/sparql-1-1/sparql-update-trailing-semicolon-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-update-trailing-semicolon.json +65 -25
- package/lib/statics/sparql-1-1/sparql-values-clause-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sparql-values-clause.json +331 -94
- package/lib/statics/sparql-1-1/strlen-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/strlen.json +115 -32
- package/lib/statics/sparql-1-1/sub-values-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sub-values.json +182 -49
- package/lib/statics/sparql-1-1/subquery-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/subquery.json +143 -44
- package/lib/statics/sparql-1-1/subtract-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/subtract.json +91 -33
- package/lib/statics/sparql-1-1/sum-count-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/sum-count.json +222 -56
- package/lib/statics/sparql-1-1/unicode-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/unicode.json +81 -31
- package/lib/statics/sparql-1-1/union-complex-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/union-complex.json +305 -80
- package/lib/statics/sparql-1-1/union-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/union.json +242 -63
- package/lib/statics/sparql-1-1/using-generated.sparql +1 -0
- package/lib/statics/sparql-1-1/using.json +165 -55
- package/lib/statics/sparql-1-2/01-mine-sparql-1-2-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/01-mine-sparql-1-2.json +178 -0
- package/lib/statics/sparql-1-2/01-mine-sparql-1-2.sparql +6 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-01.json +152 -68
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-02.json +404 -151
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-03.json +224 -105
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-04.json +274 -141
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-05.json +227 -102
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-06.json +173 -83
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-07.json +220 -97
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-08-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-08.json +210 -84
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-09-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-09.json +242 -120
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-01.json +210 -118
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-02.json +266 -168
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-03.json +353 -217
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-anonreifier-multiple-04.json +462 -314
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-01.json +169 -68
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-02.json +424 -151
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-03.json +238 -105
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-04.json +291 -141
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-05.json +244 -102
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-06.json +188 -81
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-07.json +235 -95
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-08-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-08.json +227 -84
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-09-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-09.json +270 -120
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-01.json +106 -54
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-02.json +181 -104
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-03.json +244 -118
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-04.json +317 -168
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-05.json +311 -204
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-06.json +148 -92
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-07.json +294 -188
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-08-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-08.json +419 -215
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-09-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-09.json +561 -311
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-10-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-annotation-reifier-multiple-10.json +547 -381
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-01.json +154 -49
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-02.json +145 -55
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-03.json +149 -53
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-04.json +142 -54
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-06.json +146 -46
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-07.json +393 -175
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-08-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-08.json +118 -45
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-09-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-09.json +121 -45
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-10-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-10.json +170 -81
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-11-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-11.json +167 -69
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-12-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-12.json +173 -69
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-13-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-anonreifier-13.json +268 -138
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-01.json +158 -49
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-02.json +148 -55
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-03.json +151 -53
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-04.json +145 -54
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-06.json +150 -46
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-07.json +405 -175
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-08-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-08.json +121 -45
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-09-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-09.json +124 -45
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-10-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-10.json +176 -81
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-11-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-11.json +173 -69
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-12-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-12.json +179 -69
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-13-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-reifier-13.json +280 -138
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-01.json +128 -33
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-02.json +126 -38
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-03.json +123 -33
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-04.json +123 -33
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-05.json +300 -124
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-06.json +120 -27
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-07.json +306 -96
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-01.json +160 -59
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-02.json +160 -59
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-anonreifier-03.json +152 -53
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-01.json +164 -59
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-02.json +162 -59
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-reifier-03.json +156 -53
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-01.json +134 -39
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-02.json +134 -39
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-bnode-tripleterm-03.json +126 -33
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-all-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-all.json +520 -284
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-anonreifier-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-anonreifier.json +534 -306
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-reifier-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-reifier.json +556 -306
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-tripleterm-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-compound-tripleterm.json +212 -65
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-01.json +151 -43
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-03.json +159 -47
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-04.json +170 -52
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-05.json +288 -99
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-expr-tripleterm-06.json +210 -59
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-anonreifier-01.json +192 -68
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-anonreifier-02.json +344 -152
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-reifier-01.json +195 -68
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-reifier-02.json +349 -152
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-tripleterm-01.json +173 -47
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-tripleterm-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-inside-tripleterm-02.json +306 -110
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-anonreifier-01.json +298 -134
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-anonreifier-02.json +284 -129
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-reifier-01.json +307 -134
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-reifier-02.json +292 -129
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-nested-tripleterm-01.json +215 -65
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-01.json +136 -48
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-02.json +138 -63
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-03.json +371 -199
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-04.json +469 -269
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-05.json +353 -201
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-anonreifier-06.json +222 -96
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-01.json +140 -48
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-02-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-02.json +155 -63
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-03.json +379 -199
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-04.json +479 -269
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-05.json +359 -201
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-06-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-06.json +239 -96
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-07-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-07.json +302 -147
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-08-generated.sparql +2 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-reifier-08.json +284 -137
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-01-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-01.json +110 -29
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-03-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-03.json +306 -181
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-04-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-04.json +368 -213
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-05-generated.sparql +1 -0
- package/lib/statics/sparql-1-2/sparql-1-2-syntax-update-tripleterm-05.json +303 -181
- package/package.json +13 -14
- package/lib/statics/paths/namedNode.json +0 -5
- package/lib/statics/paths/namedNodeSequence.json +0 -15
- package/lib/statics/sparql-1-1/sparql-16-1-2.json +0 -51
- package/lib/statics/sparql-1-1/sparql-16-2-2a.json +0 -67
- /package/lib/statics/paths/{namedNodeSequence.sparql → named-node-sequence.sparql} +0 -0
- /package/lib/statics/paths/{namedNode.sparql → named-node.sparql} +0 -0
package/lib/index.cjs
CHANGED
|
@@ -99,7 +99,7 @@ var require_dist = __commonJS({
|
|
|
99
99
|
o[k2] = m2[k];
|
|
100
100
|
});
|
|
101
101
|
var __exportStar = exports2 && exports2.__exportStar || function(m2, exports3) {
|
|
102
|
-
for (var
|
|
102
|
+
for (var p2 in m2) if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p2)) __createBinding(exports3, m2, p2);
|
|
103
103
|
};
|
|
104
104
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105
105
|
exports2.expectTypeOf = void 0;
|
|
@@ -163,7 +163,8 @@ var index_exports = {};
|
|
|
163
163
|
__export(index_exports, {
|
|
164
164
|
importSparql11NoteTests: () => importSparql11NoteTests,
|
|
165
165
|
negativeTest: () => negativeTest,
|
|
166
|
-
positiveTest: () => positiveTest
|
|
166
|
+
positiveTest: () => positiveTest,
|
|
167
|
+
readFile: () => readFile
|
|
167
168
|
});
|
|
168
169
|
module.exports = __toCommonJS(index_exports);
|
|
169
170
|
|
|
@@ -223,34 +224,51 @@ function C(n = false) {
|
|
|
223
224
|
}
|
|
224
225
|
function p(n = false) {
|
|
225
226
|
let e = C(n), i = (r2, t, c, o) => {
|
|
226
|
-
let l = "",
|
|
227
|
+
let l = "", s2 = 0;
|
|
227
228
|
do
|
|
228
|
-
l += r2.substring(
|
|
229
|
+
l += r2.substring(s2, o) + c, s2 = o + t.length, o = r2.indexOf(t, s2);
|
|
229
230
|
while (~o);
|
|
230
|
-
return l + r2.substring(
|
|
231
|
+
return l + r2.substring(s2);
|
|
231
232
|
}, g = (r2, t, c = r2) => {
|
|
232
233
|
let o = (l) => {
|
|
233
|
-
let
|
|
234
|
-
return ~b ? r2 + i(
|
|
234
|
+
let s2 = String(l), b = s2.indexOf(t, r2.length);
|
|
235
|
+
return ~b ? r2 + i(s2, t, c, b) + t : r2 + s2 + t;
|
|
235
236
|
};
|
|
236
237
|
return o.open = r2, o.close = t, o;
|
|
237
|
-
},
|
|
238
|
+
}, u2 = {
|
|
238
239
|
isColorSupported: e
|
|
239
240
|
}, d = (r2) => `\x1B[${r2}m`;
|
|
240
241
|
for (let [r2, t] of h)
|
|
241
|
-
|
|
242
|
+
u2[r2] = e ? g(
|
|
242
243
|
d(t[0]),
|
|
243
244
|
d(t[1]),
|
|
244
245
|
t[2]
|
|
245
246
|
) : a;
|
|
246
|
-
return
|
|
247
|
+
return u2;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
250
|
// ../../node_modules/tinyrainbow/dist/node.js
|
|
250
251
|
var import_tty = require("tty");
|
|
251
|
-
var
|
|
252
|
+
var r = process.env.FORCE_TTY !== void 0 || (0, import_tty.isatty)(1);
|
|
253
|
+
var u = p(r);
|
|
252
254
|
|
|
253
255
|
// ../../node_modules/@vitest/pretty-format/dist/index.js
|
|
256
|
+
function _mergeNamespaces(n, m2) {
|
|
257
|
+
m2.forEach(function(e) {
|
|
258
|
+
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
|
|
259
|
+
if (k !== "default" && !(k in n)) {
|
|
260
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
261
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
get: function() {
|
|
264
|
+
return e[k];
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
});
|
|
270
|
+
return Object.freeze(n);
|
|
271
|
+
}
|
|
254
272
|
function getKeysOfEnumerableProperties(object, compareKeys) {
|
|
255
273
|
const rawKeys = Object.keys(object);
|
|
256
274
|
const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
|
|
@@ -708,14 +726,219 @@ var serialize$2 = (val, config2, indentation, depth, refs, printer) => {
|
|
|
708
726
|
};
|
|
709
727
|
var test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);
|
|
710
728
|
var plugin$2 = { serialize: serialize$2, test: test$2 };
|
|
729
|
+
function getDefaultExportFromCjs(x) {
|
|
730
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
731
|
+
}
|
|
732
|
+
var reactIs$1 = { exports: {} };
|
|
733
|
+
var reactIs_production = {};
|
|
734
|
+
var hasRequiredReactIs_production;
|
|
735
|
+
function requireReactIs_production() {
|
|
736
|
+
if (hasRequiredReactIs_production) return reactIs_production;
|
|
737
|
+
hasRequiredReactIs_production = 1;
|
|
738
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
739
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
740
|
+
function typeOf(object) {
|
|
741
|
+
if ("object" === typeof object && null !== object) {
|
|
742
|
+
var $$typeof = object.$$typeof;
|
|
743
|
+
switch ($$typeof) {
|
|
744
|
+
case REACT_ELEMENT_TYPE:
|
|
745
|
+
switch (object = object.type, object) {
|
|
746
|
+
case REACT_FRAGMENT_TYPE:
|
|
747
|
+
case REACT_PROFILER_TYPE:
|
|
748
|
+
case REACT_STRICT_MODE_TYPE:
|
|
749
|
+
case REACT_SUSPENSE_TYPE:
|
|
750
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
751
|
+
return object;
|
|
752
|
+
default:
|
|
753
|
+
switch (object = object && object.$$typeof, object) {
|
|
754
|
+
case REACT_CONTEXT_TYPE:
|
|
755
|
+
case REACT_FORWARD_REF_TYPE:
|
|
756
|
+
case REACT_LAZY_TYPE:
|
|
757
|
+
case REACT_MEMO_TYPE:
|
|
758
|
+
return object;
|
|
759
|
+
case REACT_CONSUMER_TYPE:
|
|
760
|
+
return object;
|
|
761
|
+
default:
|
|
762
|
+
return $$typeof;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
case REACT_PORTAL_TYPE:
|
|
766
|
+
return $$typeof;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
771
|
+
reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
|
|
772
|
+
reactIs_production.Element = REACT_ELEMENT_TYPE;
|
|
773
|
+
reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
774
|
+
reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
775
|
+
reactIs_production.Lazy = REACT_LAZY_TYPE;
|
|
776
|
+
reactIs_production.Memo = REACT_MEMO_TYPE;
|
|
777
|
+
reactIs_production.Portal = REACT_PORTAL_TYPE;
|
|
778
|
+
reactIs_production.Profiler = REACT_PROFILER_TYPE;
|
|
779
|
+
reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
780
|
+
reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
|
|
781
|
+
reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
782
|
+
reactIs_production.isContextConsumer = function(object) {
|
|
783
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
784
|
+
};
|
|
785
|
+
reactIs_production.isContextProvider = function(object) {
|
|
786
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
787
|
+
};
|
|
788
|
+
reactIs_production.isElement = function(object) {
|
|
789
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
790
|
+
};
|
|
791
|
+
reactIs_production.isForwardRef = function(object) {
|
|
792
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
793
|
+
};
|
|
794
|
+
reactIs_production.isFragment = function(object) {
|
|
795
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
796
|
+
};
|
|
797
|
+
reactIs_production.isLazy = function(object) {
|
|
798
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
799
|
+
};
|
|
800
|
+
reactIs_production.isMemo = function(object) {
|
|
801
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
802
|
+
};
|
|
803
|
+
reactIs_production.isPortal = function(object) {
|
|
804
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
805
|
+
};
|
|
806
|
+
reactIs_production.isProfiler = function(object) {
|
|
807
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
808
|
+
};
|
|
809
|
+
reactIs_production.isStrictMode = function(object) {
|
|
810
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
811
|
+
};
|
|
812
|
+
reactIs_production.isSuspense = function(object) {
|
|
813
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
814
|
+
};
|
|
815
|
+
reactIs_production.isSuspenseList = function(object) {
|
|
816
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
817
|
+
};
|
|
818
|
+
reactIs_production.isValidElementType = function(type3) {
|
|
819
|
+
return "string" === typeof type3 || "function" === typeof type3 || type3 === REACT_FRAGMENT_TYPE || type3 === REACT_PROFILER_TYPE || type3 === REACT_STRICT_MODE_TYPE || type3 === REACT_SUSPENSE_TYPE || type3 === REACT_SUSPENSE_LIST_TYPE || type3 === REACT_OFFSCREEN_TYPE || "object" === typeof type3 && null !== type3 && (type3.$$typeof === REACT_LAZY_TYPE || type3.$$typeof === REACT_MEMO_TYPE || type3.$$typeof === REACT_CONTEXT_TYPE || type3.$$typeof === REACT_CONSUMER_TYPE || type3.$$typeof === REACT_FORWARD_REF_TYPE || type3.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type3.getModuleId) ? true : false;
|
|
820
|
+
};
|
|
821
|
+
reactIs_production.typeOf = typeOf;
|
|
822
|
+
return reactIs_production;
|
|
823
|
+
}
|
|
824
|
+
var reactIs_development$1 = {};
|
|
825
|
+
var hasRequiredReactIs_development$1;
|
|
826
|
+
function requireReactIs_development$1() {
|
|
827
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
828
|
+
hasRequiredReactIs_development$1 = 1;
|
|
829
|
+
"production" !== process.env.NODE_ENV && function() {
|
|
830
|
+
function typeOf(object) {
|
|
831
|
+
if ("object" === typeof object && null !== object) {
|
|
832
|
+
var $$typeof = object.$$typeof;
|
|
833
|
+
switch ($$typeof) {
|
|
834
|
+
case REACT_ELEMENT_TYPE:
|
|
835
|
+
switch (object = object.type, object) {
|
|
836
|
+
case REACT_FRAGMENT_TYPE:
|
|
837
|
+
case REACT_PROFILER_TYPE:
|
|
838
|
+
case REACT_STRICT_MODE_TYPE:
|
|
839
|
+
case REACT_SUSPENSE_TYPE:
|
|
840
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
841
|
+
return object;
|
|
842
|
+
default:
|
|
843
|
+
switch (object = object && object.$$typeof, object) {
|
|
844
|
+
case REACT_CONTEXT_TYPE:
|
|
845
|
+
case REACT_FORWARD_REF_TYPE:
|
|
846
|
+
case REACT_LAZY_TYPE:
|
|
847
|
+
case REACT_MEMO_TYPE:
|
|
848
|
+
return object;
|
|
849
|
+
case REACT_CONSUMER_TYPE:
|
|
850
|
+
return object;
|
|
851
|
+
default:
|
|
852
|
+
return $$typeof;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
case REACT_PORTAL_TYPE:
|
|
856
|
+
return $$typeof;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
861
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
862
|
+
reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
863
|
+
reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
|
|
864
|
+
reactIs_development$1.Element = REACT_ELEMENT_TYPE;
|
|
865
|
+
reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
866
|
+
reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
|
|
867
|
+
reactIs_development$1.Lazy = REACT_LAZY_TYPE;
|
|
868
|
+
reactIs_development$1.Memo = REACT_MEMO_TYPE;
|
|
869
|
+
reactIs_development$1.Portal = REACT_PORTAL_TYPE;
|
|
870
|
+
reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
|
|
871
|
+
reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
872
|
+
reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
|
|
873
|
+
reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
874
|
+
reactIs_development$1.isContextConsumer = function(object) {
|
|
875
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
876
|
+
};
|
|
877
|
+
reactIs_development$1.isContextProvider = function(object) {
|
|
878
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
879
|
+
};
|
|
880
|
+
reactIs_development$1.isElement = function(object) {
|
|
881
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
882
|
+
};
|
|
883
|
+
reactIs_development$1.isForwardRef = function(object) {
|
|
884
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
885
|
+
};
|
|
886
|
+
reactIs_development$1.isFragment = function(object) {
|
|
887
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
888
|
+
};
|
|
889
|
+
reactIs_development$1.isLazy = function(object) {
|
|
890
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
891
|
+
};
|
|
892
|
+
reactIs_development$1.isMemo = function(object) {
|
|
893
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
894
|
+
};
|
|
895
|
+
reactIs_development$1.isPortal = function(object) {
|
|
896
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
897
|
+
};
|
|
898
|
+
reactIs_development$1.isProfiler = function(object) {
|
|
899
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
900
|
+
};
|
|
901
|
+
reactIs_development$1.isStrictMode = function(object) {
|
|
902
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
903
|
+
};
|
|
904
|
+
reactIs_development$1.isSuspense = function(object) {
|
|
905
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
906
|
+
};
|
|
907
|
+
reactIs_development$1.isSuspenseList = function(object) {
|
|
908
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
909
|
+
};
|
|
910
|
+
reactIs_development$1.isValidElementType = function(type3) {
|
|
911
|
+
return "string" === typeof type3 || "function" === typeof type3 || type3 === REACT_FRAGMENT_TYPE || type3 === REACT_PROFILER_TYPE || type3 === REACT_STRICT_MODE_TYPE || type3 === REACT_SUSPENSE_TYPE || type3 === REACT_SUSPENSE_LIST_TYPE || type3 === REACT_OFFSCREEN_TYPE || "object" === typeof type3 && null !== type3 && (type3.$$typeof === REACT_LAZY_TYPE || type3.$$typeof === REACT_MEMO_TYPE || type3.$$typeof === REACT_CONTEXT_TYPE || type3.$$typeof === REACT_CONSUMER_TYPE || type3.$$typeof === REACT_FORWARD_REF_TYPE || type3.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type3.getModuleId) ? true : false;
|
|
912
|
+
};
|
|
913
|
+
reactIs_development$1.typeOf = typeOf;
|
|
914
|
+
}();
|
|
915
|
+
return reactIs_development$1;
|
|
916
|
+
}
|
|
917
|
+
var hasRequiredReactIs$1;
|
|
918
|
+
function requireReactIs$1() {
|
|
919
|
+
if (hasRequiredReactIs$1) return reactIs$1.exports;
|
|
920
|
+
hasRequiredReactIs$1 = 1;
|
|
921
|
+
if (process.env.NODE_ENV === "production") {
|
|
922
|
+
reactIs$1.exports = requireReactIs_production();
|
|
923
|
+
} else {
|
|
924
|
+
reactIs$1.exports = requireReactIs_development$1();
|
|
925
|
+
}
|
|
926
|
+
return reactIs$1.exports;
|
|
927
|
+
}
|
|
928
|
+
var reactIsExports$1 = /* @__PURE__ */ requireReactIs$1();
|
|
929
|
+
var index$1 = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports$1);
|
|
930
|
+
var ReactIs19 = /* @__PURE__ */ _mergeNamespaces({
|
|
931
|
+
__proto__: null,
|
|
932
|
+
default: index$1
|
|
933
|
+
}, [reactIsExports$1]);
|
|
711
934
|
var reactIs = { exports: {} };
|
|
712
935
|
var reactIs_production_min = {};
|
|
713
936
|
var hasRequiredReactIs_production_min;
|
|
714
937
|
function requireReactIs_production_min() {
|
|
715
938
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
716
939
|
hasRequiredReactIs_production_min = 1;
|
|
717
|
-
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f2 = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"),
|
|
718
|
-
|
|
940
|
+
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f2 = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p2 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u2;
|
|
941
|
+
u2 = Symbol.for("react.module.reference");
|
|
719
942
|
function v(a2) {
|
|
720
943
|
if ("object" === typeof a2 && null !== a2) {
|
|
721
944
|
var r2 = a2.$$typeof;
|
|
@@ -734,7 +957,7 @@ function requireReactIs_production_min() {
|
|
|
734
957
|
case h2:
|
|
735
958
|
case l:
|
|
736
959
|
case q:
|
|
737
|
-
case
|
|
960
|
+
case p2:
|
|
738
961
|
case g:
|
|
739
962
|
return a2;
|
|
740
963
|
default:
|
|
@@ -752,7 +975,7 @@ function requireReactIs_production_min() {
|
|
|
752
975
|
reactIs_production_min.ForwardRef = l;
|
|
753
976
|
reactIs_production_min.Fragment = d;
|
|
754
977
|
reactIs_production_min.Lazy = q;
|
|
755
|
-
reactIs_production_min.Memo =
|
|
978
|
+
reactIs_production_min.Memo = p2;
|
|
756
979
|
reactIs_production_min.Portal = c;
|
|
757
980
|
reactIs_production_min.Profiler = f2;
|
|
758
981
|
reactIs_production_min.StrictMode = e;
|
|
@@ -783,7 +1006,7 @@ function requireReactIs_production_min() {
|
|
|
783
1006
|
return v(a2) === q;
|
|
784
1007
|
};
|
|
785
1008
|
reactIs_production_min.isMemo = function(a2) {
|
|
786
|
-
return v(a2) ===
|
|
1009
|
+
return v(a2) === p2;
|
|
787
1010
|
};
|
|
788
1011
|
reactIs_production_min.isPortal = function(a2) {
|
|
789
1012
|
return v(a2) === c;
|
|
@@ -801,7 +1024,7 @@ function requireReactIs_production_min() {
|
|
|
801
1024
|
return v(a2) === n;
|
|
802
1025
|
};
|
|
803
1026
|
reactIs_production_min.isValidElementType = function(a2) {
|
|
804
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f2 || a2 === e || a2 === m2 || a2 === n || a2 === t || "object" === typeof a2 && null !== a2 && (a2.$$typeof === q || a2.$$typeof ===
|
|
1027
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f2 || a2 === e || a2 === m2 || a2 === n || a2 === t || "object" === typeof a2 && null !== a2 && (a2.$$typeof === q || a2.$$typeof === p2 || a2.$$typeof === g || a2.$$typeof === h2 || a2.$$typeof === l || a2.$$typeof === u2 || void 0 !== a2.getModuleId) ? true : false;
|
|
805
1028
|
};
|
|
806
1029
|
reactIs_production_min.typeOf = v;
|
|
807
1030
|
return reactIs_production_min;
|
|
@@ -999,6 +1222,31 @@ function requireReactIs() {
|
|
|
999
1222
|
return reactIs.exports;
|
|
1000
1223
|
}
|
|
1001
1224
|
var reactIsExports = requireReactIs();
|
|
1225
|
+
var index = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports);
|
|
1226
|
+
var ReactIs18 = /* @__PURE__ */ _mergeNamespaces({
|
|
1227
|
+
__proto__: null,
|
|
1228
|
+
default: index
|
|
1229
|
+
}, [reactIsExports]);
|
|
1230
|
+
var reactIsMethods = [
|
|
1231
|
+
"isAsyncMode",
|
|
1232
|
+
"isConcurrentMode",
|
|
1233
|
+
"isContextConsumer",
|
|
1234
|
+
"isContextProvider",
|
|
1235
|
+
"isElement",
|
|
1236
|
+
"isForwardRef",
|
|
1237
|
+
"isFragment",
|
|
1238
|
+
"isLazy",
|
|
1239
|
+
"isMemo",
|
|
1240
|
+
"isPortal",
|
|
1241
|
+
"isProfiler",
|
|
1242
|
+
"isStrictMode",
|
|
1243
|
+
"isSuspense",
|
|
1244
|
+
"isSuspenseList",
|
|
1245
|
+
"isValidElementType"
|
|
1246
|
+
];
|
|
1247
|
+
var ReactIs = Object.fromEntries(
|
|
1248
|
+
reactIsMethods.map((m2) => [m2, (v) => ReactIs18[m2](v) || ReactIs19[m2](v)])
|
|
1249
|
+
);
|
|
1002
1250
|
function getChildren(arg, children = []) {
|
|
1003
1251
|
if (Array.isArray(arg)) {
|
|
1004
1252
|
for (const item of arg) {
|
|
@@ -1017,27 +1265,27 @@ function getType(element) {
|
|
|
1017
1265
|
if (typeof type3 === "function") {
|
|
1018
1266
|
return type3.displayName || type3.name || "Unknown";
|
|
1019
1267
|
}
|
|
1020
|
-
if (
|
|
1268
|
+
if (ReactIs.isFragment(element)) {
|
|
1021
1269
|
return "React.Fragment";
|
|
1022
1270
|
}
|
|
1023
|
-
if (
|
|
1271
|
+
if (ReactIs.isSuspense(element)) {
|
|
1024
1272
|
return "React.Suspense";
|
|
1025
1273
|
}
|
|
1026
1274
|
if (typeof type3 === "object" && type3 !== null) {
|
|
1027
|
-
if (
|
|
1275
|
+
if (ReactIs.isContextProvider(element)) {
|
|
1028
1276
|
return "Context.Provider";
|
|
1029
1277
|
}
|
|
1030
|
-
if (
|
|
1278
|
+
if (ReactIs.isContextConsumer(element)) {
|
|
1031
1279
|
return "Context.Consumer";
|
|
1032
1280
|
}
|
|
1033
|
-
if (
|
|
1281
|
+
if (ReactIs.isForwardRef(element)) {
|
|
1034
1282
|
if (type3.displayName) {
|
|
1035
1283
|
return type3.displayName;
|
|
1036
1284
|
}
|
|
1037
1285
|
const functionName = type3.render.displayName || type3.render.name || "";
|
|
1038
1286
|
return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
|
|
1039
1287
|
}
|
|
1040
|
-
if (
|
|
1288
|
+
if (ReactIs.isMemo(element)) {
|
|
1041
1289
|
const functionName = type3.displayName || type3.type.displayName || type3.type.name || "";
|
|
1042
1290
|
return functionName === "" ? "Memo" : `Memo(${functionName})`;
|
|
1043
1291
|
}
|
|
@@ -1070,7 +1318,7 @@ var serialize$1 = (element, config2, indentation, depth, refs, printer) => ++dep
|
|
|
1070
1318
|
config2,
|
|
1071
1319
|
indentation
|
|
1072
1320
|
);
|
|
1073
|
-
var test$1 = (val) => val != null &&
|
|
1321
|
+
var test$1 = (val) => val != null && ReactIs.isElement(val);
|
|
1074
1322
|
var plugin$1 = { serialize: serialize$1, test: test$1 };
|
|
1075
1323
|
var testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
|
|
1076
1324
|
function getPropKeys(object) {
|
|
@@ -1104,6 +1352,35 @@ var plugin = { serialize, test };
|
|
|
1104
1352
|
var toISOString = Date.prototype.toISOString;
|
|
1105
1353
|
var errorToString = Error.prototype.toString;
|
|
1106
1354
|
var regExpToString = RegExp.prototype.toString;
|
|
1355
|
+
function getConstructorName(val) {
|
|
1356
|
+
return typeof val.constructor === "function" && val.constructor.name || "Object";
|
|
1357
|
+
}
|
|
1358
|
+
var ErrorPlugin = {
|
|
1359
|
+
test: (val) => val && val instanceof Error,
|
|
1360
|
+
serialize(val, config2, indentation, depth, refs, printer2) {
|
|
1361
|
+
if (refs.includes(val)) {
|
|
1362
|
+
return "[Circular]";
|
|
1363
|
+
}
|
|
1364
|
+
refs = [...refs, val];
|
|
1365
|
+
const hitMaxDepth = ++depth > config2.maxDepth;
|
|
1366
|
+
const { message, cause, ...rest } = val;
|
|
1367
|
+
const entries = {
|
|
1368
|
+
message,
|
|
1369
|
+
...typeof cause !== "undefined" ? { cause } : {},
|
|
1370
|
+
...val instanceof AggregateError ? { errors: val.errors } : {},
|
|
1371
|
+
...rest
|
|
1372
|
+
};
|
|
1373
|
+
const name = val.name !== "Error" ? val.name : getConstructorName(val);
|
|
1374
|
+
return hitMaxDepth ? `[${name}]` : `${name} {${printIteratorEntries(
|
|
1375
|
+
Object.entries(entries).values(),
|
|
1376
|
+
config2,
|
|
1377
|
+
indentation,
|
|
1378
|
+
depth,
|
|
1379
|
+
refs,
|
|
1380
|
+
printer2
|
|
1381
|
+
)}}`;
|
|
1382
|
+
}
|
|
1383
|
+
};
|
|
1107
1384
|
var DEFAULT_THEME = {
|
|
1108
1385
|
comment: "gray",
|
|
1109
1386
|
content: "reset",
|
|
@@ -1133,7 +1410,8 @@ var plugins = {
|
|
|
1133
1410
|
DOMElement: plugin$3,
|
|
1134
1411
|
Immutable: plugin$2,
|
|
1135
1412
|
ReactElement: plugin$1,
|
|
1136
|
-
ReactTestComponent: plugin
|
|
1413
|
+
ReactTestComponent: plugin,
|
|
1414
|
+
Error: ErrorPlugin
|
|
1137
1415
|
};
|
|
1138
1416
|
|
|
1139
1417
|
// ../../node_modules/loupe/lib/helpers.js
|
|
@@ -1376,10 +1654,8 @@ function mapToEntries(map) {
|
|
|
1376
1654
|
return entries;
|
|
1377
1655
|
}
|
|
1378
1656
|
function inspectMap(map, options) {
|
|
1379
|
-
|
|
1380
|
-
if (size <= 0) {
|
|
1657
|
+
if (map.size === 0)
|
|
1381
1658
|
return "Map{}";
|
|
1382
|
-
}
|
|
1383
1659
|
options.truncate -= 7;
|
|
1384
1660
|
return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
|
|
1385
1661
|
}
|
|
@@ -1847,11 +2123,11 @@ function toArray(array) {
|
|
|
1847
2123
|
function isObject(item) {
|
|
1848
2124
|
return item != null && typeof item === "object" && !Array.isArray(item);
|
|
1849
2125
|
}
|
|
1850
|
-
function objectAttr(source,
|
|
1851
|
-
const paths =
|
|
2126
|
+
function objectAttr(source, path2, defaultValue = void 0) {
|
|
2127
|
+
const paths = path2.replace(/\[(\d+)\]/g, ".$1").split(".");
|
|
1852
2128
|
let result = source;
|
|
1853
|
-
for (const
|
|
1854
|
-
result = new Object(result)[
|
|
2129
|
+
for (const p2 of paths) {
|
|
2130
|
+
result = new Object(result)[p2];
|
|
1855
2131
|
if (result === void 0) {
|
|
1856
2132
|
return defaultValue;
|
|
1857
2133
|
}
|
|
@@ -1861,13 +2137,13 @@ function objectAttr(source, path, defaultValue = void 0) {
|
|
|
1861
2137
|
function createDefer() {
|
|
1862
2138
|
let resolve2 = null;
|
|
1863
2139
|
let reject = null;
|
|
1864
|
-
const
|
|
2140
|
+
const p2 = new Promise((_resolve, _reject) => {
|
|
1865
2141
|
resolve2 = _resolve;
|
|
1866
2142
|
reject = _reject;
|
|
1867
2143
|
});
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
return
|
|
2144
|
+
p2.resolve = resolve2;
|
|
2145
|
+
p2.reject = reject;
|
|
2146
|
+
return p2;
|
|
1871
2147
|
}
|
|
1872
2148
|
function isNegativeNaN(val) {
|
|
1873
2149
|
if (!Number.isNaN(val)) {
|
|
@@ -2335,7 +2611,8 @@ function getSafeTimers() {
|
|
|
2335
2611
|
clearInterval: safeClearInterval,
|
|
2336
2612
|
clearTimeout: safeClearTimeout,
|
|
2337
2613
|
setImmediate: safeSetImmediate,
|
|
2338
|
-
clearImmediate: safeClearImmediate
|
|
2614
|
+
clearImmediate: safeClearImmediate,
|
|
2615
|
+
queueMicrotask: safeQueueMicrotask
|
|
2339
2616
|
} = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;
|
|
2340
2617
|
const { nextTick: safeNextTick } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis.process || { nextTick: (cb) => cb() };
|
|
2341
2618
|
return {
|
|
@@ -2345,7 +2622,8 @@ function getSafeTimers() {
|
|
|
2345
2622
|
clearInterval: safeClearInterval,
|
|
2346
2623
|
clearTimeout: safeClearTimeout,
|
|
2347
2624
|
setImmediate: safeSetImmediate,
|
|
2348
|
-
clearImmediate: safeClearImmediate
|
|
2625
|
+
clearImmediate: safeClearImmediate,
|
|
2626
|
+
queueMicrotask: safeQueueMicrotask
|
|
2349
2627
|
};
|
|
2350
2628
|
}
|
|
2351
2629
|
|
|
@@ -2402,7 +2680,7 @@ __export2(check_error_exports, {
|
|
|
2402
2680
|
compatibleConstructor: () => compatibleConstructor,
|
|
2403
2681
|
compatibleInstance: () => compatibleInstance,
|
|
2404
2682
|
compatibleMessage: () => compatibleMessage,
|
|
2405
|
-
getConstructorName: () =>
|
|
2683
|
+
getConstructorName: () => getConstructorName2,
|
|
2406
2684
|
getMessage: () => getMessage
|
|
2407
2685
|
});
|
|
2408
2686
|
function isErrorInstance(obj) {
|
|
@@ -2436,7 +2714,7 @@ function compatibleMessage(thrown, errMatcher) {
|
|
|
2436
2714
|
return false;
|
|
2437
2715
|
}
|
|
2438
2716
|
__name(compatibleMessage, "compatibleMessage");
|
|
2439
|
-
function
|
|
2717
|
+
function getConstructorName2(errorLike) {
|
|
2440
2718
|
let constructorName = errorLike;
|
|
2441
2719
|
if (isErrorInstance(errorLike)) {
|
|
2442
2720
|
constructorName = errorLike.constructor.name;
|
|
@@ -2449,7 +2727,7 @@ function getConstructorName(errorLike) {
|
|
|
2449
2727
|
}
|
|
2450
2728
|
return constructorName;
|
|
2451
2729
|
}
|
|
2452
|
-
__name(
|
|
2730
|
+
__name(getConstructorName2, "getConstructorName");
|
|
2453
2731
|
function getMessage(errorLike) {
|
|
2454
2732
|
let msg = "";
|
|
2455
2733
|
if (errorLike && errorLike.message) {
|
|
@@ -2532,9 +2810,9 @@ function expectTypes(obj, types) {
|
|
|
2532
2810
|
return t.toLowerCase();
|
|
2533
2811
|
});
|
|
2534
2812
|
types.sort();
|
|
2535
|
-
var str = types.map(function(t,
|
|
2813
|
+
var str = types.map(function(t, index2) {
|
|
2536
2814
|
var art = ~["a", "e", "i", "o", "u"].indexOf(t.charAt(0)) ? "an" : "a";
|
|
2537
|
-
var or = types.length > 1 &&
|
|
2815
|
+
var or = types.length > 1 && index2 === types.length - 1 ? "or " : "";
|
|
2538
2816
|
return or + art + " " + t;
|
|
2539
2817
|
}).join(", ");
|
|
2540
2818
|
var objType = type(obj).toLowerCase();
|
|
@@ -3489,9 +3767,9 @@ function iterableEqual(leftHandOperand, rightHandOperand, options) {
|
|
|
3489
3767
|
if (length === 0) {
|
|
3490
3768
|
return true;
|
|
3491
3769
|
}
|
|
3492
|
-
var
|
|
3493
|
-
while (++
|
|
3494
|
-
if (deepEqual(leftHandOperand[
|
|
3770
|
+
var index2 = -1;
|
|
3771
|
+
while (++index2 < length) {
|
|
3772
|
+
if (deepEqual(leftHandOperand[index2], rightHandOperand[index2], options) === false) {
|
|
3495
3773
|
return false;
|
|
3496
3774
|
}
|
|
3497
3775
|
}
|
|
@@ -3606,8 +3884,8 @@ function hasProperty(obj, name) {
|
|
|
3606
3884
|
return name in Object(obj);
|
|
3607
3885
|
}
|
|
3608
3886
|
__name(hasProperty, "hasProperty");
|
|
3609
|
-
function parsePath(
|
|
3610
|
-
const str =
|
|
3887
|
+
function parsePath(path2) {
|
|
3888
|
+
const str = path2.replace(/([^\\])\[/g, "$1.[");
|
|
3611
3889
|
const parts = str.match(/(\\\.|[^.]+?)+/g);
|
|
3612
3890
|
return parts.map((value) => {
|
|
3613
3891
|
if (value === "constructor" || value === "__proto__" || value === "prototype") {
|
|
@@ -3645,8 +3923,8 @@ function internalGetPathValue(obj, parsed, pathDepth) {
|
|
|
3645
3923
|
return res;
|
|
3646
3924
|
}
|
|
3647
3925
|
__name(internalGetPathValue, "internalGetPathValue");
|
|
3648
|
-
function getPathInfo(obj,
|
|
3649
|
-
const parsed = parsePath(
|
|
3926
|
+
function getPathInfo(obj, path2) {
|
|
3927
|
+
const parsed = parsePath(path2);
|
|
3650
3928
|
const last = parsed[parsed.length - 1];
|
|
3651
3929
|
const info = {
|
|
3652
3930
|
parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
|
|
@@ -6075,13 +6353,13 @@ var resolve = function(...arguments_) {
|
|
|
6075
6353
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
6076
6354
|
let resolvedPath = "";
|
|
6077
6355
|
let resolvedAbsolute = false;
|
|
6078
|
-
for (let
|
|
6079
|
-
const
|
|
6080
|
-
if (!
|
|
6356
|
+
for (let index2 = arguments_.length - 1; index2 >= -1 && !resolvedAbsolute; index2--) {
|
|
6357
|
+
const path2 = index2 >= 0 ? arguments_[index2] : cwd();
|
|
6358
|
+
if (!path2 || path2.length === 0) {
|
|
6081
6359
|
continue;
|
|
6082
6360
|
}
|
|
6083
|
-
resolvedPath = `${
|
|
6084
|
-
resolvedAbsolute = isAbsolute(
|
|
6361
|
+
resolvedPath = `${path2}/${resolvedPath}`;
|
|
6362
|
+
resolvedAbsolute = isAbsolute(path2);
|
|
6085
6363
|
}
|
|
6086
6364
|
resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
|
|
6087
6365
|
if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
|
|
@@ -6089,22 +6367,22 @@ var resolve = function(...arguments_) {
|
|
|
6089
6367
|
}
|
|
6090
6368
|
return resolvedPath.length > 0 ? resolvedPath : ".";
|
|
6091
6369
|
};
|
|
6092
|
-
function normalizeString(
|
|
6370
|
+
function normalizeString(path2, allowAboveRoot) {
|
|
6093
6371
|
let res = "";
|
|
6094
6372
|
let lastSegmentLength = 0;
|
|
6095
6373
|
let lastSlash = -1;
|
|
6096
6374
|
let dots = 0;
|
|
6097
6375
|
let char = null;
|
|
6098
|
-
for (let
|
|
6099
|
-
if (
|
|
6100
|
-
char =
|
|
6376
|
+
for (let index2 = 0; index2 <= path2.length; ++index2) {
|
|
6377
|
+
if (index2 < path2.length) {
|
|
6378
|
+
char = path2[index2];
|
|
6101
6379
|
} else if (char === "/") {
|
|
6102
6380
|
break;
|
|
6103
6381
|
} else {
|
|
6104
6382
|
char = "/";
|
|
6105
6383
|
}
|
|
6106
6384
|
if (char === "/") {
|
|
6107
|
-
if (lastSlash ===
|
|
6385
|
+
if (lastSlash === index2 - 1 || dots === 1) ;
|
|
6108
6386
|
else if (dots === 2) {
|
|
6109
6387
|
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
6110
6388
|
if (res.length > 2) {
|
|
@@ -6116,13 +6394,13 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
6116
6394
|
res = res.slice(0, lastSlashIndex);
|
|
6117
6395
|
lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
|
|
6118
6396
|
}
|
|
6119
|
-
lastSlash =
|
|
6397
|
+
lastSlash = index2;
|
|
6120
6398
|
dots = 0;
|
|
6121
6399
|
continue;
|
|
6122
6400
|
} else if (res.length > 0) {
|
|
6123
6401
|
res = "";
|
|
6124
6402
|
lastSegmentLength = 0;
|
|
6125
|
-
lastSlash =
|
|
6403
|
+
lastSlash = index2;
|
|
6126
6404
|
dots = 0;
|
|
6127
6405
|
continue;
|
|
6128
6406
|
}
|
|
@@ -6133,13 +6411,13 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
6133
6411
|
}
|
|
6134
6412
|
} else {
|
|
6135
6413
|
if (res.length > 0) {
|
|
6136
|
-
res += `/${
|
|
6414
|
+
res += `/${path2.slice(lastSlash + 1, index2)}`;
|
|
6137
6415
|
} else {
|
|
6138
|
-
res =
|
|
6416
|
+
res = path2.slice(lastSlash + 1, index2);
|
|
6139
6417
|
}
|
|
6140
|
-
lastSegmentLength =
|
|
6418
|
+
lastSegmentLength = index2 - lastSlash - 1;
|
|
6141
6419
|
}
|
|
6142
|
-
lastSlash =
|
|
6420
|
+
lastSlash = index2;
|
|
6143
6421
|
dots = 0;
|
|
6144
6422
|
} else if (char === "." && dots !== -1) {
|
|
6145
6423
|
++dots;
|
|
@@ -6149,8 +6427,8 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
6149
6427
|
}
|
|
6150
6428
|
return res;
|
|
6151
6429
|
}
|
|
6152
|
-
var isAbsolute = function(
|
|
6153
|
-
return _IS_ABSOLUTE_RE.test(
|
|
6430
|
+
var isAbsolute = function(p2) {
|
|
6431
|
+
return _IS_ABSOLUTE_RE.test(p2);
|
|
6154
6432
|
};
|
|
6155
6433
|
var CHROME_IE_STACK_REGEXP = /^\s*at .*(?:\S:\d+|\(native\))/m;
|
|
6156
6434
|
var SAFARI_NATIVE_CODE_REGEXP = /^(?:eval@)?(?:\[native code\])?$/;
|
|
@@ -6239,7 +6517,7 @@ function parseSingleV8Stack(raw) {
|
|
|
6239
6517
|
if (file.startsWith("file://")) {
|
|
6240
6518
|
file = file.slice(7);
|
|
6241
6519
|
}
|
|
6242
|
-
file = resolve(file);
|
|
6520
|
+
file = file.startsWith("node:") || file.startsWith("internal:") ? file : resolve(file);
|
|
6243
6521
|
if (method) {
|
|
6244
6522
|
method = method.replace(/__vite_ssr_import_\d+__\./g, "");
|
|
6245
6523
|
}
|
|
@@ -6281,14 +6559,16 @@ function createChainable(keys, fn) {
|
|
|
6281
6559
|
|
|
6282
6560
|
// ../../node_modules/@vitest/runner/dist/index.js
|
|
6283
6561
|
var PendingError = class extends Error {
|
|
6284
|
-
constructor(message, task) {
|
|
6562
|
+
constructor(message, task, note) {
|
|
6285
6563
|
super(message);
|
|
6286
6564
|
this.message = message;
|
|
6565
|
+
this.note = note;
|
|
6287
6566
|
this.taskId = task.id;
|
|
6288
6567
|
}
|
|
6289
6568
|
code = "VITEST_PENDING";
|
|
6290
6569
|
taskId;
|
|
6291
6570
|
};
|
|
6571
|
+
var now$2 = Date.now;
|
|
6292
6572
|
var collectorContext = {
|
|
6293
6573
|
tasks: [],
|
|
6294
6574
|
currentSuite: null
|
|
@@ -6309,17 +6589,37 @@ function withTimeout(fn, timeout, isHook = false) {
|
|
|
6309
6589
|
}
|
|
6310
6590
|
const { setTimeout, clearTimeout } = getSafeTimers();
|
|
6311
6591
|
return function runWithTimeout(...args) {
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6592
|
+
const startTime = now$2();
|
|
6593
|
+
return new Promise((resolve_, reject_) => {
|
|
6594
|
+
var _a;
|
|
6595
|
+
const timer = setTimeout(() => {
|
|
6596
|
+
clearTimeout(timer);
|
|
6597
|
+
reject(new Error(makeTimeoutMsg(isHook, timeout)));
|
|
6598
|
+
}, timeout);
|
|
6599
|
+
(_a = timer.unref) == null ? void 0 : _a.call(timer);
|
|
6600
|
+
function resolve2(result) {
|
|
6601
|
+
clearTimeout(timer);
|
|
6602
|
+
if (now$2() - startTime >= timeout) {
|
|
6603
|
+
reject_(new Error(makeTimeoutMsg(isHook, timeout)));
|
|
6604
|
+
return;
|
|
6605
|
+
}
|
|
6606
|
+
resolve_(result);
|
|
6607
|
+
}
|
|
6608
|
+
function reject(error) {
|
|
6609
|
+
clearTimeout(timer);
|
|
6610
|
+
reject_(error);
|
|
6611
|
+
}
|
|
6612
|
+
try {
|
|
6613
|
+
const result = fn(...args);
|
|
6614
|
+
if (typeof result === "object" && result != null && typeof result.then === "function") {
|
|
6615
|
+
result.then(resolve2, reject);
|
|
6616
|
+
} else {
|
|
6617
|
+
resolve2(result);
|
|
6618
|
+
}
|
|
6619
|
+
} catch (error) {
|
|
6620
|
+
reject(error);
|
|
6621
|
+
}
|
|
6622
|
+
});
|
|
6323
6623
|
};
|
|
6324
6624
|
}
|
|
6325
6625
|
function createTestContext(test4, runner2) {
|
|
@@ -6328,17 +6628,22 @@ function createTestContext(test4, runner2) {
|
|
|
6328
6628
|
throw new Error("done() callback is deprecated, use promise instead");
|
|
6329
6629
|
};
|
|
6330
6630
|
context.task = test4;
|
|
6331
|
-
context.skip = () => {
|
|
6332
|
-
test4.
|
|
6333
|
-
|
|
6631
|
+
context.skip = (note) => {
|
|
6632
|
+
test4.result ?? (test4.result = { state: "skip" });
|
|
6633
|
+
test4.result.pending = true;
|
|
6634
|
+
throw new PendingError("test is skipped; abort execution", test4, note);
|
|
6334
6635
|
};
|
|
6335
|
-
context.onTestFailed = (
|
|
6636
|
+
context.onTestFailed = (handler, timeout) => {
|
|
6336
6637
|
test4.onFailed || (test4.onFailed = []);
|
|
6337
|
-
test4.onFailed.push(
|
|
6638
|
+
test4.onFailed.push(
|
|
6639
|
+
withTimeout(handler, timeout ?? runner2.config.hookTimeout, true)
|
|
6640
|
+
);
|
|
6338
6641
|
};
|
|
6339
|
-
context.onTestFinished = (
|
|
6642
|
+
context.onTestFinished = (handler, timeout) => {
|
|
6340
6643
|
test4.onFinished || (test4.onFinished = []);
|
|
6341
|
-
test4.onFinished.push(
|
|
6644
|
+
test4.onFinished.push(
|
|
6645
|
+
withTimeout(handler, timeout ?? runner2.config.hookTimeout, true)
|
|
6646
|
+
);
|
|
6342
6647
|
};
|
|
6343
6648
|
return ((_a = runner2.extendTaskContext) == null ? void 0 : _a.call(runner2, context)) || context;
|
|
6344
6649
|
}
|
|
@@ -6364,14 +6669,15 @@ function setHooks(key, hooks) {
|
|
|
6364
6669
|
function getHooks(key) {
|
|
6365
6670
|
return hooksMap.get(key);
|
|
6366
6671
|
}
|
|
6367
|
-
function mergeContextFixtures(fixtures, context
|
|
6368
|
-
const fixtureOptionKeys = ["auto"];
|
|
6672
|
+
function mergeContextFixtures(fixtures, context, inject) {
|
|
6673
|
+
const fixtureOptionKeys = ["auto", "injected"];
|
|
6369
6674
|
const fixtureArray = Object.entries(fixtures).map(
|
|
6370
6675
|
([prop, value]) => {
|
|
6371
6676
|
const fixtureItem = { value };
|
|
6372
6677
|
if (Array.isArray(value) && value.length >= 2 && isObject(value[1]) && Object.keys(value[1]).some((key) => fixtureOptionKeys.includes(key))) {
|
|
6373
6678
|
Object.assign(fixtureItem, value[1]);
|
|
6374
|
-
|
|
6679
|
+
const userValue = value[0];
|
|
6680
|
+
fixtureItem.value = fixtureItem.injected ? inject(prop) ?? userValue : userValue;
|
|
6375
6681
|
}
|
|
6376
6682
|
fixtureItem.prop = prop;
|
|
6377
6683
|
fixtureItem.isFn = typeof fixtureItem.value === "function";
|
|
@@ -6522,24 +6828,24 @@ function getUsedProps(fn) {
|
|
|
6522
6828
|
}
|
|
6523
6829
|
return props;
|
|
6524
6830
|
}
|
|
6525
|
-
function splitByComma(
|
|
6831
|
+
function splitByComma(s2) {
|
|
6526
6832
|
const result = [];
|
|
6527
6833
|
const stack = [];
|
|
6528
6834
|
let start = 0;
|
|
6529
|
-
for (let i = 0; i <
|
|
6530
|
-
if (
|
|
6531
|
-
stack.push(
|
|
6532
|
-
} else if (
|
|
6835
|
+
for (let i = 0; i < s2.length; i++) {
|
|
6836
|
+
if (s2[i] === "{" || s2[i] === "[") {
|
|
6837
|
+
stack.push(s2[i] === "{" ? "}" : "]");
|
|
6838
|
+
} else if (s2[i] === stack[stack.length - 1]) {
|
|
6533
6839
|
stack.pop();
|
|
6534
|
-
} else if (!stack.length &&
|
|
6535
|
-
const token =
|
|
6840
|
+
} else if (!stack.length && s2[i] === ",") {
|
|
6841
|
+
const token = s2.substring(start, i).trim();
|
|
6536
6842
|
if (token) {
|
|
6537
6843
|
result.push(token);
|
|
6538
6844
|
}
|
|
6539
6845
|
start = i + 1;
|
|
6540
6846
|
}
|
|
6541
6847
|
}
|
|
6542
|
-
const lastToken =
|
|
6848
|
+
const lastToken = s2.substring(start).trim();
|
|
6543
6849
|
if (lastToken) {
|
|
6544
6850
|
result.push(lastToken);
|
|
6545
6851
|
}
|
|
@@ -6603,6 +6909,9 @@ function parseArguments(optionsOrFn, optionsOrTest) {
|
|
|
6603
6909
|
"Cannot use two objects as arguments. Please provide options and a function callback in that order."
|
|
6604
6910
|
);
|
|
6605
6911
|
}
|
|
6912
|
+
console.warn(
|
|
6913
|
+
"Using an object as a third argument is deprecated. Vitest 4 will throw an error if the third argument is not a timeout number. Please use the second argument for options. See more at https://vitest.dev/guide/migration"
|
|
6914
|
+
);
|
|
6606
6915
|
options = optionsOrTest;
|
|
6607
6916
|
} else if (typeof optionsOrTest === "number") {
|
|
6608
6917
|
options = { timeout: optionsOrTest };
|
|
@@ -6625,7 +6934,7 @@ function parseArguments(optionsOrFn, optionsOrTest) {
|
|
|
6625
6934
|
};
|
|
6626
6935
|
}
|
|
6627
6936
|
function createSuiteCollector(name, factory = () => {
|
|
6628
|
-
}, mode,
|
|
6937
|
+
}, mode, each, suiteOptions) {
|
|
6629
6938
|
const tasks = [];
|
|
6630
6939
|
const factoryQueue = [];
|
|
6631
6940
|
let suite2;
|
|
@@ -6638,7 +6947,7 @@ function createSuiteCollector(name, factory = () => {
|
|
|
6638
6947
|
each: options.each,
|
|
6639
6948
|
fails: options.fails,
|
|
6640
6949
|
context: void 0,
|
|
6641
|
-
type: "
|
|
6950
|
+
type: "test",
|
|
6642
6951
|
file: void 0,
|
|
6643
6952
|
retry: options.retry ?? runner.config.retry,
|
|
6644
6953
|
repeats: options.repeats,
|
|
@@ -6649,9 +6958,7 @@ function createSuiteCollector(name, factory = () => {
|
|
|
6649
6958
|
if (options.concurrent || !options.sequential && runner.config.sequence.concurrent) {
|
|
6650
6959
|
task2.concurrent = true;
|
|
6651
6960
|
}
|
|
6652
|
-
|
|
6653
|
-
task2.shuffle = true;
|
|
6654
|
-
}
|
|
6961
|
+
task2.shuffle = suiteOptions == null ? void 0 : suiteOptions.shuffle;
|
|
6655
6962
|
const context = createTestContext(task2, runner);
|
|
6656
6963
|
Object.defineProperty(task2, "context", {
|
|
6657
6964
|
value: context,
|
|
@@ -6662,7 +6969,7 @@ function createSuiteCollector(name, factory = () => {
|
|
|
6662
6969
|
setFn(
|
|
6663
6970
|
task2,
|
|
6664
6971
|
withTimeout(
|
|
6665
|
-
|
|
6972
|
+
withAwaitAsyncAssertions(withFixtures(handler, context), task2),
|
|
6666
6973
|
(options == null ? void 0 : options.timeout) ?? runner.config.testTimeout
|
|
6667
6974
|
)
|
|
6668
6975
|
);
|
|
@@ -6720,7 +7027,7 @@ function createSuiteCollector(name, factory = () => {
|
|
|
6720
7027
|
mode,
|
|
6721
7028
|
each,
|
|
6722
7029
|
file: void 0,
|
|
6723
|
-
shuffle:
|
|
7030
|
+
shuffle: suiteOptions == null ? void 0 : suiteOptions.shuffle,
|
|
6724
7031
|
tasks: [],
|
|
6725
7032
|
meta: /* @__PURE__ */ Object.create(null),
|
|
6726
7033
|
concurrent: suiteOptions == null ? void 0 : suiteOptions.concurrent
|
|
@@ -6765,9 +7072,9 @@ function createSuiteCollector(name, factory = () => {
|
|
|
6765
7072
|
collectTask(collector);
|
|
6766
7073
|
return collector;
|
|
6767
7074
|
}
|
|
6768
|
-
function
|
|
7075
|
+
function withAwaitAsyncAssertions(fn, task) {
|
|
6769
7076
|
return async (...args) => {
|
|
6770
|
-
await fn(...args);
|
|
7077
|
+
const fnResult = await fn(...args);
|
|
6771
7078
|
if (task.promises) {
|
|
6772
7079
|
const result = await Promise.allSettled(task.promises);
|
|
6773
7080
|
const errors = result.map((r2) => r2.status === "rejected" ? r2.reason : void 0).filter(Boolean);
|
|
@@ -6775,10 +7082,12 @@ function withAwaitAsyncAssetions(fn, task) {
|
|
|
6775
7082
|
throw errors;
|
|
6776
7083
|
}
|
|
6777
7084
|
}
|
|
7085
|
+
return fnResult;
|
|
6778
7086
|
};
|
|
6779
7087
|
}
|
|
6780
7088
|
function createSuite() {
|
|
6781
|
-
function suiteFn(name, factoryOrOptions, optionsOrFactory
|
|
7089
|
+
function suiteFn(name, factoryOrOptions, optionsOrFactory) {
|
|
7090
|
+
var _a;
|
|
6782
7091
|
const mode = this.only ? "only" : this.skip ? "skip" : this.todo ? "todo" : "run";
|
|
6783
7092
|
const currentSuite = collectorContext.currentSuite || defaultSuite;
|
|
6784
7093
|
let { options, handler: factory } = parseArguments(
|
|
@@ -6787,9 +7096,11 @@ function createSuite() {
|
|
|
6787
7096
|
);
|
|
6788
7097
|
const isConcurrentSpecified = options.concurrent || this.concurrent || options.sequential === false;
|
|
6789
7098
|
const isSequentialSpecified = options.sequential || this.sequential || options.concurrent === false;
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
7099
|
+
options = {
|
|
7100
|
+
...currentSuite == null ? void 0 : currentSuite.options,
|
|
7101
|
+
...options,
|
|
7102
|
+
shuffle: this.shuffle ?? options.shuffle ?? ((_a = currentSuite == null ? void 0 : currentSuite.options) == null ? void 0 : _a.shuffle) ?? (runner == null ? void 0 : runner.config.sequence.shuffle)
|
|
7103
|
+
};
|
|
6793
7104
|
const isConcurrent = isConcurrentSpecified || options.concurrent && !isSequentialSpecified;
|
|
6794
7105
|
const isSequential = isSequentialSpecified || options.sequential && !isConcurrentSpecified;
|
|
6795
7106
|
options.concurrent = isConcurrent && !isSequential;
|
|
@@ -6798,7 +7109,6 @@ function createSuite() {
|
|
|
6798
7109
|
formatName(name),
|
|
6799
7110
|
factory,
|
|
6800
7111
|
mode,
|
|
6801
|
-
this.shuffle,
|
|
6802
7112
|
this.each,
|
|
6803
7113
|
options
|
|
6804
7114
|
);
|
|
@@ -6813,7 +7123,7 @@ function createSuite() {
|
|
|
6813
7123
|
const _name = formatName(name);
|
|
6814
7124
|
const arrayOnlyCases = cases.every(Array.isArray);
|
|
6815
7125
|
const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
|
|
6816
|
-
const fnFirst = typeof optionsOrFn === "function";
|
|
7126
|
+
const fnFirst = typeof optionsOrFn === "function" && typeof fnOrOptions === "object";
|
|
6817
7127
|
cases.forEach((i, idx) => {
|
|
6818
7128
|
const items = Array.isArray(i) ? i : [i];
|
|
6819
7129
|
if (fnFirst) {
|
|
@@ -6837,6 +7147,18 @@ function createSuite() {
|
|
|
6837
7147
|
this.setContext("each", void 0);
|
|
6838
7148
|
};
|
|
6839
7149
|
};
|
|
7150
|
+
suiteFn.for = function(cases, ...args) {
|
|
7151
|
+
if (Array.isArray(cases) && args.length) {
|
|
7152
|
+
cases = formatTemplateString(cases, args);
|
|
7153
|
+
}
|
|
7154
|
+
return (name, optionsOrFn, fnOrOptions) => {
|
|
7155
|
+
const name_ = formatName(name);
|
|
7156
|
+
const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
|
|
7157
|
+
cases.forEach((item, idx) => {
|
|
7158
|
+
suite(formatTitle(name_, toArray(item), idx), options, () => handler(item));
|
|
7159
|
+
});
|
|
7160
|
+
};
|
|
7161
|
+
};
|
|
6840
7162
|
suiteFn.skipIf = (condition) => condition ? suite.skip : suite;
|
|
6841
7163
|
suiteFn.runIf = (condition) => condition ? suite : suite.skip;
|
|
6842
7164
|
return createChainable(
|
|
@@ -6856,7 +7178,7 @@ function createTaskCollector(fn, context) {
|
|
|
6856
7178
|
const _name = formatName(name);
|
|
6857
7179
|
const arrayOnlyCases = cases.every(Array.isArray);
|
|
6858
7180
|
const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
|
|
6859
|
-
const fnFirst = typeof optionsOrFn === "function";
|
|
7181
|
+
const fnFirst = typeof optionsOrFn === "function" && typeof fnOrOptions === "object";
|
|
6860
7182
|
cases.forEach((i, idx) => {
|
|
6861
7183
|
const items = Array.isArray(i) ? i : [i];
|
|
6862
7184
|
if (fnFirst) {
|
|
@@ -6903,7 +7225,14 @@ function createTaskCollector(fn, context) {
|
|
|
6903
7225
|
return condition ? this : this.skip;
|
|
6904
7226
|
};
|
|
6905
7227
|
taskFn.extend = function(fixtures) {
|
|
6906
|
-
const _context = mergeContextFixtures(
|
|
7228
|
+
const _context = mergeContextFixtures(
|
|
7229
|
+
fixtures,
|
|
7230
|
+
context || {},
|
|
7231
|
+
(key) => {
|
|
7232
|
+
var _a, _b;
|
|
7233
|
+
return (_b = (_a = getRunner()).injectValue) == null ? void 0 : _b.call(_a, key);
|
|
7234
|
+
}
|
|
7235
|
+
);
|
|
6907
7236
|
return createTest(function fn2(name, optionsOrFn, optionsOrTest) {
|
|
6908
7237
|
getCurrentSuite().test.fn.call(
|
|
6909
7238
|
this,
|
|
@@ -7030,36 +7359,58 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
7030
7359
|
|
|
7031
7360
|
// lib/statics/generators.ts
|
|
7032
7361
|
var fs = __toESM(require("node:fs"), 1);
|
|
7362
|
+
var path = __toESM(require("node:path"), 1);
|
|
7363
|
+
|
|
7364
|
+
// lib/fileUtils.ts
|
|
7033
7365
|
var import_promises = __toESM(require("node:fs/promises"), 1);
|
|
7034
|
-
function
|
|
7035
|
-
const
|
|
7366
|
+
async function readFile(path2, encoding = "utf-8") {
|
|
7367
|
+
const content = await import_promises.default.readFile(path2, encoding);
|
|
7368
|
+
return content.replaceAll(/\r?\n/gu, "\n");
|
|
7369
|
+
}
|
|
7370
|
+
|
|
7371
|
+
// lib/statics/generators.ts
|
|
7372
|
+
function* positiveTest(type3, filter) {
|
|
7373
|
+
const dir = path.join(__dirname, type3);
|
|
7036
7374
|
const statics = fs.readdirSync(dir);
|
|
7037
7375
|
for (const file of statics) {
|
|
7038
|
-
if (file.endsWith(".
|
|
7376
|
+
if (file.endsWith(".json")) {
|
|
7377
|
+
if (filter && !filter(file.replace(".json", ""))) {
|
|
7378
|
+
continue;
|
|
7379
|
+
}
|
|
7039
7380
|
yield {
|
|
7040
|
-
name: file.replace(/\.
|
|
7381
|
+
name: file.replace(/\.json$/u, ""),
|
|
7041
7382
|
statics: async () => {
|
|
7042
|
-
const query = await
|
|
7043
|
-
const result = await
|
|
7383
|
+
const query = await readFile(`${dir}/${file.replace(".json", ".sparql")}`);
|
|
7384
|
+
const result = await readFile(`${dir}/${file}`);
|
|
7385
|
+
let autoGen;
|
|
7386
|
+
try {
|
|
7387
|
+
autoGen = await readFile(`${dir}/${file.replace(".json", "-generated.sparql")}`);
|
|
7388
|
+
} catch {
|
|
7389
|
+
autoGen = query;
|
|
7390
|
+
}
|
|
7044
7391
|
const json = JSON.parse(result);
|
|
7045
7392
|
return {
|
|
7046
7393
|
query,
|
|
7047
|
-
|
|
7394
|
+
ast: json,
|
|
7395
|
+
autoGen
|
|
7048
7396
|
};
|
|
7049
7397
|
}
|
|
7050
7398
|
};
|
|
7051
7399
|
}
|
|
7052
7400
|
}
|
|
7053
7401
|
}
|
|
7054
|
-
function* negativeTest(type3) {
|
|
7055
|
-
const dir =
|
|
7402
|
+
function* negativeTest(type3, filter) {
|
|
7403
|
+
const dir = path.join(__dirname, type3);
|
|
7056
7404
|
const statics = fs.readdirSync(dir);
|
|
7057
7405
|
for (const file of statics) {
|
|
7058
7406
|
if (file.endsWith(".sparql")) {
|
|
7407
|
+
if (filter && !filter(file.replace(".sparql", ""))) {
|
|
7408
|
+
continue;
|
|
7409
|
+
}
|
|
7059
7410
|
yield {
|
|
7060
|
-
name: file.replace(/\.sparql
|
|
7411
|
+
name: file.replace(/\.sparql$/u, ""),
|
|
7061
7412
|
statics: async () => {
|
|
7062
|
-
const query = await
|
|
7413
|
+
const query = await readFile(`${dir}/${file}`);
|
|
7063
7414
|
return {
|
|
7064
7415
|
query
|
|
7065
7416
|
};
|
|
@@ -7071,9 +7422,9 @@ function* negativeTest(type3) {
|
|
|
7071
7422
|
|
|
7072
7423
|
// lib/Sparql11NotesTest.ts
|
|
7073
7424
|
function importSparql11NoteTests(parser, dataFactory) {
|
|
7074
|
-
function testErroneousQuery(query,
|
|
7425
|
+
function testErroneousQuery(query, _errorMsg) {
|
|
7075
7426
|
return ({ expect: expect2 }) => {
|
|
7076
|
-
let error
|
|
7427
|
+
let error;
|
|
7077
7428
|
try {
|
|
7078
7429
|
parser.parse(query);
|
|
7079
7430
|
} catch (e) {
|
|
@@ -7084,7 +7435,7 @@ function importSparql11NoteTests(parser, dataFactory) {
|
|
|
7084
7435
|
};
|
|
7085
7436
|
}
|
|
7086
7437
|
it("should throw an error on an invalid query", testErroneousQuery("invalid", "Parse error on line 1"));
|
|
7087
|
-
it("should throw an error on a projection of ungrouped variable", testErroneousQuery(
|
|
7438
|
+
it.skip("should throw an error on a projection of ungrouped variable", testErroneousQuery(
|
|
7088
7439
|
"PREFIX : <http://www.example.org/> SELECT ?o WHERE { ?s ?p ?o } GROUP BY ?s",
|
|
7089
7440
|
"Projection of ungrouped variable (?o)"
|
|
7090
7441
|
));
|
|
@@ -7100,22 +7451,24 @@ function importSparql11NoteTests(parser, dataFactory) {
|
|
|
7100
7451
|
const query = "SELECT * WHERE { } VALUES ( ?S ) { ( true ) }";
|
|
7101
7452
|
expect2(parser.parse(query)).toMatchObject({});
|
|
7102
7453
|
});
|
|
7103
|
-
it("should throw an error on an invalid selectscope", testErroneousQuery(
|
|
7454
|
+
it.skip("should throw an error on an invalid selectscope", testErroneousQuery(
|
|
7104
7455
|
"SELECT (1 AS ?X ) { SELECT (2 AS ?X ) {} }",
|
|
7105
7456
|
"Target id of 'AS' (?X) already used in subquery"
|
|
7106
7457
|
));
|
|
7107
|
-
it("should throw an error on bind to variable in scope", testErroneousQuery(
|
|
7458
|
+
it.skip("should throw an error on bind to variable in scope", testErroneousQuery(
|
|
7108
7459
|
"SELECT * { ?s ?p ?o BIND(?o AS ?o) }",
|
|
7109
7460
|
"Target id of 'AS' (?X) already used in subquery"
|
|
7110
7461
|
));
|
|
7111
7462
|
it("should preserve BGP and filter pattern order", ({ expect: expect2 }) => {
|
|
7112
7463
|
const query = 'SELECT * { ?s ?p "1" . FILTER(true) . ?s ?p "2" }';
|
|
7113
7464
|
expect2(parser.parse(query)).toMatchObject({
|
|
7114
|
-
where:
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7465
|
+
where: {
|
|
7466
|
+
patterns: [
|
|
7467
|
+
{ subType: "bgp" },
|
|
7468
|
+
{ subType: "filter" },
|
|
7469
|
+
{ subType: "bgp" }
|
|
7470
|
+
]
|
|
7471
|
+
}
|
|
7119
7472
|
});
|
|
7120
7473
|
});
|
|
7121
7474
|
it("should throw an error on an aggregate function within an aggregate function", testErroneousQuery(
|
|
@@ -7124,7 +7477,7 @@ function importSparql11NoteTests(parser, dataFactory) {
|
|
|
7124
7477
|
));
|
|
7125
7478
|
describe("with pre-defined prefixes", () => {
|
|
7126
7479
|
const prefixes = { a: "ex:abc#", b: "ex:def#" };
|
|
7127
|
-
it("should use those prefixes", ({ expect: expect2 }) => {
|
|
7480
|
+
it.skip("should use those prefixes", ({ expect: expect2 }) => {
|
|
7128
7481
|
const query = 'SELECT * { a:a b:b "" }';
|
|
7129
7482
|
expect2(parser.parse(query, { prefixes })).toMatchObject({
|
|
7130
7483
|
where: [
|
|
@@ -7140,7 +7493,7 @@ function importSparql11NoteTests(parser, dataFactory) {
|
|
|
7140
7493
|
]
|
|
7141
7494
|
});
|
|
7142
7495
|
});
|
|
7143
|
-
it("should allow temporarily overriding prefixes", ({ expect: expect2 }) => {
|
|
7496
|
+
it.skip("should allow temporarily overriding prefixes", ({ expect: expect2 }) => {
|
|
7144
7497
|
const query = 'PREFIX a: <ex:xyz#> SELECT * { a:a b:b "" }';
|
|
7145
7498
|
expect2(parser.parse(query, { prefixes })).toMatchObject({
|
|
7146
7499
|
where: [
|
|
@@ -7172,13 +7525,13 @@ function importSparql11NoteTests(parser, dataFactory) {
|
|
|
7172
7525
|
});
|
|
7173
7526
|
describe("with pre-defined base IRI", () => {
|
|
7174
7527
|
const context = { baseIRI: "http://ex.org/" };
|
|
7175
|
-
it("contains the base", ({ expect: expect2 }) => {
|
|
7528
|
+
it.skip("contains the base", ({ expect: expect2 }) => {
|
|
7176
7529
|
const query = "SELECT * { ?s ?p ?o }";
|
|
7177
7530
|
expect2(parser.parse(query, context)).toMatchObject({
|
|
7178
7531
|
base: "http://ex.org/"
|
|
7179
7532
|
});
|
|
7180
7533
|
});
|
|
7181
|
-
it("using prefixed as relative iri", ({ expect: expect2 }) => {
|
|
7534
|
+
it.skip("using prefixed as relative iri", ({ expect: expect2 }) => {
|
|
7182
7535
|
const context2 = { baseIRI: "http://ex.org/apl" };
|
|
7183
7536
|
const query = `
|
|
7184
7537
|
CONSTRUCT
|
|
@@ -7193,7 +7546,7 @@ WHERE { ?s ?p ?o }
|
|
|
7193
7546
|
}
|
|
7194
7547
|
});
|
|
7195
7548
|
});
|
|
7196
|
-
it("should use the base IRI", ({ expect: expect2 }) => {
|
|
7549
|
+
it.skip("should use the base IRI", ({ expect: expect2 }) => {
|
|
7197
7550
|
const query = 'SELECT * { <> <#b> "" }';
|
|
7198
7551
|
const result = {
|
|
7199
7552
|
subject: dataFactory.namedNode("http://ex.org/"),
|
|
@@ -7204,7 +7557,7 @@ WHERE { ?s ?p ?o }
|
|
|
7204
7557
|
where: [{ triples: [result] }]
|
|
7205
7558
|
});
|
|
7206
7559
|
});
|
|
7207
|
-
it("should work after a previous query failed", ({ expect: expect2 }) => {
|
|
7560
|
+
it.skip("should work after a previous query failed", ({ expect: expect2 }) => {
|
|
7208
7561
|
const badQuery = 'SELECT * { <> <#b> "" } invalid!';
|
|
7209
7562
|
expect2(() => parser.parse(badQuery, context2)).toThrow(Error);
|
|
7210
7563
|
const goodQuery = 'SELECT * { <> <#b> "" }';
|
|
@@ -7220,12 +7573,12 @@ WHERE { ?s ?p ?o }
|
|
|
7220
7573
|
});
|
|
7221
7574
|
});
|
|
7222
7575
|
});
|
|
7223
|
-
it("should throw an error on relative IRIs if no base IRI is specified", testErroneousQuery(
|
|
7576
|
+
it.skip("should throw an error on relative IRIs if no base IRI is specified", testErroneousQuery(
|
|
7224
7577
|
"SELECT * { <a> <b> <c> }",
|
|
7225
7578
|
"Cannot resolve relative IRI a because no base IRI was set."
|
|
7226
7579
|
));
|
|
7227
7580
|
describe("with group collapsing disabled", () => {
|
|
7228
|
-
it("should keep explicit pattern group", ({ expect: expect2 }) => {
|
|
7581
|
+
it.skip("should keep explicit pattern group", ({ expect: expect2 }) => {
|
|
7229
7582
|
const query = "SELECT * WHERE { { ?s ?p ?o } ?a ?b ?c }";
|
|
7230
7583
|
const result = [
|
|
7231
7584
|
{
|
|
@@ -7256,7 +7609,7 @@ WHERE { ?s ?p ?o }
|
|
|
7256
7609
|
];
|
|
7257
7610
|
expect2(parser.parse(query)).toMatchObject({ where: result });
|
|
7258
7611
|
});
|
|
7259
|
-
it("should still collapse immediate union groups", ({ expect: expect2 }) => {
|
|
7612
|
+
it.skip("should still collapse immediate union groups", ({ expect: expect2 }) => {
|
|
7260
7613
|
const query = "SELECT * WHERE { { ?s ?p ?o } UNION { ?a ?b ?c } }";
|
|
7261
7614
|
const result = [
|
|
7262
7615
|
{
|
|
@@ -7332,11 +7685,11 @@ WHERE { ?s ?p ?o }
|
|
|
7332
7685
|
const query = "INSERT DATA { _:a <ex:p> <ex:o> . _:a <ex:p> <ex:o> . }";
|
|
7333
7686
|
expect2(parser.parse(query)).toMatchObject({});
|
|
7334
7687
|
});
|
|
7335
|
-
it("should throw an error on reused blank nodes across INSERT DATA clauses", testErroneousQuery(
|
|
7688
|
+
it.skip("should throw an error on reused blank nodes across INSERT DATA clauses", testErroneousQuery(
|
|
7336
7689
|
"INSERT DATA { _:a <ex:p> <ex:o> }; INSERT DATA { _:a <ex:p> <ex:o> }",
|
|
7337
7690
|
"Detected reuse blank node across different INSERT DATA clauses"
|
|
7338
7691
|
));
|
|
7339
|
-
it("should throw an error on reused blank nodes across INSERT DATA clauses with GRAPH", testErroneousQuery(
|
|
7692
|
+
it.skip("should throw an error on reused blank nodes across INSERT DATA clauses with GRAPH", testErroneousQuery(
|
|
7340
7693
|
"INSERT DATA { _:a <ex:p> <ex:o> }; INSERT DATA { GRAPH <ex:g> { _:a <ex:p> <ex:o> } }",
|
|
7341
7694
|
"Detected reuse blank node across different INSERT DATA clauses"
|
|
7342
7695
|
));
|
|
@@ -7372,11 +7725,30 @@ DATA { GRAPH <ex:G> { <ex:s> <ex:p> 'o1', 'o2', 'o3' } }`;
|
|
|
7372
7725
|
0 && (module.exports = {
|
|
7373
7726
|
importSparql11NoteTests,
|
|
7374
7727
|
negativeTest,
|
|
7375
|
-
positiveTest
|
|
7728
|
+
positiveTest,
|
|
7729
|
+
readFile
|
|
7376
7730
|
});
|
|
7377
7731
|
/*! Bundled license information:
|
|
7378
7732
|
|
|
7379
7733
|
@vitest/pretty-format/dist/index.js:
|
|
7734
|
+
(**
|
|
7735
|
+
* @license React
|
|
7736
|
+
* react-is.production.js
|
|
7737
|
+
*
|
|
7738
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7739
|
+
*
|
|
7740
|
+
* This source code is licensed under the MIT license found in the
|
|
7741
|
+
* LICENSE file in the root directory of this source tree.
|
|
7742
|
+
*)
|
|
7743
|
+
(**
|
|
7744
|
+
* @license React
|
|
7745
|
+
* react-is.development.js
|
|
7746
|
+
*
|
|
7747
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7748
|
+
*
|
|
7749
|
+
* This source code is licensed under the MIT license found in the
|
|
7750
|
+
* LICENSE file in the root directory of this source tree.
|
|
7751
|
+
*)
|
|
7380
7752
|
(**
|
|
7381
7753
|
* @license React
|
|
7382
7754
|
* react-is.production.min.js
|