@hypequery/protocol-conformance 0.9.1 → 0.10.0

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.
Files changed (41) hide show
  1. package/README.md +43 -27
  2. package/dist/adapters/generators.d.ts.map +1 -1
  3. package/dist/adapters/generators.js +14 -0
  4. package/dist/adapters/reference.d.ts +10 -1
  5. package/dist/adapters/reference.d.ts.map +1 -1
  6. package/dist/adapters/reference.js +52 -1
  7. package/dist/adapters/stdio.d.ts +3 -1
  8. package/dist/adapters/stdio.d.ts.map +1 -1
  9. package/dist/adapters/stdio.js +3 -0
  10. package/dist/bin/reference-adapter.js +2 -1
  11. package/dist/compare.js +10 -0
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/report.d.ts.map +1 -1
  16. package/dist/report.js +4 -0
  17. package/dist/runner.d.ts.map +1 -1
  18. package/dist/runner.js +74 -8
  19. package/dist/types.d.ts +14 -0
  20. package/dist/types.d.ts.map +1 -1
  21. package/fixtures/cache-keys-v1/README.md +59 -0
  22. package/fixtures/cache-keys-v1/rejections.json +172 -0
  23. package/fixtures/cache-keys-v1/success.json +134 -0
  24. package/fixtures/deployment-bundles-v1/README.md +5 -57
  25. package/fixtures/deployment-releases-v1/README.md +6 -33
  26. package/fixtures/deployments-v1/README.md +5 -73
  27. package/fixtures/expressions-v1/README.md +4 -22
  28. package/fixtures/fuzz-seeds-v1/README.md +6 -26
  29. package/fixtures/identifiers-v1/README.md +4 -12
  30. package/fixtures/identifiers-v1/rejections.json +38 -0
  31. package/fixtures/identifiers-v1/success.json +18 -0
  32. package/fixtures/manifest.json +161 -39
  33. package/fixtures/query-diagnostics-v1/README.md +4 -45
  34. package/fixtures/query-events-v1/README.md +4 -56
  35. package/fixtures/query-implementations-v1/README.md +4 -30
  36. package/fixtures/query-schemas-v1/README.md +4 -22
  37. package/fixtures/sql-portability-v1/README.md +3 -12
  38. package/fixtures/tagged-values-v1/README.md +12 -1
  39. package/fixtures/tagged-values-v1/rejections.json +89 -0
  40. package/fixtures/tagged-values-v1/success.json +127 -0
  41. package/package.json +13 -5
@@ -258,5 +258,132 @@
258
258
  },
259
259
  "canonicalHex": "7b2224687970657175657279223a7b22656e7472696573223a5b5b22726567696f6e222c7b2224687970657175657279223a7b2262697473223a382c227369676e6564223a66616c73652c2274797065223a22696e7465676572222c2276616c7565223a2231222c2276657273696f6e223a317d7d5d2c5b22726567696f6e222c7b2224687970657175657279223a7b2262697473223a382c227369676e6564223a66616c73652c2274797065223a22696e7465676572222c2276616c7565223a2232222c2276657273696f6e223a317d7d5d5d2c2274797065223a226d6170222c2276657273696f6e223a317d7d",
260
260
  "sha256": "9cb2c26100b18e84f1a6974424ddd600ef8a0a7d113420bb882e61e9fa690f41"
