@modern-js/utils 1.8.1 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/compiled/ajv/codegen.js +1 -0
  3. package/compiled/ajv/index.js +9 -0
  4. package/compiled/ajv/license +22 -0
  5. package/compiled/ajv/package.json +1 -0
  6. package/compiled/ajv/types/ajv.d.ts +16 -0
  7. package/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  8. package/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  9. package/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  10. package/compiled/ajv/types/compile/errors.d.ts +13 -0
  11. package/compiled/ajv/types/compile/index.d.ts +80 -0
  12. package/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  13. package/compiled/ajv/types/compile/resolve.d.ts +12 -0
  14. package/compiled/ajv/types/compile/rules.d.ts +28 -0
  15. package/compiled/ajv/types/compile/util.d.ts +40 -0
  16. package/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  17. package/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  18. package/compiled/ajv/types/core.d.ts +173 -0
  19. package/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  20. package/compiled/ajv/types/types/index.d.ts +183 -0
  21. package/compiled/ajv/types/types/json-schema.d.ts +124 -0
  22. package/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  23. package/compiled/ajv/uri-js/dist/es5/uri.all.d.ts +59 -0
  24. package/compiled/ajv-keywords/index.d.ts +1 -0
  25. package/compiled/ajv-keywords/index.js +1 -0
  26. package/compiled/ajv-keywords/license +21 -0
  27. package/compiled/ajv-keywords/package.json +1 -0
  28. package/compiled/better-ajv-errors/index.d.ts +1 -0
  29. package/compiled/better-ajv-errors/index.js +1 -0
  30. package/compiled/better-ajv-errors/license +13 -0
  31. package/compiled/better-ajv-errors/package.json +1 -0
  32. package/dist/analyzeProject.d.ts +1 -1
  33. package/dist/analyzeProject.js +2 -2
  34. package/dist/chainId.d.ts +26 -0
  35. package/dist/chainId.js +26 -0
  36. package/dist/constants.js +0 -14
  37. package/dist/format.d.ts +1 -4
  38. package/dist/format.js +15 -45
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.js +1 -0
  41. package/dist/reactVersion.d.ts +1 -0
  42. package/dist/reactVersion.js +24 -0
  43. package/package.json +28 -5
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.8.1",
14
+ "version": "1.16.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/index.d.ts",
17
17
  "main": "./dist/index.js",
@@ -23,19 +23,24 @@
23
23
  "./format": "./dist/format.js",
24
24
  "./constants": "./dist/constants.js",
25
25
  "./ssr": "./dist/ssr.js",
26
+ "./ajv": "./compiled/ajv/index.js",
26
27
  "./glob": "./compiled/glob/index.js",
27
28
  "./chalk": "./compiled/chalk/index.js",
28
29
  "./json5": "./compiled/json5/index.js",
29
30
  "./semver": "./compiled/semver/index.js",
30
31
  "./lodash": "./compiled/lodash/index.js",
31
32
  "./globby": "./compiled/globby/index.js",
33
+ "./fs-extra": "./compiled/fs-extra/index.js",
32
34
  "./fast-glob": "./compiled/fast-glob/index.js",
33
35
  "./gzip-size": "./compiled/gzip-size/index.js",
34
36
  "./mime-types": "./compiled/mime-types/index.js",
35
37
  "./strip-ansi": "./compiled/strip-ansi/index.js",
38
+ "./ajv-keywords": "./compiled/ajv-keywords/index.js",
36
39
  "./browserslist": "./compiled/browserslist/index.js",
37
40
  "./webpack-chain": "./compiled/webpack-chain/index.js",
38
- "./tsconfig-paths": "./compiled/tsconfig-paths/index.js"
41
+ "./tsconfig-paths": "./compiled/tsconfig-paths/index.js",
42
+ "./better-ajv-errors": "./compiled/better-ajv-errors/index.js",
43
+ "./chain-id": "./dist/chainId.js"
39
44
  },
40
45
  "publishConfig": {
41
46
  "registry": "https://registry.npmjs.org/",
@@ -52,6 +57,12 @@
52
57
  "ssr": [
53
58
  "./dist/ssr.d.ts"
54
59
  ],
60
+ "ajv": [
61
+ "./compiled/ajv/types/ajv.d.ts"
62
+ ],
63
+ "ajv/json-schema": [
64
+ "./compiled/ajv/types/types/json-schema.d.ts"
65
+ ],
55
66
  "glob": [
56
67
  "./compiled/glob/index.d.ts"
57
68
  ],
@@ -70,6 +81,9 @@
70
81
  "globby": [
71
82
  "./compiled/globby/index.d.ts"
72
83
  ],
84
+ "fs-extra": [
85
+ "./compiled/fs-extra/index.d.ts"
86
+ ],
73
87
  "fast-glob": [
74
88
  "./compiled/fast-glob/index.d.ts"
75
89
  ],
@@ -82,6 +96,9 @@
82
96
  "strip-ansi": [
83
97
  "./compiled/strip-ansi/index.d.ts"
84
98
  ],
99
+ "ajv-keywords": [
100
+ "./compiled/ajv-keywords/index.d.ts"
101
+ ],
85
102
  "browserslist": [
86
103
  "./compiled/browserslist/index.d.ts"
87
104
  ],
@@ -90,6 +107,12 @@
90
107
  ],
91
108
  "tsconfig-paths": [
92
109
  "./compiled/tsconfig-paths/lib/index.d.ts"
110
+ ],
111
+ "better-ajv-errors": [
112
+ "./compiled/better-ajv-errors/index.d.ts"
113
+ ],
114
+ "chain-id": [
115
+ "./dist/chainId.d.ts"
93
116
  ]
94
117
  }
95
118
  },
@@ -98,9 +121,9 @@
98
121
  "lodash": "^4.17.21"
99
122
  },
100
123
  "devDependencies": {
101
- "@modern-js/types": "1.6.2",
102
- "@scripts/build": "0.0.0",
103
- "@scripts/jest-config": "0.0.0",
124
+ "@modern-js/types": "1.16.0",
125
+ "@scripts/build": "1.15.0",
126
+ "@scripts/jest-config": "1.15.0",
104
127
  "@types/jest": "^27",
105
128
  "@types/node": "^14",
106
129
  "typescript": "^4",