@umijs/bundler-webpack 4.0.0-beta.6 → 4.0.0-rc.1
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/compiled/autoprefixer/browserslist/index.d.ts +7 -7
- package/compiled/autoprefixer/index.js +3 -3
- package/compiled/autoprefixer/postcss/lib/container.d.ts +2 -2
- package/compiled/autoprefixer/postcss/lib/css-syntax-error.d.ts +55 -8
- package/compiled/autoprefixer/postcss/lib/input.d.ts +26 -6
- package/compiled/autoprefixer/postcss/lib/lazy-result.d.ts +11 -10
- package/compiled/autoprefixer/postcss/lib/no-work-result.d.ts +37 -0
- package/compiled/autoprefixer/postcss/lib/node.d.ts +36 -2
- package/compiled/autoprefixer/postcss/lib/postcss.d.ts +31 -30
- package/compiled/autoprefixer/postcss/lib/processor.d.ts +5 -4
- package/compiled/autoprefixer/postcss/lib/result.d.ts +3 -2
- package/compiled/autoprefixer/postcss/lib/warning.d.ts +37 -3
- package/compiled/babel-loader/index.js +2 -2
- package/compiled/fork-ts-checker-webpack-plugin/LICENSE +21 -0
- package/compiled/fork-ts-checker-webpack-plugin/fsevents.node +0 -0
- package/compiled/fork-ts-checker-webpack-plugin/index.js +49 -0
- package/compiled/fork-ts-checker-webpack-plugin/package.json +1 -0
- package/compiled/mini-css-extract-plugin/index.js +6769 -6731
- package/compiled/mini-css-extract-plugin/loader.js +1 -1
- package/compiled/mini-css-extract-plugin/utils.js +11 -6
- package/compiled/postcss-loader/index.js +1 -1
- package/compiled/react-refresh/index.js +3 -3
- package/compiled/sass-loader/index.js +1 -1
- package/compiled/schema-utils/ajv/dist/ajv.d.ts +16 -0
- package/compiled/schema-utils/ajv/dist/compile/codegen/code.d.ts +39 -0
- package/compiled/schema-utils/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/compiled/schema-utils/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/compiled/schema-utils/ajv/dist/compile/errors.d.ts +13 -0
- package/compiled/schema-utils/ajv/dist/compile/index.d.ts +80 -0
- package/compiled/schema-utils/ajv/dist/compile/ref_error.d.ts +5 -0
- package/compiled/schema-utils/ajv/dist/compile/resolve.d.ts +12 -0
- package/compiled/schema-utils/ajv/dist/compile/rules.d.ts +28 -0
- package/compiled/schema-utils/ajv/dist/compile/util.d.ts +40 -0
- package/compiled/schema-utils/ajv/dist/compile/validate/index.d.ts +42 -0
- package/compiled/schema-utils/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/compiled/schema-utils/ajv/dist/core.d.ts +171 -0
- package/compiled/schema-utils/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/compiled/schema-utils/ajv/dist/types/index.d.ts +177 -0
- package/compiled/schema-utils/ajv/dist/types/json-schema.d.ts +124 -0
- package/compiled/schema-utils/ajv/dist/types/jtd-schema.d.ts +168 -0
- package/compiled/schema-utils/declarations/validate.d.ts +4 -4
- package/compiled/schema-utils/index.js +8 -2
- package/compiled/schema-utils/uri-js/dist/es5/uri.all.d.ts +59 -0
- package/compiled/style-loader/index.js +1 -1
- package/compiled/terser/index.js +1 -1
- package/compiled/terser-webpack-plugin/index.js +328 -451
- package/compiled/terser-webpack-plugin/jest-worker/build/types.d.ts +1 -0
- package/compiled/terser-webpack-plugin/minify.js +6 -1
- package/compiled/terser-webpack-plugin/types/index.d.ts +3 -3
- package/compiled/terser-webpack-plugin/types/utils.d.ts +9 -12
- package/compiled/terser-webpack-plugin/utils.js +113 -17
- package/compiled/webpack/index.js +4915 -4485
- package/compiled/webpack-dev-middleware/index.js +11 -5
- package/compiled/webpack-manifest-plugin/LICENSE +21 -0
- package/compiled/webpack-manifest-plugin/index.js +1 -0
- package/compiled/webpack-manifest-plugin/package.json +1 -0
- package/compiled/webpack-sources/index.js +1 -1
- package/dist/build.d.ts +3 -2
- package/dist/build.js +1 -0
- package/dist/cli.js +4 -7
- package/dist/config/assetRules.js +6 -2
- package/dist/config/config.d.ts +7 -2
- package/dist/config/config.js +46 -5
- package/dist/config/cssRules.js +1 -1
- package/dist/config/forkTSCheckerPlugin.d.ts +11 -0
- package/dist/config/forkTSCheckerPlugin.js +34 -0
- package/dist/config/harmonyLinkingErrorPlugin.d.ts +6 -0
- package/dist/config/harmonyLinkingErrorPlugin.js +42 -0
- package/dist/config/javaScriptRules.d.ts +1 -0
- package/dist/config/javaScriptRules.js +34 -20
- package/dist/config/manifestPlugin.d.ts +11 -0
- package/dist/config/manifestPlugin.js +25 -0
- package/dist/config/miniCSSExtractPlugin.d.ts +1 -0
- package/dist/config/miniCSSExtractPlugin.js +2 -3
- package/dist/config/svgRules.d.ts +1 -0
- package/dist/config/svgRules.js +12 -11
- package/dist/dev.d.ts +3 -2
- package/dist/dev.js +39 -11
- package/dist/esbuildHandler/autoCssModules.d.ts +2 -0
- package/dist/esbuildHandler/autoCssModules.js +23 -0
- package/dist/loader/esbuild.d.ts +5 -0
- package/dist/loader/esbuild.js +53 -0
- package/dist/loader/svgr.d.ts +4 -0
- package/dist/loader/svgr.js +67 -0
- package/dist/loader/swc.d.ts +4 -0
- package/dist/loader/swc.js +83 -0
- package/dist/plugins/RuntimePublicPathPlugin.d.ts +4 -0
- package/dist/plugins/RuntimePublicPathPlugin.js +20 -0
- package/dist/schema.js +11 -5
- package/dist/server/server.js +20 -1
- package/dist/server/ws.d.ts +1 -1
- package/dist/server/ws.js +1 -1
- package/dist/swcPlugins/autoCSSModules.js +6 -4
- package/dist/swcPlugins/lockCoreJS.d.ts +6 -0
- package/dist/swcPlugins/lockCoreJS.js +23 -0
- package/dist/types.d.ts +18 -0
- package/package.json +52 -47
- package/compiled/@svgr/webpack/.svgo.yml +0 -75
- package/compiled/@svgr/webpack/LICENSE +0 -7
- package/compiled/@svgr/webpack/index.js +0 -343
- package/compiled/@svgr/webpack/package.json +0 -1
- package/compiled/swc-loader/LICENSE +0 -25
- package/compiled/swc-loader/index.js +0 -1
- package/compiled/swc-loader/package.json +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 1902:
|
|
5
5
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var KEYWORDS = __nccwpck_require__(
|
|
10
|
+
var KEYWORDS = __nccwpck_require__(3409);
|
|
11
11
|
|
|
12
12
|
module.exports = defineKeywords;
|
|
13
13
|
|
|
@@ -44,7 +44,7 @@ function get(keyword) {
|
|
|
44
44
|
|
|
45
45
|
/***/ }),
|
|
46
46
|
|
|
47
|
-
/***/
|
|
47
|
+
/***/ 3666:
|
|
48
48
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
49
49
|
|
|
50
50
|
"use strict";
|
|
@@ -79,7 +79,7 @@ module.exports = function (minMax) {
|
|
|
79
79
|
return function defFunc(ajv) {
|
|
80
80
|
defFunc.definition = {
|
|
81
81
|
type: 'string',
|
|
82
|
-
inline: __nccwpck_require__(
|
|
82
|
+
inline: __nccwpck_require__(6790),
|
|
83
83
|
statements: true,
|
|
84
84
|
errors: 'full',
|
|
85
85
|
dependencies: ['format'],
|
|
@@ -153,7 +153,7 @@ function compareDateTime(dt1, dt2) {
|
|
|
153
153
|
|
|
154
154
|
/***/ }),
|
|
155
155
|
|
|
156
|
-
/***/
|
|
156
|
+
/***/ 8535:
|
|
157
157
|
/***/ (function(module) {
|
|
158
158
|
|
|
159
159
|
"use strict";
|
|
@@ -176,7 +176,7 @@ function metaSchemaRef(ajv) {
|
|
|
176
176
|
|
|
177
177
|
/***/ }),
|
|
178
178
|
|
|
179
|
-
/***/
|
|
179
|
+
/***/ 5613:
|
|
180
180
|
/***/ (function(module) {
|
|
181
181
|
|
|
182
182
|
"use strict";
|
|
@@ -202,7 +202,7 @@ module.exports = function defFunc(ajv) {
|
|
|
202
202
|
|
|
203
203
|
/***/ }),
|
|
204
204
|
|
|
205
|
-
/***/
|
|
205
|
+
/***/ 7933:
|
|
206
206
|
/***/ (function(module) {
|
|
207
207
|
|
|
208
208
|
"use strict";
|
|
@@ -234,13 +234,13 @@ module.exports = function defFunc(ajv) {
|
|
|
234
234
|
|
|
235
235
|
/***/ }),
|
|
236
236
|
|
|
237
|
-
/***/
|
|
237
|
+
/***/ 8491:
|
|
238
238
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
239
239
|
|
|
240
240
|
"use strict";
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
var util = __nccwpck_require__(
|
|
243
|
+
var util = __nccwpck_require__(8535);
|
|
244
244
|
|
|
245
245
|
module.exports = function defFunc(ajv) {
|
|
246
246
|
defFunc.definition = {
|
|
@@ -296,7 +296,7 @@ function unescapeJsonPointer(str) {
|
|
|
296
296
|
|
|
297
297
|
/***/ }),
|
|
298
298
|
|
|
299
|
-
/***/
|
|
299
|
+
/***/ 6057:
|
|
300
300
|
/***/ (function(module) {
|
|
301
301
|
|
|
302
302
|
"use strict";
|
|
@@ -361,7 +361,7 @@ function unescapeJsonPointer(str) {
|
|
|
361
361
|
|
|
362
362
|
/***/ }),
|
|
363
363
|
|
|
364
|
-
/***/
|
|
364
|
+
/***/ 6790:
|
|
365
365
|
/***/ (function(module) {
|
|
366
366
|
|
|
367
367
|
"use strict";
|
|
@@ -547,7 +547,7 @@ module.exports = function generate__formatLimit(it, $keyword, $ruleType) {
|
|
|
547
547
|
|
|
548
548
|
/***/ }),
|
|
549
549
|
|
|
550
|
-
/***/
|
|
550
|
+
/***/ 2828:
|
|
551
551
|
/***/ (function(module) {
|
|
552
552
|
|
|
553
553
|
"use strict";
|
|
@@ -613,7 +613,7 @@ module.exports = function generate_patternRequired(it, $keyword, $ruleType) {
|
|
|
613
613
|
|
|
614
614
|
/***/ }),
|
|
615
615
|
|
|
616
|
-
/***/
|
|
616
|
+
/***/ 6707:
|
|
617
617
|
/***/ (function(module) {
|
|
618
618
|
|
|
619
619
|
"use strict";
|
|
@@ -750,7 +750,7 @@ module.exports = function generate_switch(it, $keyword, $ruleType) {
|
|
|
750
750
|
|
|
751
751
|
/***/ }),
|
|
752
752
|
|
|
753
|
-
/***/
|
|
753
|
+
/***/ 10:
|
|
754
754
|
/***/ (function(module) {
|
|
755
755
|
|
|
756
756
|
"use strict";
|
|
@@ -830,59 +830,59 @@ module.exports = function defFunc(ajv) {
|
|
|
830
830
|
|
|
831
831
|
/***/ }),
|
|
832
832
|
|
|
833
|
-
/***/
|
|
833
|
+
/***/ 9612:
|
|
834
834
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
835
835
|
|
|
836
836
|
"use strict";
|
|
837
837
|
|
|
838
838
|
|
|
839
|
-
module.exports = __nccwpck_require__(
|
|
839
|
+
module.exports = __nccwpck_require__(3666)('Maximum');
|
|
840
840
|
|
|
841
841
|
|
|
842
842
|
/***/ }),
|
|
843
843
|
|
|
844
|
-
/***/
|
|
844
|
+
/***/ 7405:
|
|
845
845
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
846
846
|
|
|
847
847
|
"use strict";
|
|
848
848
|
|
|
849
849
|
|
|
850
|
-
module.exports = __nccwpck_require__(
|
|
850
|
+
module.exports = __nccwpck_require__(3666)('Minimum');
|
|
851
851
|
|
|
852
852
|
|
|
853
853
|
/***/ }),
|
|
854
854
|
|
|
855
|
-
/***/
|
|
855
|
+
/***/ 3409:
|
|
856
856
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
857
857
|
|
|
858
858
|
"use strict";
|
|
859
859
|
|
|
860
860
|
|
|
861
861
|
module.exports = {
|
|
862
|
-
'instanceof': __nccwpck_require__(
|
|
863
|
-
range: __nccwpck_require__(
|
|
864
|
-
regexp: __nccwpck_require__(
|
|
865
|
-
'typeof': __nccwpck_require__(
|
|
866
|
-
dynamicDefaults: __nccwpck_require__(
|
|
867
|
-
allRequired: __nccwpck_require__(
|
|
868
|
-
anyRequired: __nccwpck_require__(
|
|
869
|
-
oneRequired: __nccwpck_require__(
|
|
870
|
-
prohibited: __nccwpck_require__(
|
|
871
|
-
uniqueItemProperties: __nccwpck_require__(
|
|
872
|
-
deepProperties: __nccwpck_require__(
|
|
873
|
-
deepRequired: __nccwpck_require__(
|
|
874
|
-
formatMinimum: __nccwpck_require__(
|
|
875
|
-
formatMaximum: __nccwpck_require__(
|
|
876
|
-
patternRequired: __nccwpck_require__(
|
|
877
|
-
'switch': __nccwpck_require__(
|
|
878
|
-
select: __nccwpck_require__(
|
|
879
|
-
transform: __nccwpck_require__(
|
|
862
|
+
'instanceof': __nccwpck_require__(509),
|
|
863
|
+
range: __nccwpck_require__(9268),
|
|
864
|
+
regexp: __nccwpck_require__(577),
|
|
865
|
+
'typeof': __nccwpck_require__(5208),
|
|
866
|
+
dynamicDefaults: __nccwpck_require__(10),
|
|
867
|
+
allRequired: __nccwpck_require__(5613),
|
|
868
|
+
anyRequired: __nccwpck_require__(7933),
|
|
869
|
+
oneRequired: __nccwpck_require__(5497),
|
|
870
|
+
prohibited: __nccwpck_require__(436),
|
|
871
|
+
uniqueItemProperties: __nccwpck_require__(2394),
|
|
872
|
+
deepProperties: __nccwpck_require__(8491),
|
|
873
|
+
deepRequired: __nccwpck_require__(6057),
|
|
874
|
+
formatMinimum: __nccwpck_require__(7405),
|
|
875
|
+
formatMaximum: __nccwpck_require__(9612),
|
|
876
|
+
patternRequired: __nccwpck_require__(7074),
|
|
877
|
+
'switch': __nccwpck_require__(3261),
|
|
878
|
+
select: __nccwpck_require__(4995),
|
|
879
|
+
transform: __nccwpck_require__(2402)
|
|
880
880
|
};
|
|
881
881
|
|
|
882
882
|
|
|
883
883
|
/***/ }),
|
|
884
884
|
|
|
885
|
-
/***/
|
|
885
|
+
/***/ 509:
|
|
886
886
|
/***/ (function(module) {
|
|
887
887
|
|
|
888
888
|
"use strict";
|
|
@@ -948,7 +948,7 @@ module.exports = function defFunc(ajv) {
|
|
|
948
948
|
|
|
949
949
|
/***/ }),
|
|
950
950
|
|
|
951
|
-
/***/
|
|
951
|
+
/***/ 5497:
|
|
952
952
|
/***/ (function(module) {
|
|
953
953
|
|
|
954
954
|
"use strict";
|
|
@@ -980,7 +980,7 @@ module.exports = function defFunc(ajv) {
|
|
|
980
980
|
|
|
981
981
|
/***/ }),
|
|
982
982
|
|
|
983
|
-
/***/
|
|
983
|
+
/***/ 7074:
|
|
984
984
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
985
985
|
|
|
986
986
|
"use strict";
|
|
@@ -989,7 +989,7 @@ module.exports = function defFunc(ajv) {
|
|
|
989
989
|
module.exports = function defFunc(ajv) {
|
|
990
990
|
defFunc.definition = {
|
|
991
991
|
type: 'object',
|
|
992
|
-
inline: __nccwpck_require__(
|
|
992
|
+
inline: __nccwpck_require__(2828),
|
|
993
993
|
statements: true,
|
|
994
994
|
errors: 'full',
|
|
995
995
|
metaSchema: {
|
|
@@ -1009,7 +1009,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1009
1009
|
|
|
1010
1010
|
/***/ }),
|
|
1011
1011
|
|
|
1012
|
-
/***/
|
|
1012
|
+
/***/ 436:
|
|
1013
1013
|
/***/ (function(module) {
|
|
1014
1014
|
|
|
1015
1015
|
"use strict";
|
|
@@ -1041,7 +1041,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1041
1041
|
|
|
1042
1042
|
/***/ }),
|
|
1043
1043
|
|
|
1044
|
-
/***/
|
|
1044
|
+
/***/ 9268:
|
|
1045
1045
|
/***/ (function(module) {
|
|
1046
1046
|
|
|
1047
1047
|
"use strict";
|
|
@@ -1085,7 +1085,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1085
1085
|
|
|
1086
1086
|
/***/ }),
|
|
1087
1087
|
|
|
1088
|
-
/***/
|
|
1088
|
+
/***/ 577:
|
|
1089
1089
|
/***/ (function(module) {
|
|
1090
1090
|
|
|
1091
1091
|
"use strict";
|
|
@@ -1129,13 +1129,13 @@ module.exports = function defFunc(ajv) {
|
|
|
1129
1129
|
|
|
1130
1130
|
/***/ }),
|
|
1131
1131
|
|
|
1132
|
-
/***/
|
|
1132
|
+
/***/ 4995:
|
|
1133
1133
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
1134
1134
|
|
|
1135
1135
|
"use strict";
|
|
1136
1136
|
|
|
1137
1137
|
|
|
1138
|
-
var util = __nccwpck_require__(
|
|
1138
|
+
var util = __nccwpck_require__(8535);
|
|
1139
1139
|
|
|
1140
1140
|
module.exports = function defFunc(ajv) {
|
|
1141
1141
|
if (!ajv._opts.$data) {
|
|
@@ -1216,13 +1216,13 @@ module.exports = function defFunc(ajv) {
|
|
|
1216
1216
|
|
|
1217
1217
|
/***/ }),
|
|
1218
1218
|
|
|
1219
|
-
/***/
|
|
1219
|
+
/***/ 3261:
|
|
1220
1220
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
1221
1221
|
|
|
1222
1222
|
"use strict";
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
|
-
var util = __nccwpck_require__(
|
|
1225
|
+
var util = __nccwpck_require__(8535);
|
|
1226
1226
|
|
|
1227
1227
|
module.exports = function defFunc(ajv) {
|
|
1228
1228
|
if (ajv.RULES.keywords.switch && ajv.RULES.keywords.if) return;
|
|
@@ -1230,7 +1230,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1230
1230
|
var metaSchemaRef = util.metaSchemaRef(ajv);
|
|
1231
1231
|
|
|
1232
1232
|
defFunc.definition = {
|
|
1233
|
-
inline: __nccwpck_require__(
|
|
1233
|
+
inline: __nccwpck_require__(6707),
|
|
1234
1234
|
statements: true,
|
|
1235
1235
|
errors: 'full',
|
|
1236
1236
|
metaSchema: {
|
|
@@ -1262,7 +1262,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1262
1262
|
|
|
1263
1263
|
/***/ }),
|
|
1264
1264
|
|
|
1265
|
-
/***/
|
|
1265
|
+
/***/ 2402:
|
|
1266
1266
|
/***/ (function(module) {
|
|
1267
1267
|
|
|
1268
1268
|
"use strict";
|
|
@@ -1350,7 +1350,7 @@ module.exports = function defFunc (ajv) {
|
|
|
1350
1350
|
|
|
1351
1351
|
/***/ }),
|
|
1352
1352
|
|
|
1353
|
-
/***/
|
|
1353
|
+
/***/ 5208:
|
|
1354
1354
|
/***/ (function(module) {
|
|
1355
1355
|
|
|
1356
1356
|
"use strict";
|
|
@@ -1390,7 +1390,7 @@ module.exports = function defFunc(ajv) {
|
|
|
1390
1390
|
|
|
1391
1391
|
/***/ }),
|
|
1392
1392
|
|
|
1393
|
-
/***/
|
|
1393
|
+
/***/ 2394:
|
|
1394
1394
|
/***/ (function(module) {
|
|
1395
1395
|
|
|
1396
1396
|
"use strict";
|
|
@@ -1457,21 +1457,21 @@ function getScalarKeys(keys, schema) {
|
|
|
1457
1457
|
|
|
1458
1458
|
/***/ }),
|
|
1459
1459
|
|
|
1460
|
-
/***/
|
|
1460
|
+
/***/ 284:
|
|
1461
1461
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
1462
1462
|
|
|
1463
1463
|
"use strict";
|
|
1464
1464
|
|
|
1465
1465
|
|
|
1466
|
-
var compileSchema = __nccwpck_require__(
|
|
1467
|
-
, resolve = __nccwpck_require__(
|
|
1468
|
-
, Cache = __nccwpck_require__(
|
|
1469
|
-
, SchemaObject = __nccwpck_require__(
|
|
1470
|
-
, stableStringify = __nccwpck_require__(
|
|
1471
|
-
, formats = __nccwpck_require__(
|
|
1472
|
-
, rules = __nccwpck_require__(
|
|
1473
|
-
, $dataMetaSchema = __nccwpck_require__(
|
|
1474
|
-
, util = __nccwpck_require__(
|
|
1466
|
+
var compileSchema = __nccwpck_require__(9962)
|
|
1467
|
+
, resolve = __nccwpck_require__(5405)
|
|
1468
|
+
, Cache = __nccwpck_require__(6140)
|
|
1469
|
+
, SchemaObject = __nccwpck_require__(8952)
|
|
1470
|
+
, stableStringify = __nccwpck_require__(2048)
|
|
1471
|
+
, formats = __nccwpck_require__(9274)
|
|
1472
|
+
, rules = __nccwpck_require__(5706)
|
|
1473
|
+
, $dataMetaSchema = __nccwpck_require__(6194)
|
|
1474
|
+
, util = __nccwpck_require__(5073);
|
|
1475
1475
|
|
|
1476
1476
|
module.exports = Ajv;
|
|
1477
1477
|
|
|
@@ -1488,14 +1488,14 @@ Ajv.prototype.errorsText = errorsText;
|
|
|
1488
1488
|
Ajv.prototype._addSchema = _addSchema;
|
|
1489
1489
|
Ajv.prototype._compile = _compile;
|
|
1490
1490
|
|
|
1491
|
-
Ajv.prototype.compileAsync = __nccwpck_require__(
|
|
1492
|
-
var customKeyword = __nccwpck_require__(
|
|
1491
|
+
Ajv.prototype.compileAsync = __nccwpck_require__(2066);
|
|
1492
|
+
var customKeyword = __nccwpck_require__(2003);
|
|
1493
1493
|
Ajv.prototype.addKeyword = customKeyword.add;
|
|
1494
1494
|
Ajv.prototype.getKeyword = customKeyword.get;
|
|
1495
1495
|
Ajv.prototype.removeKeyword = customKeyword.remove;
|
|
1496
1496
|
Ajv.prototype.validateKeyword = customKeyword.validate;
|
|
1497
1497
|
|
|
1498
|
-
var errorClasses = __nccwpck_require__(
|
|
1498
|
+
var errorClasses = __nccwpck_require__(9823);
|
|
1499
1499
|
Ajv.ValidationError = errorClasses.Validation;
|
|
1500
1500
|
Ajv.MissingRefError = errorClasses.MissingRef;
|
|
1501
1501
|
Ajv.$dataMetaSchema = $dataMetaSchema;
|
|
@@ -1904,11 +1904,11 @@ function addFormat(name, format) {
|
|
|
1904
1904
|
function addDefaultMetaSchema(self) {
|
|
1905
1905
|
var $dataSchema;
|
|
1906
1906
|
if (self._opts.$data) {
|
|
1907
|
-
$dataSchema = __nccwpck_require__(
|
|
1907
|
+
$dataSchema = __nccwpck_require__(7664);
|
|
1908
1908
|
self.addMetaSchema($dataSchema, $dataSchema.$id, true);
|
|
1909
1909
|
}
|
|
1910
1910
|
if (self._opts.meta === false) return;
|
|
1911
|
-
var metaSchema = __nccwpck_require__(
|
|
1911
|
+
var metaSchema = __nccwpck_require__(7136);
|
|
1912
1912
|
if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);
|
|
1913
1913
|
self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);
|
|
1914
1914
|
self._refs['http://json-schema.org/schema'] = META_SCHEMA_ID;
|
|
@@ -1971,7 +1971,7 @@ function noop() {}
|
|
|
1971
1971
|
|
|
1972
1972
|
/***/ }),
|
|
1973
1973
|
|
|
1974
|
-
/***/
|
|
1974
|
+
/***/ 6140:
|
|
1975
1975
|
/***/ (function(module) {
|
|
1976
1976
|
|
|
1977
1977
|
"use strict";
|
|
@@ -2005,13 +2005,13 @@ Cache.prototype.clear = function Cache_clear() {
|
|
|
2005
2005
|
|
|
2006
2006
|
/***/ }),
|
|
2007
2007
|
|
|
2008
|
-
/***/
|
|
2008
|
+
/***/ 2066:
|
|
2009
2009
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2010
2010
|
|
|
2011
2011
|
"use strict";
|
|
2012
2012
|
|
|
2013
2013
|
|
|
2014
|
-
var MissingRefError = __nccwpck_require__(
|
|
2014
|
+
var MissingRefError = (__nccwpck_require__(9823).MissingRef);
|
|
2015
2015
|
|
|
2016
2016
|
module.exports = compileAsync;
|
|
2017
2017
|
|
|
@@ -2103,13 +2103,13 @@ function compileAsync(schema, meta, callback) {
|
|
|
2103
2103
|
|
|
2104
2104
|
/***/ }),
|
|
2105
2105
|
|
|
2106
|
-
/***/
|
|
2106
|
+
/***/ 9823:
|
|
2107
2107
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2108
2108
|
|
|
2109
2109
|
"use strict";
|
|
2110
2110
|
|
|
2111
2111
|
|
|
2112
|
-
var resolve = __nccwpck_require__(
|
|
2112
|
+
var resolve = __nccwpck_require__(5405);
|
|
2113
2113
|
|
|
2114
2114
|
module.exports = {
|
|
2115
2115
|
Validation: errorSubclass(ValidationError),
|
|
@@ -2145,13 +2145,13 @@ function errorSubclass(Subclass) {
|
|
|
2145
2145
|
|
|
2146
2146
|
/***/ }),
|
|
2147
2147
|
|
|
2148
|
-
/***/
|
|
2148
|
+
/***/ 9274:
|
|
2149
2149
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2150
2150
|
|
|
2151
2151
|
"use strict";
|
|
2152
2152
|
|
|
2153
2153
|
|
|
2154
|
-
var util = __nccwpck_require__(
|
|
2154
|
+
var util = __nccwpck_require__(5073);
|
|
2155
2155
|
|
|
2156
2156
|
var DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
|
|
2157
2157
|
var DAYS = [0,31,28,31,30,31,30,31,31,30,31,30,31];
|
|
@@ -2295,25 +2295,25 @@ function regex(str) {
|
|
|
2295
2295
|
|
|
2296
2296
|
/***/ }),
|
|
2297
2297
|
|
|
2298
|
-
/***/
|
|
2298
|
+
/***/ 9962:
|
|
2299
2299
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2300
2300
|
|
|
2301
2301
|
"use strict";
|
|
2302
2302
|
|
|
2303
2303
|
|
|
2304
|
-
var resolve = __nccwpck_require__(
|
|
2305
|
-
, util = __nccwpck_require__(
|
|
2306
|
-
, errorClasses = __nccwpck_require__(
|
|
2307
|
-
, stableStringify = __nccwpck_require__(
|
|
2304
|
+
var resolve = __nccwpck_require__(5405)
|
|
2305
|
+
, util = __nccwpck_require__(5073)
|
|
2306
|
+
, errorClasses = __nccwpck_require__(9823)
|
|
2307
|
+
, stableStringify = __nccwpck_require__(2048);
|
|
2308
2308
|
|
|
2309
|
-
var validateGenerator = __nccwpck_require__(
|
|
2309
|
+
var validateGenerator = __nccwpck_require__(3455);
|
|
2310
2310
|
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Functions below are used inside compiled validations function
|
|
2313
2313
|
*/
|
|
2314
2314
|
|
|
2315
2315
|
var ucs2length = util.ucs2length;
|
|
2316
|
-
var equal = __nccwpck_require__(
|
|
2316
|
+
var equal = __nccwpck_require__(9365);
|
|
2317
2317
|
|
|
2318
2318
|
// this error is thrown by async schemas to return validation errors via exception
|
|
2319
2319
|
var ValidationError = errorClasses.Validation;
|
|
@@ -2690,17 +2690,17 @@ function vars(arr, statement) {
|
|
|
2690
2690
|
|
|
2691
2691
|
/***/ }),
|
|
2692
2692
|
|
|
2693
|
-
/***/
|
|
2693
|
+
/***/ 5405:
|
|
2694
2694
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2695
2695
|
|
|
2696
2696
|
"use strict";
|
|
2697
2697
|
|
|
2698
2698
|
|
|
2699
|
-
var URI = __nccwpck_require__(
|
|
2700
|
-
, equal = __nccwpck_require__(
|
|
2701
|
-
, util = __nccwpck_require__(
|
|
2702
|
-
, SchemaObject = __nccwpck_require__(
|
|
2703
|
-
, traverse = __nccwpck_require__(
|
|
2699
|
+
var URI = __nccwpck_require__(7024)
|
|
2700
|
+
, equal = __nccwpck_require__(9365)
|
|
2701
|
+
, util = __nccwpck_require__(5073)
|
|
2702
|
+
, SchemaObject = __nccwpck_require__(8952)
|
|
2703
|
+
, traverse = __nccwpck_require__(7389);
|
|
2704
2704
|
|
|
2705
2705
|
module.exports = resolve;
|
|
2706
2706
|
|
|
@@ -2968,14 +2968,14 @@ function resolveIds(schema) {
|
|
|
2968
2968
|
|
|
2969
2969
|
/***/ }),
|
|
2970
2970
|
|
|
2971
|
-
/***/
|
|
2971
|
+
/***/ 5706:
|
|
2972
2972
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
2973
2973
|
|
|
2974
2974
|
"use strict";
|
|
2975
2975
|
|
|
2976
2976
|
|
|
2977
|
-
var ruleModules = __nccwpck_require__(
|
|
2978
|
-
, toHash = __nccwpck_require__(
|
|
2977
|
+
var ruleModules = __nccwpck_require__(5786)
|
|
2978
|
+
, toHash = (__nccwpck_require__(5073).toHash);
|
|
2979
2979
|
|
|
2980
2980
|
module.exports = function rules() {
|
|
2981
2981
|
var RULES = [
|
|
@@ -3042,13 +3042,13 @@ module.exports = function rules() {
|
|
|
3042
3042
|
|
|
3043
3043
|
/***/ }),
|
|
3044
3044
|
|
|
3045
|
-
/***/
|
|
3045
|
+
/***/ 8952:
|
|
3046
3046
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
3047
3047
|
|
|
3048
3048
|
"use strict";
|
|
3049
3049
|
|
|
3050
3050
|
|
|
3051
|
-
var util = __nccwpck_require__(
|
|
3051
|
+
var util = __nccwpck_require__(5073);
|
|
3052
3052
|
|
|
3053
3053
|
module.exports = SchemaObject;
|
|
3054
3054
|
|
|
@@ -3059,7 +3059,7 @@ function SchemaObject(obj) {
|
|
|
3059
3059
|
|
|
3060
3060
|
/***/ }),
|
|
3061
3061
|
|
|
3062
|
-
/***/
|
|
3062
|
+
/***/ 2134:
|
|
3063
3063
|
/***/ (function(module) {
|
|
3064
3064
|
|
|
3065
3065
|
"use strict";
|
|
@@ -3087,7 +3087,7 @@ module.exports = function ucs2length(str) {
|
|
|
3087
3087
|
|
|
3088
3088
|
/***/ }),
|
|
3089
3089
|
|
|
3090
|
-
/***/
|
|
3090
|
+
/***/ 5073:
|
|
3091
3091
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
3092
3092
|
|
|
3093
3093
|
"use strict";
|
|
@@ -3102,8 +3102,8 @@ module.exports = {
|
|
|
3102
3102
|
toHash: toHash,
|
|
3103
3103
|
getProperty: getProperty,
|
|
3104
3104
|
escapeQuotes: escapeQuotes,
|
|
3105
|
-
equal: __nccwpck_require__(
|
|
3106
|
-
ucs2length: __nccwpck_require__(
|
|
3105
|
+
equal: __nccwpck_require__(9365),
|
|
3106
|
+
ucs2length: __nccwpck_require__(2134),
|
|
3107
3107
|
varOccurences: varOccurences,
|
|
3108
3108
|
varReplace: varReplace,
|
|
3109
3109
|
schemaHasRules: schemaHasRules,
|
|
@@ -3334,7 +3334,7 @@ function unescapeJsonPointer(str) {
|
|
|
3334
3334
|
|
|
3335
3335
|
/***/ }),
|
|
3336
3336
|
|
|
3337
|
-
/***/
|
|
3337
|
+
/***/ 6194:
|
|
3338
3338
|
/***/ (function(module) {
|
|
3339
3339
|
|
|
3340
3340
|
"use strict";
|
|
@@ -3391,13 +3391,13 @@ module.exports = function (metaSchema, keywordsJsonPointers) {
|
|
|
3391
3391
|
|
|
3392
3392
|
/***/ }),
|
|
3393
3393
|
|
|
3394
|
-
/***/
|
|
3394
|
+
/***/ 1297:
|
|
3395
3395
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
3396
3396
|
|
|
3397
3397
|
"use strict";
|
|
3398
3398
|
|
|
3399
3399
|
|
|
3400
|
-
var metaSchema = __nccwpck_require__(
|
|
3400
|
+
var metaSchema = __nccwpck_require__(7136);
|
|
3401
3401
|
|
|
3402
3402
|
module.exports = {
|
|
3403
3403
|
$id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js',
|
|
@@ -3436,7 +3436,7 @@ module.exports = {
|
|
|
3436
3436
|
|
|
3437
3437
|
/***/ }),
|
|
3438
3438
|
|
|
3439
|
-
/***/
|
|
3439
|
+
/***/ 982:
|
|
3440
3440
|
/***/ (function(module) {
|
|
3441
3441
|
|
|
3442
3442
|
"use strict";
|
|
@@ -3607,7 +3607,7 @@ module.exports = function generate__limit(it, $keyword, $ruleType) {
|
|
|
3607
3607
|
|
|
3608
3608
|
/***/ }),
|
|
3609
3609
|
|
|
3610
|
-
/***/
|
|
3610
|
+
/***/ 8497:
|
|
3611
3611
|
/***/ (function(module) {
|
|
3612
3612
|
|
|
3613
3613
|
"use strict";
|
|
@@ -3695,7 +3695,7 @@ module.exports = function generate__limitItems(it, $keyword, $ruleType) {
|
|
|
3695
3695
|
|
|
3696
3696
|
/***/ }),
|
|
3697
3697
|
|
|
3698
|
-
/***/
|
|
3698
|
+
/***/ 7400:
|
|
3699
3699
|
/***/ (function(module) {
|
|
3700
3700
|
|
|
3701
3701
|
"use strict";
|
|
@@ -3788,7 +3788,7 @@ module.exports = function generate__limitLength(it, $keyword, $ruleType) {
|
|
|
3788
3788
|
|
|
3789
3789
|
/***/ }),
|
|
3790
3790
|
|
|
3791
|
-
/***/
|
|
3791
|
+
/***/ 3931:
|
|
3792
3792
|
/***/ (function(module) {
|
|
3793
3793
|
|
|
3794
3794
|
"use strict";
|
|
@@ -3876,7 +3876,7 @@ module.exports = function generate__limitProperties(it, $keyword, $ruleType) {
|
|
|
3876
3876
|
|
|
3877
3877
|
/***/ }),
|
|
3878
3878
|
|
|
3879
|
-
/***/
|
|
3879
|
+
/***/ 6135:
|
|
3880
3880
|
/***/ (function(module) {
|
|
3881
3881
|
|
|
3882
3882
|
"use strict";
|
|
@@ -3926,7 +3926,7 @@ module.exports = function generate_allOf(it, $keyword, $ruleType) {
|
|
|
3926
3926
|
|
|
3927
3927
|
/***/ }),
|
|
3928
3928
|
|
|
3929
|
-
/***/
|
|
3929
|
+
/***/ 4850:
|
|
3930
3930
|
/***/ (function(module) {
|
|
3931
3931
|
|
|
3932
3932
|
"use strict";
|
|
@@ -4007,7 +4007,7 @@ module.exports = function generate_anyOf(it, $keyword, $ruleType) {
|
|
|
4007
4007
|
|
|
4008
4008
|
/***/ }),
|
|
4009
4009
|
|
|
4010
|
-
/***/
|
|
4010
|
+
/***/ 9298:
|
|
4011
4011
|
/***/ (function(module) {
|
|
4012
4012
|
|
|
4013
4013
|
"use strict";
|
|
@@ -4029,7 +4029,7 @@ module.exports = function generate_comment(it, $keyword, $ruleType) {
|
|
|
4029
4029
|
|
|
4030
4030
|
/***/ }),
|
|
4031
4031
|
|
|
4032
|
-
/***/
|
|
4032
|
+
/***/ 3688:
|
|
4033
4033
|
/***/ (function(module) {
|
|
4034
4034
|
|
|
4035
4035
|
"use strict";
|
|
@@ -4093,7 +4093,7 @@ module.exports = function generate_const(it, $keyword, $ruleType) {
|
|
|
4093
4093
|
|
|
4094
4094
|
/***/ }),
|
|
4095
4095
|
|
|
4096
|
-
/***/
|
|
4096
|
+
/***/ 3496:
|
|
4097
4097
|
/***/ (function(module) {
|
|
4098
4098
|
|
|
4099
4099
|
"use strict";
|
|
@@ -4182,7 +4182,7 @@ module.exports = function generate_contains(it, $keyword, $ruleType) {
|
|
|
4182
4182
|
|
|
4183
4183
|
/***/ }),
|
|
4184
4184
|
|
|
4185
|
-
/***/
|
|
4185
|
+
/***/ 396:
|
|
4186
4186
|
/***/ (function(module) {
|
|
4187
4187
|
|
|
4188
4188
|
"use strict";
|
|
@@ -4418,7 +4418,7 @@ module.exports = function generate_custom(it, $keyword, $ruleType) {
|
|
|
4418
4418
|
|
|
4419
4419
|
/***/ }),
|
|
4420
4420
|
|
|
4421
|
-
/***/
|
|
4421
|
+
/***/ 8226:
|
|
4422
4422
|
/***/ (function(module) {
|
|
4423
4423
|
|
|
4424
4424
|
"use strict";
|
|
@@ -4594,7 +4594,7 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) {
|
|
|
4594
4594
|
|
|
4595
4595
|
/***/ }),
|
|
4596
4596
|
|
|
4597
|
-
/***/
|
|
4597
|
+
/***/ 4382:
|
|
4598
4598
|
/***/ (function(module) {
|
|
4599
4599
|
|
|
4600
4600
|
"use strict";
|
|
@@ -4668,7 +4668,7 @@ module.exports = function generate_enum(it, $keyword, $ruleType) {
|
|
|
4668
4668
|
|
|
4669
4669
|
/***/ }),
|
|
4670
4670
|
|
|
4671
|
-
/***/
|
|
4671
|
+
/***/ 5974:
|
|
4672
4672
|
/***/ (function(module) {
|
|
4673
4673
|
|
|
4674
4674
|
"use strict";
|
|
@@ -4826,7 +4826,7 @@ module.exports = function generate_format(it, $keyword, $ruleType) {
|
|
|
4826
4826
|
|
|
4827
4827
|
/***/ }),
|
|
4828
4828
|
|
|
4829
|
-
/***/
|
|
4829
|
+
/***/ 6639:
|
|
4830
4830
|
/***/ (function(module) {
|
|
4831
4831
|
|
|
4832
4832
|
"use strict";
|
|
@@ -4937,7 +4937,7 @@ module.exports = function generate_if(it, $keyword, $ruleType) {
|
|
|
4937
4937
|
|
|
4938
4938
|
/***/ }),
|
|
4939
4939
|
|
|
4940
|
-
/***/
|
|
4940
|
+
/***/ 5786:
|
|
4941
4941
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
4942
4942
|
|
|
4943
4943
|
"use strict";
|
|
@@ -4945,40 +4945,40 @@ module.exports = function generate_if(it, $keyword, $ruleType) {
|
|
|
4945
4945
|
|
|
4946
4946
|
//all requires must be explicit because browserify won't work with dynamic requires
|
|
4947
4947
|
module.exports = {
|
|
4948
|
-
'$ref': __nccwpck_require__(
|
|
4949
|
-
allOf: __nccwpck_require__(
|
|
4950
|
-
anyOf: __nccwpck_require__(
|
|
4951
|
-
'$comment': __nccwpck_require__(
|
|
4952
|
-
const: __nccwpck_require__(
|
|
4953
|
-
contains: __nccwpck_require__(
|
|
4954
|
-
dependencies: __nccwpck_require__(
|
|
4955
|
-
'enum': __nccwpck_require__(
|
|
4956
|
-
format: __nccwpck_require__(
|
|
4957
|
-
'if': __nccwpck_require__(
|
|
4958
|
-
items: __nccwpck_require__(
|
|
4959
|
-
maximum: __nccwpck_require__(
|
|
4960
|
-
minimum: __nccwpck_require__(
|
|
4961
|
-
maxItems: __nccwpck_require__(
|
|
4962
|
-
minItems: __nccwpck_require__(
|
|
4963
|
-
maxLength: __nccwpck_require__(
|
|
4964
|
-
minLength: __nccwpck_require__(
|
|
4965
|
-
maxProperties: __nccwpck_require__(
|
|
4966
|
-
minProperties: __nccwpck_require__(
|
|
4967
|
-
multipleOf: __nccwpck_require__(
|
|
4968
|
-
not: __nccwpck_require__(
|
|
4969
|
-
oneOf: __nccwpck_require__(
|
|
4970
|
-
pattern: __nccwpck_require__(
|
|
4971
|
-
properties: __nccwpck_require__(
|
|
4972
|
-
propertyNames: __nccwpck_require__(
|
|
4973
|
-
required: __nccwpck_require__(
|
|
4974
|
-
uniqueItems: __nccwpck_require__(
|
|
4975
|
-
validate: __nccwpck_require__(
|
|
4948
|
+
'$ref': __nccwpck_require__(7295),
|
|
4949
|
+
allOf: __nccwpck_require__(6135),
|
|
4950
|
+
anyOf: __nccwpck_require__(4850),
|
|
4951
|
+
'$comment': __nccwpck_require__(9298),
|
|
4952
|
+
const: __nccwpck_require__(3688),
|
|
4953
|
+
contains: __nccwpck_require__(3496),
|
|
4954
|
+
dependencies: __nccwpck_require__(8226),
|
|
4955
|
+
'enum': __nccwpck_require__(4382),
|
|
4956
|
+
format: __nccwpck_require__(5974),
|
|
4957
|
+
'if': __nccwpck_require__(6639),
|
|
4958
|
+
items: __nccwpck_require__(2438),
|
|
4959
|
+
maximum: __nccwpck_require__(982),
|
|
4960
|
+
minimum: __nccwpck_require__(982),
|
|
4961
|
+
maxItems: __nccwpck_require__(8497),
|
|
4962
|
+
minItems: __nccwpck_require__(8497),
|
|
4963
|
+
maxLength: __nccwpck_require__(7400),
|
|
4964
|
+
minLength: __nccwpck_require__(7400),
|
|
4965
|
+
maxProperties: __nccwpck_require__(3931),
|
|
4966
|
+
minProperties: __nccwpck_require__(3931),
|
|
4967
|
+
multipleOf: __nccwpck_require__(2210),
|
|
4968
|
+
not: __nccwpck_require__(225),
|
|
4969
|
+
oneOf: __nccwpck_require__(261),
|
|
4970
|
+
pattern: __nccwpck_require__(9254),
|
|
4971
|
+
properties: __nccwpck_require__(5946),
|
|
4972
|
+
propertyNames: __nccwpck_require__(6217),
|
|
4973
|
+
required: __nccwpck_require__(5991),
|
|
4974
|
+
uniqueItems: __nccwpck_require__(2089),
|
|
4975
|
+
validate: __nccwpck_require__(3455)
|
|
4976
4976
|
};
|
|
4977
4977
|
|
|
4978
4978
|
|
|
4979
4979
|
/***/ }),
|
|
4980
4980
|
|
|
4981
|
-
/***/
|
|
4981
|
+
/***/ 2438:
|
|
4982
4982
|
/***/ (function(module) {
|
|
4983
4983
|
|
|
4984
4984
|
"use strict";
|
|
@@ -5126,7 +5126,7 @@ module.exports = function generate_items(it, $keyword, $ruleType) {
|
|
|
5126
5126
|
|
|
5127
5127
|
/***/ }),
|
|
5128
5128
|
|
|
5129
|
-
/***/
|
|
5129
|
+
/***/ 2210:
|
|
5130
5130
|
/***/ (function(module) {
|
|
5131
5131
|
|
|
5132
5132
|
"use strict";
|
|
@@ -5214,7 +5214,7 @@ module.exports = function generate_multipleOf(it, $keyword, $ruleType) {
|
|
|
5214
5214
|
|
|
5215
5215
|
/***/ }),
|
|
5216
5216
|
|
|
5217
|
-
/***/
|
|
5217
|
+
/***/ 225:
|
|
5218
5218
|
/***/ (function(module) {
|
|
5219
5219
|
|
|
5220
5220
|
"use strict";
|
|
@@ -5306,7 +5306,7 @@ module.exports = function generate_not(it, $keyword, $ruleType) {
|
|
|
5306
5306
|
|
|
5307
5307
|
/***/ }),
|
|
5308
5308
|
|
|
5309
|
-
/***/
|
|
5309
|
+
/***/ 261:
|
|
5310
5310
|
/***/ (function(module) {
|
|
5311
5311
|
|
|
5312
5312
|
"use strict";
|
|
@@ -5387,7 +5387,7 @@ module.exports = function generate_oneOf(it, $keyword, $ruleType) {
|
|
|
5387
5387
|
|
|
5388
5388
|
/***/ }),
|
|
5389
5389
|
|
|
5390
|
-
/***/
|
|
5390
|
+
/***/ 9254:
|
|
5391
5391
|
/***/ (function(module) {
|
|
5392
5392
|
|
|
5393
5393
|
"use strict";
|
|
@@ -5470,7 +5470,7 @@ module.exports = function generate_pattern(it, $keyword, $ruleType) {
|
|
|
5470
5470
|
|
|
5471
5471
|
/***/ }),
|
|
5472
5472
|
|
|
5473
|
-
/***/
|
|
5473
|
+
/***/ 5946:
|
|
5474
5474
|
/***/ (function(module) {
|
|
5475
5475
|
|
|
5476
5476
|
"use strict";
|
|
@@ -5813,7 +5813,7 @@ module.exports = function generate_properties(it, $keyword, $ruleType) {
|
|
|
5813
5813
|
|
|
5814
5814
|
/***/ }),
|
|
5815
5815
|
|
|
5816
|
-
/***/
|
|
5816
|
+
/***/ 6217:
|
|
5817
5817
|
/***/ (function(module) {
|
|
5818
5818
|
|
|
5819
5819
|
"use strict";
|
|
@@ -5902,7 +5902,7 @@ module.exports = function generate_propertyNames(it, $keyword, $ruleType) {
|
|
|
5902
5902
|
|
|
5903
5903
|
/***/ }),
|
|
5904
5904
|
|
|
5905
|
-
/***/
|
|
5905
|
+
/***/ 7295:
|
|
5906
5906
|
/***/ (function(module) {
|
|
5907
5907
|
|
|
5908
5908
|
"use strict";
|
|
@@ -6034,7 +6034,7 @@ module.exports = function generate_ref(it, $keyword, $ruleType) {
|
|
|
6034
6034
|
|
|
6035
6035
|
/***/ }),
|
|
6036
6036
|
|
|
6037
|
-
/***/
|
|
6037
|
+
/***/ 5991:
|
|
6038
6038
|
/***/ (function(module) {
|
|
6039
6039
|
|
|
6040
6040
|
"use strict";
|
|
@@ -6312,7 +6312,7 @@ module.exports = function generate_required(it, $keyword, $ruleType) {
|
|
|
6312
6312
|
|
|
6313
6313
|
/***/ }),
|
|
6314
6314
|
|
|
6315
|
-
/***/
|
|
6315
|
+
/***/ 2089:
|
|
6316
6316
|
/***/ (function(module) {
|
|
6317
6317
|
|
|
6318
6318
|
"use strict";
|
|
@@ -6406,7 +6406,7 @@ module.exports = function generate_uniqueItems(it, $keyword, $ruleType) {
|
|
|
6406
6406
|
|
|
6407
6407
|
/***/ }),
|
|
6408
6408
|
|
|
6409
|
-
/***/
|
|
6409
|
+
/***/ 3455:
|
|
6410
6410
|
/***/ (function(module) {
|
|
6411
6411
|
|
|
6412
6412
|
"use strict";
|
|
@@ -6896,15 +6896,15 @@ module.exports = function generate_validate(it, $keyword, $ruleType) {
|
|
|
6896
6896
|
|
|
6897
6897
|
/***/ }),
|
|
6898
6898
|
|
|
6899
|
-
/***/
|
|
6899
|
+
/***/ 2003:
|
|
6900
6900
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
6901
6901
|
|
|
6902
6902
|
"use strict";
|
|
6903
6903
|
|
|
6904
6904
|
|
|
6905
6905
|
var IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;
|
|
6906
|
-
var customRuleCode = __nccwpck_require__(
|
|
6907
|
-
var definitionSchema = __nccwpck_require__(
|
|
6906
|
+
var customRuleCode = __nccwpck_require__(396);
|
|
6907
|
+
var definitionSchema = __nccwpck_require__(1297);
|
|
6908
6908
|
|
|
6909
6909
|
module.exports = {
|
|
6910
6910
|
add: addKeyword,
|
|
@@ -7050,7 +7050,7 @@ function validateKeyword(definition, throwError) {
|
|
|
7050
7050
|
|
|
7051
7051
|
/***/ }),
|
|
7052
7052
|
|
|
7053
|
-
/***/
|
|
7053
|
+
/***/ 9365:
|
|
7054
7054
|
/***/ (function(module) {
|
|
7055
7055
|
|
|
7056
7056
|
"use strict";
|
|
@@ -7104,7 +7104,7 @@ module.exports = function equal(a, b) {
|
|
|
7104
7104
|
|
|
7105
7105
|
/***/ }),
|
|
7106
7106
|
|
|
7107
|
-
/***/
|
|
7107
|
+
/***/ 2048:
|
|
7108
7108
|
/***/ (function(module) {
|
|
7109
7109
|
|
|
7110
7110
|
"use strict";
|
|
@@ -7171,7 +7171,7 @@ module.exports = function (data, opts) {
|
|
|
7171
7171
|
|
|
7172
7172
|
/***/ }),
|
|
7173
7173
|
|
|
7174
|
-
/***/
|
|
7174
|
+
/***/ 7389:
|
|
7175
7175
|
/***/ (function(module) {
|
|
7176
7176
|
|
|
7177
7177
|
"use strict";
|
|
@@ -7268,94 +7268,15 @@ function escapeJsonPtr(str) {
|
|
|
7268
7268
|
|
|
7269
7269
|
/***/ }),
|
|
7270
7270
|
|
|
7271
|
-
/***/
|
|
7272
|
-
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
7273
|
-
|
|
7274
|
-
"use strict";
|
|
7275
|
-
|
|
7276
|
-
const Queue = __nccwpck_require__(4718);
|
|
7277
|
-
|
|
7278
|
-
const pLimit = concurrency => {
|
|
7279
|
-
if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) {
|
|
7280
|
-
throw new TypeError('Expected `concurrency` to be a number from 1 and up');
|
|
7281
|
-
}
|
|
7282
|
-
|
|
7283
|
-
const queue = new Queue();
|
|
7284
|
-
let activeCount = 0;
|
|
7285
|
-
|
|
7286
|
-
const next = () => {
|
|
7287
|
-
activeCount--;
|
|
7288
|
-
|
|
7289
|
-
if (queue.size > 0) {
|
|
7290
|
-
queue.dequeue()();
|
|
7291
|
-
}
|
|
7292
|
-
};
|
|
7293
|
-
|
|
7294
|
-
const run = async (fn, resolve, ...args) => {
|
|
7295
|
-
activeCount++;
|
|
7296
|
-
|
|
7297
|
-
const result = (async () => fn(...args))();
|
|
7298
|
-
|
|
7299
|
-
resolve(result);
|
|
7300
|
-
|
|
7301
|
-
try {
|
|
7302
|
-
await result;
|
|
7303
|
-
} catch {}
|
|
7304
|
-
|
|
7305
|
-
next();
|
|
7306
|
-
};
|
|
7307
|
-
|
|
7308
|
-
const enqueue = (fn, resolve, ...args) => {
|
|
7309
|
-
queue.enqueue(run.bind(null, fn, resolve, ...args));
|
|
7310
|
-
|
|
7311
|
-
(async () => {
|
|
7312
|
-
// This function needs to wait until the next microtask before comparing
|
|
7313
|
-
// `activeCount` to `concurrency`, because `activeCount` is updated asynchronously
|
|
7314
|
-
// when the run function is dequeued and called. The comparison in the if-statement
|
|
7315
|
-
// needs to happen asynchronously as well to get an up-to-date value for `activeCount`.
|
|
7316
|
-
await Promise.resolve();
|
|
7317
|
-
|
|
7318
|
-
if (activeCount < concurrency && queue.size > 0) {
|
|
7319
|
-
queue.dequeue()();
|
|
7320
|
-
}
|
|
7321
|
-
})();
|
|
7322
|
-
};
|
|
7323
|
-
|
|
7324
|
-
const generator = (fn, ...args) => new Promise(resolve => {
|
|
7325
|
-
enqueue(fn, resolve, ...args);
|
|
7326
|
-
});
|
|
7327
|
-
|
|
7328
|
-
Object.defineProperties(generator, {
|
|
7329
|
-
activeCount: {
|
|
7330
|
-
get: () => activeCount
|
|
7331
|
-
},
|
|
7332
|
-
pendingCount: {
|
|
7333
|
-
get: () => queue.size
|
|
7334
|
-
},
|
|
7335
|
-
clearQueue: {
|
|
7336
|
-
value: () => {
|
|
7337
|
-
queue.clear();
|
|
7338
|
-
}
|
|
7339
|
-
}
|
|
7340
|
-
});
|
|
7341
|
-
|
|
7342
|
-
return generator;
|
|
7343
|
-
};
|
|
7344
|
-
|
|
7345
|
-
module.exports = pLimit;
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
/***/ }),
|
|
7349
|
-
|
|
7350
|
-
/***/ 98:
|
|
7271
|
+
/***/ 6353:
|
|
7351
7272
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
7352
7273
|
|
|
7353
|
-
module.exports = __nccwpck_require__(
|
|
7274
|
+
module.exports = __nccwpck_require__(6113).randomBytes
|
|
7354
7275
|
|
|
7355
7276
|
|
|
7356
7277
|
/***/ }),
|
|
7357
7278
|
|
|
7358
|
-
/***/
|
|
7279
|
+
/***/ 9545:
|
|
7359
7280
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
7360
7281
|
|
|
7361
7282
|
"use strict";
|
|
@@ -7364,12 +7285,12 @@ module.exports = __nccwpck_require__(6417).randomBytes
|
|
|
7364
7285
|
Object.defineProperty(exports, "__esModule", ({
|
|
7365
7286
|
value: true
|
|
7366
7287
|
}));
|
|
7367
|
-
exports
|
|
7288
|
+
exports["default"] = void 0;
|
|
7368
7289
|
|
|
7369
7290
|
const {
|
|
7370
7291
|
stringHints,
|
|
7371
7292
|
numberHints
|
|
7372
|
-
} = __nccwpck_require__(
|
|
7293
|
+
} = __nccwpck_require__(6586);
|
|
7373
7294
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
7374
7295
|
|
|
7375
7296
|
/** @typedef {import("json-schema").JSONSchema7} JSONSchema7 */
|
|
@@ -8629,11 +8550,11 @@ class ValidationError extends Error {
|
|
|
8629
8550
|
}
|
|
8630
8551
|
|
|
8631
8552
|
var _default = ValidationError;
|
|
8632
|
-
exports
|
|
8553
|
+
exports["default"] = _default;
|
|
8633
8554
|
|
|
8634
8555
|
/***/ }),
|
|
8635
8556
|
|
|
8636
|
-
/***/
|
|
8557
|
+
/***/ 4800:
|
|
8637
8558
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
8638
8559
|
|
|
8639
8560
|
"use strict";
|
|
@@ -8642,7 +8563,7 @@ exports.default = _default;
|
|
|
8642
8563
|
const {
|
|
8643
8564
|
validate,
|
|
8644
8565
|
ValidationError
|
|
8645
|
-
} = __nccwpck_require__(
|
|
8566
|
+
} = __nccwpck_require__(3008);
|
|
8646
8567
|
|
|
8647
8568
|
module.exports = {
|
|
8648
8569
|
validate,
|
|
@@ -8651,7 +8572,7 @@ module.exports = {
|
|
|
8651
8572
|
|
|
8652
8573
|
/***/ }),
|
|
8653
8574
|
|
|
8654
|
-
/***/
|
|
8575
|
+
/***/ 9116:
|
|
8655
8576
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8656
8577
|
|
|
8657
8578
|
"use strict";
|
|
@@ -8660,7 +8581,7 @@ module.exports = {
|
|
|
8660
8581
|
Object.defineProperty(exports, "__esModule", ({
|
|
8661
8582
|
value: true
|
|
8662
8583
|
}));
|
|
8663
|
-
exports
|
|
8584
|
+
exports["default"] = void 0;
|
|
8664
8585
|
|
|
8665
8586
|
/** @typedef {import("ajv").Ajv} Ajv */
|
|
8666
8587
|
|
|
@@ -8747,11 +8668,11 @@ function addAbsolutePathKeyword(ajv) {
|
|
|
8747
8668
|
}
|
|
8748
8669
|
|
|
8749
8670
|
var _default = addAbsolutePathKeyword;
|
|
8750
|
-
exports
|
|
8671
|
+
exports["default"] = _default;
|
|
8751
8672
|
|
|
8752
8673
|
/***/ }),
|
|
8753
8674
|
|
|
8754
|
-
/***/
|
|
8675
|
+
/***/ 1833:
|
|
8755
8676
|
/***/ (function(module) {
|
|
8756
8677
|
|
|
8757
8678
|
"use strict";
|
|
@@ -8921,13 +8842,13 @@ module.exports = Range;
|
|
|
8921
8842
|
|
|
8922
8843
|
/***/ }),
|
|
8923
8844
|
|
|
8924
|
-
/***/
|
|
8845
|
+
/***/ 6586:
|
|
8925
8846
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
8926
8847
|
|
|
8927
8848
|
"use strict";
|
|
8928
8849
|
|
|
8929
8850
|
|
|
8930
|
-
const Range = __nccwpck_require__(
|
|
8851
|
+
const Range = __nccwpck_require__(1833);
|
|
8931
8852
|
/** @typedef {import("../validate").Schema} Schema */
|
|
8932
8853
|
|
|
8933
8854
|
/**
|
|
@@ -9033,7 +8954,7 @@ module.exports.numberHints = function numberHints(schema, logic) {
|
|
|
9033
8954
|
|
|
9034
8955
|
/***/ }),
|
|
9035
8956
|
|
|
9036
|
-
/***/
|
|
8957
|
+
/***/ 3008:
|
|
9037
8958
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9038
8959
|
|
|
9039
8960
|
"use strict";
|
|
@@ -9050,16 +8971,16 @@ Object.defineProperty(exports, "ValidationError", ({
|
|
|
9050
8971
|
}
|
|
9051
8972
|
}));
|
|
9052
8973
|
|
|
9053
|
-
var _absolutePath = _interopRequireDefault(__nccwpck_require__(
|
|
8974
|
+
var _absolutePath = _interopRequireDefault(__nccwpck_require__(9116));
|
|
9054
8975
|
|
|
9055
|
-
var _ValidationError = _interopRequireDefault(__nccwpck_require__(
|
|
8976
|
+
var _ValidationError = _interopRequireDefault(__nccwpck_require__(9545));
|
|
9056
8977
|
|
|
9057
8978
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9058
8979
|
|
|
9059
8980
|
// Use CommonJS require for ajv libs so TypeScript consumers aren't locked into esModuleInterop (see #110).
|
|
9060
|
-
const Ajv = __nccwpck_require__(
|
|
8981
|
+
const Ajv = __nccwpck_require__(284);
|
|
9061
8982
|
|
|
9062
|
-
const ajvKeywords = __nccwpck_require__(
|
|
8983
|
+
const ajvKeywords = __nccwpck_require__(1902);
|
|
9063
8984
|
/** @typedef {import("json-schema").JSONSchema4} JSONSchema4 */
|
|
9064
8985
|
|
|
9065
8986
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
@@ -9203,7 +9124,7 @@ function filterErrors(errors) {
|
|
|
9203
9124
|
|
|
9204
9125
|
/***/ }),
|
|
9205
9126
|
|
|
9206
|
-
/***/
|
|
9127
|
+
/***/ 7512:
|
|
9207
9128
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
9208
9129
|
|
|
9209
9130
|
"use strict";
|
|
@@ -9215,7 +9136,7 @@ See the accompanying LICENSE file for terms.
|
|
|
9215
9136
|
|
|
9216
9137
|
|
|
9217
9138
|
|
|
9218
|
-
var randomBytes = __nccwpck_require__(
|
|
9139
|
+
var randomBytes = __nccwpck_require__(6353);
|
|
9219
9140
|
|
|
9220
9141
|
// Generate an internal UID to make the regexp pattern harder to guess.
|
|
9221
9142
|
var UID_LENGTH = 16;
|
|
@@ -9479,7 +9400,7 @@ module.exports = function serialize(obj, options) {
|
|
|
9479
9400
|
|
|
9480
9401
|
/***/ }),
|
|
9481
9402
|
|
|
9482
|
-
/***/
|
|
9403
|
+
/***/ 9443:
|
|
9483
9404
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9484
9405
|
|
|
9485
9406
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9489,7 +9410,7 @@ module.exports = function serialize(obj, options) {
|
|
|
9489
9410
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
9490
9411
|
*/
|
|
9491
9412
|
|
|
9492
|
-
var util = __nccwpck_require__(
|
|
9413
|
+
var util = __nccwpck_require__(9524);
|
|
9493
9414
|
var has = Object.prototype.hasOwnProperty;
|
|
9494
9415
|
var hasNativeMap = typeof Map !== "undefined";
|
|
9495
9416
|
|
|
@@ -9607,7 +9528,7 @@ exports.I = ArraySet;
|
|
|
9607
9528
|
|
|
9608
9529
|
/***/ }),
|
|
9609
9530
|
|
|
9610
|
-
/***/
|
|
9531
|
+
/***/ 3829:
|
|
9611
9532
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9612
9533
|
|
|
9613
9534
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9647,7 +9568,7 @@ exports.I = ArraySet;
|
|
|
9647
9568
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
9648
9569
|
*/
|
|
9649
9570
|
|
|
9650
|
-
var base64 = __nccwpck_require__(
|
|
9571
|
+
var base64 = __nccwpck_require__(3663);
|
|
9651
9572
|
|
|
9652
9573
|
// A single base 64 digit can contain 6 bits of data. For the base 64 variable
|
|
9653
9574
|
// length quantities we use in the source map spec, the first bit is the sign,
|
|
@@ -9754,7 +9675,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
|
|
|
9754
9675
|
|
|
9755
9676
|
/***/ }),
|
|
9756
9677
|
|
|
9757
|
-
/***/
|
|
9678
|
+
/***/ 3663:
|
|
9758
9679
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9759
9680
|
|
|
9760
9681
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9828,7 +9749,7 @@ exports.decode = function (charCode) {
|
|
|
9828
9749
|
|
|
9829
9750
|
/***/ }),
|
|
9830
9751
|
|
|
9831
|
-
/***/
|
|
9752
|
+
/***/ 7849:
|
|
9832
9753
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9833
9754
|
|
|
9834
9755
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9946,7 +9867,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
|
9946
9867
|
|
|
9947
9868
|
/***/ }),
|
|
9948
9869
|
|
|
9949
|
-
/***/
|
|
9870
|
+
/***/ 162:
|
|
9950
9871
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9951
9872
|
|
|
9952
9873
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9956,7 +9877,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
|
9956
9877
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
9957
9878
|
*/
|
|
9958
9879
|
|
|
9959
|
-
var util = __nccwpck_require__(
|
|
9880
|
+
var util = __nccwpck_require__(9524);
|
|
9960
9881
|
|
|
9961
9882
|
/**
|
|
9962
9883
|
* Determine whether mappingB is after mappingA with respect to generated
|
|
@@ -10032,7 +9953,7 @@ exports.H = MappingList;
|
|
|
10032
9953
|
|
|
10033
9954
|
/***/ }),
|
|
10034
9955
|
|
|
10035
|
-
/***/
|
|
9956
|
+
/***/ 3509:
|
|
10036
9957
|
/***/ (function(__unused_webpack_module, exports) {
|
|
10037
9958
|
|
|
10038
9959
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -10153,7 +10074,7 @@ exports.U = function (ary, comparator) {
|
|
|
10153
10074
|
|
|
10154
10075
|
/***/ }),
|
|
10155
10076
|
|
|
10156
|
-
/***/
|
|
10077
|
+
/***/ 7454:
|
|
10157
10078
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
10158
10079
|
|
|
10159
10080
|
var __webpack_unused_export__;
|
|
@@ -10164,11 +10085,11 @@ var __webpack_unused_export__;
|
|
|
10164
10085
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
10165
10086
|
*/
|
|
10166
10087
|
|
|
10167
|
-
var util = __nccwpck_require__(
|
|
10168
|
-
var binarySearch = __nccwpck_require__(
|
|
10169
|
-
var ArraySet = __nccwpck_require__(
|
|
10170
|
-
var base64VLQ = __nccwpck_require__(
|
|
10171
|
-
var quickSort = __nccwpck_require__(
|
|
10088
|
+
var util = __nccwpck_require__(9524);
|
|
10089
|
+
var binarySearch = __nccwpck_require__(7849);
|
|
10090
|
+
var ArraySet = (__nccwpck_require__(9443)/* .ArraySet */ .I);
|
|
10091
|
+
var base64VLQ = __nccwpck_require__(3829);
|
|
10092
|
+
var quickSort = (__nccwpck_require__(3509)/* .quickSort */ .U);
|
|
10172
10093
|
|
|
10173
10094
|
function SourceMapConsumer(aSourceMap, aSourceMapURL) {
|
|
10174
10095
|
var sourceMap = aSourceMap;
|
|
@@ -11306,7 +11227,7 @@ __webpack_unused_export__ = IndexedSourceMapConsumer;
|
|
|
11306
11227
|
|
|
11307
11228
|
/***/ }),
|
|
11308
11229
|
|
|
11309
|
-
/***/
|
|
11230
|
+
/***/ 345:
|
|
11310
11231
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
11311
11232
|
|
|
11312
11233
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -11316,10 +11237,10 @@ __webpack_unused_export__ = IndexedSourceMapConsumer;
|
|
|
11316
11237
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
11317
11238
|
*/
|
|
11318
11239
|
|
|
11319
|
-
var base64VLQ = __nccwpck_require__(
|
|
11320
|
-
var util = __nccwpck_require__(
|
|
11321
|
-
var ArraySet = __nccwpck_require__(
|
|
11322
|
-
var MappingList = __nccwpck_require__(
|
|
11240
|
+
var base64VLQ = __nccwpck_require__(3829);
|
|
11241
|
+
var util = __nccwpck_require__(9524);
|
|
11242
|
+
var ArraySet = (__nccwpck_require__(9443)/* .ArraySet */ .I);
|
|
11243
|
+
var MappingList = (__nccwpck_require__(162)/* .MappingList */ .H);
|
|
11323
11244
|
|
|
11324
11245
|
/**
|
|
11325
11246
|
* An instance of the SourceMapGenerator represents a source map which is
|
|
@@ -11738,7 +11659,7 @@ exports.SourceMapGenerator = SourceMapGenerator;
|
|
|
11738
11659
|
|
|
11739
11660
|
/***/ }),
|
|
11740
11661
|
|
|
11741
|
-
/***/
|
|
11662
|
+
/***/ 8243:
|
|
11742
11663
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
11743
11664
|
|
|
11744
11665
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -11748,8 +11669,8 @@ exports.SourceMapGenerator = SourceMapGenerator;
|
|
|
11748
11669
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
11749
11670
|
*/
|
|
11750
11671
|
|
|
11751
|
-
var SourceMapGenerator = __nccwpck_require__(
|
|
11752
|
-
var util = __nccwpck_require__(
|
|
11672
|
+
var SourceMapGenerator = (__nccwpck_require__(345).SourceMapGenerator);
|
|
11673
|
+
var util = __nccwpck_require__(9524);
|
|
11753
11674
|
|
|
11754
11675
|
// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
|
|
11755
11676
|
// operating systems these days (capturing the result).
|
|
@@ -12158,7 +12079,7 @@ exports.SourceNode = SourceNode;
|
|
|
12158
12079
|
|
|
12159
12080
|
/***/ }),
|
|
12160
12081
|
|
|
12161
|
-
/***/
|
|
12082
|
+
/***/ 9524:
|
|
12162
12083
|
/***/ (function(__unused_webpack_module, exports) {
|
|
12163
12084
|
|
|
12164
12085
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -12653,7 +12574,7 @@ exports.computeSourceURL = computeSourceURL;
|
|
|
12653
12574
|
|
|
12654
12575
|
/***/ }),
|
|
12655
12576
|
|
|
12656
|
-
/***/
|
|
12577
|
+
/***/ 9333:
|
|
12657
12578
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
12658
12579
|
|
|
12659
12580
|
/*
|
|
@@ -12661,26 +12582,26 @@ exports.computeSourceURL = computeSourceURL;
|
|
|
12661
12582
|
* Licensed under the New BSD license. See LICENSE.txt or:
|
|
12662
12583
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
12663
12584
|
*/
|
|
12664
|
-
exports.SourceMapGenerator = __nccwpck_require__(
|
|
12665
|
-
exports.SourceMapConsumer = __nccwpck_require__(
|
|
12666
|
-
exports.SourceNode = __nccwpck_require__(
|
|
12585
|
+
exports.SourceMapGenerator = __nccwpck_require__(345).SourceMapGenerator;
|
|
12586
|
+
exports.SourceMapConsumer = __nccwpck_require__(7454).SourceMapConsumer;
|
|
12587
|
+
exports.SourceNode = __nccwpck_require__(8243).SourceNode;
|
|
12667
12588
|
|
|
12668
12589
|
|
|
12669
12590
|
/***/ }),
|
|
12670
12591
|
|
|
12671
|
-
/***/
|
|
12592
|
+
/***/ 5466:
|
|
12672
12593
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
12673
12594
|
|
|
12674
12595
|
"use strict";
|
|
12675
12596
|
|
|
12676
12597
|
|
|
12677
|
-
const plugin = __nccwpck_require__(
|
|
12598
|
+
const plugin = __nccwpck_require__(2348);
|
|
12678
12599
|
|
|
12679
12600
|
module.exports = plugin.default;
|
|
12680
12601
|
|
|
12681
12602
|
/***/ }),
|
|
12682
12603
|
|
|
12683
|
-
/***/
|
|
12604
|
+
/***/ 2348:
|
|
12684
12605
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
12685
12606
|
|
|
12686
12607
|
"use strict";
|
|
@@ -12689,27 +12610,25 @@ module.exports = plugin.default;
|
|
|
12689
12610
|
Object.defineProperty(exports, "__esModule", ({
|
|
12690
12611
|
value: true
|
|
12691
12612
|
}));
|
|
12692
|
-
exports
|
|
12693
|
-
|
|
12694
|
-
var path = _interopRequireWildcard(__nccwpck_require__(5622));
|
|
12613
|
+
exports["default"] = void 0;
|
|
12695
12614
|
|
|
12696
|
-
var
|
|
12615
|
+
var path = _interopRequireWildcard(__nccwpck_require__(1017));
|
|
12697
12616
|
|
|
12698
|
-
var
|
|
12617
|
+
var os = _interopRequireWildcard(__nccwpck_require__(2037));
|
|
12699
12618
|
|
|
12700
|
-
var
|
|
12619
|
+
var _sourceMap = __nccwpck_require__(9333);
|
|
12701
12620
|
|
|
12702
|
-
var
|
|
12621
|
+
var _schemaUtils = __nccwpck_require__(4800);
|
|
12703
12622
|
|
|
12704
|
-
var
|
|
12623
|
+
var _serializeJavascript = _interopRequireDefault(__nccwpck_require__(7512));
|
|
12705
12624
|
|
|
12706
|
-
var _jestWorker = __nccwpck_require__(
|
|
12625
|
+
var _jestWorker = __nccwpck_require__(6063);
|
|
12707
12626
|
|
|
12708
12627
|
var _utils = require('./utils');
|
|
12709
12628
|
|
|
12710
|
-
var schema = _interopRequireWildcard(__nccwpck_require__(
|
|
12629
|
+
var schema = _interopRequireWildcard(__nccwpck_require__(7848));
|
|
12711
12630
|
|
|
12712
|
-
var _minify = __nccwpck_require__(
|
|
12631
|
+
var _minify = __nccwpck_require__(8054);
|
|
12713
12632
|
|
|
12714
12633
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12715
12634
|
|
|
@@ -12863,14 +12782,20 @@ class TerserPlugin {
|
|
|
12863
12782
|
* @param {BasePluginOptions & DefinedDefaultMinimizerAndOptions<T>} [options]
|
|
12864
12783
|
*/
|
|
12865
12784
|
constructor(options) {
|
|
12866
|
-
(0, _schemaUtils.validate)(
|
|
12785
|
+
(0, _schemaUtils.validate)(
|
|
12786
|
+
/** @type {Schema} */
|
|
12787
|
+
schema, options || {}, {
|
|
12867
12788
|
name: "Terser Plugin",
|
|
12868
12789
|
baseDataPath: "options"
|
|
12869
12790
|
}); // TODO make `minimizer` option instead `minify` and `terserOptions` in the next major release, also rename `terserMinify` to `terserMinimize`
|
|
12870
12791
|
|
|
12871
12792
|
const {
|
|
12872
|
-
minify =
|
|
12873
|
-
|
|
12793
|
+
minify =
|
|
12794
|
+
/** @type {MinimizerImplementation<InferDefaultType<T>>} */
|
|
12795
|
+
_utils.terserMinify,
|
|
12796
|
+
terserOptions =
|
|
12797
|
+
/** @type {InferDefaultType<T>} */
|
|
12798
|
+
{},
|
|
12874
12799
|
test = /\.[cm]?js(\?.*)?$/i,
|
|
12875
12800
|
extractComments = true,
|
|
12876
12801
|
parallel = true,
|
|
@@ -12905,7 +12830,7 @@ class TerserPlugin {
|
|
|
12905
12830
|
* @private
|
|
12906
12831
|
* @param {Error | string} warning
|
|
12907
12832
|
* @param {string} file
|
|
12908
|
-
* @returns {
|
|
12833
|
+
* @returns {Error}
|
|
12909
12834
|
*/
|
|
12910
12835
|
|
|
12911
12836
|
|
|
@@ -12917,32 +12842,29 @@ class TerserPlugin {
|
|
|
12917
12842
|
const builtWarning = new Error(warning.toString());
|
|
12918
12843
|
builtWarning.name = "Warning";
|
|
12919
12844
|
builtWarning.hideStack = true;
|
|
12920
|
-
builtWarning.file = file;
|
|
12921
|
-
|
|
12845
|
+
builtWarning.file = file;
|
|
12922
12846
|
return builtWarning;
|
|
12923
12847
|
}
|
|
12924
12848
|
/**
|
|
12925
12849
|
* @private
|
|
12926
12850
|
* @param {any} error
|
|
12927
12851
|
* @param {string} file
|
|
12928
|
-
* @param {Compilation["requestShortener"]} [requestShortener]
|
|
12929
12852
|
* @param {SourceMapConsumer} [sourceMap]
|
|
12930
|
-
* @
|
|
12853
|
+
* @param {Compilation["requestShortener"]} [requestShortener]
|
|
12854
|
+
* @returns {Error}
|
|
12931
12855
|
*/
|
|
12932
12856
|
|
|
12933
12857
|
|
|
12934
|
-
static buildError(error, file,
|
|
12858
|
+
static buildError(error, file, sourceMap, requestShortener) {
|
|
12935
12859
|
/**
|
|
12936
12860
|
* @type {Error & { file: string }}
|
|
12937
12861
|
*/
|
|
12938
|
-
// @ts-ignore
|
|
12939
12862
|
let builtError;
|
|
12940
12863
|
|
|
12941
12864
|
if (typeof error === "string") {
|
|
12942
12865
|
// @ts-ignore
|
|
12943
12866
|
builtError = new Error(`${file} from Terser plugin\n${error}`);
|
|
12944
|
-
builtError.file = file;
|
|
12945
|
-
|
|
12867
|
+
builtError.file = file;
|
|
12946
12868
|
return builtError;
|
|
12947
12869
|
}
|
|
12948
12870
|
|
|
@@ -12955,30 +12877,26 @@ class TerserPlugin {
|
|
|
12955
12877
|
if (original && original.source && requestShortener) {
|
|
12956
12878
|
// @ts-ignore
|
|
12957
12879
|
builtError = new Error(`${file} from Terser plugin\n${error.message} [${requestShortener.shorten(original.source)}:${original.line},${original.column}][${file}:${error.line},${error.col}]${error.stack ? `\n${error.stack.split("\n").slice(1).join("\n")}` : ""}`);
|
|
12958
|
-
builtError.file = file;
|
|
12959
|
-
|
|
12880
|
+
builtError.file = file;
|
|
12960
12881
|
return builtError;
|
|
12961
12882
|
} // @ts-ignore
|
|
12962
12883
|
|
|
12963
12884
|
|
|
12964
12885
|
builtError = new Error(`${file} from Terser plugin\n${error.message} [${file}:${error.line},${error.col}]${error.stack ? `\n${error.stack.split("\n").slice(1).join("\n")}` : ""}`);
|
|
12965
|
-
builtError.file = file;
|
|
12966
|
-
|
|
12886
|
+
builtError.file = file;
|
|
12967
12887
|
return builtError;
|
|
12968
12888
|
}
|
|
12969
12889
|
|
|
12970
12890
|
if (error.stack) {
|
|
12971
12891
|
// @ts-ignore
|
|
12972
12892
|
builtError = new Error(`${file} from Terser plugin\n${typeof error.message !== "undefined" ? error.message : ""}\n${error.stack}`);
|
|
12973
|
-
builtError.file = file;
|
|
12974
|
-
|
|
12893
|
+
builtError.file = file;
|
|
12975
12894
|
return builtError;
|
|
12976
12895
|
} // @ts-ignore
|
|
12977
12896
|
|
|
12978
12897
|
|
|
12979
12898
|
builtError = new Error(`${file} from Terser plugin\n${error.message}`);
|
|
12980
|
-
builtError.file = file;
|
|
12981
|
-
|
|
12899
|
+
builtError.file = file;
|
|
12982
12900
|
return builtError;
|
|
12983
12901
|
}
|
|
12984
12902
|
/**
|
|
@@ -13009,10 +12927,12 @@ class TerserPlugin {
|
|
|
13009
12927
|
async optimize(compiler, compilation, assets, optimizeOptions) {
|
|
13010
12928
|
const cache = compilation.getCache("TerserWebpackPlugin");
|
|
13011
12929
|
let numberOfAssets = 0;
|
|
13012
|
-
const
|
|
12930
|
+
const assetsForMinify = await Promise.all(Object.keys(assets).filter(name => {
|
|
13013
12931
|
const {
|
|
13014
12932
|
info
|
|
13015
|
-
} =
|
|
12933
|
+
} =
|
|
12934
|
+
/** @type {Asset} */
|
|
12935
|
+
compilation.getAsset(name);
|
|
13016
12936
|
|
|
13017
12937
|
if ( // Skip double minimize assets from child compilation
|
|
13018
12938
|
info.minimized || // Skip minimizing for extracted comments assets
|
|
@@ -13030,7 +12950,9 @@ class TerserPlugin {
|
|
|
13030
12950
|
const {
|
|
13031
12951
|
info,
|
|
13032
12952
|
source
|
|
13033
|
-
} =
|
|
12953
|
+
} =
|
|
12954
|
+
/** @type {Asset} */
|
|
12955
|
+
compilation.getAsset(name);
|
|
13034
12956
|
const eTag = cache.getLazyHashedEtag(source);
|
|
13035
12957
|
const cacheItem = cache.getItemCache(name, eTag);
|
|
13036
12958
|
const output = await cacheItem.getPromise();
|
|
@@ -13047,8 +12969,13 @@ class TerserPlugin {
|
|
|
13047
12969
|
cacheItem
|
|
13048
12970
|
};
|
|
13049
12971
|
}));
|
|
12972
|
+
|
|
12973
|
+
if (assetsForMinify.length === 0) {
|
|
12974
|
+
return;
|
|
12975
|
+
}
|
|
13050
12976
|
/** @type {undefined | (() => MinimizerWorker<T>)} */
|
|
13051
12977
|
|
|
12978
|
+
|
|
13052
12979
|
let getWorker;
|
|
13053
12980
|
/** @type {undefined | MinimizerWorker<T>} */
|
|
13054
12981
|
|
|
@@ -13066,7 +12993,9 @@ class TerserPlugin {
|
|
|
13066
12993
|
return initializedWorker;
|
|
13067
12994
|
}
|
|
13068
12995
|
|
|
13069
|
-
initializedWorker =
|
|
12996
|
+
initializedWorker =
|
|
12997
|
+
/** @type {MinimizerWorker<T>} */
|
|
12998
|
+
new _jestWorker.Worker(__nccwpck_require__.ab + "minify.js", {
|
|
13070
12999
|
numWorkers: numberOfWorkers,
|
|
13071
13000
|
enableWorkerThreads: true
|
|
13072
13001
|
}); // https://github.com/facebook/jest/issues/8872#issuecomment-524822081
|
|
@@ -13087,7 +13016,6 @@ class TerserPlugin {
|
|
|
13087
13016
|
};
|
|
13088
13017
|
}
|
|
13089
13018
|
|
|
13090
|
-
const limit = (0, _pLimit.default)(getWorker && numberOfAssets > 0 ? numberOfWorkers : Infinity);
|
|
13091
13019
|
const {
|
|
13092
13020
|
SourceMapSource,
|
|
13093
13021
|
ConcatSource,
|
|
@@ -13100,8 +13028,8 @@ class TerserPlugin {
|
|
|
13100
13028
|
const allExtractedComments = new Map();
|
|
13101
13029
|
const scheduledTasks = [];
|
|
13102
13030
|
|
|
13103
|
-
for (const asset of
|
|
13104
|
-
scheduledTasks.push(
|
|
13031
|
+
for (const asset of assetsForMinify) {
|
|
13032
|
+
scheduledTasks.push(async () => {
|
|
13105
13033
|
const {
|
|
13106
13034
|
name,
|
|
13107
13035
|
inputSource,
|
|
@@ -13125,10 +13053,16 @@ class TerserPlugin {
|
|
|
13125
13053
|
|
|
13126
13054
|
if (map) {
|
|
13127
13055
|
if (TerserPlugin.isSourceMap(map)) {
|
|
13128
|
-
inputSourceMap =
|
|
13056
|
+
inputSourceMap =
|
|
13057
|
+
/** @type {RawSourceMap} */
|
|
13058
|
+
map;
|
|
13129
13059
|
} else {
|
|
13130
|
-
inputSourceMap =
|
|
13131
|
-
|
|
13060
|
+
inputSourceMap =
|
|
13061
|
+
/** @type {RawSourceMap} */
|
|
13062
|
+
map;
|
|
13063
|
+
compilation.warnings.push(
|
|
13064
|
+
/** @type {WebpackError} */
|
|
13065
|
+
new Error(`${name} contains invalid source map`));
|
|
13132
13066
|
}
|
|
13133
13067
|
}
|
|
13134
13068
|
|
|
@@ -13167,14 +13101,20 @@ class TerserPlugin {
|
|
|
13167
13101
|
output = await (getWorker ? getWorker().transform((0, _serializeJavascript.default)(options)) : (0, _minify.minify)(options));
|
|
13168
13102
|
} catch (error) {
|
|
13169
13103
|
const hasSourceMap = inputSourceMap && TerserPlugin.isSourceMap(inputSourceMap);
|
|
13170
|
-
compilation.errors.push(
|
|
13171
|
-
|
|
13172
|
-
|
|
13104
|
+
compilation.errors.push(
|
|
13105
|
+
/** @type {WebpackError} */
|
|
13106
|
+
TerserPlugin.buildError(error, name, hasSourceMap ? new _sourceMap.SourceMapConsumer(
|
|
13107
|
+
/** @type {RawSourceMap} */
|
|
13108
|
+
inputSourceMap) : // eslint-disable-next-line no-undefined
|
|
13109
|
+
undefined, // eslint-disable-next-line no-undefined
|
|
13110
|
+
hasSourceMap ? compilation.requestShortener : undefined));
|
|
13173
13111
|
return;
|
|
13174
13112
|
}
|
|
13175
13113
|
|
|
13176
13114
|
if (typeof output.code === "undefined") {
|
|
13177
|
-
compilation.errors.push(
|
|
13115
|
+
compilation.errors.push(
|
|
13116
|
+
/** @type {WebpackError} */
|
|
13117
|
+
new Error(`${name} from Terser plugin\nMinimizer doesn't return result`));
|
|
13178
13118
|
return;
|
|
13179
13119
|
}
|
|
13180
13120
|
|
|
@@ -13192,9 +13132,11 @@ class TerserPlugin {
|
|
|
13192
13132
|
/**
|
|
13193
13133
|
* @param {Error | string} item
|
|
13194
13134
|
*/
|
|
13195
|
-
item => TerserPlugin.buildError(item, name,
|
|
13196
|
-
|
|
13197
|
-
undefined
|
|
13135
|
+
item => TerserPlugin.buildError(item, name, hasSourceMap ? new _sourceMap.SourceMapConsumer(
|
|
13136
|
+
/** @type {RawSourceMap} */
|
|
13137
|
+
inputSourceMap) : // eslint-disable-next-line no-undefined
|
|
13138
|
+
undefined, // eslint-disable-next-line no-undefined
|
|
13139
|
+
hasSourceMap ? compilation.requestShortener : undefined));
|
|
13198
13140
|
}
|
|
13199
13141
|
|
|
13200
13142
|
let shebang;
|
|
@@ -13208,7 +13150,9 @@ class TerserPlugin {
|
|
|
13208
13150
|
}
|
|
13209
13151
|
|
|
13210
13152
|
if (output.map) {
|
|
13211
|
-
output.source = new SourceMapSource(output.code, name, output.map, input,
|
|
13153
|
+
output.source = new SourceMapSource(output.code, name, output.map, input,
|
|
13154
|
+
/** @type {RawSourceMap} */
|
|
13155
|
+
inputSourceMap, true);
|
|
13212
13156
|
} else {
|
|
13213
13157
|
output.source = new RawSource(output.code);
|
|
13214
13158
|
}
|
|
@@ -13266,23 +13210,19 @@ class TerserPlugin {
|
|
|
13266
13210
|
}
|
|
13267
13211
|
|
|
13268
13212
|
if (output.warnings && output.warnings.length > 0) {
|
|
13269
|
-
output.warnings
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
compilation.warnings.push(warning);
|
|
13275
|
-
});
|
|
13213
|
+
for (const warning of output.warnings) {
|
|
13214
|
+
compilation.warnings.push(
|
|
13215
|
+
/** @type {WebpackError} */
|
|
13216
|
+
warning);
|
|
13217
|
+
}
|
|
13276
13218
|
}
|
|
13277
13219
|
|
|
13278
13220
|
if (output.errors && output.errors.length > 0) {
|
|
13279
|
-
output.errors
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
compilation.errors.push(error);
|
|
13285
|
-
});
|
|
13221
|
+
for (const error of output.errors) {
|
|
13222
|
+
compilation.errors.push(
|
|
13223
|
+
/** @type {WebpackError} */
|
|
13224
|
+
error);
|
|
13225
|
+
}
|
|
13286
13226
|
}
|
|
13287
13227
|
/** @type {Record<string, any>} */
|
|
13288
13228
|
|
|
@@ -13309,10 +13249,13 @@ class TerserPlugin {
|
|
|
13309
13249
|
}
|
|
13310
13250
|
|
|
13311
13251
|
compilation.updateAsset(name, source, newInfo);
|
|
13312
|
-
})
|
|
13252
|
+
});
|
|
13313
13253
|
}
|
|
13314
13254
|
|
|
13315
|
-
|
|
13255
|
+
const limit = getWorker && numberOfAssets > 0 ?
|
|
13256
|
+
/** @type {number} */
|
|
13257
|
+
numberOfWorkers : scheduledTasks.length;
|
|
13258
|
+
await (0, _utils.throttleAll)(limit, scheduledTasks);
|
|
13316
13259
|
|
|
13317
13260
|
if (initializedWorker) {
|
|
13318
13261
|
await initializedWorker.end();
|
|
@@ -13327,7 +13270,9 @@ class TerserPlugin {
|
|
|
13327
13270
|
* @returns {Promise<ExtractedCommentsInfoWIthFrom>}
|
|
13328
13271
|
*/
|
|
13329
13272
|
async (previousPromise, [from, value]) => {
|
|
13330
|
-
const previous =
|
|
13273
|
+
const previous =
|
|
13274
|
+
/** @type {ExtractedCommentsInfoWIthFrom | undefined} **/
|
|
13275
|
+
await previousPromise;
|
|
13331
13276
|
const {
|
|
13332
13277
|
commentsFilename,
|
|
13333
13278
|
extractedCommentsSource
|
|
@@ -13378,7 +13323,9 @@ class TerserPlugin {
|
|
|
13378
13323
|
commentsFilename,
|
|
13379
13324
|
from
|
|
13380
13325
|
};
|
|
13381
|
-
},
|
|
13326
|
+
},
|
|
13327
|
+
/** @type {Promise<unknown>} */
|
|
13328
|
+
Promise.resolve());
|
|
13382
13329
|
}
|
|
13383
13330
|
/**
|
|
13384
13331
|
* @private
|
|
@@ -13446,11 +13393,11 @@ TerserPlugin.uglifyJsMinify = _utils.uglifyJsMinify;
|
|
|
13446
13393
|
TerserPlugin.swcMinify = _utils.swcMinify;
|
|
13447
13394
|
TerserPlugin.esbuildMinify = _utils.esbuildMinify;
|
|
13448
13395
|
var _default = TerserPlugin;
|
|
13449
|
-
exports
|
|
13396
|
+
exports["default"] = _default;
|
|
13450
13397
|
|
|
13451
13398
|
/***/ }),
|
|
13452
13399
|
|
|
13453
|
-
/***/
|
|
13400
|
+
/***/ 8054:
|
|
13454
13401
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
13455
13402
|
|
|
13456
13403
|
"use strict";
|
|
@@ -13491,7 +13438,12 @@ async function transform(options) {
|
|
|
13491
13438
|
// 'use strict' => this === undefined (Clean Scope)
|
|
13492
13439
|
// Safer for possible security issues, albeit not critical at all here
|
|
13493
13440
|
// eslint-disable-next-line no-param-reassign
|
|
13494
|
-
const evaluatedOptions =
|
|
13441
|
+
const evaluatedOptions =
|
|
13442
|
+
/**
|
|
13443
|
+
* @template T
|
|
13444
|
+
* @type {import("./index.js").InternalOptions<T>}
|
|
13445
|
+
* */
|
|
13446
|
+
// eslint-disable-next-line no-new-func
|
|
13495
13447
|
new Function("exports", "require", "module", "__filename", "__dirname", `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname);
|
|
13496
13448
|
return minify(evaluatedOptions);
|
|
13497
13449
|
}
|
|
@@ -13501,7 +13453,7 @@ module.exports.transform = transform;
|
|
|
13501
13453
|
|
|
13502
13454
|
/***/ }),
|
|
13503
13455
|
|
|
13504
|
-
/***/
|
|
13456
|
+
/***/ 7024:
|
|
13505
13457
|
/***/ (function(__unused_webpack_module, exports) {
|
|
13506
13458
|
|
|
13507
13459
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
@@ -14950,134 +14902,59 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
14950
14902
|
|
|
14951
14903
|
/***/ }),
|
|
14952
14904
|
|
|
14953
|
-
/***/
|
|
14954
|
-
/***/ (function(module) {
|
|
14955
|
-
|
|
14956
|
-
class Node {
|
|
14957
|
-
/// value;
|
|
14958
|
-
/// next;
|
|
14959
|
-
|
|
14960
|
-
constructor(value) {
|
|
14961
|
-
this.value = value;
|
|
14962
|
-
|
|
14963
|
-
// TODO: Remove this when targeting Node.js 12.
|
|
14964
|
-
this.next = undefined;
|
|
14965
|
-
}
|
|
14966
|
-
}
|
|
14967
|
-
|
|
14968
|
-
class Queue {
|
|
14969
|
-
// TODO: Use private class fields when targeting Node.js 12.
|
|
14970
|
-
// #_head;
|
|
14971
|
-
// #_tail;
|
|
14972
|
-
// #_size;
|
|
14973
|
-
|
|
14974
|
-
constructor() {
|
|
14975
|
-
this.clear();
|
|
14976
|
-
}
|
|
14977
|
-
|
|
14978
|
-
enqueue(value) {
|
|
14979
|
-
const node = new Node(value);
|
|
14980
|
-
|
|
14981
|
-
if (this._head) {
|
|
14982
|
-
this._tail.next = node;
|
|
14983
|
-
this._tail = node;
|
|
14984
|
-
} else {
|
|
14985
|
-
this._head = node;
|
|
14986
|
-
this._tail = node;
|
|
14987
|
-
}
|
|
14988
|
-
|
|
14989
|
-
this._size++;
|
|
14990
|
-
}
|
|
14991
|
-
|
|
14992
|
-
dequeue() {
|
|
14993
|
-
const current = this._head;
|
|
14994
|
-
if (!current) {
|
|
14995
|
-
return;
|
|
14996
|
-
}
|
|
14997
|
-
|
|
14998
|
-
this._head = this._head.next;
|
|
14999
|
-
this._size--;
|
|
15000
|
-
return current.value;
|
|
15001
|
-
}
|
|
15002
|
-
|
|
15003
|
-
clear() {
|
|
15004
|
-
this._head = undefined;
|
|
15005
|
-
this._tail = undefined;
|
|
15006
|
-
this._size = 0;
|
|
15007
|
-
}
|
|
15008
|
-
|
|
15009
|
-
get size() {
|
|
15010
|
-
return this._size;
|
|
15011
|
-
}
|
|
15012
|
-
|
|
15013
|
-
* [Symbol.iterator]() {
|
|
15014
|
-
let current = this._head;
|
|
15015
|
-
|
|
15016
|
-
while (current) {
|
|
15017
|
-
yield current.value;
|
|
15018
|
-
current = current.next;
|
|
15019
|
-
}
|
|
15020
|
-
}
|
|
15021
|
-
}
|
|
15022
|
-
|
|
15023
|
-
module.exports = Queue;
|
|
15024
|
-
|
|
15025
|
-
|
|
15026
|
-
/***/ }),
|
|
15027
|
-
|
|
15028
|
-
/***/ 1398:
|
|
14905
|
+
/***/ 6113:
|
|
15029
14906
|
/***/ (function(module) {
|
|
15030
14907
|
|
|
15031
14908
|
"use strict";
|
|
15032
|
-
module.exports =
|
|
14909
|
+
module.exports = require("crypto");
|
|
15033
14910
|
|
|
15034
14911
|
/***/ }),
|
|
15035
14912
|
|
|
15036
|
-
/***/
|
|
14913
|
+
/***/ 6063:
|
|
15037
14914
|
/***/ (function(module) {
|
|
15038
14915
|
|
|
15039
14916
|
"use strict";
|
|
15040
|
-
module.exports =
|
|
14917
|
+
module.exports = require("jest-worker");
|
|
15041
14918
|
|
|
15042
14919
|
/***/ }),
|
|
15043
14920
|
|
|
15044
|
-
/***/
|
|
14921
|
+
/***/ 2037:
|
|
15045
14922
|
/***/ (function(module) {
|
|
15046
14923
|
|
|
15047
14924
|
"use strict";
|
|
15048
|
-
module.exports =
|
|
14925
|
+
module.exports = require("os");
|
|
15049
14926
|
|
|
15050
14927
|
/***/ }),
|
|
15051
14928
|
|
|
15052
|
-
/***/
|
|
14929
|
+
/***/ 1017:
|
|
15053
14930
|
/***/ (function(module) {
|
|
15054
14931
|
|
|
15055
14932
|
"use strict";
|
|
15056
|
-
module.exports = require("
|
|
14933
|
+
module.exports = require("path");
|
|
15057
14934
|
|
|
15058
14935
|
/***/ }),
|
|
15059
14936
|
|
|
15060
|
-
/***/
|
|
14937
|
+
/***/ 7664:
|
|
15061
14938
|
/***/ (function(module) {
|
|
15062
14939
|
|
|
15063
14940
|
"use strict";
|
|
15064
|
-
module.exports =
|
|
14941
|
+
module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}');
|
|
15065
14942
|
|
|
15066
14943
|
/***/ }),
|
|
15067
14944
|
|
|
15068
|
-
/***/
|
|
14945
|
+
/***/ 7136:
|
|
15069
14946
|
/***/ (function(module) {
|
|
15070
14947
|
|
|
15071
14948
|
"use strict";
|
|
15072
|
-
module.exports =
|
|
14949
|
+
module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}');
|
|
15073
14950
|
|
|
15074
14951
|
/***/ }),
|
|
15075
14952
|
|
|
15076
|
-
/***/
|
|
14953
|
+
/***/ 7848:
|
|
15077
14954
|
/***/ (function(module) {
|
|
15078
14955
|
|
|
15079
14956
|
"use strict";
|
|
15080
|
-
module.exports =
|
|
14957
|
+
module.exports = JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#test","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#include","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#exclude","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser` (by default) or custom `minify` function.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#extractcomments","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}],"description":"Condition what comments you need extract.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#condition"},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}],"description":"The file where the extracted comments will be stored. Default is to append the suffix .LICENSE.txt to the original filename.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#filename"},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}],"description":"The banner text that points to the extracted file and will be added on top of the original file","link":"https://github.com/webpack-contrib/terser-webpack-plugin#banner"}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#parallel","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","link":"https://github.com/webpack-contrib/terser-webpack-plugin#number","instanceof":"Function"}}}');
|
|
15081
14958
|
|
|
15082
14959
|
/***/ })
|
|
15083
14960
|
|
|
@@ -15135,7 +15012,7 @@ module.exports = require("path");
|
|
|
15135
15012
|
/******/ // startup
|
|
15136
15013
|
/******/ // Load entry module and return exports
|
|
15137
15014
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
15138
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
15015
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(5466);
|
|
15139
15016
|
/******/ module.exports = __webpack_exports__;
|
|
15140
15017
|
/******/
|
|
15141
15018
|
/******/ })()
|