261
+ },
262
+ {
263
+ "id": "native-float-integral",
264
+ "value": 100,
265
+ "canonicalHex": "313030",
266
+ "sha256": "ad57366865126e55649ecb23ae1d48887544976efea46a48eb5d85a6eeb4d306"
267
+ },
268
+ {
269
+ "id": "native-float-1e20",
270
+ "value": 100000000000000000000,
271
+ "canonicalHex": "313030303030303030303030303030303030303030",
272
+ "sha256": "c344e9487bfbd5c4e03c9fb90d62a5dde5e00b54d55c46e9f4a803aea162b80c"
273
+ },
274
+ {
275
+ "id": "native-float-1e21",
276
+ "value": 1e+21,
277
+ "canonicalHex": "31652b3231",
278
+ "sha256": "241c4643fa70b1dcde1205b71be4e3bebb17e9f880c8e1a33d0ead6c27271d3c"
279
+ },
280
+ {
281
+ "id": "native-float-1e-6",
282
+ "value": 0.000001,
283
+ "canonicalHex": "302e303030303031",
284
+ "sha256": "159fb29a827ad04b260aa6c8ab6d8637f8f2b38af5c4f3cb49d6a21205e040f8"
285
+ },
286
+ {
287
+ "id": "native-float-1e-7",
288
+ "value": 1e-7,
289
+ "canonicalHex": "31652d37",
290
+ "sha256": "5b33e02f2c5103a05d32f6ba9cb058294452bfbf393967f68bb30c1bdcbbab22"
291
+ },
292
+ {
293
+ "id": "native-float-min-subnormal",
294
+ "value": 5e-324,
295
+ "canonicalHex": "35652d333234",
296
+ "sha256": "c46e7ca1be4c8734f373a56530787288fa2058d73d07855e9247e949f811a42a"
297
+ },
298
+ {
299
+ "id": "native-float-max",
300
+ "value": 1.7976931348623157e+308,
301
+ "canonicalHex": "312e37393736393331333438363233313537652b333038",
302
+ "sha256": "c2784e1abd6317452708f3fbf9641c16b959561bc621a1d408c23a20aa2cb585"
303
+ },
304
+ {
305
+ "id": "string-permitted-controls",
306
+ "value": "line one\nline two\tcolumn\r",
307
+ "canonicalHex": "226c696e65206f6e655c6e6c696e652074776f5c74636f6c756d6e5c7222",
308
+ "sha256": "9b594976b60e2f6bd159be2c67d7fedfb81bfcd5e5791cedbe5690ac2abc7585"
309
+ },
310
+ {
311
+ "id": "array-empty",
312
+ "value": {
313
+ "$hypequery": {
314
+ "type": "array",
315
+ "version": 1,
316
+ "values": []
317
+ }
318
+ },
319
+ "canonicalHex": "7b2224687970657175657279223a7b2274797065223a226172726179222c2276616c756573223a5b5d2c2276657273696f6e223a317d7d",
320
+ "sha256": "6d724ac91452322c69323b0304ebf6e1ac42fdc61a44862e520be76032155d10"
321
+ },
322
+ {
323
+ "id": "tuple-empty",
324
+ "value": {
325
+ "$hypequery": {
326
+ "type": "tuple",
327
+ "version": 1,
328
+ "values": []
329
+ }
330
+ },
331
+ "canonicalHex": "7b2224687970657175657279223a7b2274797065223a227475706c65222c2276616c756573223a5b5d2c2276657273696f6e223a317d7d",
332
+ "sha256": "20ded50e2861b59705d0974bcdc2282f34715d5ddbebb74c1c7c3e3df87ae19c"
333
+ },
334
+ {
335
+ "id": "map-empty",
336
+ "value": {
337
+ "$hypequery": {
338
+ "type": "map",
339
+ "version": 1,
340
+ "entries": []
341
+ }
342
+ },
343
+ "canonicalHex": "7b2224687970657175657279223a7b22656e7472696573223a5b5d2c2274797065223a226d6170222c2276657273696f6e223a317d7d",
344
+ "sha256": "8653f18f098a82f3408f83f03427aad582d0437f79b245f4d00dbb1237562a50"
345
+ },
346
+ {
347
+ "id": "datetime64-nanoseconds-max",
348
+ "value": {
349
+ "$hypequery": {
350
+ "type": "datetime",
351
+ "version": 1,
352
+ "clickhouseType": "DateTime64",
353
+ "precision": 9,
354
+ "timezone": "UTC",
355
+ "value": "2262-04-11T23:47:16.854775807Z"
356
+ }
357
+ },
358
+ "canonicalHex": "7b2224687970657175657279223a7b22636c69636b686f75736554797065223a224461746554696d653634222c22707265636973696f6e223a392c2274696d657a6f6e65223a22555443222c2274797065223a226461746574696d65222c2276616c7565223a22323236322d30342d31315432333a34373a31362e3835343737353830375a222c2276657273696f6e223a317d7d",
359
+ "sha256": "612b88ad3689cc220ea3d9cc121844f09c6fb0c3c887c47a6bae3493b0f14f51"
360
+ },
361
+ {
362
+ "id": "bytes-empty",
363
+ "value": {
364
+ "$hypequery": {
365
+ "type": "bytes",
366
+ "version": 1,
367
+ "encoding": "base64url",
368
+ "value": ""
369
+ }
370
+ },
371
+ "canonicalHex": "7b2224687970657175657279223a7b22656e636f64696e67223a2262617365363475726c222c2274797065223a226279746573222c2276616c7565223a22222c2276657273696f6e223a317d7d",
372
+ "sha256": "92a36c3f7f5e8edb9cb206b8b4c4d15926581bc583d03f2b8a567a4ae208e359"
373
+ },
374
+ {
375
+ "id": "datetime-single-component-timezone",
376
+ "value": {
377
+ "$hypequery": {
378
+ "type": "datetime",
379
+ "version": 1,
380
+ "clickhouseType": "DateTime",
381
+ "precision": 0,
382
+ "timezone": "EST",
383
+ "value": "2026-07-13T14:30:45Z"
384
+ }
385
+ },
386
+ "canonicalHex": "7b2224687970657175657279223a7b22636c69636b686f75736554797065223a224461746554696d65222c22707265636973696f6e223a302c2274696d657a6f6e65223a22455354222c2274797065223a226461746574696d65222c2276616c7565223a22323032362d30372d31335431343a33303a34355a222c2276657273696f6e223a317d7d",
387
+ "sha256": "6bee1aad475dfbf35566bf71dc664b6f0c7a4c9dcc4ba0b5a76e9069be2cce6e"
261
388
  }
