@umijs/bundler-webpack 4.0.0-rc.1 → 4.0.0-rc.4
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 +4 -0
- package/compiled/autoprefixer/index.js +3 -3
- package/compiled/autoprefixer/postcss/lib/at-rule.d.ts +1 -1
- package/compiled/autoprefixer/postcss/lib/comment.d.ts +1 -1
- package/compiled/autoprefixer/postcss/lib/declaration.d.ts +1 -1
- package/compiled/autoprefixer/postcss/lib/rule.d.ts +1 -1
- package/compiled/autoprefixer/source-map-js/source-map.d.ts +99 -82
- package/compiled/copy-webpack-plugin/576.index.js +1171 -0
- package/compiled/copy-webpack-plugin/index.js +16 -10
- package/compiled/copy-webpack-plugin/package.json +1 -1
- package/compiled/css-minimizer-webpack-plugin/index.js +8 -2
- package/compiled/css-minimizer-webpack-plugin/minify.js +25 -11
- package/compiled/css-minimizer-webpack-plugin/package.json +1 -1
- package/compiled/css-minimizer-webpack-plugin/utils.js +225 -28
- package/compiled/cssnano/index.js +12 -11
- package/compiled/cssnano/package.json +1 -1
- package/compiled/express/index.js +57 -74
- package/compiled/fork-ts-checker-webpack-plugin/index.js +14 -15
- package/compiled/http-proxy-middleware/dist/types.d.ts +5 -5
- package/compiled/http-proxy-middleware/http-proxy/index.d.ts +1 -1
- package/compiled/http-proxy-middleware/index.js +10 -10
- package/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js +60 -8
- package/compiled/mini-css-extract-plugin/hmr/normalize-url.js +13 -1
- package/compiled/mini-css-extract-plugin/index.js +4427 -3979
- package/compiled/mini-css-extract-plugin/loader.js +177 -54
- package/compiled/mini-css-extract-plugin/package.json +1 -1
- package/compiled/mini-css-extract-plugin/utils.js +77 -23
- package/compiled/sass-loader/index.js +1 -1
- package/compiled/terser/index.js +1 -1
- package/compiled/terser-webpack-plugin/index.js +296 -297
- package/compiled/terser-webpack-plugin/minify.js +4 -2
- package/compiled/terser-webpack-plugin/package.json +1 -1
- package/compiled/terser-webpack-plugin/types/index.d.ts +180 -146
- package/compiled/terser-webpack-plugin/types/minify.d.ts +17 -0
- package/compiled/terser-webpack-plugin/types/utils.d.ts +1 -3
- package/compiled/terser-webpack-plugin/utils.js +9 -12
- package/compiled/webpack/index.js +8652 -3904
- package/compiled/webpack-dev-middleware/index.js +7 -7
- package/compiled/webpack-dev-middleware/package.json +1 -1
- package/compiled/webpack-manifest-plugin/index.js +1 -1
- package/compiled/webpack-sources/index.js +1 -1
- package/compiled/ws/index.d.ts +1 -2
- package/compiled/ws/index.js +1 -1
- package/dist/build.d.ts +2 -1
- package/dist/build.js +1 -1
- package/dist/client/client.js +5 -1
- package/dist/config/compressPlugin.js +6 -0
- package/dist/config/config.js +4 -3
- package/dist/config/detectDeadCode.d.ts +12 -0
- package/dist/config/detectDeadCode.js +120 -0
- package/dist/config/detectDeadCodePlugin.d.ts +9 -0
- package/dist/config/detectDeadCodePlugin.js +75 -0
- package/dist/config/javaScriptRules.js +3 -6
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +4 -1
- package/dist/dev.d.ts +1 -0
- package/dist/dev.js +7 -5
- package/dist/index.js +5 -1
- package/dist/loader/swc.js +14 -18
- package/dist/plugins/ParcelCSSMinifyPlugin.d.ts +10 -0
- package/dist/plugins/ParcelCSSMinifyPlugin.js +74 -0
- package/dist/plugins/ProgressPlugin.js +2 -2
- package/dist/requireHook.js +1 -1
- package/dist/schema.js +3 -1
- package/dist/swcPlugins/autoCSSModules.d.ts +7 -2
- package/dist/swcPlugins/autoCSSModules.js +11 -16
- package/dist/swcPlugins/lockCoreJS.d.ts +1 -1
- package/dist/types.d.ts +10 -12
- package/dist/types.js +1 -0
- package/dist/utils/depMatch.js +1 -1
- package/package.json +33 -32
- package/dist/esbuildHandler/autoCssModules.d.ts +0 -2
- package/dist/esbuildHandler/autoCssModules.js +0 -23
- package/dist/loader/esbuild.d.ts +0 -5
- package/dist/loader/esbuild.js +0 -53
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 7566:
|
|
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__(3106);
|
|
11
11
|
|
|
12
12
|
module.exports = defineKeywords;
|
|
13
13
|
|
|
@@ -44,7 +44,7 @@ function get(keyword) {
|
|
|
44
44
|
|
|
45
45
|
/***/ }),
|
|
46
46
|
|
|
47
|
-
/***/
|
|
47
|
+
/***/ 8023:
|
|
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__(4434),
|
|
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
|
+
/***/ 7365:
|
|
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
|
+
/***/ 4059:
|
|
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
|
+
/***/ 9558:
|
|
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
|
+
/***/ 2996:
|
|
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__(7365);
|
|
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
|
+
/***/ 1919:
|
|
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
|
+
/***/ 4434:
|
|
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
|
+
/***/ 3092:
|
|
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
|
+
/***/ 930:
|
|
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
|
+
/***/ 7565:
|
|
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
|
+
/***/ 5661:
|
|
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__(8023)('Maximum');
|
|
840
840
|
|
|
841
841
|
|
|
842
842
|
/***/ }),
|
|
843
843
|
|
|
844
|
-
/***/
|
|
844
|
+
/***/ 2023:
|
|
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__(8023)('Minimum');
|
|
851
851
|
|
|
852
852
|
|
|
853
853
|
/***/ }),
|
|
854
854
|
|
|
855
|
-
/***/
|
|
855
|
+
/***/ 3106:
|
|
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__(7361),
|
|
863
|
+
range: __nccwpck_require__(3088),
|
|
864
|
+
regexp: __nccwpck_require__(2498),
|
|
865
|
+
'typeof': __nccwpck_require__(5663),
|
|
866
|
+
dynamicDefaults: __nccwpck_require__(7565),
|
|
867
|
+
allRequired: __nccwpck_require__(4059),
|
|
868
|
+
anyRequired: __nccwpck_require__(9558),
|
|
869
|
+
oneRequired: __nccwpck_require__(82),
|
|
870
|
+
prohibited: __nccwpck_require__(4100),
|
|
871
|
+
uniqueItemProperties: __nccwpck_require__(9944),
|
|
872
|
+
deepProperties: __nccwpck_require__(2996),
|
|
873
|
+
deepRequired: __nccwpck_require__(1919),
|
|
874
|
+
formatMinimum: __nccwpck_require__(2023),
|
|
875
|
+
formatMaximum: __nccwpck_require__(5661),
|
|
876
|
+
patternRequired: __nccwpck_require__(1879),
|
|
877
|
+
'switch': __nccwpck_require__(8641),
|
|
878
|
+
select: __nccwpck_require__(2194),
|
|
879
|
+
transform: __nccwpck_require__(7249)
|
|
880
880
|
};
|
|
881
881
|
|
|
882
882
|
|
|
883
883
|
/***/ }),
|
|
884
884
|
|
|
885
|
-
/***/
|
|
885
|
+
/***/ 7361:
|
|
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
|
+
/***/ 82:
|
|
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
|
+
/***/ 1879:
|
|
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__(3092),
|
|
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
|
+
/***/ 4100:
|
|
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
|
+
/***/ 3088:
|
|
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
|
+
/***/ 2498:
|
|
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
|
+
/***/ 2194:
|
|
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__(7365);
|
|
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
|
+
/***/ 8641:
|
|
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__(7365);
|
|
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__(930),
|
|
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
|
+
/***/ 7249:
|
|
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
|
+
/***/ 5663:
|
|
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
|
+
/***/ 9944:
|
|
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
|
+
/***/ 4782:
|
|
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__(9303)
|
|
1467
|
+
, resolve = __nccwpck_require__(9916)
|
|
1468
|
+
, Cache = __nccwpck_require__(6802)
|
|
1469
|
+
, SchemaObject = __nccwpck_require__(726)
|
|
1470
|
+
, stableStringify = __nccwpck_require__(5905)
|
|
1471
|
+
, formats = __nccwpck_require__(1117)
|
|
1472
|
+
, rules = __nccwpck_require__(5001)
|
|
1473
|
+
, $dataMetaSchema = __nccwpck_require__(2168)
|
|
1474
|
+
, util = __nccwpck_require__(1856);
|
|
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__(7311);
|
|
1492
|
+
var customKeyword = __nccwpck_require__(1701);
|
|
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__(9160);
|
|
1499
1499
|
Ajv.ValidationError = errorClasses.Validation;
|
|
1500
1500
|
Ajv.MissingRefError = errorClasses.MissingRef;
|
|
1501
1501
|
Ajv.$dataMetaSchema = $dataMetaSchema;
|
|
@@ -1971,7 +1971,7 @@ function noop() {}
|
|
|
1971
1971
|
|
|
1972
1972
|
/***/ }),
|
|
1973
1973
|
|
|
1974
|
-
/***/
|
|
1974
|
+
/***/ 6802:
|
|
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
|
+
/***/ 7311:
|
|
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__(9160).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
|
+
/***/ 9160:
|
|
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__(9916);
|
|
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
|
+
/***/ 1117:
|
|
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__(1856);
|
|
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
|
+
/***/ 9303:
|
|
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__(9916)
|
|
2305
|
+
, util = __nccwpck_require__(1856)
|
|
2306
|
+
, errorClasses = __nccwpck_require__(9160)
|
|
2307
|
+
, stableStringify = __nccwpck_require__(5905);
|
|
2308
2308
|
|
|
2309
|
-
var validateGenerator = __nccwpck_require__(
|
|
2309
|
+
var validateGenerator = __nccwpck_require__(8443);
|
|
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__(7933);
|
|
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
|
+
/***/ 9916:
|
|
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__(2431)
|
|
2700
|
+
, equal = __nccwpck_require__(7933)
|
|
2701
|
+
, util = __nccwpck_require__(1856)
|
|
2702
|
+
, SchemaObject = __nccwpck_require__(726)
|
|
2703
|
+
, traverse = __nccwpck_require__(1342);
|
|
2704
2704
|
|
|
2705
2705
|
module.exports = resolve;
|
|
2706
2706
|
|
|
@@ -2968,14 +2968,14 @@ function resolveIds(schema) {
|
|
|
2968
2968
|
|
|
2969
2969
|
/***/ }),
|
|
2970
2970
|
|
|
2971
|
-
/***/
|
|
2971
|
+
/***/ 5001:
|
|
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__(2503)
|
|
2978
|
+
, toHash = (__nccwpck_require__(1856).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
|
+
/***/ 726:
|
|
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__(1856);
|
|
3052
3052
|
|
|
3053
3053
|
module.exports = SchemaObject;
|
|
3054
3054
|
|
|
@@ -3059,7 +3059,7 @@ function SchemaObject(obj) {
|
|
|
3059
3059
|
|
|
3060
3060
|
/***/ }),
|
|
3061
3061
|
|
|
3062
|
-
/***/
|
|
3062
|
+
/***/ 1507:
|
|
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
|
+
/***/ 1856:
|
|
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__(7933),
|
|
3106
|
+
ucs2length: __nccwpck_require__(1507),
|
|
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
|
+
/***/ 2168:
|
|
3338
3338
|
/***/ (function(module) {
|
|
3339
3339
|
|
|
3340
3340
|
"use strict";
|
|
@@ -3391,7 +3391,7 @@ module.exports = function (metaSchema, keywordsJsonPointers) {
|
|
|
3391
3391
|
|
|
3392
3392
|
/***/ }),
|
|
3393
3393
|
|
|
3394
|
-
/***/
|
|
3394
|
+
/***/ 8036:
|
|
3395
3395
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
3396
3396
|
|
|
3397
3397
|
"use strict";
|
|
@@ -3436,7 +3436,7 @@ module.exports = {
|
|
|
3436
3436
|
|
|
3437
3437
|
/***/ }),
|
|
3438
3438
|
|
|
3439
|
-
/***/
|
|
3439
|
+
/***/ 4498:
|
|
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
|
+
/***/ 9884:
|
|
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
|
+
/***/ 2739:
|
|
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
|
+
/***/ 7210:
|
|
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
|
+
/***/ 1487:
|
|
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
|
+
/***/ 7082:
|
|
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
|
+
/***/ 8350:
|
|
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
|
+
/***/ 6304:
|
|
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
|
+
/***/ 2215:
|
|
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
|
+
/***/ 307:
|
|
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
|
+
/***/ 3721:
|
|
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
|
+
/***/ 1565:
|
|
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
|
+
/***/ 3277:
|
|
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
|
+
/***/ 4688:
|
|
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
|
+
/***/ 2503:
|
|
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__(8279),
|
|
4949
|
+
allOf: __nccwpck_require__(1487),
|
|
4950
|
+
anyOf: __nccwpck_require__(7082),
|
|
4951
|
+
'$comment': __nccwpck_require__(8350),
|
|
4952
|
+
const: __nccwpck_require__(6304),
|
|
4953
|
+
contains: __nccwpck_require__(2215),
|
|
4954
|
+
dependencies: __nccwpck_require__(3721),
|
|
4955
|
+
'enum': __nccwpck_require__(1565),
|
|
4956
|
+
format: __nccwpck_require__(3277),
|
|
4957
|
+
'if': __nccwpck_require__(4688),
|
|
4958
|
+
items: __nccwpck_require__(3955),
|
|
4959
|
+
maximum: __nccwpck_require__(4498),
|
|
4960
|
+
minimum: __nccwpck_require__(4498),
|
|
4961
|
+
maxItems: __nccwpck_require__(9884),
|
|
4962
|
+
minItems: __nccwpck_require__(9884),
|
|
4963
|
+
maxLength: __nccwpck_require__(2739),
|
|
4964
|
+
minLength: __nccwpck_require__(2739),
|
|
4965
|
+
maxProperties: __nccwpck_require__(7210),
|
|
4966
|
+
minProperties: __nccwpck_require__(7210),
|
|
4967
|
+
multipleOf: __nccwpck_require__(4709),
|
|
4968
|
+
not: __nccwpck_require__(2649),
|
|
4969
|
+
oneOf: __nccwpck_require__(8099),
|
|
4970
|
+
pattern: __nccwpck_require__(7123),
|
|
4971
|
+
properties: __nccwpck_require__(7858),
|
|
4972
|
+
propertyNames: __nccwpck_require__(5106),
|
|
4973
|
+
required: __nccwpck_require__(9805),
|
|
4974
|
+
uniqueItems: __nccwpck_require__(4715),
|
|
4975
|
+
validate: __nccwpck_require__(8443)
|
|
4976
4976
|
};
|
|
4977
4977
|
|
|
4978
4978
|
|
|
4979
4979
|
/***/ }),
|
|
4980
4980
|
|
|
4981
|
-
/***/
|
|
4981
|
+
/***/ 3955:
|
|
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
|
+
/***/ 4709:
|
|
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
|
+
/***/ 2649:
|
|
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
|
+
/***/ 8099:
|
|
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
|
+
/***/ 7123:
|
|
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
|
+
/***/ 7858:
|
|
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
|
+
/***/ 5106:
|
|
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
|
+
/***/ 8279:
|
|
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
|
+
/***/ 9805:
|
|
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
|
+
/***/ 4715:
|
|
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
|
+
/***/ 8443:
|
|
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
|
+
/***/ 1701:
|
|
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__(307);
|
|
6907
|
+
var definitionSchema = __nccwpck_require__(8036);
|
|
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
|
+
/***/ 7933:
|
|
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
|
+
/***/ 5905:
|
|
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
|
+
/***/ 1342:
|
|
7175
7175
|
/***/ (function(module) {
|
|
7176
7176
|
|
|
7177
7177
|
"use strict";
|
|
@@ -7268,7 +7268,7 @@ function escapeJsonPtr(str) {
|
|
|
7268
7268
|
|
|
7269
7269
|
/***/ }),
|
|
7270
7270
|
|
|
7271
|
-
/***/
|
|
7271
|
+
/***/ 7001:
|
|
7272
7272
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
7273
7273
|
|
|
7274
7274
|
module.exports = __nccwpck_require__(6113).randomBytes
|
|
@@ -7276,7 +7276,7 @@ module.exports = __nccwpck_require__(6113).randomBytes
|
|
|
7276
7276
|
|
|
7277
7277
|
/***/ }),
|
|
7278
7278
|
|
|
7279
|
-
/***/
|
|
7279
|
+
/***/ 6751:
|
|
7280
7280
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
7281
7281
|
|
|
7282
7282
|
"use strict";
|
|
@@ -7290,7 +7290,7 @@ exports["default"] = void 0;
|
|
|
7290
7290
|
const {
|
|
7291
7291
|
stringHints,
|
|
7292
7292
|
numberHints
|
|
7293
|
-
} = __nccwpck_require__(
|
|
7293
|
+
} = __nccwpck_require__(357);
|
|
7294
7294
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
7295
7295
|
|
|
7296
7296
|
/** @typedef {import("json-schema").JSONSchema7} JSONSchema7 */
|
|
@@ -8554,7 +8554,7 @@ exports["default"] = _default;
|
|
|
8554
8554
|
|
|
8555
8555
|
/***/ }),
|
|
8556
8556
|
|
|
8557
|
-
/***/
|
|
8557
|
+
/***/ 8546:
|
|
8558
8558
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
8559
8559
|
|
|
8560
8560
|
"use strict";
|
|
@@ -8563,7 +8563,7 @@ exports["default"] = _default;
|
|
|
8563
8563
|
const {
|
|
8564
8564
|
validate,
|
|
8565
8565
|
ValidationError
|
|
8566
|
-
} = __nccwpck_require__(
|
|
8566
|
+
} = __nccwpck_require__(5066);
|
|
8567
8567
|
|
|
8568
8568
|
module.exports = {
|
|
8569
8569
|
validate,
|
|
@@ -8572,7 +8572,7 @@ module.exports = {
|
|
|
8572
8572
|
|
|
8573
8573
|
/***/ }),
|
|
8574
8574
|
|
|
8575
|
-
/***/
|
|
8575
|
+
/***/ 9:
|
|
8576
8576
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8577
8577
|
|
|
8578
8578
|
"use strict";
|
|
@@ -8672,7 +8672,7 @@ exports["default"] = _default;
|
|
|
8672
8672
|
|
|
8673
8673
|
/***/ }),
|
|
8674
8674
|
|
|
8675
|
-
/***/
|
|
8675
|
+
/***/ 8554:
|
|
8676
8676
|
/***/ (function(module) {
|
|
8677
8677
|
|
|
8678
8678
|
"use strict";
|
|
@@ -8842,13 +8842,13 @@ module.exports = Range;
|
|
|
8842
8842
|
|
|
8843
8843
|
/***/ }),
|
|
8844
8844
|
|
|
8845
|
-
/***/
|
|
8845
|
+
/***/ 357:
|
|
8846
8846
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
8847
8847
|
|
|
8848
8848
|
"use strict";
|
|
8849
8849
|
|
|
8850
8850
|
|
|
8851
|
-
const Range = __nccwpck_require__(
|
|
8851
|
+
const Range = __nccwpck_require__(8554);
|
|
8852
8852
|
/** @typedef {import("../validate").Schema} Schema */
|
|
8853
8853
|
|
|
8854
8854
|
/**
|
|
@@ -8954,7 +8954,7 @@ module.exports.numberHints = function numberHints(schema, logic) {
|
|
|
8954
8954
|
|
|
8955
8955
|
/***/ }),
|
|
8956
8956
|
|
|
8957
|
-
/***/
|
|
8957
|
+
/***/ 5066:
|
|
8958
8958
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
8959
8959
|
|
|
8960
8960
|
"use strict";
|
|
@@ -8971,16 +8971,16 @@ Object.defineProperty(exports, "ValidationError", ({
|
|
|
8971
8971
|
}
|
|
8972
8972
|
}));
|
|
8973
8973
|
|
|
8974
|
-
var _absolutePath = _interopRequireDefault(__nccwpck_require__(
|
|
8974
|
+
var _absolutePath = _interopRequireDefault(__nccwpck_require__(9));
|
|
8975
8975
|
|
|
8976
|
-
var _ValidationError = _interopRequireDefault(__nccwpck_require__(
|
|
8976
|
+
var _ValidationError = _interopRequireDefault(__nccwpck_require__(6751));
|
|
8977
8977
|
|
|
8978
8978
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
8979
8979
|
|
|
8980
8980
|
// Use CommonJS require for ajv libs so TypeScript consumers aren't locked into esModuleInterop (see #110).
|
|
8981
|
-
const Ajv = __nccwpck_require__(
|
|
8981
|
+
const Ajv = __nccwpck_require__(4782);
|
|
8982
8982
|
|
|
8983
|
-
const ajvKeywords = __nccwpck_require__(
|
|
8983
|
+
const ajvKeywords = __nccwpck_require__(7566);
|
|
8984
8984
|
/** @typedef {import("json-schema").JSONSchema4} JSONSchema4 */
|
|
8985
8985
|
|
|
8986
8986
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
@@ -9124,7 +9124,7 @@ function filterErrors(errors) {
|
|
|
9124
9124
|
|
|
9125
9125
|
/***/ }),
|
|
9126
9126
|
|
|
9127
|
-
/***/
|
|
9127
|
+
/***/ 6882:
|
|
9128
9128
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
9129
9129
|
|
|
9130
9130
|
"use strict";
|
|
@@ -9136,7 +9136,7 @@ See the accompanying LICENSE file for terms.
|
|
|
9136
9136
|
|
|
9137
9137
|
|
|
9138
9138
|
|
|
9139
|
-
var randomBytes = __nccwpck_require__(
|
|
9139
|
+
var randomBytes = __nccwpck_require__(7001);
|
|
9140
9140
|
|
|
9141
9141
|
// Generate an internal UID to make the regexp pattern harder to guess.
|
|
9142
9142
|
var UID_LENGTH = 16;
|
|
@@ -9400,7 +9400,7 @@ module.exports = function serialize(obj, options) {
|
|
|
9400
9400
|
|
|
9401
9401
|
/***/ }),
|
|
9402
9402
|
|
|
9403
|
-
/***/
|
|
9403
|
+
/***/ 2035:
|
|
9404
9404
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9405
9405
|
|
|
9406
9406
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9410,7 +9410,7 @@ module.exports = function serialize(obj, options) {
|
|
|
9410
9410
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
9411
9411
|
*/
|
|
9412
9412
|
|
|
9413
|
-
var util = __nccwpck_require__(
|
|
9413
|
+
var util = __nccwpck_require__(1320);
|
|
9414
9414
|
var has = Object.prototype.hasOwnProperty;
|
|
9415
9415
|
var hasNativeMap = typeof Map !== "undefined";
|
|
9416
9416
|
|
|
@@ -9528,7 +9528,7 @@ exports.I = ArraySet;
|
|
|
9528
9528
|
|
|
9529
9529
|
/***/ }),
|
|
9530
9530
|
|
|
9531
|
-
/***/
|
|
9531
|
+
/***/ 380:
|
|
9532
9532
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9533
9533
|
|
|
9534
9534
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9568,7 +9568,7 @@ exports.I = ArraySet;
|
|
|
9568
9568
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
9569
9569
|
*/
|
|
9570
9570
|
|
|
9571
|
-
var base64 = __nccwpck_require__(
|
|
9571
|
+
var base64 = __nccwpck_require__(9069);
|
|
9572
9572
|
|
|
9573
9573
|
// A single base 64 digit can contain 6 bits of data. For the base 64 variable
|
|
9574
9574
|
// length quantities we use in the source map spec, the first bit is the sign,
|
|
@@ -9675,7 +9675,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
|
|
|
9675
9675
|
|
|
9676
9676
|
/***/ }),
|
|
9677
9677
|
|
|
9678
|
-
/***/
|
|
9678
|
+
/***/ 9069:
|
|
9679
9679
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9680
9680
|
|
|
9681
9681
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9749,7 +9749,7 @@ exports.decode = function (charCode) {
|
|
|
9749
9749
|
|
|
9750
9750
|
/***/ }),
|
|
9751
9751
|
|
|
9752
|
-
/***/
|
|
9752
|
+
/***/ 3226:
|
|
9753
9753
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9754
9754
|
|
|
9755
9755
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9867,7 +9867,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
|
9867
9867
|
|
|
9868
9868
|
/***/ }),
|
|
9869
9869
|
|
|
9870
|
-
/***/
|
|
9870
|
+
/***/ 1143:
|
|
9871
9871
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
9872
9872
|
|
|
9873
9873
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -9877,7 +9877,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
|
9877
9877
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
9878
9878
|
*/
|
|
9879
9879
|
|
|
9880
|
-
var util = __nccwpck_require__(
|
|
9880
|
+
var util = __nccwpck_require__(1320);
|
|
9881
9881
|
|
|
9882
9882
|
/**
|
|
9883
9883
|
* Determine whether mappingB is after mappingA with respect to generated
|
|
@@ -9953,7 +9953,7 @@ exports.H = MappingList;
|
|
|
9953
9953
|
|
|
9954
9954
|
/***/ }),
|
|
9955
9955
|
|
|
9956
|
-
/***/
|
|
9956
|
+
/***/ 2212:
|
|
9957
9957
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9958
9958
|
|
|
9959
9959
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -10074,7 +10074,7 @@ exports.U = function (ary, comparator) {
|
|
|
10074
10074
|
|
|
10075
10075
|
/***/ }),
|
|
10076
10076
|
|
|
10077
|
-
/***/
|
|
10077
|
+
/***/ 3847:
|
|
10078
10078
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
10079
10079
|
|
|
10080
10080
|
var __webpack_unused_export__;
|
|
@@ -10085,11 +10085,11 @@ var __webpack_unused_export__;
|
|
|
10085
10085
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
10086
10086
|
*/
|
|
10087
10087
|
|
|
10088
|
-
var util = __nccwpck_require__(
|
|
10089
|
-
var binarySearch = __nccwpck_require__(
|
|
10090
|
-
var ArraySet = (__nccwpck_require__(
|
|
10091
|
-
var base64VLQ = __nccwpck_require__(
|
|
10092
|
-
var quickSort = (__nccwpck_require__(
|
|
10088
|
+
var util = __nccwpck_require__(1320);
|
|
10089
|
+
var binarySearch = __nccwpck_require__(3226);
|
|
10090
|
+
var ArraySet = (__nccwpck_require__(2035)/* .ArraySet */ .I);
|
|
10091
|
+
var base64VLQ = __nccwpck_require__(380);
|
|
10092
|
+
var quickSort = (__nccwpck_require__(2212)/* .quickSort */ .U);
|
|
10093
10093
|
|
|
10094
10094
|
function SourceMapConsumer(aSourceMap, aSourceMapURL) {
|
|
10095
10095
|
var sourceMap = aSourceMap;
|
|
@@ -11227,7 +11227,7 @@ __webpack_unused_export__ = IndexedSourceMapConsumer;
|
|
|
11227
11227
|
|
|
11228
11228
|
/***/ }),
|
|
11229
11229
|
|
|
11230
|
-
/***/
|
|
11230
|
+
/***/ 2271:
|
|
11231
11231
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
11232
11232
|
|
|
11233
11233
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -11237,10 +11237,10 @@ __webpack_unused_export__ = IndexedSourceMapConsumer;
|
|
|
11237
11237
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
11238
11238
|
*/
|
|
11239
11239
|
|
|
11240
|
-
var base64VLQ = __nccwpck_require__(
|
|
11241
|
-
var util = __nccwpck_require__(
|
|
11242
|
-
var ArraySet = (__nccwpck_require__(
|
|
11243
|
-
var MappingList = (__nccwpck_require__(
|
|
11240
|
+
var base64VLQ = __nccwpck_require__(380);
|
|
11241
|
+
var util = __nccwpck_require__(1320);
|
|
11242
|
+
var ArraySet = (__nccwpck_require__(2035)/* .ArraySet */ .I);
|
|
11243
|
+
var MappingList = (__nccwpck_require__(1143)/* .MappingList */ .H);
|
|
11244
11244
|
|
|
11245
11245
|
/**
|
|
11246
11246
|
* An instance of the SourceMapGenerator represents a source map which is
|
|
@@ -11659,7 +11659,7 @@ exports.SourceMapGenerator = SourceMapGenerator;
|
|
|
11659
11659
|
|
|
11660
11660
|
/***/ }),
|
|
11661
11661
|
|
|
11662
|
-
/***/
|
|
11662
|
+
/***/ 4123:
|
|
11663
11663
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
11664
11664
|
|
|
11665
11665
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -11669,8 +11669,8 @@ exports.SourceMapGenerator = SourceMapGenerator;
|
|
|
11669
11669
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
11670
11670
|
*/
|
|
11671
11671
|
|
|
11672
|
-
var SourceMapGenerator = (__nccwpck_require__(
|
|
11673
|
-
var util = __nccwpck_require__(
|
|
11672
|
+
var SourceMapGenerator = (__nccwpck_require__(2271).SourceMapGenerator);
|
|
11673
|
+
var util = __nccwpck_require__(1320);
|
|
11674
11674
|
|
|
11675
11675
|
// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
|
|
11676
11676
|
// operating systems these days (capturing the result).
|
|
@@ -12079,7 +12079,7 @@ exports.SourceNode = SourceNode;
|
|
|
12079
12079
|
|
|
12080
12080
|
/***/ }),
|
|
12081
12081
|
|
|
12082
|
-
/***/
|
|
12082
|
+
/***/ 1320:
|
|
12083
12083
|
/***/ (function(__unused_webpack_module, exports) {
|
|
12084
12084
|
|
|
12085
12085
|
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
@@ -12574,7 +12574,7 @@ exports.computeSourceURL = computeSourceURL;
|
|
|
12574
12574
|
|
|
12575
12575
|
/***/ }),
|
|
12576
12576
|
|
|
12577
|
-
/***/
|
|
12577
|
+
/***/ 3292:
|
|
12578
12578
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
12579
12579
|
|
|
12580
12580
|
/*
|
|
@@ -12582,60 +12582,50 @@ exports.computeSourceURL = computeSourceURL;
|
|
|
12582
12582
|
* Licensed under the New BSD license. See LICENSE.txt or:
|
|
12583
12583
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
12584
12584
|
*/
|
|
12585
|
-
exports.SourceMapGenerator = __nccwpck_require__(
|
|
12586
|
-
exports.SourceMapConsumer = __nccwpck_require__(
|
|
12587
|
-
exports.SourceNode = __nccwpck_require__(
|
|
12585
|
+
exports.SourceMapGenerator = __nccwpck_require__(2271).SourceMapGenerator;
|
|
12586
|
+
exports.SourceMapConsumer = __nccwpck_require__(3847).SourceMapConsumer;
|
|
12587
|
+
exports.SourceNode = __nccwpck_require__(4123).SourceNode;
|
|
12588
12588
|
|
|
12589
12589
|
|
|
12590
12590
|
/***/ }),
|
|
12591
12591
|
|
|
12592
|
-
/***/
|
|
12592
|
+
/***/ 4633:
|
|
12593
12593
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
12594
12594
|
|
|
12595
12595
|
"use strict";
|
|
12596
12596
|
|
|
12597
12597
|
|
|
12598
|
-
const
|
|
12599
|
-
|
|
12600
|
-
module.exports = plugin.default;
|
|
12601
|
-
|
|
12602
|
-
/***/ }),
|
|
12603
|
-
|
|
12604
|
-
/***/ 2348:
|
|
12605
|
-
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
12606
|
-
|
|
12607
|
-
"use strict";
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
12611
|
-
value: true
|
|
12612
|
-
}));
|
|
12613
|
-
exports["default"] = void 0;
|
|
12614
|
-
|
|
12615
|
-
var path = _interopRequireWildcard(__nccwpck_require__(1017));
|
|
12616
|
-
|
|
12617
|
-
var os = _interopRequireWildcard(__nccwpck_require__(2037));
|
|
12598
|
+
const path = __nccwpck_require__(1017);
|
|
12618
12599
|
|
|
12619
|
-
|
|
12600
|
+
const os = __nccwpck_require__(2037);
|
|
12620
12601
|
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
var _jestWorker = __nccwpck_require__(6063);
|
|
12626
|
-
|
|
12627
|
-
var _utils = require('./utils');
|
|
12602
|
+
const {
|
|
12603
|
+
SourceMapConsumer
|
|
12604
|
+
} = __nccwpck_require__(3292);
|
|
12628
12605
|
|
|
12629
|
-
|
|
12606
|
+
const {
|
|
12607
|
+
validate
|
|
12608
|
+
} = __nccwpck_require__(8546);
|
|
12630
12609
|
|
|
12631
|
-
|
|
12610
|
+
const serialize = __nccwpck_require__(6882);
|
|
12632
12611
|
|
|
12633
|
-
|
|
12612
|
+
const {
|
|
12613
|
+
Worker
|
|
12614
|
+
} = __nccwpck_require__(6063);
|
|
12634
12615
|
|
|
12635
|
-
|
|
12616
|
+
const {
|
|
12617
|
+
throttleAll,
|
|
12618
|
+
terserMinify,
|
|
12619
|
+
uglifyJsMinify,
|
|
12620
|
+
swcMinify,
|
|
12621
|
+
esbuildMinify
|
|
12622
|
+
} = require('./utils');
|
|
12636
12623
|
|
|
12637
|
-
|
|
12624
|
+
const schema = __nccwpck_require__(7747);
|
|
12638
12625
|
|
|
12626
|
+
const {
|
|
12627
|
+
minify
|
|
12628
|
+
} = __nccwpck_require__(6134);
|
|
12639
12629
|
/** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
|
|
12640
12630
|
|
|
12641
12631
|
/** @typedef {import("webpack").Compiler} Compiler */
|
|
@@ -12650,8 +12640,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12650
12640
|
|
|
12651
12641
|
/** @typedef {import("./utils.js").TerserOptions} TerserOptions */
|
|
12652
12642
|
|
|
12653
|
-
/** @typedef {import("./utils.js").CustomOptions} CustomOptions */
|
|
12654
|
-
|
|
12655
12643
|
/** @typedef {import("jest-worker").Worker} JestWorker */
|
|
12656
12644
|
|
|
12657
12645
|
/** @typedef {import("source-map").RawSourceMap} RawSourceMap */
|
|
@@ -12690,10 +12678,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12690
12678
|
* @typedef {ExtractCommentsCondition | ExtractCommentsObject} ExtractCommentsOptions
|
|
12691
12679
|
*/
|
|
12692
12680
|
|
|
12693
|
-
/**
|
|
12694
|
-
* @typedef {{ [file: string]: string }} Input
|
|
12695
|
-
*/
|
|
12696
|
-
|
|
12697
12681
|
/**
|
|
12698
12682
|
* @typedef {Object} MinimizedResult
|
|
12699
12683
|
* @property {string} code
|
|
@@ -12704,31 +12688,27 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12704
12688
|
*/
|
|
12705
12689
|
|
|
12706
12690
|
/**
|
|
12707
|
-
* @typedef {
|
|
12708
|
-
* @property {boolean} [module]
|
|
12709
|
-
* @property {any} [ecma]
|
|
12691
|
+
* @typedef {{ [file: string]: string }} Input
|
|
12710
12692
|
*/
|
|
12711
12693
|
|
|
12712
12694
|
/**
|
|
12713
|
-
* @
|
|
12714
|
-
* @typedef {Object} MinimizerImplementationAndOptions
|
|
12715
|
-
* @property {MinimizerImplementation<T>} implementation
|
|
12716
|
-
* @property {PredefinedOptions & T} options
|
|
12695
|
+
* @typedef {{ [key: string]: any }} CustomOptions
|
|
12717
12696
|
*/
|
|
12718
12697
|
|
|
12719
12698
|
/**
|
|
12720
12699
|
* @template T
|
|
12721
|
-
* @typedef {
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
* @
|
|
12726
|
-
* @property {
|
|
12700
|
+
* @typedef {T extends infer U ? U : CustomOptions} InferDefaultType
|
|
12701
|
+
*/
|
|
12702
|
+
|
|
12703
|
+
/**
|
|
12704
|
+
* @typedef {Object} PredefinedOptions
|
|
12705
|
+
* @property {boolean} [module]
|
|
12706
|
+
* @property {TerserECMA} [ecma]
|
|
12727
12707
|
*/
|
|
12728
12708
|
|
|
12729
12709
|
/**
|
|
12730
12710
|
* @template T
|
|
12731
|
-
* @typedef {
|
|
12711
|
+
* @typedef {PredefinedOptions & InferDefaultType<T>} MinimizerOptions
|
|
12732
12712
|
*/
|
|
12733
12713
|
|
|
12734
12714
|
/**
|
|
@@ -12736,7 +12716,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12736
12716
|
* @callback BasicMinimizerImplementation
|
|
12737
12717
|
* @param {Input} input
|
|
12738
12718
|
* @param {RawSourceMap | undefined} sourceMap
|
|
12739
|
-
* @param {T} minifyOptions
|
|
12719
|
+
* @param {MinimizerOptions<T>} minifyOptions
|
|
12740
12720
|
* @param {ExtractCommentsOptions | undefined} extractComments
|
|
12741
12721
|
* @returns {Promise<MinimizedResult>}
|
|
12742
12722
|
*/
|
|
@@ -12748,7 +12728,22 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12748
12728
|
|
|
12749
12729
|
/**
|
|
12750
12730
|
* @template T
|
|
12751
|
-
* @typedef {BasicMinimizerImplementation<T> & MinimizeFunctionHelpers
|
|
12731
|
+
* @typedef {BasicMinimizerImplementation<T> & MinimizeFunctionHelpers} MinimizerImplementation
|
|
12732
|
+
*/
|
|
12733
|
+
|
|
12734
|
+
/**
|
|
12735
|
+
* @template T
|
|
12736
|
+
* @typedef {Object} InternalOptions
|
|
12737
|
+
* @property {string} name
|
|
12738
|
+
* @property {string} input
|
|
12739
|
+
* @property {RawSourceMap | undefined} inputSourceMap
|
|
12740
|
+
* @property {ExtractCommentsOptions | undefined} extractComments
|
|
12741
|
+
* @property {{ implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> }} minimizer
|
|
12742
|
+
*/
|
|
12743
|
+
|
|
12744
|
+
/**
|
|
12745
|
+
* @template T
|
|
12746
|
+
* @typedef {JestWorker & { transform: (options: string) => MinimizedResult, minify: (options: InternalOptions<T>) => MinimizedResult }} MinimizerWorker
|
|
12752
12747
|
*/
|
|
12753
12748
|
|
|
12754
12749
|
/**
|
|
@@ -12766,23 +12761,25 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12766
12761
|
|
|
12767
12762
|
/**
|
|
12768
12763
|
* @template T
|
|
12769
|
-
* @typedef {T extends
|
|
12764
|
+
* @typedef {T extends TerserOptions ? { minify?: MinimizerImplementation<T> | undefined, terserOptions?: MinimizerOptions<T> | undefined } : { minify: MinimizerImplementation<T>, terserOptions?: MinimizerOptions<T> | undefined }} DefinedDefaultMinimizerAndOptions
|
|
12770
12765
|
*/
|
|
12771
12766
|
|
|
12772
12767
|
/**
|
|
12773
12768
|
* @template T
|
|
12774
|
-
* @typedef {
|
|
12769
|
+
* @typedef {BasePluginOptions & { minimizer: { implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> } }} InternalPluginOptions
|
|
12775
12770
|
*/
|
|
12776
12771
|
|
|
12777
12772
|
/**
|
|
12778
|
-
* @template T
|
|
12773
|
+
* @template [T=TerserOptions]
|
|
12779
12774
|
*/
|
|
12775
|
+
|
|
12776
|
+
|
|
12780
12777
|
class TerserPlugin {
|
|
12781
12778
|
/**
|
|
12782
12779
|
* @param {BasePluginOptions & DefinedDefaultMinimizerAndOptions<T>} [options]
|
|
12783
12780
|
*/
|
|
12784
12781
|
constructor(options) {
|
|
12785
|
-
|
|
12782
|
+
validate(
|
|
12786
12783
|
/** @type {Schema} */
|
|
12787
12784
|
schema, options || {}, {
|
|
12788
12785
|
name: "Terser Plugin",
|
|
@@ -12791,10 +12788,10 @@ class TerserPlugin {
|
|
|
12791
12788
|
|
|
12792
12789
|
const {
|
|
12793
12790
|
minify =
|
|
12794
|
-
/** @type {MinimizerImplementation<
|
|
12795
|
-
|
|
12791
|
+
/** @type {MinimizerImplementation<T>} */
|
|
12792
|
+
terserMinify,
|
|
12796
12793
|
terserOptions =
|
|
12797
|
-
/** @type {
|
|
12794
|
+
/** @type {MinimizerOptions<T>} */
|
|
12798
12795
|
{},
|
|
12799
12796
|
test = /\.[cm]?js(\?.*)?$/i,
|
|
12800
12797
|
extractComments = true,
|
|
@@ -12802,6 +12799,11 @@ class TerserPlugin {
|
|
|
12802
12799
|
include,
|
|
12803
12800
|
exclude
|
|
12804
12801
|
} = options || {};
|
|
12802
|
+
/**
|
|
12803
|
+
* @private
|
|
12804
|
+
* @type {InternalPluginOptions<T>}
|
|
12805
|
+
*/
|
|
12806
|
+
|
|
12805
12807
|
this.options = {
|
|
12806
12808
|
test,
|
|
12807
12809
|
extractComments,
|
|
@@ -12828,7 +12830,7 @@ class TerserPlugin {
|
|
|
12828
12830
|
}
|
|
12829
12831
|
/**
|
|
12830
12832
|
* @private
|
|
12831
|
-
* @param {
|
|
12833
|
+
* @param {unknown} warning
|
|
12832
12834
|
* @param {string} file
|
|
12833
12835
|
* @returns {Error}
|
|
12834
12836
|
*/
|
|
@@ -12857,12 +12859,11 @@ class TerserPlugin {
|
|
|
12857
12859
|
|
|
12858
12860
|
static buildError(error, file, sourceMap, requestShortener) {
|
|
12859
12861
|
/**
|
|
12860
|
-
* @type {Error & { file
|
|
12862
|
+
* @type {Error & { file?: string }}
|
|
12861
12863
|
*/
|
|
12862
12864
|
let builtError;
|
|
12863
12865
|
|
|
12864
12866
|
if (typeof error === "string") {
|
|
12865
|
-
// @ts-ignore
|
|
12866
12867
|
builtError = new Error(`${file} from Terser plugin\n${error}`);
|
|
12867
12868
|
builtError.file = file;
|
|
12868
12869
|
return builtError;
|
|
@@ -12875,12 +12876,10 @@ class TerserPlugin {
|
|
|
12875
12876
|
});
|
|
12876
12877
|
|
|
12877
12878
|
if (original && original.source && requestShortener) {
|
|
12878
|
-
// @ts-ignore
|
|
12879
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")}` : ""}`);
|
|
12880
12880
|
builtError.file = file;
|
|
12881
12881
|
return builtError;
|
|
12882
|
-
}
|
|
12883
|
-
|
|
12882
|
+
}
|
|
12884
12883
|
|
|
12885
12884
|
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")}` : ""}`);
|
|
12886
12885
|
builtError.file = file;
|
|
@@ -12888,12 +12887,10 @@ class TerserPlugin {
|
|
|
12888
12887
|
}
|
|
12889
12888
|
|
|
12890
12889
|
if (error.stack) {
|
|
12891
|
-
// @ts-ignore
|
|
12892
12890
|
builtError = new Error(`${file} from Terser plugin\n${typeof error.message !== "undefined" ? error.message : ""}\n${error.stack}`);
|
|
12893
12891
|
builtError.file = file;
|
|
12894
12892
|
return builtError;
|
|
12895
|
-
}
|
|
12896
|
-
|
|
12893
|
+
}
|
|
12897
12894
|
|
|
12898
12895
|
builtError = new Error(`${file} from Terser plugin\n${error.message}`);
|
|
12899
12896
|
builtError.file = file;
|
|
@@ -12995,7 +12992,7 @@ class TerserPlugin {
|
|
|
12995
12992
|
|
|
12996
12993
|
initializedWorker =
|
|
12997
12994
|
/** @type {MinimizerWorker<T>} */
|
|
12998
|
-
new
|
|
12995
|
+
new Worker(__nccwpck_require__.ab + "minify.js", {
|
|
12999
12996
|
numWorkers: numberOfWorkers,
|
|
13000
12997
|
enableWorkerThreads: true
|
|
13001
12998
|
}); // https://github.com/facebook/jest/issues/8872#issuecomment-524822081
|
|
@@ -13052,23 +13049,24 @@ class TerserPlugin {
|
|
|
13052
13049
|
input = sourceFromInputSource;
|
|
13053
13050
|
|
|
13054
13051
|
if (map) {
|
|
13055
|
-
if (TerserPlugin.isSourceMap(map)) {
|
|
13056
|
-
|
|
13057
|
-
/** @type {
|
|
13058
|
-
map;
|
|
13052
|
+
if (!TerserPlugin.isSourceMap(map)) {
|
|
13053
|
+
compilation.warnings.push(
|
|
13054
|
+
/** @type {WebpackError} */
|
|
13055
|
+
new Error(`${name} contains invalid source map`));
|
|
13059
13056
|
} else {
|
|
13060
13057
|
inputSourceMap =
|
|
13061
13058
|
/** @type {RawSourceMap} */
|
|
13062
13059
|
map;
|
|
13063
|
-
compilation.warnings.push(
|
|
13064
|
-
/** @type {WebpackError} */
|
|
13065
|
-
new Error(`${name} contains invalid source map`));
|
|
13066
13060
|
}
|
|
13067
13061
|
}
|
|
13068
13062
|
|
|
13069
13063
|
if (Buffer.isBuffer(input)) {
|
|
13070
13064
|
input = input.toString();
|
|
13071
13065
|
}
|
|
13066
|
+
/**
|
|
13067
|
+
* @type {InternalOptions<T>}
|
|
13068
|
+
*/
|
|
13069
|
+
|
|
13072
13070
|
|
|
13073
13071
|
const options = {
|
|
13074
13072
|
name,
|
|
@@ -13098,12 +13096,12 @@ class TerserPlugin {
|
|
|
13098
13096
|
}
|
|
13099
13097
|
|
|
13100
13098
|
try {
|
|
13101
|
-
output = await (getWorker ? getWorker().transform((
|
|
13099
|
+
output = await (getWorker ? getWorker().transform(serialize(options)) : minify(options));
|
|
13102
13100
|
} catch (error) {
|
|
13103
13101
|
const hasSourceMap = inputSourceMap && TerserPlugin.isSourceMap(inputSourceMap);
|
|
13104
13102
|
compilation.errors.push(
|
|
13105
13103
|
/** @type {WebpackError} */
|
|
13106
|
-
TerserPlugin.buildError(error, name, hasSourceMap ? new
|
|
13104
|
+
TerserPlugin.buildError(error, name, hasSourceMap ? new SourceMapConsumer(
|
|
13107
13105
|
/** @type {RawSourceMap} */
|
|
13108
13106
|
inputSourceMap) : // eslint-disable-next-line no-undefined
|
|
13109
13107
|
undefined, // eslint-disable-next-line no-undefined
|
|
@@ -13132,7 +13130,7 @@ class TerserPlugin {
|
|
|
13132
13130
|
/**
|
|
13133
13131
|
* @param {Error | string} item
|
|
13134
13132
|
*/
|
|
13135
|
-
item => TerserPlugin.buildError(item, name, hasSourceMap ? new
|
|
13133
|
+
item => TerserPlugin.buildError(item, name, hasSourceMap ? new SourceMapConsumer(
|
|
13136
13134
|
/** @type {RawSourceMap} */
|
|
13137
13135
|
inputSourceMap) : // eslint-disable-next-line no-undefined
|
|
13138
13136
|
undefined, // eslint-disable-next-line no-undefined
|
|
@@ -13255,7 +13253,7 @@ class TerserPlugin {
|
|
|
13255
13253
|
const limit = getWorker && numberOfAssets > 0 ?
|
|
13256
13254
|
/** @type {number} */
|
|
13257
13255
|
numberOfWorkers : scheduledTasks.length;
|
|
13258
|
-
await
|
|
13256
|
+
await throttleAll(limit, scheduledTasks);
|
|
13259
13257
|
|
|
13260
13258
|
if (initializedWorker) {
|
|
13261
13259
|
await initializedWorker.end();
|
|
@@ -13358,7 +13356,7 @@ class TerserPlugin {
|
|
|
13358
13356
|
const availableNumberOfCores = TerserPlugin.getAvailableNumberOfCores(this.options.parallel);
|
|
13359
13357
|
compiler.hooks.compilation.tap(pluginName, compilation => {
|
|
13360
13358
|
const hooks = compiler.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(compilation);
|
|
13361
|
-
const data = (
|
|
13359
|
+
const data = serialize({
|
|
13362
13360
|
minimizer: typeof this.options.minimizer.implementation.getMinimizerVersion !== "undefined" ? this.options.minimizer.implementation.getMinimizerVersion() || "0.0.0" : "0.0.0",
|
|
13363
13361
|
options: this.options.minimizer.options
|
|
13364
13362
|
});
|
|
@@ -13388,16 +13386,15 @@ class TerserPlugin {
|
|
|
13388
13386
|
|
|
13389
13387
|
}
|
|
13390
13388
|
|
|
13391
|
-
TerserPlugin.terserMinify =
|
|
13392
|
-
TerserPlugin.uglifyJsMinify =
|
|
13393
|
-
TerserPlugin.swcMinify =
|
|
13394
|
-
TerserPlugin.esbuildMinify =
|
|
13395
|
-
|
|
13396
|
-
exports["default"] = _default;
|
|
13389
|
+
TerserPlugin.terserMinify = terserMinify;
|
|
13390
|
+
TerserPlugin.uglifyJsMinify = uglifyJsMinify;
|
|
13391
|
+
TerserPlugin.swcMinify = swcMinify;
|
|
13392
|
+
TerserPlugin.esbuildMinify = esbuildMinify;
|
|
13393
|
+
module.exports = TerserPlugin;
|
|
13397
13394
|
|
|
13398
13395
|
/***/ }),
|
|
13399
13396
|
|
|
13400
|
-
/***/
|
|
13397
|
+
/***/ 6134:
|
|
13401
13398
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
13402
13399
|
|
|
13403
13400
|
"use strict";
|
|
@@ -13448,12 +13445,14 @@ async function transform(options) {
|
|
|
13448
13445
|
return minify(evaluatedOptions);
|
|
13449
13446
|
}
|
|
13450
13447
|
|
|
13451
|
-
module.exports
|
|
13452
|
-
|
|
13448
|
+
module.exports = {
|
|
13449
|
+
minify,
|
|
13450
|
+
transform
|
|
13451
|
+
};
|
|
13453
13452
|
|
|
13454
13453
|
/***/ }),
|
|
13455
13454
|
|
|
13456
|
-
/***/
|
|
13455
|
+
/***/ 2431:
|
|
13457
13456
|
/***/ (function(__unused_webpack_module, exports) {
|
|
13458
13457
|
|
|
13459
13458
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
@@ -14950,7 +14949,7 @@ module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#
|
|
|
14950
14949
|
|
|
14951
14950
|
/***/ }),
|
|
14952
14951
|
|
|
14953
|
-
/***/
|
|
14952
|
+
/***/ 7747:
|
|
14954
14953
|
/***/ (function(module) {
|
|
14955
14954
|
|
|
14956
14955
|
"use strict";
|
|
@@ -15012,7 +15011,7 @@ module.exports = JSON.parse('{"definitions":{"Rule":{"description":"Filtering ru
|
|
|
15012
15011
|
/******/ // startup
|
|
15013
15012
|
/******/ // Load entry module and return exports
|
|
15014
15013
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
15015
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
15014
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(4633);
|
|
15016
15015
|
/******/ module.exports = __webpack_exports__;
|
|
15017
15016
|
/******/
|
|
15018
15017
|
/******/ })()
|