@sinclair/typebox 0.25.23 → 0.25.25

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 (61) hide show
  1. package/compiler/compiler.d.ts +25 -28
  2. package/compiler/compiler.js +495 -495
  3. package/compiler/index.d.ts +2 -2
  4. package/compiler/index.js +47 -47
  5. package/conditional/conditional.d.ts +17 -17
  6. package/conditional/conditional.js +91 -91
  7. package/conditional/index.d.ts +2 -2
  8. package/conditional/index.js +45 -45
  9. package/conditional/structural.d.ts +11 -11
  10. package/conditional/structural.js +685 -685
  11. package/custom/custom.d.ts +12 -12
  12. package/custom/custom.js +55 -55
  13. package/custom/index.d.ts +1 -1
  14. package/custom/index.js +44 -44
  15. package/errors/errors.d.ts +67 -67
  16. package/errors/errors.js +472 -468
  17. package/errors/index.d.ts +1 -1
  18. package/errors/index.js +44 -44
  19. package/format/format.d.ts +12 -12
  20. package/format/format.js +55 -55
  21. package/format/index.d.ts +1 -1
  22. package/format/index.js +44 -44
  23. package/guard/extends.d.ts +10 -0
  24. package/guard/extends.js +50 -0
  25. package/guard/guard.d.ts +60 -60
  26. package/guard/guard.js +440 -440
  27. package/guard/index.d.ts +2 -1
  28. package/guard/index.js +45 -44
  29. package/hash/hash.d.ts +8 -8
  30. package/hash/hash.js +183 -183
  31. package/hash/index.d.ts +1 -1
  32. package/hash/index.js +44 -44
  33. package/license +22 -22
  34. package/package.json +55 -52
  35. package/readme.md +1237 -1325
  36. package/system/index.d.ts +1 -1
  37. package/system/index.js +44 -44
  38. package/system/system.d.ts +17 -17
  39. package/system/system.js +69 -69
  40. package/typebox.d.ts +422 -422
  41. package/typebox.js +388 -388
  42. package/value/cast.d.ts +26 -26
  43. package/value/cast.js +415 -420
  44. package/value/check.d.ts +8 -8
  45. package/value/check.js +405 -395
  46. package/value/clone.d.ts +3 -3
  47. package/value/clone.js +71 -71
  48. package/value/create.d.ts +14 -14
  49. package/value/create.js +378 -388
  50. package/value/delta.d.ts +43 -43
  51. package/value/delta.js +204 -204
  52. package/value/equal.d.ts +3 -3
  53. package/value/equal.js +80 -80
  54. package/value/index.d.ts +4 -4
  55. package/value/index.js +53 -53
  56. package/value/is.d.ts +11 -11
  57. package/value/is.js +53 -53
  58. package/value/pointer.d.ts +24 -24
  59. package/value/pointer.js +142 -142
  60. package/value/value.d.ts +32 -32
  61. package/value/value.js +87 -87
package/package.json CHANGED
@@ -1,52 +1,55 @@
1
- {
2
- "name": "@sinclair/typebox",
3
- "version": "0.25.23",
4
- "description": "JSONSchema Type Builder with Static Type Resolution for TypeScript",
5
- "keywords": [
6
- "typescript",
7
- "json-schema",
8
- "validate",
9
- "typecheck"
10
- ],
11
- "author": "sinclairzx81",
12
- "license": "MIT",
13
- "main": "./typebox.js",
14
- "types": "./typebox.d.ts",
15
- "exports": {
16
- "./compiler": "./compiler/index.js",
17
- "./conditional": "./conditional/index.js",
18
- "./custom": "./custom/index.js",
19
- "./errors": "./errors/index.js",
20
- "./format": "./format/index.js",
21
- "./guard": "./guard/index.js",
22
- "./hash": "./hash/index.js",
23
- "./system": "./system/index.js",
24
- "./value": "./value/index.js",
25
- ".": "./typebox.js"
26
- },
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/sinclairzx81/typebox"
30
- },
31
- "scripts": {
32
- "clean": "hammer task clean",
33
- "format": "hammer task format",
34
- "start": "hammer task start",
35
- "test": "hammer task test",
36
- "benchmark": "hammer task benchmark",
37
- "build": "hammer task build",
38
- "publish": "hammer task publish"
39
- },
40
- "devDependencies": {
41
- "@sinclair/hammer": "^0.17.1",
42
- "@types/chai": "^4.3.3",
43
- "@types/mocha": "^9.1.1",
44
- "@types/node": "^18.11.9",
45
- "ajv": "^8.11.2",
46
- "ajv-formats": "^2.1.1",
47
- "chai": "^4.3.6",
48
- "mocha": "^9.2.2",
49
- "prettier": "^2.7.1",
50
- "typescript": "^4.9.3"
51
- }
52
- }
1
+ {
2
+ "name": "@sinclair/typebox",
3
+ "version": "0.25.25",
4
+ "description": "JSONSchema Type Builder with Static Type Resolution for TypeScript",
5
+ "keywords": [
6
+ "typescript",
7
+ "json-schema",
8
+ "validate",
9
+ "typecheck"
10
+ ],
11
+ "author": "sinclairzx81",
12
+ "license": "MIT",
13
+ "main": "./typebox.js",
14
+ "types": "./typebox.d.ts",
15
+ "exports": {
16
+ "./compiler": "./compiler/index.js",
17
+ "./conditional": "./conditional/index.js",
18
+ "./custom": "./custom/index.js",
19
+ "./errors": "./errors/index.js",
20
+ "./format": "./format/index.js",
21
+ "./guard": "./guard/index.js",
22
+ "./hash": "./hash/index.js",
23
+ "./system": "./system/index.js",
24
+ "./value": "./value/index.js",
25
+ ".": "./typebox.js"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/sinclairzx81/sinclair-typebox"
30
+ },
31
+ "scripts": {
32
+ "clean": "hammer task clean",
33
+ "format": "hammer task format",
34
+ "start": "hammer task start",
35
+ "test": "hammer task test",
36
+ "benchmark": "hammer task benchmark",
37
+ "build": "hammer task build",
38
+ "publish": "hammer task publish"
39
+ },
40
+ "devDependencies": {
41
+ "@sinclair/hammer": "^0.17.1",
42
+ "@types/chai": "^4.3.3",
43
+ "@types/mocha": "^9.1.1",
44
+ "@types/node": "^18.11.9",
45
+ "ajv": "^8.11.2",
46
+ "ajv-formats": "^2.1.1",
47
+ "chai": "^4.3.6",
48
+ "mocha": "^9.2.2",
49
+ "prettier": "^2.7.1",
50
+ "typescript": "^4.9.3"
51
+ },
52
+ "allowScripts": {
53
+ "esbuild@0.14.53": true
54
+ }
55
+ }