262
389
  ]
package/package.json CHANGED
@@ -1,7 +1,15 @@
1
1
  {
2
2
  "name": "@hypequery/protocol-conformance",
3
- "version": "0.9.1",
4
- "description": "Cross-language conformance runner and TypeScript reference adapter for the Hypequery security protocol",
3
+ "version": "0.10.0",
4
+ "description": "Cross-language conformance runner for the Hypequery analytics security protocol",
5
+ "keywords": [
6
+ "hypequery",
7
+ "protocol",
8
+ "conformance",
9
+ "analytics",
10
+ "typescript",
11
+ "testing"
12
+ ],
5
13
  "license": "Apache-2.0",
6
14
  "type": "module",
7
15
  "main": "dist/index.js",
@@ -23,7 +31,7 @@
23
31
  "README.md"
24
32
  ],
25
33
  "dependencies": {
26
- "@hypequery/protocol": "^0.10.0"
34
+ "@hypequery/protocol": "^0.11.0"
27
35
  },
28
36
  "devDependencies": {
29
37
  "@types/node": "^22.5.0",
@@ -32,10 +40,10 @@
32
40
  },
33
41
  "repository": {
34
42
  "type": "git",
35
- "url": "https://github.com/hypequery/hypequery.git",
43
+ "url": "git+https://github.com/hypequery/hypequery.git",
36
44
  "directory": "packages/protocol-conformance"
37
45
  },
38
- "homepage": "https://github.com/hypequery/hypequery/tree/main/packages/protocol-conformance",
46
+ "homepage": "https://hypequery.com",
39
47
  "bugs": {
40
48
  "url": "https://github.com/hypequery/hypequery/issues"
41
49
  },