@umijs/bundler-webpack 4.0.0-rc.2 → 4.0.0-rc.20
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/client/client/client.js +65 -37
- package/client/constants.js +9 -0
- package/compiled/autoprefixer/browserslist/index.d.ts +2 -0
- package/compiled/autoprefixer/index.js +3 -3
- package/compiled/autoprefixer/postcss/lib/declaration.d.ts +1 -1
- package/compiled/autoprefixer/postcss/lib/node.d.ts +2 -2
- package/compiled/babel-loader/index.js +2 -2
- package/compiled/copy-webpack-plugin/{576.index.js → 939.index.js} +11 -11
- package/compiled/copy-webpack-plugin/index.js +12 -12
- package/compiled/css-minimizer-webpack-plugin/index.js +7 -7
- package/compiled/cssnano/index.js +6 -6
- package/compiled/cssnano/package.json +1 -1
- package/compiled/express.d.ts +2 -0
- package/compiled/fork-ts-checker-webpack-plugin/index.js +7 -13
- package/compiled/http-proxy-middleware/index.js +10 -10
- package/compiled/mini-css-extract-plugin/index.js +440 -401
- package/compiled/mini-css-extract-plugin/loader.js +3 -1
- package/compiled/mini-css-extract-plugin/utils.js +2 -0
- package/compiled/{tapable → react-refresh}/LICENSE +6 -6
- package/compiled/react-refresh/index.js +9 -7
- package/compiled/react-refresh/package.json +1 -0
- package/compiled/terser/index.js +1 -1
- package/compiled/webpack/BasicEffectRulePlugin.js +1 -0
- package/compiled/webpack/BasicMatcherRulePlugin.js +1 -0
- package/compiled/webpack/HotModuleReplacement.runtime.js +29 -14
- package/compiled/webpack/JavascriptHotModuleReplacement.runtime.js +4 -3
- package/compiled/webpack/ObjectMatcherRulePlugin.js +1 -0
- package/compiled/webpack/RuleSetCompiler.js +1 -0
- package/compiled/webpack/UseEffectRulePlugin.js +1 -0
- package/compiled/webpack/deepImports.json +6 -1
- package/compiled/webpack/index.js +5760 -3275
- package/compiled/webpack/types.d.ts +606 -171
- package/compiled/webpack-manifest-plugin/index.js +1 -1
- package/dist/build.d.ts +1 -0
- package/dist/build.js +48 -57
- package/dist/cli.js +6 -15
- package/dist/client/client.js +57 -51
- package/dist/config/_sampleFeature.js +6 -17
- package/dist/config/assetRules.js +44 -55
- package/dist/config/bundleAnalyzerPlugin.js +12 -23
- package/dist/config/compressPlugin.js +89 -64
- package/dist/config/config.d.ts +2 -0
- package/dist/config/config.js +177 -179
- package/dist/config/copyPlugin.js +29 -40
- package/dist/config/cssRules.js +93 -83
- package/dist/config/definePlugin.js +11 -19
- package/dist/config/detectDeadCode.js +1 -1
- package/dist/config/detectDeadCodePlugin.js +21 -22
- package/dist/config/fastRefreshPlugin.js +11 -22
- package/dist/config/forkTSCheckerPlugin.js +11 -22
- package/dist/config/harmonyLinkingErrorPlugin.js +3 -14
- package/dist/config/ignorePlugin.js +10 -21
- package/dist/config/javaScriptRules.d.ts +1 -0
- package/dist/config/javaScriptRules.js +152 -138
- package/dist/config/manifestPlugin.js +10 -18
- package/dist/config/miniCSSExtractPlugin.js +12 -23
- package/dist/config/nodePolyfill.js +14 -20
- package/dist/config/nodePrefixPlugin.d.ts +11 -0
- package/dist/config/nodePrefixPlugin.js +14 -0
- package/dist/config/progressPlugin.js +7 -18
- package/dist/config/purgecssWebpackPlugin.js +15 -26
- package/dist/config/speedMeasureWebpackPlugin.js +12 -23
- package/dist/config/svgRules.js +44 -47
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +7 -1
- package/dist/dev.d.ts +4 -0
- package/dist/dev.js +115 -94
- package/dist/index.d.ts +4 -1
- package/dist/index.js +5 -1
- package/dist/loader/svgr.js +4 -13
- package/dist/loader/swc.js +9 -14
- package/dist/plugins/ProgressPlugin.js +2 -2
- package/dist/plugins/RuntimePublicPathPlugin.js +1 -1
- package/dist/schema.js +29 -13
- package/dist/server/server.d.ts +2 -1
- package/dist/server/server.js +164 -148
- package/dist/server/ws.d.ts +5 -2
- package/dist/swcPlugins/autoCSSModules.js +3 -1
- package/dist/swcPlugins/changeImportFromString.d.ts +2 -0
- package/dist/swcPlugins/changeImportFromString.js +10 -0
- package/dist/swcPlugins/lockCoreJS.d.ts +1 -1
- package/dist/swcPlugins/lockCoreJS.js +3 -2
- package/dist/types.d.ts +4 -0
- package/dist/types.js +1 -0
- package/dist/utils/getEsBuildTarget.d.ts +5 -0
- package/dist/utils/getEsBuildTarget.js +12 -0
- package/package.json +32 -34
- package/compiled/css-loader/LICENSE +0 -20
- package/compiled/css-loader/api.js +0 -102
- package/compiled/css-loader/getUrl.js +0 -29
- package/compiled/css-loader/index.js +0 -2
- package/compiled/css-loader/noSourceMaps.js +0 -5
- package/compiled/css-loader/package.json +0 -1
- package/compiled/css-loader/sourceMaps.js +0 -22
- package/compiled/express/LICENSE +0 -24
- package/compiled/express/body-parser/index.d.ts +0 -104
- package/compiled/express/connect/index.d.ts +0 -93
- package/compiled/express/express-serve-static-core/index.d.ts +0 -1252
- package/compiled/express/index.d.ts +0 -133
- package/compiled/express/index.js +0 -321
- package/compiled/express/mime/index.d.ts +0 -35
- package/compiled/express/package.json +0 -1
- package/compiled/express/qs/index.d.ts +0 -62
- package/compiled/express/range-parser/index.d.ts +0 -35
- package/compiled/express/serve-static/index.d.ts +0 -108
- package/compiled/less/index.js +0 -31
- package/compiled/less/package.json +0 -1
- package/compiled/tapable/index.js +0 -1
- package/compiled/tapable/package.json +0 -1
- package/compiled/tapable/tapable.d.ts +0 -116
- package/dist/plugins/ESBuildCSSMinifyPlugin.d.ts +0 -11
- package/dist/plugins/ESBuildCSSMinifyPlugin.js +0 -65
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 3471:
|
|
5
5
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -181,15 +181,15 @@ function regex(str) {
|
|
|
181
181
|
|
|
182
182
|
/***/ }),
|
|
183
183
|
|
|
184
|
-
/***/
|
|
184
|
+
/***/ 5679:
|
|
185
185
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
186
186
|
|
|
187
187
|
"use strict";
|
|
188
188
|
|
|
189
189
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
190
|
-
const formats_1 = __nccwpck_require__(
|
|
191
|
-
const limit_1 = __nccwpck_require__(
|
|
192
|
-
const codegen_1 = __nccwpck_require__(
|
|
190
|
+
const formats_1 = __nccwpck_require__(3471);
|
|
191
|
+
const limit_1 = __nccwpck_require__(6541);
|
|
192
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
193
193
|
const fullName = new codegen_1.Name("fullFormats");
|
|
194
194
|
const fastName = new codegen_1.Name("fastFormats");
|
|
195
195
|
const formatsPlugin = (ajv, opts = { keywords: true }) => {
|
|
@@ -225,15 +225,15 @@ exports["default"] = formatsPlugin;
|
|
|
225
225
|
|
|
226
226
|
/***/ }),
|
|
227
227
|
|
|
228
|
-
/***/
|
|
228
|
+
/***/ 6541:
|
|
229
229
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
230
230
|
|
|
231
231
|
"use strict";
|
|
232
232
|
|
|
233
233
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
234
234
|
exports.formatLimitDefinition = void 0;
|
|
235
|
-
const ajv_1 = __nccwpck_require__(
|
|
236
|
-
const codegen_1 = __nccwpck_require__(
|
|
235
|
+
const ajv_1 = __nccwpck_require__(309);
|
|
236
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
237
237
|
const ops = codegen_1.operators;
|
|
238
238
|
const KWDs = {
|
|
239
239
|
formatMaximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
|
|
@@ -301,7 +301,7 @@ exports["default"] = formatLimitPlugin;
|
|
|
301
301
|
|
|
302
302
|
/***/ }),
|
|
303
303
|
|
|
304
|
-
/***/
|
|
304
|
+
/***/ 1699:
|
|
305
305
|
/***/ (function(__unused_webpack_module, exports) {
|
|
306
306
|
|
|
307
307
|
"use strict";
|
|
@@ -336,7 +336,7 @@ exports["default"] = getRangeDef;
|
|
|
336
336
|
|
|
337
337
|
/***/ }),
|
|
338
338
|
|
|
339
|
-
/***/
|
|
339
|
+
/***/ 9773:
|
|
340
340
|
/***/ (function(__unused_webpack_module, exports) {
|
|
341
341
|
|
|
342
342
|
"use strict";
|
|
@@ -366,14 +366,14 @@ exports["default"] = getRequiredDef;
|
|
|
366
366
|
|
|
367
367
|
/***/ }),
|
|
368
368
|
|
|
369
|
-
/***/
|
|
369
|
+
/***/ 5805:
|
|
370
370
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
371
371
|
|
|
372
372
|
"use strict";
|
|
373
373
|
|
|
374
374
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
375
375
|
exports.usePattern = exports.metaSchemaRef = void 0;
|
|
376
|
-
const codegen_1 = __nccwpck_require__(
|
|
376
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
377
377
|
const META_SCHEMA_ID = "http://json-schema.org/schema";
|
|
378
378
|
function metaSchemaRef({ defaultMeta } = {}) {
|
|
379
379
|
return defaultMeta === false ? {} : { $ref: defaultMeta || META_SCHEMA_ID };
|
|
@@ -392,7 +392,7 @@ exports.usePattern = usePattern;
|
|
|
392
392
|
|
|
393
393
|
/***/ }),
|
|
394
394
|
|
|
395
|
-
/***/
|
|
395
|
+
/***/ 3473:
|
|
396
396
|
/***/ (function(module, exports) {
|
|
397
397
|
|
|
398
398
|
"use strict";
|
|
@@ -420,7 +420,7 @@ module.exports = getDef;
|
|
|
420
420
|
|
|
421
421
|
/***/ }),
|
|
422
422
|
|
|
423
|
-
/***/
|
|
423
|
+
/***/ 1623:
|
|
424
424
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
425
425
|
|
|
426
426
|
"use strict";
|
|
@@ -429,7 +429,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
429
429
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
430
430
|
};
|
|
431
431
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
432
|
-
const _required_1 = __importDefault(__nccwpck_require__(
|
|
432
|
+
const _required_1 = __importDefault(__nccwpck_require__(9773));
|
|
433
433
|
const getDef = (0, _required_1.default)("anyRequired");
|
|
434
434
|
exports["default"] = getDef;
|
|
435
435
|
module.exports = getDef;
|
|
@@ -437,13 +437,13 @@ module.exports = getDef;
|
|
|
437
437
|
|
|
438
438
|
/***/ }),
|
|
439
439
|
|
|
440
|
-
/***/
|
|
440
|
+
/***/ 7683:
|
|
441
441
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
442
442
|
|
|
443
443
|
"use strict";
|
|
444
444
|
|
|
445
445
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
446
|
-
const _util_1 = __nccwpck_require__(
|
|
446
|
+
const _util_1 = __nccwpck_require__(5805);
|
|
447
447
|
function getDef(opts) {
|
|
448
448
|
return {
|
|
449
449
|
keyword: "deepProperties",
|
|
@@ -498,13 +498,13 @@ module.exports = getDef;
|
|
|
498
498
|
|
|
499
499
|
/***/ }),
|
|
500
500
|
|
|
501
|
-
/***/
|
|
501
|
+
/***/ 787:
|
|
502
502
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
503
503
|
|
|
504
504
|
"use strict";
|
|
505
505
|
|
|
506
506
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
507
|
-
const codegen_1 = __nccwpck_require__(
|
|
507
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
508
508
|
function getDef() {
|
|
509
509
|
return {
|
|
510
510
|
keyword: "deepRequired",
|
|
@@ -538,7 +538,7 @@ module.exports = getDef;
|
|
|
538
538
|
|
|
539
539
|
/***/ }),
|
|
540
540
|
|
|
541
|
-
/***/
|
|
541
|
+
/***/ 3333:
|
|
542
542
|
/***/ (function(module, exports) {
|
|
543
543
|
|
|
544
544
|
"use strict";
|
|
@@ -629,7 +629,7 @@ module.exports = getDef;
|
|
|
629
629
|
|
|
630
630
|
/***/ }),
|
|
631
631
|
|
|
632
|
-
/***/
|
|
632
|
+
/***/ 327:
|
|
633
633
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
634
634
|
|
|
635
635
|
"use strict";
|
|
@@ -638,7 +638,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
638
638
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
639
639
|
};
|
|
640
640
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
641
|
-
const _range_1 = __importDefault(__nccwpck_require__(
|
|
641
|
+
const _range_1 = __importDefault(__nccwpck_require__(1699));
|
|
642
642
|
const getDef = (0, _range_1.default)("exclusiveRange");
|
|
643
643
|
exports["default"] = getDef;
|
|
644
644
|
module.exports = getDef;
|
|
@@ -646,7 +646,7 @@ module.exports = getDef;
|
|
|
646
646
|
|
|
647
647
|
/***/ }),
|
|
648
648
|
|
|
649
|
-
/***/
|
|
649
|
+
/***/ 687:
|
|
650
650
|
/***/ (function(module, exports) {
|
|
651
651
|
|
|
652
652
|
"use strict";
|
|
@@ -707,7 +707,7 @@ module.exports = getDef;
|
|
|
707
707
|
|
|
708
708
|
/***/ }),
|
|
709
709
|
|
|
710
|
-
/***/
|
|
710
|
+
/***/ 4810:
|
|
711
711
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
712
712
|
|
|
713
713
|
"use strict";
|
|
@@ -716,7 +716,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
716
716
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
717
717
|
};
|
|
718
718
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
719
|
-
const _required_1 = __importDefault(__nccwpck_require__(
|
|
719
|
+
const _required_1 = __importDefault(__nccwpck_require__(9773));
|
|
720
720
|
const getDef = (0, _required_1.default)("oneRequired");
|
|
721
721
|
exports["default"] = getDef;
|
|
722
722
|
module.exports = getDef;
|
|
@@ -724,14 +724,14 @@ module.exports = getDef;
|
|
|
724
724
|
|
|
725
725
|
/***/ }),
|
|
726
726
|
|
|
727
|
-
/***/
|
|
727
|
+
/***/ 2638:
|
|
728
728
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
729
729
|
|
|
730
730
|
"use strict";
|
|
731
731
|
|
|
732
732
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
733
|
-
const codegen_1 = __nccwpck_require__(
|
|
734
|
-
const _util_1 = __nccwpck_require__(
|
|
733
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
734
|
+
const _util_1 = __nccwpck_require__(5805);
|
|
735
735
|
const error = {
|
|
736
736
|
message: ({ params: { missingPattern } }) => (0, codegen_1.str) `should have property matching pattern '${missingPattern}'`,
|
|
737
737
|
params: ({ params: { missingPattern } }) => (0, codegen_1._) `{missingPattern: ${missingPattern}}`,
|
|
@@ -773,7 +773,7 @@ module.exports = getDef;
|
|
|
773
773
|
|
|
774
774
|
/***/ }),
|
|
775
775
|
|
|
776
|
-
/***/
|
|
776
|
+
/***/ 174:
|
|
777
777
|
/***/ (function(module, exports) {
|
|
778
778
|
|
|
779
779
|
"use strict";
|
|
@@ -803,7 +803,7 @@ module.exports = getDef;
|
|
|
803
803
|
|
|
804
804
|
/***/ }),
|
|
805
805
|
|
|
806
|
-
/***/
|
|
806
|
+
/***/ 5108:
|
|
807
807
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
808
808
|
|
|
809
809
|
"use strict";
|
|
@@ -812,7 +812,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
812
812
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
813
813
|
};
|
|
814
814
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
815
|
-
const _range_1 = __importDefault(__nccwpck_require__(
|
|
815
|
+
const _range_1 = __importDefault(__nccwpck_require__(1699));
|
|
816
816
|
const getDef = (0, _range_1.default)("range");
|
|
817
817
|
exports["default"] = getDef;
|
|
818
818
|
module.exports = getDef;
|
|
@@ -820,14 +820,14 @@ module.exports = getDef;
|
|
|
820
820
|
|
|
821
821
|
/***/ }),
|
|
822
822
|
|
|
823
|
-
/***/
|
|
823
|
+
/***/ 2833:
|
|
824
824
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
825
825
|
|
|
826
826
|
"use strict";
|
|
827
827
|
|
|
828
828
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
829
|
-
const codegen_1 = __nccwpck_require__(
|
|
830
|
-
const _util_1 = __nccwpck_require__(
|
|
829
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
830
|
+
const _util_1 = __nccwpck_require__(5805);
|
|
831
831
|
const regexpMetaSchema = {
|
|
832
832
|
type: "object",
|
|
833
833
|
properties: {
|
|
@@ -867,14 +867,14 @@ module.exports = getDef;
|
|
|
867
867
|
|
|
868
868
|
/***/ }),
|
|
869
869
|
|
|
870
|
-
/***/
|
|
870
|
+
/***/ 8096:
|
|
871
871
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
872
872
|
|
|
873
873
|
"use strict";
|
|
874
874
|
|
|
875
875
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
876
|
-
const codegen_1 = __nccwpck_require__(
|
|
877
|
-
const _util_1 = __nccwpck_require__(
|
|
876
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
877
|
+
const _util_1 = __nccwpck_require__(5805);
|
|
878
878
|
const error = {
|
|
879
879
|
message: ({ params: { schemaProp } }) => schemaProp
|
|
880
880
|
? (0, codegen_1.str) `should match case "${schemaProp}" schema`
|
|
@@ -937,13 +937,13 @@ module.exports = getDef;
|
|
|
937
937
|
|
|
938
938
|
/***/ }),
|
|
939
939
|
|
|
940
|
-
/***/
|
|
940
|
+
/***/ 6705:
|
|
941
941
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
942
942
|
|
|
943
943
|
"use strict";
|
|
944
944
|
|
|
945
945
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
946
|
-
const codegen_1 = __nccwpck_require__(
|
|
946
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
947
947
|
const transform = {
|
|
948
948
|
trimStart: (s) => s.trimStart(),
|
|
949
949
|
trimEnd: (s) => s.trimEnd(),
|
|
@@ -1022,13 +1022,13 @@ module.exports = getDef;
|
|
|
1022
1022
|
|
|
1023
1023
|
/***/ }),
|
|
1024
1024
|
|
|
1025
|
-
/***/
|
|
1025
|
+
/***/ 6040:
|
|
1026
1026
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1027
1027
|
|
|
1028
1028
|
"use strict";
|
|
1029
1029
|
|
|
1030
1030
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1031
|
-
const codegen_1 = __nccwpck_require__(
|
|
1031
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
1032
1032
|
const TYPES = ["undefined", "string", "number", "object", "function", "boolean", "symbol"];
|
|
1033
1033
|
function getDef() {
|
|
1034
1034
|
return {
|
|
@@ -1054,13 +1054,13 @@ module.exports = getDef;
|
|
|
1054
1054
|
|
|
1055
1055
|
/***/ }),
|
|
1056
1056
|
|
|
1057
|
-
/***/
|
|
1057
|
+
/***/ 8475:
|
|
1058
1058
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1059
1059
|
|
|
1060
1060
|
"use strict";
|
|
1061
1061
|
|
|
1062
1062
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1063
|
-
const equal = __nccwpck_require__(
|
|
1063
|
+
const equal = __nccwpck_require__(7447);
|
|
1064
1064
|
const SCALAR_TYPES = ["number", "integer", "string", "boolean", "null"];
|
|
1065
1065
|
function getDef() {
|
|
1066
1066
|
return {
|
|
@@ -1126,7 +1126,7 @@ module.exports = getDef;
|
|
|
1126
1126
|
|
|
1127
1127
|
/***/ }),
|
|
1128
1128
|
|
|
1129
|
-
/***/
|
|
1129
|
+
/***/ 6809:
|
|
1130
1130
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1131
1131
|
|
|
1132
1132
|
"use strict";
|
|
@@ -1135,7 +1135,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1135
1135
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1136
1136
|
};
|
|
1137
1137
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1138
|
-
const keywords_1 = __importDefault(__nccwpck_require__(
|
|
1138
|
+
const keywords_1 = __importDefault(__nccwpck_require__(1663));
|
|
1139
1139
|
const ajvKeywords = (ajv, keyword) => {
|
|
1140
1140
|
if (Array.isArray(keyword)) {
|
|
1141
1141
|
for (const k of keyword)
|
|
@@ -1165,7 +1165,7 @@ module.exports["default"] = ajvKeywords;
|
|
|
1165
1165
|
|
|
1166
1166
|
/***/ }),
|
|
1167
1167
|
|
|
1168
|
-
/***/
|
|
1168
|
+
/***/ 8921:
|
|
1169
1169
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1170
1170
|
|
|
1171
1171
|
"use strict";
|
|
@@ -1174,7 +1174,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1174
1174
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1175
1175
|
};
|
|
1176
1176
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1177
|
-
const allRequired_1 = __importDefault(__nccwpck_require__(
|
|
1177
|
+
const allRequired_1 = __importDefault(__nccwpck_require__(3473));
|
|
1178
1178
|
const allRequired = (ajv) => ajv.addKeyword((0, allRequired_1.default)());
|
|
1179
1179
|
exports["default"] = allRequired;
|
|
1180
1180
|
module.exports = allRequired;
|
|
@@ -1182,7 +1182,7 @@ module.exports = allRequired;
|
|
|
1182
1182
|
|
|
1183
1183
|
/***/ }),
|
|
1184
1184
|
|
|
1185
|
-
/***/
|
|
1185
|
+
/***/ 8865:
|
|
1186
1186
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1187
1187
|
|
|
1188
1188
|
"use strict";
|
|
@@ -1191,7 +1191,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1191
1191
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1192
1192
|
};
|
|
1193
1193
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1194
|
-
const anyRequired_1 = __importDefault(__nccwpck_require__(
|
|
1194
|
+
const anyRequired_1 = __importDefault(__nccwpck_require__(1623));
|
|
1195
1195
|
const anyRequired = (ajv) => ajv.addKeyword((0, anyRequired_1.default)());
|
|
1196
1196
|
exports["default"] = anyRequired;
|
|
1197
1197
|
module.exports = anyRequired;
|
|
@@ -1199,7 +1199,7 @@ module.exports = anyRequired;
|
|
|
1199
1199
|
|
|
1200
1200
|
/***/ }),
|
|
1201
1201
|
|
|
1202
|
-
/***/
|
|
1202
|
+
/***/ 2409:
|
|
1203
1203
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1204
1204
|
|
|
1205
1205
|
"use strict";
|
|
@@ -1208,7 +1208,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1208
1208
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1209
1209
|
};
|
|
1210
1210
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1211
|
-
const deepProperties_1 = __importDefault(__nccwpck_require__(
|
|
1211
|
+
const deepProperties_1 = __importDefault(__nccwpck_require__(7683));
|
|
1212
1212
|
const deepProperties = (ajv, opts) => ajv.addKeyword((0, deepProperties_1.default)(opts));
|
|
1213
1213
|
exports["default"] = deepProperties;
|
|
1214
1214
|
module.exports = deepProperties;
|
|
@@ -1216,7 +1216,7 @@ module.exports = deepProperties;
|
|
|
1216
1216
|
|
|
1217
1217
|
/***/ }),
|
|
1218
1218
|
|
|
1219
|
-
/***/
|
|
1219
|
+
/***/ 1819:
|
|
1220
1220
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1221
1221
|
|
|
1222
1222
|
"use strict";
|
|
@@ -1225,7 +1225,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1225
1225
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1226
1226
|
};
|
|
1227
1227
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1228
|
-
const deepRequired_1 = __importDefault(__nccwpck_require__(
|
|
1228
|
+
const deepRequired_1 = __importDefault(__nccwpck_require__(787));
|
|
1229
1229
|
const deepRequired = (ajv) => ajv.addKeyword((0, deepRequired_1.default)());
|
|
1230
1230
|
exports["default"] = deepRequired;
|
|
1231
1231
|
module.exports = deepRequired;
|
|
@@ -1233,7 +1233,7 @@ module.exports = deepRequired;
|
|
|
1233
1233
|
|
|
1234
1234
|
/***/ }),
|
|
1235
1235
|
|
|
1236
|
-
/***/
|
|
1236
|
+
/***/ 9598:
|
|
1237
1237
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1238
1238
|
|
|
1239
1239
|
"use strict";
|
|
@@ -1242,7 +1242,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1242
1242
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1243
1243
|
};
|
|
1244
1244
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1245
|
-
const dynamicDefaults_1 = __importDefault(__nccwpck_require__(
|
|
1245
|
+
const dynamicDefaults_1 = __importDefault(__nccwpck_require__(3333));
|
|
1246
1246
|
const dynamicDefaults = (ajv) => ajv.addKeyword((0, dynamicDefaults_1.default)());
|
|
1247
1247
|
exports["default"] = dynamicDefaults;
|
|
1248
1248
|
module.exports = dynamicDefaults;
|
|
@@ -1250,7 +1250,7 @@ module.exports = dynamicDefaults;
|
|
|
1250
1250
|
|
|
1251
1251
|
/***/ }),
|
|
1252
1252
|
|
|
1253
|
-
/***/
|
|
1253
|
+
/***/ 5319:
|
|
1254
1254
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1255
1255
|
|
|
1256
1256
|
"use strict";
|
|
@@ -1259,7 +1259,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1259
1259
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1260
1260
|
};
|
|
1261
1261
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1262
|
-
const exclusiveRange_1 = __importDefault(__nccwpck_require__(
|
|
1262
|
+
const exclusiveRange_1 = __importDefault(__nccwpck_require__(327));
|
|
1263
1263
|
const exclusiveRange = (ajv) => ajv.addKeyword((0, exclusiveRange_1.default)());
|
|
1264
1264
|
exports["default"] = exclusiveRange;
|
|
1265
1265
|
module.exports = exclusiveRange;
|
|
@@ -1267,7 +1267,7 @@ module.exports = exclusiveRange;
|
|
|
1267
1267
|
|
|
1268
1268
|
/***/ }),
|
|
1269
1269
|
|
|
1270
|
-
/***/
|
|
1270
|
+
/***/ 1663:
|
|
1271
1271
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1272
1272
|
|
|
1273
1273
|
"use strict";
|
|
@@ -1276,22 +1276,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1276
1276
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1277
1277
|
};
|
|
1278
1278
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1279
|
-
const typeof_1 = __importDefault(__nccwpck_require__(
|
|
1280
|
-
const instanceof_1 = __importDefault(__nccwpck_require__(
|
|
1281
|
-
const range_1 = __importDefault(__nccwpck_require__(
|
|
1282
|
-
const exclusiveRange_1 = __importDefault(__nccwpck_require__(
|
|
1283
|
-
const regexp_1 = __importDefault(__nccwpck_require__(
|
|
1284
|
-
const transform_1 = __importDefault(__nccwpck_require__(
|
|
1285
|
-
const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(
|
|
1286
|
-
const allRequired_1 = __importDefault(__nccwpck_require__(
|
|
1287
|
-
const anyRequired_1 = __importDefault(__nccwpck_require__(
|
|
1288
|
-
const oneRequired_1 = __importDefault(__nccwpck_require__(
|
|
1289
|
-
const patternRequired_1 = __importDefault(__nccwpck_require__(
|
|
1290
|
-
const prohibited_1 = __importDefault(__nccwpck_require__(
|
|
1291
|
-
const deepProperties_1 = __importDefault(__nccwpck_require__(
|
|
1292
|
-
const deepRequired_1 = __importDefault(__nccwpck_require__(
|
|
1293
|
-
const dynamicDefaults_1 = __importDefault(__nccwpck_require__(
|
|
1294
|
-
const select_1 = __importDefault(__nccwpck_require__(
|
|
1279
|
+
const typeof_1 = __importDefault(__nccwpck_require__(7650));
|
|
1280
|
+
const instanceof_1 = __importDefault(__nccwpck_require__(7422));
|
|
1281
|
+
const range_1 = __importDefault(__nccwpck_require__(6916));
|
|
1282
|
+
const exclusiveRange_1 = __importDefault(__nccwpck_require__(5319));
|
|
1283
|
+
const regexp_1 = __importDefault(__nccwpck_require__(1491));
|
|
1284
|
+
const transform_1 = __importDefault(__nccwpck_require__(9));
|
|
1285
|
+
const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(9899));
|
|
1286
|
+
const allRequired_1 = __importDefault(__nccwpck_require__(8921));
|
|
1287
|
+
const anyRequired_1 = __importDefault(__nccwpck_require__(8865));
|
|
1288
|
+
const oneRequired_1 = __importDefault(__nccwpck_require__(4178));
|
|
1289
|
+
const patternRequired_1 = __importDefault(__nccwpck_require__(4234));
|
|
1290
|
+
const prohibited_1 = __importDefault(__nccwpck_require__(4348));
|
|
1291
|
+
const deepProperties_1 = __importDefault(__nccwpck_require__(2409));
|
|
1292
|
+
const deepRequired_1 = __importDefault(__nccwpck_require__(1819));
|
|
1293
|
+
const dynamicDefaults_1 = __importDefault(__nccwpck_require__(9598));
|
|
1294
|
+
const select_1 = __importDefault(__nccwpck_require__(3994));
|
|
1295
1295
|
// TODO type
|
|
1296
1296
|
const ajvKeywords = {
|
|
1297
1297
|
typeof: typeof_1.default,
|
|
@@ -1317,7 +1317,7 @@ module.exports = ajvKeywords;
|
|
|
1317
1317
|
|
|
1318
1318
|
/***/ }),
|
|
1319
1319
|
|
|
1320
|
-
/***/
|
|
1320
|
+
/***/ 7422:
|
|
1321
1321
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1322
1322
|
|
|
1323
1323
|
"use strict";
|
|
@@ -1326,7 +1326,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1326
1326
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1327
1327
|
};
|
|
1328
1328
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1329
|
-
const instanceof_1 = __importDefault(__nccwpck_require__(
|
|
1329
|
+
const instanceof_1 = __importDefault(__nccwpck_require__(687));
|
|
1330
1330
|
const instanceofPlugin = (ajv) => ajv.addKeyword((0, instanceof_1.default)());
|
|
1331
1331
|
exports["default"] = instanceofPlugin;
|
|
1332
1332
|
module.exports = instanceofPlugin;
|
|
@@ -1334,7 +1334,7 @@ module.exports = instanceofPlugin;
|
|
|
1334
1334
|
|
|
1335
1335
|
/***/ }),
|
|
1336
1336
|
|
|
1337
|
-
/***/
|
|
1337
|
+
/***/ 4178:
|
|
1338
1338
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1339
1339
|
|
|
1340
1340
|
"use strict";
|
|
@@ -1343,7 +1343,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1343
1343
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1344
1344
|
};
|
|
1345
1345
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1346
|
-
const oneRequired_1 = __importDefault(__nccwpck_require__(
|
|
1346
|
+
const oneRequired_1 = __importDefault(__nccwpck_require__(4810));
|
|
1347
1347
|
const oneRequired = (ajv) => ajv.addKeyword((0, oneRequired_1.default)());
|
|
1348
1348
|
exports["default"] = oneRequired;
|
|
1349
1349
|
module.exports = oneRequired;
|
|
@@ -1351,7 +1351,7 @@ module.exports = oneRequired;
|
|
|
1351
1351
|
|
|
1352
1352
|
/***/ }),
|
|
1353
1353
|
|
|
1354
|
-
/***/
|
|
1354
|
+
/***/ 4234:
|
|
1355
1355
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1356
1356
|
|
|
1357
1357
|
"use strict";
|
|
@@ -1360,7 +1360,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1360
1360
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1361
1361
|
};
|
|
1362
1362
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1363
|
-
const patternRequired_1 = __importDefault(__nccwpck_require__(
|
|
1363
|
+
const patternRequired_1 = __importDefault(__nccwpck_require__(2638));
|
|
1364
1364
|
const patternRequired = (ajv) => ajv.addKeyword((0, patternRequired_1.default)());
|
|
1365
1365
|
exports["default"] = patternRequired;
|
|
1366
1366
|
module.exports = patternRequired;
|
|
@@ -1368,7 +1368,7 @@ module.exports = patternRequired;
|
|
|
1368
1368
|
|
|
1369
1369
|
/***/ }),
|
|
1370
1370
|
|
|
1371
|
-
/***/
|
|
1371
|
+
/***/ 4348:
|
|
1372
1372
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1373
1373
|
|
|
1374
1374
|
"use strict";
|
|
@@ -1377,7 +1377,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1377
1377
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1378
1378
|
};
|
|
1379
1379
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1380
|
-
const prohibited_1 = __importDefault(__nccwpck_require__(
|
|
1380
|
+
const prohibited_1 = __importDefault(__nccwpck_require__(174));
|
|
1381
1381
|
const prohibited = (ajv) => ajv.addKeyword((0, prohibited_1.default)());
|
|
1382
1382
|
exports["default"] = prohibited;
|
|
1383
1383
|
module.exports = prohibited;
|
|
@@ -1385,7 +1385,7 @@ module.exports = prohibited;
|
|
|
1385
1385
|
|
|
1386
1386
|
/***/ }),
|
|
1387
1387
|
|
|
1388
|
-
/***/
|
|
1388
|
+
/***/ 6916:
|
|
1389
1389
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1390
1390
|
|
|
1391
1391
|
"use strict";
|
|
@@ -1394,7 +1394,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1394
1394
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1395
1395
|
};
|
|
1396
1396
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1397
|
-
const range_1 = __importDefault(__nccwpck_require__(
|
|
1397
|
+
const range_1 = __importDefault(__nccwpck_require__(5108));
|
|
1398
1398
|
const range = (ajv) => ajv.addKeyword((0, range_1.default)());
|
|
1399
1399
|
exports["default"] = range;
|
|
1400
1400
|
module.exports = range;
|
|
@@ -1402,7 +1402,7 @@ module.exports = range;
|
|
|
1402
1402
|
|
|
1403
1403
|
/***/ }),
|
|
1404
1404
|
|
|
1405
|
-
/***/
|
|
1405
|
+
/***/ 1491:
|
|
1406
1406
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1407
1407
|
|
|
1408
1408
|
"use strict";
|
|
@@ -1411,7 +1411,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1411
1411
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1412
1412
|
};
|
|
1413
1413
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1414
|
-
const regexp_1 = __importDefault(__nccwpck_require__(
|
|
1414
|
+
const regexp_1 = __importDefault(__nccwpck_require__(2833));
|
|
1415
1415
|
const regexp = (ajv) => ajv.addKeyword((0, regexp_1.default)());
|
|
1416
1416
|
exports["default"] = regexp;
|
|
1417
1417
|
module.exports = regexp;
|
|
@@ -1419,7 +1419,7 @@ module.exports = regexp;
|
|
|
1419
1419
|
|
|
1420
1420
|
/***/ }),
|
|
1421
1421
|
|
|
1422
|
-
/***/
|
|
1422
|
+
/***/ 3994:
|
|
1423
1423
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1424
1424
|
|
|
1425
1425
|
"use strict";
|
|
@@ -1428,7 +1428,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1428
1428
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1429
1429
|
};
|
|
1430
1430
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1431
|
-
const select_1 = __importDefault(__nccwpck_require__(
|
|
1431
|
+
const select_1 = __importDefault(__nccwpck_require__(8096));
|
|
1432
1432
|
const select = (ajv, opts) => {
|
|
1433
1433
|
(0, select_1.default)(opts).forEach((d) => ajv.addKeyword(d));
|
|
1434
1434
|
return ajv;
|
|
@@ -1439,7 +1439,7 @@ module.exports = select;
|
|
|
1439
1439
|
|
|
1440
1440
|
/***/ }),
|
|
1441
1441
|
|
|
1442
|
-
/***/
|
|
1442
|
+
/***/ 9:
|
|
1443
1443
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1444
1444
|
|
|
1445
1445
|
"use strict";
|
|
@@ -1448,7 +1448,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1448
1448
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1449
1449
|
};
|
|
1450
1450
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1451
|
-
const transform_1 = __importDefault(__nccwpck_require__(
|
|
1451
|
+
const transform_1 = __importDefault(__nccwpck_require__(6705));
|
|
1452
1452
|
const transform = (ajv) => ajv.addKeyword((0, transform_1.default)());
|
|
1453
1453
|
exports["default"] = transform;
|
|
1454
1454
|
module.exports = transform;
|
|
@@ -1456,7 +1456,7 @@ module.exports = transform;
|
|
|
1456
1456
|
|
|
1457
1457
|
/***/ }),
|
|
1458
1458
|
|
|
1459
|
-
/***/
|
|
1459
|
+
/***/ 7650:
|
|
1460
1460
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1461
1461
|
|
|
1462
1462
|
"use strict";
|
|
@@ -1465,7 +1465,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1465
1465
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1466
1466
|
};
|
|
1467
1467
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1468
|
-
const typeof_1 = __importDefault(__nccwpck_require__(
|
|
1468
|
+
const typeof_1 = __importDefault(__nccwpck_require__(6040));
|
|
1469
1469
|
const typeofPlugin = (ajv) => ajv.addKeyword((0, typeof_1.default)());
|
|
1470
1470
|
exports["default"] = typeofPlugin;
|
|
1471
1471
|
module.exports = typeofPlugin;
|
|
@@ -1473,7 +1473,7 @@ module.exports = typeofPlugin;
|
|
|
1473
1473
|
|
|
1474
1474
|
/***/ }),
|
|
1475
1475
|
|
|
1476
|
-
/***/
|
|
1476
|
+
/***/ 9899:
|
|
1477
1477
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1478
1478
|
|
|
1479
1479
|
"use strict";
|
|
@@ -1482,7 +1482,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
1482
1482
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1483
1483
|
};
|
|
1484
1484
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1485
|
-
const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(
|
|
1485
|
+
const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(8475));
|
|
1486
1486
|
const uniqueItemProperties = (ajv) => ajv.addKeyword((0, uniqueItemProperties_1.default)());
|
|
1487
1487
|
exports["default"] = uniqueItemProperties;
|
|
1488
1488
|
module.exports = uniqueItemProperties;
|
|
@@ -1490,17 +1490,17 @@ module.exports = uniqueItemProperties;
|
|
|
1490
1490
|
|
|
1491
1491
|
/***/ }),
|
|
1492
1492
|
|
|
1493
|
-
/***/
|
|
1493
|
+
/***/ 309:
|
|
1494
1494
|
/***/ (function(module, exports, __nccwpck_require__) {
|
|
1495
1495
|
|
|
1496
1496
|
"use strict";
|
|
1497
1497
|
|
|
1498
1498
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1499
1499
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
1500
|
-
const core_1 = __nccwpck_require__(
|
|
1501
|
-
const draft7_1 = __nccwpck_require__(
|
|
1502
|
-
const discriminator_1 = __nccwpck_require__(
|
|
1503
|
-
const draft7MetaSchema = __nccwpck_require__(
|
|
1500
|
+
const core_1 = __nccwpck_require__(3710);
|
|
1501
|
+
const draft7_1 = __nccwpck_require__(6218);
|
|
1502
|
+
const discriminator_1 = __nccwpck_require__(3626);
|
|
1503
|
+
const draft7MetaSchema = __nccwpck_require__(6828);
|
|
1504
1504
|
const META_SUPPORT_DATA = ["/properties"];
|
|
1505
1505
|
const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema";
|
|
1506
1506
|
class Ajv extends core_1.default {
|
|
@@ -1528,9 +1528,9 @@ class Ajv extends core_1.default {
|
|
|
1528
1528
|
module.exports = exports = Ajv;
|
|
1529
1529
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1530
1530
|
exports["default"] = Ajv;
|
|
1531
|
-
var validate_1 = __nccwpck_require__(
|
|
1531
|
+
var validate_1 = __nccwpck_require__(9850);
|
|
1532
1532
|
Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
|
|
1533
|
-
var codegen_1 = __nccwpck_require__(
|
|
1533
|
+
var codegen_1 = __nccwpck_require__(3123);
|
|
1534
1534
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
1535
1535
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
1536
1536
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
@@ -1541,13 +1541,13 @@ Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function ()
|
|
|
1541
1541
|
|
|
1542
1542
|
/***/ }),
|
|
1543
1543
|
|
|
1544
|
-
/***/
|
|
1544
|
+
/***/ 5618:
|
|
1545
1545
|
/***/ (function(__unused_webpack_module, exports) {
|
|
1546
1546
|
|
|
1547
1547
|
"use strict";
|
|
1548
1548
|
|
|
1549
1549
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1550
|
-
exports.regexpCode = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
1550
|
+
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
1551
1551
|
class _CodeOrName {
|
|
1552
1552
|
}
|
|
1553
1553
|
exports._CodeOrName = _CodeOrName;
|
|
@@ -1687,6 +1687,14 @@ function getProperty(key) {
|
|
|
1687
1687
|
return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`;
|
|
1688
1688
|
}
|
|
1689
1689
|
exports.getProperty = getProperty;
|
|
1690
|
+
//Does best effort to format the name properly
|
|
1691
|
+
function getEsmExportName(key) {
|
|
1692
|
+
if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
|
|
1693
|
+
return new _Code(`${key}`);
|
|
1694
|
+
}
|
|
1695
|
+
throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
|
|
1696
|
+
}
|
|
1697
|
+
exports.getEsmExportName = getEsmExportName;
|
|
1690
1698
|
function regexpCode(rx) {
|
|
1691
1699
|
return new _Code(rx.toString());
|
|
1692
1700
|
}
|
|
@@ -1695,16 +1703,16 @@ exports.regexpCode = regexpCode;
|
|
|
1695
1703
|
|
|
1696
1704
|
/***/ }),
|
|
1697
1705
|
|
|
1698
|
-
/***/
|
|
1706
|
+
/***/ 3123:
|
|
1699
1707
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
1700
1708
|
|
|
1701
1709
|
"use strict";
|
|
1702
1710
|
|
|
1703
1711
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1704
1712
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
1705
|
-
const code_1 = __nccwpck_require__(
|
|
1706
|
-
const scope_1 = __nccwpck_require__(
|
|
1707
|
-
var code_2 = __nccwpck_require__(
|
|
1713
|
+
const code_1 = __nccwpck_require__(5618);
|
|
1714
|
+
const scope_1 = __nccwpck_require__(4159);
|
|
1715
|
+
var code_2 = __nccwpck_require__(5618);
|
|
1708
1716
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return code_2._; } }));
|
|
1709
1717
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return code_2.str; } }));
|
|
1710
1718
|
Object.defineProperty(exports, "strConcat", ({ enumerable: true, get: function () { return code_2.strConcat; } }));
|
|
@@ -1713,7 +1721,7 @@ Object.defineProperty(exports, "getProperty", ({ enumerable: true, get: function
|
|
|
1713
1721
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return code_2.stringify; } }));
|
|
1714
1722
|
Object.defineProperty(exports, "regexpCode", ({ enumerable: true, get: function () { return code_2.regexpCode; } }));
|
|
1715
1723
|
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return code_2.Name; } }));
|
|
1716
|
-
var scope_2 = __nccwpck_require__(
|
|
1724
|
+
var scope_2 = __nccwpck_require__(4159);
|
|
1717
1725
|
Object.defineProperty(exports, "Scope", ({ enumerable: true, get: function () { return scope_2.Scope; } }));
|
|
1718
1726
|
Object.defineProperty(exports, "ValueScope", ({ enumerable: true, get: function () { return scope_2.ValueScope; } }));
|
|
1719
1727
|
Object.defineProperty(exports, "ValueScopeName", ({ enumerable: true, get: function () { return scope_2.ValueScopeName; } }));
|
|
@@ -2399,14 +2407,14 @@ function par(x) {
|
|
|
2399
2407
|
|
|
2400
2408
|
/***/ }),
|
|
2401
2409
|
|
|
2402
|
-
/***/
|
|
2410
|
+
/***/ 4159:
|
|
2403
2411
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2404
2412
|
|
|
2405
2413
|
"use strict";
|
|
2406
2414
|
|
|
2407
2415
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2408
2416
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
2409
|
-
const code_1 = __nccwpck_require__(
|
|
2417
|
+
const code_1 = __nccwpck_require__(5618);
|
|
2410
2418
|
class ValueError extends Error {
|
|
2411
2419
|
constructor(name) {
|
|
2412
2420
|
super(`CodeGen: "code" for ${name} not defined`);
|
|
@@ -2549,16 +2557,16 @@ exports.ValueScope = ValueScope;
|
|
|
2549
2557
|
|
|
2550
2558
|
/***/ }),
|
|
2551
2559
|
|
|
2552
|
-
/***/
|
|
2560
|
+
/***/ 5560:
|
|
2553
2561
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2554
2562
|
|
|
2555
2563
|
"use strict";
|
|
2556
2564
|
|
|
2557
2565
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2558
2566
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
2559
|
-
const codegen_1 = __nccwpck_require__(
|
|
2560
|
-
const util_1 = __nccwpck_require__(
|
|
2561
|
-
const names_1 = __nccwpck_require__(
|
|
2567
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
2568
|
+
const util_1 = __nccwpck_require__(4802);
|
|
2569
|
+
const names_1 = __nccwpck_require__(2491);
|
|
2562
2570
|
exports.keywordError = {
|
|
2563
2571
|
message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`,
|
|
2564
2572
|
};
|
|
@@ -2679,20 +2687,19 @@ function extraErrorProps(cxt, { params, message }, keyValues) {
|
|
|
2679
2687
|
|
|
2680
2688
|
/***/ }),
|
|
2681
2689
|
|
|
2682
|
-
/***/
|
|
2690
|
+
/***/ 4852:
|
|
2683
2691
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2684
2692
|
|
|
2685
2693
|
"use strict";
|
|
2686
2694
|
|
|
2687
2695
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2688
2696
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
2689
|
-
const codegen_1 = __nccwpck_require__(
|
|
2690
|
-
const validation_error_1 = __nccwpck_require__(
|
|
2691
|
-
const names_1 = __nccwpck_require__(
|
|
2692
|
-
const resolve_1 = __nccwpck_require__(
|
|
2693
|
-
const util_1 = __nccwpck_require__(
|
|
2694
|
-
const validate_1 = __nccwpck_require__(
|
|
2695
|
-
const URI = __nccwpck_require__(2029);
|
|
2697
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
2698
|
+
const validation_error_1 = __nccwpck_require__(5911);
|
|
2699
|
+
const names_1 = __nccwpck_require__(2491);
|
|
2700
|
+
const resolve_1 = __nccwpck_require__(1034);
|
|
2701
|
+
const util_1 = __nccwpck_require__(4802);
|
|
2702
|
+
const validate_1 = __nccwpck_require__(9850);
|
|
2696
2703
|
class SchemaEnv {
|
|
2697
2704
|
constructor(env) {
|
|
2698
2705
|
var _a;
|
|
@@ -2721,7 +2728,7 @@ function compileSchema(sch) {
|
|
|
2721
2728
|
const _sch = getCompilingSchema.call(this, sch);
|
|
2722
2729
|
if (_sch)
|
|
2723
2730
|
return _sch;
|
|
2724
|
-
const rootId = (0, resolve_1.getFullPath)(sch.root.baseId); // TODO if getFullPath removed 1 tests fails
|
|
2731
|
+
const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId); // TODO if getFullPath removed 1 tests fails
|
|
2725
2732
|
const { es5, lines } = this.opts.code;
|
|
2726
2733
|
const { ownProperties } = this.opts;
|
|
2727
2734
|
const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
|
|
@@ -2812,7 +2819,7 @@ function compileSchema(sch) {
|
|
|
2812
2819
|
exports.compileSchema = compileSchema;
|
|
2813
2820
|
function resolveRef(root, baseId, ref) {
|
|
2814
2821
|
var _a;
|
|
2815
|
-
ref = (0, resolve_1.resolveUrl)(baseId, ref);
|
|
2822
|
+
ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);
|
|
2816
2823
|
const schOrFunc = root.refs[ref];
|
|
2817
2824
|
if (schOrFunc)
|
|
2818
2825
|
return schOrFunc;
|
|
@@ -2858,9 +2865,9 @@ ref // reference to resolve
|
|
|
2858
2865
|
function resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
|
|
2859
2866
|
ref // reference to resolve
|
|
2860
2867
|
) {
|
|
2861
|
-
const p =
|
|
2862
|
-
const refPath = (0, resolve_1._getFullPath)(p);
|
|
2863
|
-
let baseId = (0, resolve_1.getFullPath)(root.baseId);
|
|
2868
|
+
const p = this.opts.uriResolver.parse(ref);
|
|
2869
|
+
const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);
|
|
2870
|
+
let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, undefined);
|
|
2864
2871
|
// TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests
|
|
2865
2872
|
if (Object.keys(root.schema).length > 0 && refPath === baseId) {
|
|
2866
2873
|
return getJsonPointer.call(this, p, root);
|
|
@@ -2882,7 +2889,7 @@ ref // reference to resolve
|
|
|
2882
2889
|
const { schemaId } = this.opts;
|
|
2883
2890
|
const schId = schema[schemaId];
|
|
2884
2891
|
if (schId)
|
|
2885
|
-
baseId = (0, resolve_1.resolveUrl)(baseId, schId);
|
|
2892
|
+
baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
|
|
2886
2893
|
return new SchemaEnv({ schema, schemaId, root, baseId });
|
|
2887
2894
|
}
|
|
2888
2895
|
return getJsonPointer.call(this, p, schOrRef);
|
|
@@ -2909,12 +2916,12 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
|
|
|
2909
2916
|
// TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?
|
|
2910
2917
|
const schId = typeof schema === "object" && schema[this.opts.schemaId];
|
|
2911
2918
|
if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {
|
|
2912
|
-
baseId = (0, resolve_1.resolveUrl)(baseId, schId);
|
|
2919
|
+
baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
|
|
2913
2920
|
}
|
|
2914
2921
|
}
|
|
2915
2922
|
let env;
|
|
2916
2923
|
if (typeof schema != "boolean" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {
|
|
2917
|
-
const $ref = (0, resolve_1.resolveUrl)(baseId, schema.$ref);
|
|
2924
|
+
const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);
|
|
2918
2925
|
env = resolveSchema.call(this, root, $ref);
|
|
2919
2926
|
}
|
|
2920
2927
|
// even though resolution failed we need to return SchemaEnv to throw exception
|
|
@@ -2929,13 +2936,13 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
|
|
|
2929
2936
|
|
|
2930
2937
|
/***/ }),
|
|
2931
2938
|
|
|
2932
|
-
/***/
|
|
2939
|
+
/***/ 2491:
|
|
2933
2940
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2934
2941
|
|
|
2935
2942
|
"use strict";
|
|
2936
2943
|
|
|
2937
2944
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2938
|
-
const codegen_1 = __nccwpck_require__(
|
|
2945
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
2939
2946
|
const names = {
|
|
2940
2947
|
// validation function arguments
|
|
2941
2948
|
data: new codegen_1.Name("data"),
|
|
@@ -2964,18 +2971,18 @@ exports["default"] = names;
|
|
|
2964
2971
|
|
|
2965
2972
|
/***/ }),
|
|
2966
2973
|
|
|
2967
|
-
/***/
|
|
2974
|
+
/***/ 5477:
|
|
2968
2975
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2969
2976
|
|
|
2970
2977
|
"use strict";
|
|
2971
2978
|
|
|
2972
2979
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2973
|
-
const resolve_1 = __nccwpck_require__(
|
|
2980
|
+
const resolve_1 = __nccwpck_require__(1034);
|
|
2974
2981
|
class MissingRefError extends Error {
|
|
2975
|
-
constructor(baseId, ref, msg) {
|
|
2982
|
+
constructor(resolver, baseId, ref, msg) {
|
|
2976
2983
|
super(msg || `can't resolve reference ${ref} from id ${baseId}`);
|
|
2977
|
-
this.missingRef = (0, resolve_1.resolveUrl)(baseId, ref);
|
|
2978
|
-
this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(this.missingRef));
|
|
2984
|
+
this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
|
|
2985
|
+
this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
|
|
2979
2986
|
}
|
|
2980
2987
|
}
|
|
2981
2988
|
exports["default"] = MissingRefError;
|
|
@@ -2983,17 +2990,16 @@ exports["default"] = MissingRefError;
|
|
|
2983
2990
|
|
|
2984
2991
|
/***/ }),
|
|
2985
2992
|
|
|
2986
|
-
/***/
|
|
2993
|
+
/***/ 1034:
|
|
2987
2994
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
2988
2995
|
|
|
2989
2996
|
"use strict";
|
|
2990
2997
|
|
|
2991
2998
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2992
2999
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
2993
|
-
const util_1 = __nccwpck_require__(
|
|
2994
|
-
const equal = __nccwpck_require__(
|
|
2995
|
-
const traverse = __nccwpck_require__(
|
|
2996
|
-
const URI = __nccwpck_require__(2029);
|
|
3000
|
+
const util_1 = __nccwpck_require__(4802);
|
|
3001
|
+
const equal = __nccwpck_require__(7447);
|
|
3002
|
+
const traverse = __nccwpck_require__(7243);
|
|
2997
3003
|
// TODO refactor to use keyword definitions
|
|
2998
3004
|
const SIMPLE_INLINED = new Set([
|
|
2999
3005
|
"type",
|
|
@@ -3058,15 +3064,16 @@ function countKeys(schema) {
|
|
|
3058
3064
|
}
|
|
3059
3065
|
return count;
|
|
3060
3066
|
}
|
|
3061
|
-
function getFullPath(id = "", normalize) {
|
|
3067
|
+
function getFullPath(resolver, id = "", normalize) {
|
|
3062
3068
|
if (normalize !== false)
|
|
3063
3069
|
id = normalizeId(id);
|
|
3064
|
-
const p =
|
|
3065
|
-
return _getFullPath(p);
|
|
3070
|
+
const p = resolver.parse(id);
|
|
3071
|
+
return _getFullPath(resolver, p);
|
|
3066
3072
|
}
|
|
3067
3073
|
exports.getFullPath = getFullPath;
|
|
3068
|
-
function _getFullPath(p) {
|
|
3069
|
-
|
|
3074
|
+
function _getFullPath(resolver, p) {
|
|
3075
|
+
const serialized = resolver.serialize(p);
|
|
3076
|
+
return serialized.split("#")[0] + "#";
|
|
3070
3077
|
}
|
|
3071
3078
|
exports._getFullPath = _getFullPath;
|
|
3072
3079
|
const TRAILING_SLASH_HASH = /#\/?$/;
|
|
@@ -3074,19 +3081,19 @@ function normalizeId(id) {
|
|
|
3074
3081
|
return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
|
|
3075
3082
|
}
|
|
3076
3083
|
exports.normalizeId = normalizeId;
|
|
3077
|
-
function resolveUrl(baseId, id) {
|
|
3084
|
+
function resolveUrl(resolver, baseId, id) {
|
|
3078
3085
|
id = normalizeId(id);
|
|
3079
|
-
return
|
|
3086
|
+
return resolver.resolve(baseId, id);
|
|
3080
3087
|
}
|
|
3081
3088
|
exports.resolveUrl = resolveUrl;
|
|
3082
3089
|
const ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
|
|
3083
3090
|
function getSchemaRefs(schema, baseId) {
|
|
3084
3091
|
if (typeof schema == "boolean")
|
|
3085
3092
|
return {};
|
|
3086
|
-
const { schemaId } = this.opts;
|
|
3093
|
+
const { schemaId, uriResolver } = this.opts;
|
|
3087
3094
|
const schId = normalizeId(schema[schemaId] || baseId);
|
|
3088
3095
|
const baseIds = { "": schId };
|
|
3089
|
-
const pathPrefix = getFullPath(schId, false);
|
|
3096
|
+
const pathPrefix = getFullPath(uriResolver, schId, false);
|
|
3090
3097
|
const localRefs = {};
|
|
3091
3098
|
const schemaRefs = new Set();
|
|
3092
3099
|
traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
|
|
@@ -3100,7 +3107,9 @@ function getSchemaRefs(schema, baseId) {
|
|
|
3100
3107
|
addAnchor.call(this, sch.$dynamicAnchor);
|
|
3101
3108
|
baseIds[jsonPtr] = baseId;
|
|
3102
3109
|
function addRef(ref) {
|
|
3103
|
-
|
|
3110
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
3111
|
+
const _resolve = this.opts.uriResolver.resolve;
|
|
3112
|
+
ref = normalizeId(baseId ? _resolve(baseId, ref) : ref);
|
|
3104
3113
|
if (schemaRefs.has(ref))
|
|
3105
3114
|
throw ambiguos(ref);
|
|
3106
3115
|
schemaRefs.add(ref);
|
|
@@ -3143,7 +3152,7 @@ exports.getSchemaRefs = getSchemaRefs;
|
|
|
3143
3152
|
|
|
3144
3153
|
/***/ }),
|
|
3145
3154
|
|
|
3146
|
-
/***/
|
|
3155
|
+
/***/ 2199:
|
|
3147
3156
|
/***/ (function(__unused_webpack_module, exports) {
|
|
3148
3157
|
|
|
3149
3158
|
"use strict";
|
|
@@ -3176,15 +3185,15 @@ exports.getRules = getRules;
|
|
|
3176
3185
|
|
|
3177
3186
|
/***/ }),
|
|
3178
3187
|
|
|
3179
|
-
/***/
|
|
3188
|
+
/***/ 4802:
|
|
3180
3189
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
3181
3190
|
|
|
3182
3191
|
"use strict";
|
|
3183
3192
|
|
|
3184
3193
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3185
3194
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
3186
|
-
const codegen_1 = __nccwpck_require__(
|
|
3187
|
-
const code_1 = __nccwpck_require__(
|
|
3195
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
3196
|
+
const code_1 = __nccwpck_require__(5618);
|
|
3188
3197
|
// TODO refactor to use Set
|
|
3189
3198
|
function toHash(arr) {
|
|
3190
3199
|
const hash = {};
|
|
@@ -3361,7 +3370,7 @@ exports.checkStrictMode = checkStrictMode;
|
|
|
3361
3370
|
|
|
3362
3371
|
/***/ }),
|
|
3363
3372
|
|
|
3364
|
-
/***/
|
|
3373
|
+
/***/ 7278:
|
|
3365
3374
|
/***/ (function(__unused_webpack_module, exports) {
|
|
3366
3375
|
|
|
3367
3376
|
"use strict";
|
|
@@ -3387,16 +3396,16 @@ exports.shouldUseRule = shouldUseRule;
|
|
|
3387
3396
|
|
|
3388
3397
|
/***/ }),
|
|
3389
3398
|
|
|
3390
|
-
/***/
|
|
3399
|
+
/***/ 8586:
|
|
3391
3400
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
3392
3401
|
|
|
3393
3402
|
"use strict";
|
|
3394
3403
|
|
|
3395
3404
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3396
3405
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
3397
|
-
const errors_1 = __nccwpck_require__(
|
|
3398
|
-
const codegen_1 = __nccwpck_require__(
|
|
3399
|
-
const names_1 = __nccwpck_require__(
|
|
3406
|
+
const errors_1 = __nccwpck_require__(5560);
|
|
3407
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
3408
|
+
const names_1 = __nccwpck_require__(2491);
|
|
3400
3409
|
const boolError = {
|
|
3401
3410
|
message: "boolean schema is false",
|
|
3402
3411
|
};
|
|
@@ -3444,18 +3453,18 @@ function falseSchemaError(it, overrideAllErrors) {
|
|
|
3444
3453
|
|
|
3445
3454
|
/***/ }),
|
|
3446
3455
|
|
|
3447
|
-
/***/
|
|
3456
|
+
/***/ 2404:
|
|
3448
3457
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
3449
3458
|
|
|
3450
3459
|
"use strict";
|
|
3451
3460
|
|
|
3452
3461
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3453
3462
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
3454
|
-
const rules_1 = __nccwpck_require__(
|
|
3455
|
-
const applicability_1 = __nccwpck_require__(
|
|
3456
|
-
const errors_1 = __nccwpck_require__(
|
|
3457
|
-
const codegen_1 = __nccwpck_require__(
|
|
3458
|
-
const util_1 = __nccwpck_require__(
|
|
3463
|
+
const rules_1 = __nccwpck_require__(2199);
|
|
3464
|
+
const applicability_1 = __nccwpck_require__(7278);
|
|
3465
|
+
const errors_1 = __nccwpck_require__(5560);
|
|
3466
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
3467
|
+
const util_1 = __nccwpck_require__(4802);
|
|
3459
3468
|
var DataType;
|
|
3460
3469
|
(function (DataType) {
|
|
3461
3470
|
DataType[DataType["Correct"] = 0] = "Correct";
|
|
@@ -3653,15 +3662,15 @@ function getTypeErrorContext(it) {
|
|
|
3653
3662
|
|
|
3654
3663
|
/***/ }),
|
|
3655
3664
|
|
|
3656
|
-
/***/
|
|
3665
|
+
/***/ 9055:
|
|
3657
3666
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
3658
3667
|
|
|
3659
3668
|
"use strict";
|
|
3660
3669
|
|
|
3661
3670
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3662
3671
|
exports.assignDefaults = void 0;
|
|
3663
|
-
const codegen_1 = __nccwpck_require__(
|
|
3664
|
-
const util_1 = __nccwpck_require__(
|
|
3672
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
3673
|
+
const util_1 = __nccwpck_require__(4802);
|
|
3665
3674
|
function assignDefaults(it, ty) {
|
|
3666
3675
|
const { properties, items } = it.schema;
|
|
3667
3676
|
if (ty === "object" && properties) {
|
|
@@ -3695,25 +3704,25 @@ function assignDefault(it, prop, defaultValue) {
|
|
|
3695
3704
|
|
|
3696
3705
|
/***/ }),
|
|
3697
3706
|
|
|
3698
|
-
/***/
|
|
3707
|
+
/***/ 9850:
|
|
3699
3708
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
3700
3709
|
|
|
3701
3710
|
"use strict";
|
|
3702
3711
|
|
|
3703
3712
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3704
3713
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
3705
|
-
const boolSchema_1 = __nccwpck_require__(
|
|
3706
|
-
const dataType_1 = __nccwpck_require__(
|
|
3707
|
-
const applicability_1 = __nccwpck_require__(
|
|
3708
|
-
const dataType_2 = __nccwpck_require__(
|
|
3709
|
-
const defaults_1 = __nccwpck_require__(
|
|
3710
|
-
const keyword_1 = __nccwpck_require__(
|
|
3711
|
-
const subschema_1 = __nccwpck_require__(
|
|
3712
|
-
const codegen_1 = __nccwpck_require__(
|
|
3713
|
-
const names_1 = __nccwpck_require__(
|
|
3714
|
-
const resolve_1 = __nccwpck_require__(
|
|
3715
|
-
const util_1 = __nccwpck_require__(
|
|
3716
|
-
const errors_1 = __nccwpck_require__(
|
|
3714
|
+
const boolSchema_1 = __nccwpck_require__(8586);
|
|
3715
|
+
const dataType_1 = __nccwpck_require__(2404);
|
|
3716
|
+
const applicability_1 = __nccwpck_require__(7278);
|
|
3717
|
+
const dataType_2 = __nccwpck_require__(2404);
|
|
3718
|
+
const defaults_1 = __nccwpck_require__(9055);
|
|
3719
|
+
const keyword_1 = __nccwpck_require__(6854);
|
|
3720
|
+
const subschema_1 = __nccwpck_require__(3676);
|
|
3721
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
3722
|
+
const names_1 = __nccwpck_require__(2491);
|
|
3723
|
+
const resolve_1 = __nccwpck_require__(1034);
|
|
3724
|
+
const util_1 = __nccwpck_require__(4802);
|
|
3725
|
+
const errors_1 = __nccwpck_require__(5560);
|
|
3717
3726
|
// schema compilation - generates validation function, subschemaCode (below) is used for subschemas
|
|
3718
3727
|
function validateFunctionCode(it) {
|
|
3719
3728
|
if (isSchemaObj(it)) {
|
|
@@ -3843,7 +3852,7 @@ function checkNoDefault(it) {
|
|
|
3843
3852
|
function updateContext(it) {
|
|
3844
3853
|
const schId = it.schema[it.opts.schemaId];
|
|
3845
3854
|
if (schId)
|
|
3846
|
-
it.baseId = (0, resolve_1.resolveUrl)(it.baseId, schId);
|
|
3855
|
+
it.baseId = (0, resolve_1.resolveUrl)(it.opts.uriResolver, it.baseId, schId);
|
|
3847
3856
|
}
|
|
3848
3857
|
function checkAsyncSchema(it) {
|
|
3849
3858
|
if (it.schema.$async && !it.schemaEnv.$async)
|
|
@@ -4212,17 +4221,17 @@ exports.getData = getData;
|
|
|
4212
4221
|
|
|
4213
4222
|
/***/ }),
|
|
4214
4223
|
|
|
4215
|
-
/***/
|
|
4224
|
+
/***/ 6854:
|
|
4216
4225
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
4217
4226
|
|
|
4218
4227
|
"use strict";
|
|
4219
4228
|
|
|
4220
4229
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4221
4230
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
4222
|
-
const codegen_1 = __nccwpck_require__(
|
|
4223
|
-
const names_1 = __nccwpck_require__(
|
|
4224
|
-
const code_1 = __nccwpck_require__(
|
|
4225
|
-
const errors_1 = __nccwpck_require__(
|
|
4231
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
4232
|
+
const names_1 = __nccwpck_require__(2491);
|
|
4233
|
+
const code_1 = __nccwpck_require__(8529);
|
|
4234
|
+
const errors_1 = __nccwpck_require__(5560);
|
|
4226
4235
|
function macroKeywordCode(cxt, def) {
|
|
4227
4236
|
const { gen, keyword, schema, parentSchema, it } = cxt;
|
|
4228
4237
|
const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
|
|
@@ -4343,15 +4352,15 @@ exports.validateKeywordUsage = validateKeywordUsage;
|
|
|
4343
4352
|
|
|
4344
4353
|
/***/ }),
|
|
4345
4354
|
|
|
4346
|
-
/***/
|
|
4355
|
+
/***/ 3676:
|
|
4347
4356
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
4348
4357
|
|
|
4349
4358
|
"use strict";
|
|
4350
4359
|
|
|
4351
4360
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4352
4361
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
4353
|
-
const codegen_1 = __nccwpck_require__(
|
|
4354
|
-
const util_1 = __nccwpck_require__(
|
|
4362
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
4363
|
+
const util_1 = __nccwpck_require__(4802);
|
|
4355
4364
|
function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
|
|
4356
4365
|
if (keyword !== undefined && schema !== undefined) {
|
|
4357
4366
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
@@ -4431,31 +4440,32 @@ exports.extendSubschemaMode = extendSubschemaMode;
|
|
|
4431
4440
|
|
|
4432
4441
|
/***/ }),
|
|
4433
4442
|
|
|
4434
|
-
/***/
|
|
4443
|
+
/***/ 3710:
|
|
4435
4444
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
4436
4445
|
|
|
4437
4446
|
"use strict";
|
|
4438
4447
|
|
|
4439
4448
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4440
4449
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
4441
|
-
var validate_1 = __nccwpck_require__(
|
|
4450
|
+
var validate_1 = __nccwpck_require__(9850);
|
|
4442
4451
|
Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
|
|
4443
|
-
var codegen_1 = __nccwpck_require__(
|
|
4452
|
+
var codegen_1 = __nccwpck_require__(3123);
|
|
4444
4453
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
4445
4454
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
4446
4455
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
4447
4456
|
Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
|
|
4448
4457
|
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
|
|
4449
4458
|
Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
|
|
4450
|
-
const validation_error_1 = __nccwpck_require__(
|
|
4451
|
-
const ref_error_1 = __nccwpck_require__(
|
|
4452
|
-
const rules_1 = __nccwpck_require__(
|
|
4453
|
-
const compile_1 = __nccwpck_require__(
|
|
4454
|
-
const codegen_2 = __nccwpck_require__(
|
|
4455
|
-
const resolve_1 = __nccwpck_require__(
|
|
4456
|
-
const dataType_1 = __nccwpck_require__(
|
|
4457
|
-
const util_1 = __nccwpck_require__(
|
|
4458
|
-
const $dataRefSchema = __nccwpck_require__(
|
|
4459
|
+
const validation_error_1 = __nccwpck_require__(5911);
|
|
4460
|
+
const ref_error_1 = __nccwpck_require__(5477);
|
|
4461
|
+
const rules_1 = __nccwpck_require__(2199);
|
|
4462
|
+
const compile_1 = __nccwpck_require__(4852);
|
|
4463
|
+
const codegen_2 = __nccwpck_require__(3123);
|
|
4464
|
+
const resolve_1 = __nccwpck_require__(1034);
|
|
4465
|
+
const dataType_1 = __nccwpck_require__(2404);
|
|
4466
|
+
const util_1 = __nccwpck_require__(4802);
|
|
4467
|
+
const $dataRefSchema = __nccwpck_require__(9235);
|
|
4468
|
+
const uri_1 = __nccwpck_require__(7995);
|
|
4459
4469
|
const defaultRegExp = (str, flags) => new RegExp(str, flags);
|
|
4460
4470
|
defaultRegExp.code = "new RegExp";
|
|
4461
4471
|
const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
|
|
@@ -4499,29 +4509,31 @@ const deprecatedOptions = {
|
|
|
4499
4509
|
const MAX_EXPRESSION = 200;
|
|
4500
4510
|
// eslint-disable-next-line complexity
|
|
4501
4511
|
function requiredOptions(o) {
|
|
4502
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
4512
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
4503
4513
|
const s = o.strict;
|
|
4504
4514
|
const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
|
|
4505
4515
|
const optimize = _optz === true || _optz === undefined ? 1 : _optz || 0;
|
|
4506
4516
|
const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
|
|
4517
|
+
const uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;
|
|
4507
4518
|
return {
|
|
4508
|
-
strictSchema: (
|
|
4509
|
-
strictNumbers: (
|
|
4510
|
-
strictTypes: (
|
|
4511
|
-
strictTuples: (
|
|
4512
|
-
strictRequired: (
|
|
4519
|
+
strictSchema: (_f = (_e = o.strictSchema) !== null && _e !== void 0 ? _e : s) !== null && _f !== void 0 ? _f : true,
|
|
4520
|
+
strictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s) !== null && _h !== void 0 ? _h : true,
|
|
4521
|
+
strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s) !== null && _k !== void 0 ? _k : "log",
|
|
4522
|
+
strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s) !== null && _m !== void 0 ? _m : "log",
|
|
4523
|
+
strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s) !== null && _p !== void 0 ? _p : false,
|
|
4513
4524
|
code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
|
|
4514
|
-
loopRequired: (
|
|
4515
|
-
loopEnum: (
|
|
4516
|
-
meta: (
|
|
4517
|
-
messages: (
|
|
4518
|
-
inlineRefs: (
|
|
4519
|
-
schemaId: (
|
|
4520
|
-
addUsedSchema: (
|
|
4521
|
-
validateSchema: (
|
|
4522
|
-
validateFormats: (
|
|
4523
|
-
unicodeRegExp: (
|
|
4524
|
-
int32range: (
|
|
4525
|
+
loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
|
|
4526
|
+
loopEnum: (_r = o.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
|
|
4527
|
+
meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
|
|
4528
|
+
messages: (_t = o.messages) !== null && _t !== void 0 ? _t : true,
|
|
4529
|
+
inlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,
|
|
4530
|
+
schemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : "$id",
|
|
4531
|
+
addUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,
|
|
4532
|
+
validateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,
|
|
4533
|
+
validateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,
|
|
4534
|
+
unicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,
|
|
4535
|
+
int32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,
|
|
4536
|
+
uriResolver: uriResolver,
|
|
4525
4537
|
};
|
|
4526
4538
|
}
|
|
4527
4539
|
class Ajv {
|
|
@@ -5052,21 +5064,21 @@ function schemaOrData(schema) {
|
|
|
5052
5064
|
|
|
5053
5065
|
/***/ }),
|
|
5054
5066
|
|
|
5055
|
-
/***/
|
|
5067
|
+
/***/ 6109:
|
|
5056
5068
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5057
5069
|
|
|
5058
5070
|
"use strict";
|
|
5059
5071
|
|
|
5060
5072
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5061
5073
|
// https://github.com/ajv-validator/ajv/issues/889
|
|
5062
|
-
const equal = __nccwpck_require__(
|
|
5074
|
+
const equal = __nccwpck_require__(7447);
|
|
5063
5075
|
equal.code = 'require("ajv/dist/runtime/equal").default';
|
|
5064
5076
|
exports["default"] = equal;
|
|
5065
5077
|
//# sourceMappingURL=equal.js.map
|
|
5066
5078
|
|
|
5067
5079
|
/***/ }),
|
|
5068
5080
|
|
|
5069
|
-
/***/
|
|
5081
|
+
/***/ 3882:
|
|
5070
5082
|
/***/ (function(__unused_webpack_module, exports) {
|
|
5071
5083
|
|
|
5072
5084
|
"use strict";
|
|
@@ -5097,7 +5109,20 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
|
5097
5109
|
|
|
5098
5110
|
/***/ }),
|
|
5099
5111
|
|
|
5100
|
-
/***/
|
|
5112
|
+
/***/ 7995:
|
|
5113
|
+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5114
|
+
|
|
5115
|
+
"use strict";
|
|
5116
|
+
|
|
5117
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5118
|
+
const uri = __nccwpck_require__(199);
|
|
5119
|
+
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
5120
|
+
exports["default"] = uri;
|
|
5121
|
+
//# sourceMappingURL=uri.js.map
|
|
5122
|
+
|
|
5123
|
+
/***/ }),
|
|
5124
|
+
|
|
5125
|
+
/***/ 5911:
|
|
5101
5126
|
/***/ (function(__unused_webpack_module, exports) {
|
|
5102
5127
|
|
|
5103
5128
|
"use strict";
|
|
@@ -5115,15 +5140,15 @@ exports["default"] = ValidationError;
|
|
|
5115
5140
|
|
|
5116
5141
|
/***/ }),
|
|
5117
5142
|
|
|
5118
|
-
/***/
|
|
5143
|
+
/***/ 9772:
|
|
5119
5144
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5120
5145
|
|
|
5121
5146
|
"use strict";
|
|
5122
5147
|
|
|
5123
5148
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5124
5149
|
exports.validateAdditionalItems = void 0;
|
|
5125
|
-
const codegen_1 = __nccwpck_require__(
|
|
5126
|
-
const util_1 = __nccwpck_require__(
|
|
5150
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5151
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5127
5152
|
const error = {
|
|
5128
5153
|
message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
|
|
5129
5154
|
params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
|
|
@@ -5171,16 +5196,16 @@ exports["default"] = def;
|
|
|
5171
5196
|
|
|
5172
5197
|
/***/ }),
|
|
5173
5198
|
|
|
5174
|
-
/***/
|
|
5199
|
+
/***/ 7947:
|
|
5175
5200
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5176
5201
|
|
|
5177
5202
|
"use strict";
|
|
5178
5203
|
|
|
5179
5204
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5180
|
-
const code_1 = __nccwpck_require__(
|
|
5181
|
-
const codegen_1 = __nccwpck_require__(
|
|
5182
|
-
const names_1 = __nccwpck_require__(
|
|
5183
|
-
const util_1 = __nccwpck_require__(
|
|
5205
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5206
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5207
|
+
const names_1 = __nccwpck_require__(2491);
|
|
5208
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5184
5209
|
const error = {
|
|
5185
5210
|
message: "must NOT have additional properties",
|
|
5186
5211
|
params: ({ params }) => (0, codegen_1._) `{additionalProperty: ${params.additionalProperty}}`,
|
|
@@ -5284,13 +5309,13 @@ exports["default"] = def;
|
|
|
5284
5309
|
|
|
5285
5310
|
/***/ }),
|
|
5286
5311
|
|
|
5287
|
-
/***/
|
|
5312
|
+
/***/ 813:
|
|
5288
5313
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5289
5314
|
|
|
5290
5315
|
"use strict";
|
|
5291
5316
|
|
|
5292
5317
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5293
|
-
const util_1 = __nccwpck_require__(
|
|
5318
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5294
5319
|
const def = {
|
|
5295
5320
|
keyword: "allOf",
|
|
5296
5321
|
schemaType: "array",
|
|
@@ -5314,13 +5339,13 @@ exports["default"] = def;
|
|
|
5314
5339
|
|
|
5315
5340
|
/***/ }),
|
|
5316
5341
|
|
|
5317
|
-
/***/
|
|
5342
|
+
/***/ 7806:
|
|
5318
5343
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5319
5344
|
|
|
5320
5345
|
"use strict";
|
|
5321
5346
|
|
|
5322
5347
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5323
|
-
const code_1 = __nccwpck_require__(
|
|
5348
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5324
5349
|
const def = {
|
|
5325
5350
|
keyword: "anyOf",
|
|
5326
5351
|
schemaType: "array",
|
|
@@ -5333,14 +5358,14 @@ exports["default"] = def;
|
|
|
5333
5358
|
|
|
5334
5359
|
/***/ }),
|
|
5335
5360
|
|
|
5336
|
-
/***/
|
|
5361
|
+
/***/ 4251:
|
|
5337
5362
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5338
5363
|
|
|
5339
5364
|
"use strict";
|
|
5340
5365
|
|
|
5341
5366
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5342
|
-
const codegen_1 = __nccwpck_require__(
|
|
5343
|
-
const util_1 = __nccwpck_require__(
|
|
5367
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5368
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5344
5369
|
const error = {
|
|
5345
5370
|
message: ({ params: { min, max } }) => max === undefined
|
|
5346
5371
|
? (0, codegen_1.str) `must contain at least ${min} valid item(s)`
|
|
@@ -5435,16 +5460,16 @@ exports["default"] = def;
|
|
|
5435
5460
|
|
|
5436
5461
|
/***/ }),
|
|
5437
5462
|
|
|
5438
|
-
/***/
|
|
5463
|
+
/***/ 3612:
|
|
5439
5464
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5440
5465
|
|
|
5441
5466
|
"use strict";
|
|
5442
5467
|
|
|
5443
5468
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5444
5469
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
5445
|
-
const codegen_1 = __nccwpck_require__(
|
|
5446
|
-
const util_1 = __nccwpck_require__(
|
|
5447
|
-
const code_1 = __nccwpck_require__(
|
|
5470
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5471
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5472
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5448
5473
|
exports.error = {
|
|
5449
5474
|
message: ({ params: { property, depsCount, deps } }) => {
|
|
5450
5475
|
const property_ies = depsCount === 1 ? "property" : "properties";
|
|
@@ -5527,14 +5552,14 @@ exports["default"] = def;
|
|
|
5527
5552
|
|
|
5528
5553
|
/***/ }),
|
|
5529
5554
|
|
|
5530
|
-
/***/
|
|
5555
|
+
/***/ 765:
|
|
5531
5556
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5532
5557
|
|
|
5533
5558
|
"use strict";
|
|
5534
5559
|
|
|
5535
5560
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5536
|
-
const codegen_1 = __nccwpck_require__(
|
|
5537
|
-
const util_1 = __nccwpck_require__(
|
|
5561
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5562
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5538
5563
|
const error = {
|
|
5539
5564
|
message: ({ params }) => (0, codegen_1.str) `must match "${params.ifClause}" schema`,
|
|
5540
5565
|
params: ({ params }) => (0, codegen_1._) `{failingKeyword: ${params.ifClause}}`,
|
|
@@ -5600,28 +5625,28 @@ exports["default"] = def;
|
|
|
5600
5625
|
|
|
5601
5626
|
/***/ }),
|
|
5602
5627
|
|
|
5603
|
-
/***/
|
|
5628
|
+
/***/ 3614:
|
|
5604
5629
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5605
5630
|
|
|
5606
5631
|
"use strict";
|
|
5607
5632
|
|
|
5608
5633
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5609
|
-
const additionalItems_1 = __nccwpck_require__(
|
|
5610
|
-
const prefixItems_1 = __nccwpck_require__(
|
|
5611
|
-
const items_1 = __nccwpck_require__(
|
|
5612
|
-
const items2020_1 = __nccwpck_require__(
|
|
5613
|
-
const contains_1 = __nccwpck_require__(
|
|
5614
|
-
const dependencies_1 = __nccwpck_require__(
|
|
5615
|
-
const propertyNames_1 = __nccwpck_require__(
|
|
5616
|
-
const additionalProperties_1 = __nccwpck_require__(
|
|
5617
|
-
const properties_1 = __nccwpck_require__(
|
|
5618
|
-
const patternProperties_1 = __nccwpck_require__(
|
|
5619
|
-
const not_1 = __nccwpck_require__(
|
|
5620
|
-
const anyOf_1 = __nccwpck_require__(
|
|
5621
|
-
const oneOf_1 = __nccwpck_require__(
|
|
5622
|
-
const allOf_1 = __nccwpck_require__(
|
|
5623
|
-
const if_1 = __nccwpck_require__(
|
|
5624
|
-
const thenElse_1 = __nccwpck_require__(
|
|
5634
|
+
const additionalItems_1 = __nccwpck_require__(9772);
|
|
5635
|
+
const prefixItems_1 = __nccwpck_require__(5082);
|
|
5636
|
+
const items_1 = __nccwpck_require__(9851);
|
|
5637
|
+
const items2020_1 = __nccwpck_require__(9976);
|
|
5638
|
+
const contains_1 = __nccwpck_require__(4251);
|
|
5639
|
+
const dependencies_1 = __nccwpck_require__(3612);
|
|
5640
|
+
const propertyNames_1 = __nccwpck_require__(4452);
|
|
5641
|
+
const additionalProperties_1 = __nccwpck_require__(7947);
|
|
5642
|
+
const properties_1 = __nccwpck_require__(5469);
|
|
5643
|
+
const patternProperties_1 = __nccwpck_require__(4566);
|
|
5644
|
+
const not_1 = __nccwpck_require__(6388);
|
|
5645
|
+
const anyOf_1 = __nccwpck_require__(7806);
|
|
5646
|
+
const oneOf_1 = __nccwpck_require__(7639);
|
|
5647
|
+
const allOf_1 = __nccwpck_require__(813);
|
|
5648
|
+
const if_1 = __nccwpck_require__(765);
|
|
5649
|
+
const thenElse_1 = __nccwpck_require__(4721);
|
|
5625
5650
|
function getApplicator(draft2020 = false) {
|
|
5626
5651
|
const applicator = [
|
|
5627
5652
|
// any
|
|
@@ -5651,16 +5676,16 @@ exports["default"] = getApplicator;
|
|
|
5651
5676
|
|
|
5652
5677
|
/***/ }),
|
|
5653
5678
|
|
|
5654
|
-
/***/
|
|
5679
|
+
/***/ 9851:
|
|
5655
5680
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5656
5681
|
|
|
5657
5682
|
"use strict";
|
|
5658
5683
|
|
|
5659
5684
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5660
5685
|
exports.validateTuple = void 0;
|
|
5661
|
-
const codegen_1 = __nccwpck_require__(
|
|
5662
|
-
const util_1 = __nccwpck_require__(
|
|
5663
|
-
const code_1 = __nccwpck_require__(
|
|
5686
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5687
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5688
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5664
5689
|
const def = {
|
|
5665
5690
|
keyword: "items",
|
|
5666
5691
|
type: "array",
|
|
@@ -5710,16 +5735,16 @@ exports["default"] = def;
|
|
|
5710
5735
|
|
|
5711
5736
|
/***/ }),
|
|
5712
5737
|
|
|
5713
|
-
/***/
|
|
5738
|
+
/***/ 9976:
|
|
5714
5739
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5715
5740
|
|
|
5716
5741
|
"use strict";
|
|
5717
5742
|
|
|
5718
5743
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5719
|
-
const codegen_1 = __nccwpck_require__(
|
|
5720
|
-
const util_1 = __nccwpck_require__(
|
|
5721
|
-
const code_1 = __nccwpck_require__(
|
|
5722
|
-
const additionalItems_1 = __nccwpck_require__(
|
|
5744
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5745
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5746
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5747
|
+
const additionalItems_1 = __nccwpck_require__(9772);
|
|
5723
5748
|
const error = {
|
|
5724
5749
|
message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
|
|
5725
5750
|
params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
|
|
@@ -5747,13 +5772,13 @@ exports["default"] = def;
|
|
|
5747
5772
|
|
|
5748
5773
|
/***/ }),
|
|
5749
5774
|
|
|
5750
|
-
/***/
|
|
5775
|
+
/***/ 6388:
|
|
5751
5776
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5752
5777
|
|
|
5753
5778
|
"use strict";
|
|
5754
5779
|
|
|
5755
5780
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5756
|
-
const util_1 = __nccwpck_require__(
|
|
5781
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5757
5782
|
const def = {
|
|
5758
5783
|
keyword: "not",
|
|
5759
5784
|
schemaType: ["object", "boolean"],
|
|
@@ -5780,14 +5805,14 @@ exports["default"] = def;
|
|
|
5780
5805
|
|
|
5781
5806
|
/***/ }),
|
|
5782
5807
|
|
|
5783
|
-
/***/
|
|
5808
|
+
/***/ 7639:
|
|
5784
5809
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5785
5810
|
|
|
5786
5811
|
"use strict";
|
|
5787
5812
|
|
|
5788
5813
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5789
|
-
const codegen_1 = __nccwpck_require__(
|
|
5790
|
-
const util_1 = __nccwpck_require__(
|
|
5814
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5815
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5791
5816
|
const error = {
|
|
5792
5817
|
message: "must match exactly one schema in oneOf",
|
|
5793
5818
|
params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,
|
|
@@ -5847,16 +5872,16 @@ exports["default"] = def;
|
|
|
5847
5872
|
|
|
5848
5873
|
/***/ }),
|
|
5849
5874
|
|
|
5850
|
-
/***/
|
|
5875
|
+
/***/ 4566:
|
|
5851
5876
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5852
5877
|
|
|
5853
5878
|
"use strict";
|
|
5854
5879
|
|
|
5855
5880
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5856
|
-
const code_1 = __nccwpck_require__(
|
|
5857
|
-
const codegen_1 = __nccwpck_require__(
|
|
5858
|
-
const util_1 = __nccwpck_require__(
|
|
5859
|
-
const util_2 = __nccwpck_require__(
|
|
5881
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5882
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
5883
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5884
|
+
const util_2 = __nccwpck_require__(4802);
|
|
5860
5885
|
const def = {
|
|
5861
5886
|
keyword: "patternProperties",
|
|
5862
5887
|
type: "object",
|
|
@@ -5929,13 +5954,13 @@ exports["default"] = def;
|
|
|
5929
5954
|
|
|
5930
5955
|
/***/ }),
|
|
5931
5956
|
|
|
5932
|
-
/***/
|
|
5957
|
+
/***/ 5082:
|
|
5933
5958
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5934
5959
|
|
|
5935
5960
|
"use strict";
|
|
5936
5961
|
|
|
5937
5962
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5938
|
-
const items_1 = __nccwpck_require__(
|
|
5963
|
+
const items_1 = __nccwpck_require__(9851);
|
|
5939
5964
|
const def = {
|
|
5940
5965
|
keyword: "prefixItems",
|
|
5941
5966
|
type: "array",
|
|
@@ -5948,16 +5973,16 @@ exports["default"] = def;
|
|
|
5948
5973
|
|
|
5949
5974
|
/***/ }),
|
|
5950
5975
|
|
|
5951
|
-
/***/
|
|
5976
|
+
/***/ 5469:
|
|
5952
5977
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
5953
5978
|
|
|
5954
5979
|
"use strict";
|
|
5955
5980
|
|
|
5956
5981
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5957
|
-
const validate_1 = __nccwpck_require__(
|
|
5958
|
-
const code_1 = __nccwpck_require__(
|
|
5959
|
-
const util_1 = __nccwpck_require__(
|
|
5960
|
-
const additionalProperties_1 = __nccwpck_require__(
|
|
5982
|
+
const validate_1 = __nccwpck_require__(9850);
|
|
5983
|
+
const code_1 = __nccwpck_require__(8529);
|
|
5984
|
+
const util_1 = __nccwpck_require__(4802);
|
|
5985
|
+
const additionalProperties_1 = __nccwpck_require__(7947);
|
|
5961
5986
|
const def = {
|
|
5962
5987
|
keyword: "properties",
|
|
5963
5988
|
type: "object",
|
|
@@ -6009,14 +6034,14 @@ exports["default"] = def;
|
|
|
6009
6034
|
|
|
6010
6035
|
/***/ }),
|
|
6011
6036
|
|
|
6012
|
-
/***/
|
|
6037
|
+
/***/ 4452:
|
|
6013
6038
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6014
6039
|
|
|
6015
6040
|
"use strict";
|
|
6016
6041
|
|
|
6017
6042
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6018
|
-
const codegen_1 = __nccwpck_require__(
|
|
6019
|
-
const util_1 = __nccwpck_require__(
|
|
6043
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6044
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6020
6045
|
const error = {
|
|
6021
6046
|
message: "property name must be valid",
|
|
6022
6047
|
params: ({ params }) => (0, codegen_1._) `{propertyName: ${params.propertyName}}`,
|
|
@@ -6054,13 +6079,13 @@ exports["default"] = def;
|
|
|
6054
6079
|
|
|
6055
6080
|
/***/ }),
|
|
6056
6081
|
|
|
6057
|
-
/***/
|
|
6082
|
+
/***/ 4721:
|
|
6058
6083
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6059
6084
|
|
|
6060
6085
|
"use strict";
|
|
6061
6086
|
|
|
6062
6087
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6063
|
-
const util_1 = __nccwpck_require__(
|
|
6088
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6064
6089
|
const def = {
|
|
6065
6090
|
keyword: ["then", "else"],
|
|
6066
6091
|
schemaType: ["object", "boolean"],
|
|
@@ -6074,17 +6099,17 @@ exports["default"] = def;
|
|
|
6074
6099
|
|
|
6075
6100
|
/***/ }),
|
|
6076
6101
|
|
|
6077
|
-
/***/
|
|
6102
|
+
/***/ 8529:
|
|
6078
6103
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6079
6104
|
|
|
6080
6105
|
"use strict";
|
|
6081
6106
|
|
|
6082
6107
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6083
6108
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
6084
|
-
const codegen_1 = __nccwpck_require__(
|
|
6085
|
-
const util_1 = __nccwpck_require__(
|
|
6086
|
-
const names_1 = __nccwpck_require__(
|
|
6087
|
-
const util_2 = __nccwpck_require__(
|
|
6109
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6110
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6111
|
+
const names_1 = __nccwpck_require__(2491);
|
|
6112
|
+
const util_2 = __nccwpck_require__(4802);
|
|
6088
6113
|
function checkReportMissingProp(cxt, prop) {
|
|
6089
6114
|
const { gen, data, it } = cxt;
|
|
6090
6115
|
gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
|
|
@@ -6212,7 +6237,7 @@ exports.validateUnion = validateUnion;
|
|
|
6212
6237
|
|
|
6213
6238
|
/***/ }),
|
|
6214
6239
|
|
|
6215
|
-
/***/
|
|
6240
|
+
/***/ 91:
|
|
6216
6241
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6217
6242
|
|
|
6218
6243
|
"use strict";
|
|
@@ -6229,14 +6254,14 @@ exports["default"] = def;
|
|
|
6229
6254
|
|
|
6230
6255
|
/***/ }),
|
|
6231
6256
|
|
|
6232
|
-
/***/
|
|
6257
|
+
/***/ 597:
|
|
6233
6258
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6234
6259
|
|
|
6235
6260
|
"use strict";
|
|
6236
6261
|
|
|
6237
6262
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6238
|
-
const id_1 = __nccwpck_require__(
|
|
6239
|
-
const ref_1 = __nccwpck_require__(
|
|
6263
|
+
const id_1 = __nccwpck_require__(91);
|
|
6264
|
+
const ref_1 = __nccwpck_require__(5473);
|
|
6240
6265
|
const core = [
|
|
6241
6266
|
"$schema",
|
|
6242
6267
|
"$id",
|
|
@@ -6252,19 +6277,19 @@ exports["default"] = core;
|
|
|
6252
6277
|
|
|
6253
6278
|
/***/ }),
|
|
6254
6279
|
|
|
6255
|
-
/***/
|
|
6280
|
+
/***/ 5473:
|
|
6256
6281
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6257
6282
|
|
|
6258
6283
|
"use strict";
|
|
6259
6284
|
|
|
6260
6285
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6261
6286
|
exports.callRef = exports.getValidate = void 0;
|
|
6262
|
-
const ref_error_1 = __nccwpck_require__(
|
|
6263
|
-
const code_1 = __nccwpck_require__(
|
|
6264
|
-
const codegen_1 = __nccwpck_require__(
|
|
6265
|
-
const names_1 = __nccwpck_require__(
|
|
6266
|
-
const compile_1 = __nccwpck_require__(
|
|
6267
|
-
const util_1 = __nccwpck_require__(
|
|
6287
|
+
const ref_error_1 = __nccwpck_require__(5477);
|
|
6288
|
+
const code_1 = __nccwpck_require__(8529);
|
|
6289
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6290
|
+
const names_1 = __nccwpck_require__(2491);
|
|
6291
|
+
const compile_1 = __nccwpck_require__(4852);
|
|
6292
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6268
6293
|
const def = {
|
|
6269
6294
|
keyword: "$ref",
|
|
6270
6295
|
schemaType: "string",
|
|
@@ -6276,7 +6301,7 @@ const def = {
|
|
|
6276
6301
|
return callRootRef();
|
|
6277
6302
|
const schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);
|
|
6278
6303
|
if (schOrEnv === undefined)
|
|
6279
|
-
throw new ref_error_1.default(baseId, $ref);
|
|
6304
|
+
throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
|
|
6280
6305
|
if (schOrEnv instanceof compile_1.SchemaEnv)
|
|
6281
6306
|
return callValidate(schOrEnv);
|
|
6282
6307
|
return inlineRefSchema(schOrEnv);
|
|
@@ -6381,14 +6406,16 @@ exports["default"] = def;
|
|
|
6381
6406
|
|
|
6382
6407
|
/***/ }),
|
|
6383
6408
|
|
|
6384
|
-
/***/
|
|
6409
|
+
/***/ 3626:
|
|
6385
6410
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6386
6411
|
|
|
6387
6412
|
"use strict";
|
|
6388
6413
|
|
|
6389
6414
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6390
|
-
const codegen_1 = __nccwpck_require__(
|
|
6391
|
-
const types_1 = __nccwpck_require__(
|
|
6415
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6416
|
+
const types_1 = __nccwpck_require__(4061);
|
|
6417
|
+
const compile_1 = __nccwpck_require__(4852);
|
|
6418
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6392
6419
|
const error = {
|
|
6393
6420
|
message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
|
|
6394
6421
|
? `tag "${tagName}" must be string`
|
|
@@ -6440,10 +6467,15 @@ const def = {
|
|
|
6440
6467
|
const topRequired = hasRequired(parentSchema);
|
|
6441
6468
|
let tagRequired = true;
|
|
6442
6469
|
for (let i = 0; i < oneOf.length; i++) {
|
|
6443
|
-
|
|
6444
|
-
|
|
6470
|
+
let sch = oneOf[i];
|
|
6471
|
+
if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
|
|
6472
|
+
sch = compile_1.resolveRef.call(it.self, it.schemaEnv, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
|
|
6473
|
+
if (sch instanceof compile_1.SchemaEnv)
|
|
6474
|
+
sch = sch.schema;
|
|
6475
|
+
}
|
|
6476
|
+
const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
|
|
6445
6477
|
if (typeof propSch != "object") {
|
|
6446
|
-
throw new Error(`discriminator: oneOf schemas must have "properties/${tagName}"`);
|
|
6478
|
+
throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
|
|
6447
6479
|
}
|
|
6448
6480
|
tagRequired = tagRequired && (topRequired || hasRequired(sch));
|
|
6449
6481
|
addMappings(propSch, i);
|
|
@@ -6481,7 +6513,7 @@ exports["default"] = def;
|
|
|
6481
6513
|
|
|
6482
6514
|
/***/ }),
|
|
6483
6515
|
|
|
6484
|
-
/***/
|
|
6516
|
+
/***/ 4061:
|
|
6485
6517
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6486
6518
|
|
|
6487
6519
|
"use strict";
|
|
@@ -6497,17 +6529,17 @@ var DiscrError;
|
|
|
6497
6529
|
|
|
6498
6530
|
/***/ }),
|
|
6499
6531
|
|
|
6500
|
-
/***/
|
|
6532
|
+
/***/ 6218:
|
|
6501
6533
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6502
6534
|
|
|
6503
6535
|
"use strict";
|
|
6504
6536
|
|
|
6505
6537
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6506
|
-
const core_1 = __nccwpck_require__(
|
|
6507
|
-
const validation_1 = __nccwpck_require__(
|
|
6508
|
-
const applicator_1 = __nccwpck_require__(
|
|
6509
|
-
const format_1 = __nccwpck_require__(
|
|
6510
|
-
const metadata_1 = __nccwpck_require__(
|
|
6538
|
+
const core_1 = __nccwpck_require__(597);
|
|
6539
|
+
const validation_1 = __nccwpck_require__(1556);
|
|
6540
|
+
const applicator_1 = __nccwpck_require__(3614);
|
|
6541
|
+
const format_1 = __nccwpck_require__(5706);
|
|
6542
|
+
const metadata_1 = __nccwpck_require__(342);
|
|
6511
6543
|
const draft7Vocabularies = [
|
|
6512
6544
|
core_1.default,
|
|
6513
6545
|
validation_1.default,
|
|
@@ -6521,13 +6553,13 @@ exports["default"] = draft7Vocabularies;
|
|
|
6521
6553
|
|
|
6522
6554
|
/***/ }),
|
|
6523
6555
|
|
|
6524
|
-
/***/
|
|
6556
|
+
/***/ 4371:
|
|
6525
6557
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6526
6558
|
|
|
6527
6559
|
"use strict";
|
|
6528
6560
|
|
|
6529
6561
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6530
|
-
const codegen_1 = __nccwpck_require__(
|
|
6562
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6531
6563
|
const error = {
|
|
6532
6564
|
message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`,
|
|
6533
6565
|
params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`,
|
|
@@ -6620,20 +6652,20 @@ exports["default"] = def;
|
|
|
6620
6652
|
|
|
6621
6653
|
/***/ }),
|
|
6622
6654
|
|
|
6623
|
-
/***/
|
|
6655
|
+
/***/ 5706:
|
|
6624
6656
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6625
6657
|
|
|
6626
6658
|
"use strict";
|
|
6627
6659
|
|
|
6628
6660
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6629
|
-
const format_1 = __nccwpck_require__(
|
|
6661
|
+
const format_1 = __nccwpck_require__(4371);
|
|
6630
6662
|
const format = [format_1.default];
|
|
6631
6663
|
exports["default"] = format;
|
|
6632
6664
|
//# sourceMappingURL=index.js.map
|
|
6633
6665
|
|
|
6634
6666
|
/***/ }),
|
|
6635
6667
|
|
|
6636
|
-
/***/
|
|
6668
|
+
/***/ 342:
|
|
6637
6669
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6638
6670
|
|
|
6639
6671
|
"use strict";
|
|
@@ -6658,15 +6690,15 @@ exports.contentVocabulary = [
|
|
|
6658
6690
|
|
|
6659
6691
|
/***/ }),
|
|
6660
6692
|
|
|
6661
|
-
/***/
|
|
6693
|
+
/***/ 9314:
|
|
6662
6694
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6663
6695
|
|
|
6664
6696
|
"use strict";
|
|
6665
6697
|
|
|
6666
6698
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6667
|
-
const codegen_1 = __nccwpck_require__(
|
|
6668
|
-
const util_1 = __nccwpck_require__(
|
|
6669
|
-
const equal_1 = __nccwpck_require__(
|
|
6699
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6700
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6701
|
+
const equal_1 = __nccwpck_require__(6109);
|
|
6670
6702
|
const error = {
|
|
6671
6703
|
message: "must be equal to constant",
|
|
6672
6704
|
params: ({ schemaCode }) => (0, codegen_1._) `{allowedValue: ${schemaCode}}`,
|
|
@@ -6690,15 +6722,15 @@ exports["default"] = def;
|
|
|
6690
6722
|
|
|
6691
6723
|
/***/ }),
|
|
6692
6724
|
|
|
6693
|
-
/***/
|
|
6725
|
+
/***/ 7167:
|
|
6694
6726
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6695
6727
|
|
|
6696
6728
|
"use strict";
|
|
6697
6729
|
|
|
6698
6730
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6699
|
-
const codegen_1 = __nccwpck_require__(
|
|
6700
|
-
const util_1 = __nccwpck_require__(
|
|
6701
|
-
const equal_1 = __nccwpck_require__(
|
|
6731
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6732
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6733
|
+
const equal_1 = __nccwpck_require__(6109);
|
|
6702
6734
|
const error = {
|
|
6703
6735
|
message: "must be equal to one of the allowed values",
|
|
6704
6736
|
params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,
|
|
@@ -6744,22 +6776,22 @@ exports["default"] = def;
|
|
|
6744
6776
|
|
|
6745
6777
|
/***/ }),
|
|
6746
6778
|
|
|
6747
|
-
/***/
|
|
6779
|
+
/***/ 1556:
|
|
6748
6780
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6749
6781
|
|
|
6750
6782
|
"use strict";
|
|
6751
6783
|
|
|
6752
6784
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6753
|
-
const limitNumber_1 = __nccwpck_require__(
|
|
6754
|
-
const multipleOf_1 = __nccwpck_require__(
|
|
6755
|
-
const limitLength_1 = __nccwpck_require__(
|
|
6756
|
-
const pattern_1 = __nccwpck_require__(
|
|
6757
|
-
const limitProperties_1 = __nccwpck_require__(
|
|
6758
|
-
const required_1 = __nccwpck_require__(
|
|
6759
|
-
const limitItems_1 = __nccwpck_require__(
|
|
6760
|
-
const uniqueItems_1 = __nccwpck_require__(
|
|
6761
|
-
const const_1 = __nccwpck_require__(
|
|
6762
|
-
const enum_1 = __nccwpck_require__(
|
|
6785
|
+
const limitNumber_1 = __nccwpck_require__(5188);
|
|
6786
|
+
const multipleOf_1 = __nccwpck_require__(6488);
|
|
6787
|
+
const limitLength_1 = __nccwpck_require__(5176);
|
|
6788
|
+
const pattern_1 = __nccwpck_require__(5146);
|
|
6789
|
+
const limitProperties_1 = __nccwpck_require__(9327);
|
|
6790
|
+
const required_1 = __nccwpck_require__(6646);
|
|
6791
|
+
const limitItems_1 = __nccwpck_require__(4545);
|
|
6792
|
+
const uniqueItems_1 = __nccwpck_require__(3735);
|
|
6793
|
+
const const_1 = __nccwpck_require__(9314);
|
|
6794
|
+
const enum_1 = __nccwpck_require__(7167);
|
|
6763
6795
|
const validation = [
|
|
6764
6796
|
// number
|
|
6765
6797
|
limitNumber_1.default,
|
|
@@ -6784,13 +6816,13 @@ exports["default"] = validation;
|
|
|
6784
6816
|
|
|
6785
6817
|
/***/ }),
|
|
6786
6818
|
|
|
6787
|
-
/***/
|
|
6819
|
+
/***/ 4545:
|
|
6788
6820
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6789
6821
|
|
|
6790
6822
|
"use strict";
|
|
6791
6823
|
|
|
6792
6824
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6793
|
-
const codegen_1 = __nccwpck_require__(
|
|
6825
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6794
6826
|
const error = {
|
|
6795
6827
|
message({ keyword, schemaCode }) {
|
|
6796
6828
|
const comp = keyword === "maxItems" ? "more" : "fewer";
|
|
@@ -6815,15 +6847,15 @@ exports["default"] = def;
|
|
|
6815
6847
|
|
|
6816
6848
|
/***/ }),
|
|
6817
6849
|
|
|
6818
|
-
/***/
|
|
6850
|
+
/***/ 5176:
|
|
6819
6851
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6820
6852
|
|
|
6821
6853
|
"use strict";
|
|
6822
6854
|
|
|
6823
6855
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6824
|
-
const codegen_1 = __nccwpck_require__(
|
|
6825
|
-
const util_1 = __nccwpck_require__(
|
|
6826
|
-
const ucs2length_1 = __nccwpck_require__(
|
|
6856
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6857
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6858
|
+
const ucs2length_1 = __nccwpck_require__(3882);
|
|
6827
6859
|
const error = {
|
|
6828
6860
|
message({ keyword, schemaCode }) {
|
|
6829
6861
|
const comp = keyword === "maxLength" ? "more" : "fewer";
|
|
@@ -6849,13 +6881,13 @@ exports["default"] = def;
|
|
|
6849
6881
|
|
|
6850
6882
|
/***/ }),
|
|
6851
6883
|
|
|
6852
|
-
/***/
|
|
6884
|
+
/***/ 5188:
|
|
6853
6885
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6854
6886
|
|
|
6855
6887
|
"use strict";
|
|
6856
6888
|
|
|
6857
6889
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6858
|
-
const codegen_1 = __nccwpck_require__(
|
|
6890
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6859
6891
|
const ops = codegen_1.operators;
|
|
6860
6892
|
const KWDs = {
|
|
6861
6893
|
maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
|
|
@@ -6883,13 +6915,13 @@ exports["default"] = def;
|
|
|
6883
6915
|
|
|
6884
6916
|
/***/ }),
|
|
6885
6917
|
|
|
6886
|
-
/***/
|
|
6918
|
+
/***/ 9327:
|
|
6887
6919
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6888
6920
|
|
|
6889
6921
|
"use strict";
|
|
6890
6922
|
|
|
6891
6923
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6892
|
-
const codegen_1 = __nccwpck_require__(
|
|
6924
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6893
6925
|
const error = {
|
|
6894
6926
|
message({ keyword, schemaCode }) {
|
|
6895
6927
|
const comp = keyword === "maxProperties" ? "more" : "fewer";
|
|
@@ -6914,13 +6946,13 @@ exports["default"] = def;
|
|
|
6914
6946
|
|
|
6915
6947
|
/***/ }),
|
|
6916
6948
|
|
|
6917
|
-
/***/
|
|
6949
|
+
/***/ 6488:
|
|
6918
6950
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6919
6951
|
|
|
6920
6952
|
"use strict";
|
|
6921
6953
|
|
|
6922
6954
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6923
|
-
const codegen_1 = __nccwpck_require__(
|
|
6955
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6924
6956
|
const error = {
|
|
6925
6957
|
message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,
|
|
6926
6958
|
params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,
|
|
@@ -6947,14 +6979,14 @@ exports["default"] = def;
|
|
|
6947
6979
|
|
|
6948
6980
|
/***/ }),
|
|
6949
6981
|
|
|
6950
|
-
/***/
|
|
6982
|
+
/***/ 5146:
|
|
6951
6983
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6952
6984
|
|
|
6953
6985
|
"use strict";
|
|
6954
6986
|
|
|
6955
6987
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6956
|
-
const code_1 = __nccwpck_require__(
|
|
6957
|
-
const codegen_1 = __nccwpck_require__(
|
|
6988
|
+
const code_1 = __nccwpck_require__(8529);
|
|
6989
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
6958
6990
|
const error = {
|
|
6959
6991
|
message: ({ schemaCode }) => (0, codegen_1.str) `must match pattern "${schemaCode}"`,
|
|
6960
6992
|
params: ({ schemaCode }) => (0, codegen_1._) `{pattern: ${schemaCode}}`,
|
|
@@ -6978,15 +7010,15 @@ exports["default"] = def;
|
|
|
6978
7010
|
|
|
6979
7011
|
/***/ }),
|
|
6980
7012
|
|
|
6981
|
-
/***/
|
|
7013
|
+
/***/ 6646:
|
|
6982
7014
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6983
7015
|
|
|
6984
7016
|
"use strict";
|
|
6985
7017
|
|
|
6986
7018
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6987
|
-
const code_1 = __nccwpck_require__(
|
|
6988
|
-
const codegen_1 = __nccwpck_require__(
|
|
6989
|
-
const util_1 = __nccwpck_require__(
|
|
7019
|
+
const code_1 = __nccwpck_require__(8529);
|
|
7020
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
7021
|
+
const util_1 = __nccwpck_require__(4802);
|
|
6990
7022
|
const error = {
|
|
6991
7023
|
message: ({ params: { missingProperty } }) => (0, codegen_1.str) `must have required property '${missingProperty}'`,
|
|
6992
7024
|
params: ({ params: { missingProperty } }) => (0, codegen_1._) `{missingProperty: ${missingProperty}}`,
|
|
@@ -7064,16 +7096,16 @@ exports["default"] = def;
|
|
|
7064
7096
|
|
|
7065
7097
|
/***/ }),
|
|
7066
7098
|
|
|
7067
|
-
/***/
|
|
7099
|
+
/***/ 3735:
|
|
7068
7100
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
7069
7101
|
|
|
7070
7102
|
"use strict";
|
|
7071
7103
|
|
|
7072
7104
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7073
|
-
const dataType_1 = __nccwpck_require__(
|
|
7074
|
-
const codegen_1 = __nccwpck_require__(
|
|
7075
|
-
const util_1 = __nccwpck_require__(
|
|
7076
|
-
const equal_1 = __nccwpck_require__(
|
|
7105
|
+
const dataType_1 = __nccwpck_require__(2404);
|
|
7106
|
+
const codegen_1 = __nccwpck_require__(3123);
|
|
7107
|
+
const util_1 = __nccwpck_require__(4802);
|
|
7108
|
+
const equal_1 = __nccwpck_require__(6109);
|
|
7077
7109
|
const error = {
|
|
7078
7110
|
message: ({ params: { i, j } }) => (0, codegen_1.str) `must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
|
|
7079
7111
|
params: ({ params: { i, j } }) => (0, codegen_1._) `{i: ${i}, j: ${j}}`,
|
|
@@ -7135,7 +7167,7 @@ exports["default"] = def;
|
|
|
7135
7167
|
|
|
7136
7168
|
/***/ }),
|
|
7137
7169
|
|
|
7138
|
-
/***/
|
|
7170
|
+
/***/ 7447:
|
|
7139
7171
|
/***/ (function(module) {
|
|
7140
7172
|
|
|
7141
7173
|
"use strict";
|
|
@@ -7189,7 +7221,7 @@ module.exports = function equal(a, b) {
|
|
|
7189
7221
|
|
|
7190
7222
|
/***/ }),
|
|
7191
7223
|
|
|
7192
|
-
/***/
|
|
7224
|
+
/***/ 7243:
|
|
7193
7225
|
/***/ (function(module) {
|
|
7194
7226
|
|
|
7195
7227
|
"use strict";
|
|
@@ -7290,7 +7322,7 @@ function escapeJsonPtr(str) {
|
|
|
7290
7322
|
|
|
7291
7323
|
/***/ }),
|
|
7292
7324
|
|
|
7293
|
-
/***/
|
|
7325
|
+
/***/ 3014:
|
|
7294
7326
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
7295
7327
|
|
|
7296
7328
|
"use strict";
|
|
@@ -7301,9 +7333,9 @@ const path = __nccwpck_require__(1017);
|
|
|
7301
7333
|
|
|
7302
7334
|
const {
|
|
7303
7335
|
validate
|
|
7304
|
-
} = __nccwpck_require__(
|
|
7336
|
+
} = __nccwpck_require__(9048);
|
|
7305
7337
|
|
|
7306
|
-
const schema = __nccwpck_require__(
|
|
7338
|
+
const schema = __nccwpck_require__(8396);
|
|
7307
7339
|
|
|
7308
7340
|
const {
|
|
7309
7341
|
trueFn,
|
|
@@ -7312,8 +7344,9 @@ const {
|
|
|
7312
7344
|
ABSOLUTE_PUBLIC_PATH,
|
|
7313
7345
|
SINGLE_DOT_PATH_SEGMENT,
|
|
7314
7346
|
compareModulesByIdentifier,
|
|
7315
|
-
getUndoPath
|
|
7316
|
-
|
|
7347
|
+
getUndoPath,
|
|
7348
|
+
BASE_URI
|
|
7349
|
+
} = __nccwpck_require__(615);
|
|
7317
7350
|
/** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
|
|
7318
7351
|
|
|
7319
7352
|
/** @typedef {import("webpack").Compiler} Compiler */
|
|
@@ -8436,10 +8469,14 @@ class MiniCssExtractPlugin {
|
|
|
8436
8469
|
const {
|
|
8437
8470
|
path: filename
|
|
8438
8471
|
} = compilation.getPathWithInfo(filenameTemplate, pathData);
|
|
8439
|
-
const undoPath = getUndoPath(filename, compiler.outputPath, false);
|
|
8472
|
+
const undoPath = getUndoPath(filename, compiler.outputPath, false); // replacements
|
|
8473
|
+
|
|
8440
8474
|
content = content.replace(new RegExp(ABSOLUTE_PUBLIC_PATH, "g"), "");
|
|
8441
8475
|
content = content.replace(new RegExp(SINGLE_DOT_PATH_SEGMENT, "g"), ".");
|
|
8442
8476
|
content = content.replace(new RegExp(AUTO_PUBLIC_PATH, "g"), undoPath);
|
|
8477
|
+
const entryOptions = chunk.getEntryOptions();
|
|
8478
|
+
const baseUriReplacement = entryOptions && entryOptions.baseUri || undoPath;
|
|
8479
|
+
content = content.replace(new RegExp(BASE_URI, "g"), baseUriReplacement);
|
|
8443
8480
|
|
|
8444
8481
|
if (module.sourceMap) {
|
|
8445
8482
|
source.add(new SourceMapSource(content, readableIdentifier, module.sourceMap.toString()));
|
|
@@ -8475,7 +8512,7 @@ module.exports = MiniCssExtractPlugin;
|
|
|
8475
8512
|
|
|
8476
8513
|
/***/ }),
|
|
8477
8514
|
|
|
8478
|
-
/***/
|
|
8515
|
+
/***/ 615:
|
|
8479
8516
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
8480
8517
|
|
|
8481
8518
|
"use strict";
|
|
@@ -8578,6 +8615,7 @@ function compareModulesByIdentifier(a, b) {
|
|
|
8578
8615
|
const MODULE_TYPE = "css/mini-extract";
|
|
8579
8616
|
const AUTO_PUBLIC_PATH = "__mini_css_extract_plugin_public_path_auto__";
|
|
8580
8617
|
const ABSOLUTE_PUBLIC_PATH = "webpack:///mini-css-extract-plugin/";
|
|
8618
|
+
const BASE_URI = "webpack://";
|
|
8581
8619
|
const SINGLE_DOT_PATH_SEGMENT = "__mini_css_extract_plugin_single_dot_path_segment__";
|
|
8582
8620
|
/**
|
|
8583
8621
|
* @param {string} str
|
|
@@ -8688,6 +8726,7 @@ module.exports = {
|
|
|
8688
8726
|
MODULE_TYPE,
|
|
8689
8727
|
AUTO_PUBLIC_PATH,
|
|
8690
8728
|
ABSOLUTE_PUBLIC_PATH,
|
|
8729
|
+
BASE_URI,
|
|
8691
8730
|
SINGLE_DOT_PATH_SEGMENT,
|
|
8692
8731
|
stringifyRequest,
|
|
8693
8732
|
getUndoPath
|
|
@@ -8695,7 +8734,7 @@ module.exports = {
|
|
|
8695
8734
|
|
|
8696
8735
|
/***/ }),
|
|
8697
8736
|
|
|
8698
|
-
/***/
|
|
8737
|
+
/***/ 1983:
|
|
8699
8738
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
8700
8739
|
|
|
8701
8740
|
"use strict";
|
|
@@ -8709,7 +8748,7 @@ exports["default"] = void 0;
|
|
|
8709
8748
|
const {
|
|
8710
8749
|
stringHints,
|
|
8711
8750
|
numberHints
|
|
8712
|
-
} = __nccwpck_require__(
|
|
8751
|
+
} = __nccwpck_require__(1605);
|
|
8713
8752
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
8714
8753
|
|
|
8715
8754
|
/** @typedef {import("json-schema").JSONSchema7} JSONSchema7 */
|
|
@@ -9969,7 +10008,7 @@ exports["default"] = _default;
|
|
|
9969
10008
|
|
|
9970
10009
|
/***/ }),
|
|
9971
10010
|
|
|
9972
|
-
/***/
|
|
10011
|
+
/***/ 9048:
|
|
9973
10012
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
9974
10013
|
|
|
9975
10014
|
"use strict";
|
|
@@ -9978,7 +10017,7 @@ exports["default"] = _default;
|
|
|
9978
10017
|
const {
|
|
9979
10018
|
validate,
|
|
9980
10019
|
ValidationError
|
|
9981
|
-
} = __nccwpck_require__(
|
|
10020
|
+
} = __nccwpck_require__(8711);
|
|
9982
10021
|
|
|
9983
10022
|
module.exports = {
|
|
9984
10023
|
validate,
|
|
@@ -9987,7 +10026,7 @@ module.exports = {
|
|
|
9987
10026
|
|
|
9988
10027
|
/***/ }),
|
|
9989
10028
|
|
|
9990
|
-
/***/
|
|
10029
|
+
/***/ 706:
|
|
9991
10030
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9992
10031
|
|
|
9993
10032
|
"use strict";
|
|
@@ -10095,7 +10134,7 @@ exports["default"] = _default;
|
|
|
10095
10134
|
|
|
10096
10135
|
/***/ }),
|
|
10097
10136
|
|
|
10098
|
-
/***/
|
|
10137
|
+
/***/ 3249:
|
|
10099
10138
|
/***/ (function(module) {
|
|
10100
10139
|
|
|
10101
10140
|
"use strict";
|
|
@@ -10265,13 +10304,13 @@ module.exports = Range;
|
|
|
10265
10304
|
|
|
10266
10305
|
/***/ }),
|
|
10267
10306
|
|
|
10268
|
-
/***/
|
|
10307
|
+
/***/ 1605:
|
|
10269
10308
|
/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
|
|
10270
10309
|
|
|
10271
10310
|
"use strict";
|
|
10272
10311
|
|
|
10273
10312
|
|
|
10274
|
-
const Range = __nccwpck_require__(
|
|
10313
|
+
const Range = __nccwpck_require__(3249);
|
|
10275
10314
|
/** @typedef {import("../validate").Schema} Schema */
|
|
10276
10315
|
|
|
10277
10316
|
/**
|
|
@@ -10374,7 +10413,7 @@ module.exports.numberHints = function numberHints(schema, logic) {
|
|
|
10374
10413
|
|
|
10375
10414
|
/***/ }),
|
|
10376
10415
|
|
|
10377
|
-
/***/
|
|
10416
|
+
/***/ 8711:
|
|
10378
10417
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
10379
10418
|
|
|
10380
10419
|
"use strict";
|
|
@@ -10391,18 +10430,18 @@ Object.defineProperty(exports, "ValidationError", ({
|
|
|
10391
10430
|
}));
|
|
10392
10431
|
exports.validate = validate;
|
|
10393
10432
|
|
|
10394
|
-
var _absolutePath = _interopRequireDefault(__nccwpck_require__(
|
|
10433
|
+
var _absolutePath = _interopRequireDefault(__nccwpck_require__(706));
|
|
10395
10434
|
|
|
10396
|
-
var _ValidationError = _interopRequireDefault(__nccwpck_require__(
|
|
10435
|
+
var _ValidationError = _interopRequireDefault(__nccwpck_require__(1983));
|
|
10397
10436
|
|
|
10398
10437
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10399
10438
|
|
|
10400
10439
|
// Use CommonJS require for ajv libs so TypeScript consumers aren't locked into esModuleInterop (see #110).
|
|
10401
|
-
const Ajv = (__nccwpck_require__(
|
|
10440
|
+
const Ajv = (__nccwpck_require__(309)["default"]);
|
|
10402
10441
|
|
|
10403
|
-
const ajvKeywords = (__nccwpck_require__(
|
|
10442
|
+
const ajvKeywords = (__nccwpck_require__(6809)["default"]);
|
|
10404
10443
|
|
|
10405
|
-
const addFormats = (__nccwpck_require__(
|
|
10444
|
+
const addFormats = (__nccwpck_require__(5679)["default"]);
|
|
10406
10445
|
/** @typedef {import("json-schema").JSONSchema4} JSONSchema4 */
|
|
10407
10446
|
|
|
10408
10447
|
/** @typedef {import("json-schema").JSONSchema6} JSONSchema6 */
|
|
@@ -10554,7 +10593,7 @@ function filterErrors(errors) {
|
|
|
10554
10593
|
|
|
10555
10594
|
/***/ }),
|
|
10556
10595
|
|
|
10557
|
-
/***/
|
|
10596
|
+
/***/ 199:
|
|
10558
10597
|
/***/ (function(__unused_webpack_module, exports) {
|
|
10559
10598
|
|
|
10560
10599
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
@@ -12019,7 +12058,7 @@ module.exports = require("path");
|
|
|
12019
12058
|
|
|
12020
12059
|
/***/ }),
|
|
12021
12060
|
|
|
12022
|
-
/***/
|
|
12061
|
+
/***/ 9235:
|
|
12023
12062
|
/***/ (function(module) {
|
|
12024
12063
|
|
|
12025
12064
|
"use strict";
|
|
@@ -12027,7 +12066,7 @@ module.exports = JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-valid
|
|
|
12027
12066
|
|
|
12028
12067
|
/***/ }),
|
|
12029
12068
|
|
|
12030
|
-
/***/
|
|
12069
|
+
/***/ 6828:
|
|
12031
12070
|
/***/ (function(module) {
|
|
12032
12071
|
|
|
12033
12072
|
"use strict";
|
|
@@ -12035,7 +12074,7 @@ module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#
|
|
|
12035
12074
|
|
|
12036
12075
|
/***/ }),
|
|
12037
12076
|
|
|
12038
|
-
/***/
|
|
12077
|
+
/***/ 8396:
|
|
12039
12078
|
/***/ (function(module) {
|
|
12040
12079
|
|
|
12041
12080
|
"use strict";
|
|
@@ -12085,7 +12124,7 @@ module.exports = JSON.parse('{"title":"Mini CSS Extract Plugin options","type":"
|
|
|
12085
12124
|
/******/ // startup
|
|
12086
12125
|
/******/ // Load entry module and return exports
|
|
12087
12126
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
12088
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
12127
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(3014);
|
|
12089
12128
|
/******/ module.exports = __webpack_exports__;
|
|
12090
12129
|
/******/
|
|
12091
12130
|
/******/ })()
|