notebook 7.3.2__py3-none-any.whl → 7.3.3__py3-none-any.whl
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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- notebook/_version.py +1 -1
- notebook/static/{131.ae628045345ebd7a085c.js → 131.c84ccc55b083d2f63eb5.js} +31 -22
- notebook/static/131.c84ccc55b083d2f63eb5.js.map +1 -0
- notebook/static/{1326.9297038a97bfe38e02c5.js → 1326.ca053a9d8b69ac8e5d07.js} +2 -2
- notebook/static/{1326.9297038a97bfe38e02c5.js.map → 1326.ca053a9d8b69ac8e5d07.js.map} +1 -1
- notebook/static/{1650.8d7f95fed9378b01c97b.js → 1650.9ab35c6f8bc364d9c496.js} +4 -4
- notebook/static/{1650.8d7f95fed9378b01c97b.js.map → 1650.9ab35c6f8bc364d9c496.js.map} +1 -1
- notebook/static/{1684.17fc47c7fb30c0a8e713.js → 1684.181d3587b40531824b89.js} +5 -5
- notebook/static/{1684.17fc47c7fb30c0a8e713.js.map → 1684.181d3587b40531824b89.js.map} +1 -1
- notebook/static/{1871.29951b77779d94d726d1.js → 1871.bbb388c6015b8490c010.js} +4 -4
- notebook/static/{1871.29951b77779d94d726d1.js.map → 1871.bbb388c6015b8490c010.js.map} +1 -1
- notebook/static/{3146.0525c8e3f0097710544e.js → 3146.5a2c9c57f0ee140a9853.js} +3 -3
- notebook/static/{3146.0525c8e3f0097710544e.js.map → 3146.5a2c9c57f0ee140a9853.js.map} +1 -1
- notebook/static/{3488.405b2a619b7b87fc6f6b.js → 3488.4950efa0e3d80a841f23.js} +2 -2
- notebook/static/3488.4950efa0e3d80a841f23.js.map +1 -0
- notebook/static/{3768.409eda0ebb4676a30596.js → 3768.879ec647cb9a279eb309.js} +19 -19
- notebook/static/{7302.8dfb32b083b16efa038a.js.map → 3768.879ec647cb9a279eb309.js.map} +1 -1
- notebook/static/{4382.c3425ddaa226b75d1b57.js → 4382.11fbce1b6420d8976505.js} +3 -3
- notebook/static/{4382.c3425ddaa226b75d1b57.js.map → 4382.11fbce1b6420d8976505.js.map} +1 -1
- notebook/static/{4499.69ddcc73939e5bacc11c.js → 4499.e80329d16895102bbc12.js} +3 -3
- notebook/static/{4499.69ddcc73939e5bacc11c.js.map → 4499.e80329d16895102bbc12.js.map} +1 -1
- notebook/static/{4630.64ab2753f3286b5a778b.js → 4630.dd26ad6c2189ab26297a.js} +3 -3
- notebook/static/4630.dd26ad6c2189ab26297a.js.map +1 -0
- notebook/static/{4645.41cffc0184b6538b7e00.js → 4645.777b918de2a09b7b9a9b.js} +5 -5
- notebook/static/{4645.41cffc0184b6538b7e00.js.map → 4645.777b918de2a09b7b9a9b.js.map} +1 -1
- notebook/static/{4837.0e774b52bbcd51546b55.js → 4837.84a75547bf8a4a8e3759.js} +3 -3
- notebook/static/{4837.0e774b52bbcd51546b55.js.map → 4837.84a75547bf8a4a8e3759.js.map} +1 -1
- notebook/static/{4926.70b91208fd35ee838d65.js → 4926.c68927936b855fd893c5.js} +3 -3
- notebook/static/{4926.70b91208fd35ee838d65.js.map → 4926.c68927936b855fd893c5.js.map} +1 -1
- notebook/static/{5135.398f538011f4562d1fae.js → 5135.c7a9f8d53984219aba23.js} +11 -11
- notebook/static/{5135.398f538011f4562d1fae.js.map → 5135.c7a9f8d53984219aba23.js.map} +1 -1
- notebook/static/5448.a9016133a2b9389ac102.js +951 -0
- notebook/static/5448.a9016133a2b9389ac102.js.map +1 -0
- notebook/static/{5573.fadd0e2001b2575ccb0f.js → 5573.91bd2c782927c770f734.js} +18 -18
- notebook/static/5573.91bd2c782927c770f734.js.map +1 -0
- notebook/static/{5601.3e30eb7d151dda3b25ed.js → 5601.8f8d6c0ace5f7e929f35.js} +5 -5
- notebook/static/{5601.3e30eb7d151dda3b25ed.js.map → 5601.8f8d6c0ace5f7e929f35.js.map} +1 -1
- notebook/static/{6345.351e07d7802b67cb9d25.js → 6345.fa1f3ac32febb56fd8b9.js} +5 -5
- notebook/static/{6345.351e07d7802b67cb9d25.js.map → 6345.fa1f3ac32febb56fd8b9.js.map} +1 -1
- notebook/static/{7154.1ab03d07151bbd0aad06.js → 7154.cbe00782c73879782ae7.js} +5 -5
- notebook/static/{7154.1ab03d07151bbd0aad06.js.map → 7154.cbe00782c73879782ae7.js.map} +1 -1
- notebook/static/{7302.8dfb32b083b16efa038a.js → 7302.cbe9c1f18fe1a9d3a129.js} +19 -19
- notebook/static/{3768.409eda0ebb4676a30596.js.map → 7302.cbe9c1f18fe1a9d3a129.js.map} +1 -1
- notebook/static/{7369.286a75761c308381b0a4.js → 7369.8768f287c1cf1cc37db0.js} +25 -25
- notebook/static/{7369.286a75761c308381b0a4.js.map → 7369.8768f287c1cf1cc37db0.js.map} +1 -1
- notebook/static/{5157.325614b1326d23735fbe.js → 7534.e6ec4e7bd41255482e3e.js} +2 -2
- notebook/static/{5157.325614b1326d23735fbe.js.map → 7534.e6ec4e7bd41255482e3e.js.map} +1 -1
- notebook/static/{755.3d6eb3b7f81d035f52f4.js → 755.86950c1067a75cbbe902.js} +4 -4
- notebook/static/{755.3d6eb3b7f81d035f52f4.js.map → 755.86950c1067a75cbbe902.js.map} +1 -1
- notebook/static/{757.c9635937c6883f4b69fe.js → 757.86f80ac05f38c4f4be68.js} +97 -814
- notebook/static/757.86f80ac05f38c4f4be68.js.map +1 -0
- notebook/static/{7811.fa11577c84ea92d4102c.js → 7811.15b37088e4868dee449b.js} +5 -5
- notebook/static/{7811.fa11577c84ea92d4102c.js.map → 7811.15b37088e4868dee449b.js.map} +1 -1
- notebook/static/{7906.67e8d86ba7ed95cbac87.js → 7906.6b836133253dc69ada3b.js} +3 -3
- notebook/static/{7906.67e8d86ba7ed95cbac87.js.map → 7906.6b836133253dc69ada3b.js.map} +1 -1
- notebook/static/{7995.45be6443b704da1daafc.js → 7995.e6c73e8581b7790a84e7.js} +2 -2
- notebook/static/{7995.45be6443b704da1daafc.js.map → 7995.e6c73e8581b7790a84e7.js.map} +1 -1
- notebook/static/{6033.e5f43eeda4cc803965de.js → 8384.4a19822f320fec925f9b.js} +2 -2
- notebook/static/{6033.e5f43eeda4cc803965de.js.map → 8384.4a19822f320fec925f9b.js.map} +1 -1
- notebook/static/{8579.d7fc77346371c454ec00.js → 8579.b99b947f4531351037b0.js} +13 -13
- notebook/static/{8579.d7fc77346371c454ec00.js.map → 8579.b99b947f4531351037b0.js.map} +1 -1
- notebook/static/{8781.f58f42a24da8ac99623f.js → 8781.b7c620b7ec3a9833df1c.js} +58 -58
- notebook/static/{8781.f58f42a24da8ac99623f.js.map → 8781.b7c620b7ec3a9833df1c.js.map} +1 -1
- notebook/static/{8845.ac1c5acb78cea4acee08.js → 8845.4f41e164a0399572ddec.js} +14 -14
- notebook/static/{8845.ac1c5acb78cea4acee08.js.map → 8845.4f41e164a0399572ddec.js.map} +1 -1
- notebook/static/{8875.576e3c6503ecdf5c2124.js → 8875.934ae30259f7ed06908f.js} +4 -4
- notebook/static/{8875.576e3c6503ecdf5c2124.js.map → 8875.934ae30259f7ed06908f.js.map} +1 -1
- notebook/static/{9068.cb72a595212d6ed7de5e.js → 9068.a1663e3fbe550c0a2151.js} +3 -3
- notebook/static/{9068.cb72a595212d6ed7de5e.js.map → 9068.a1663e3fbe550c0a2151.js.map} +1 -1
- notebook/static/{9380.709f3e6308fc49ccb353.js → 9380.438b50b596a131ebbe9a.js} +5 -5
- notebook/static/{9380.709f3e6308fc49ccb353.js.map → 9380.438b50b596a131ebbe9a.js.map} +1 -1
- notebook/static/{9619.6f4ade981540ff20b8bd.js → 9619.82b5a1c798e28d4c26c5.js} +5 -5
- notebook/static/{9619.6f4ade981540ff20b8bd.js.map → 9619.82b5a1c798e28d4c26c5.js.map} +1 -1
- notebook/static/main.fa530803fa8c046b1a88.js +1174 -0
- notebook/static/main.fa530803fa8c046b1a88.js.map +1 -0
- notebook/static/{notebook_core.4799ce7e762b693682b6.js → notebook_core.c9e3f27c4be739a57674.js} +1073 -891
- notebook/static/{notebook_core.4799ce7e762b693682b6.js.map → notebook_core.c9e3f27c4be739a57674.js.map} +1 -1
- notebook/static/third-party-licenses.json +110 -122
- notebook/templates/consoles.html +1 -1
- notebook/templates/edit.html +1 -1
- notebook/templates/error.html +1 -1
- notebook/templates/notebooks.html +1 -1
- notebook/templates/terminals.html +1 -1
- notebook/templates/tree.html +1 -1
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.3.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/926.1e1698d53d81bf49c4ad.js → notebook-7.3.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/157.2df91472e02c447c6341.js +1 -1
- notebook-7.3.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.89eee0979a49b375da20.js +1 -0
- notebook-7.3.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.a483ccd28c27e3c44bf4.js +1 -0
- notebook-7.3.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.c48a681bb3e8043bbbd7.js → notebook-7.3.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +1 -1
- notebook-7.3.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.1721422919ae05a29840.js +1 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.3.2.dist-info → notebook-7.3.3.dist-info}/METADATA +2 -2
- {notebook-7.3.2.dist-info → notebook-7.3.3.dist-info}/RECORD +122 -122
- notebook/static/131.ae628045345ebd7a085c.js.map +0 -1
- notebook/static/3488.405b2a619b7b87fc6f6b.js.map +0 -1
- notebook/static/4630.64ab2753f3286b5a778b.js.map +0 -1
- notebook/static/5573.fadd0e2001b2575ccb0f.js.map +0 -1
- notebook/static/757.c9635937c6883f4b69fe.js.map +0 -1
- notebook/static/7796.ea7106c833e81e2e6a6d.js +0 -1608
- notebook/static/7796.ea7106c833e81e2e6a6d.js.map +0 -1
- notebook/static/main.407246dd27aed8010549.js +0 -1174
- notebook/static/main.407246dd27aed8010549.js.map +0 -1
- notebook-7.3.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.f1a870f262b5e8588c75.js +0 -1
- notebook-7.3.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.7261ac56728710cbd7f2.js +0 -1
- notebook-7.3.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.cad89c571bc2aee4aff2.js +0 -1
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.3.2.data → notebook-7.3.3.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.3.2.dist-info → notebook-7.3.3.dist-info}/WHEEL +0 -0
- {notebook-7.3.2.dist-info → notebook-7.3.3.dist-info}/entry_points.txt +0 -0
- {notebook-7.3.2.dist-info → notebook-7.3.3.dist-info}/licenses/LICENSE +0 -0
notebook/_version.py
CHANGED
|
@@ -768,7 +768,7 @@ exports["default"] = formatLimitPlugin;
|
|
|
768
768
|
"use strict";
|
|
769
769
|
|
|
770
770
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
771
|
-
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
771
|
+
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
772
772
|
const core_1 = __webpack_require__(98955);
|
|
773
773
|
const draft7_1 = __webpack_require__(87213);
|
|
774
774
|
const discriminator_1 = __webpack_require__(30648);
|
|
@@ -797,7 +797,9 @@ class Ajv extends core_1.default {
|
|
|
797
797
|
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
|
+
exports.Ajv = Ajv;
|
|
800
801
|
module.exports = exports = Ajv;
|
|
802
|
+
module.exports.Ajv = Ajv;
|
|
801
803
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
802
804
|
exports["default"] = Ajv;
|
|
803
805
|
var validate_1 = __webpack_require__(40764);
|
|
@@ -824,6 +826,7 @@ Object.defineProperty(exports, "MissingRefError", ({ enumerable: true, get: func
|
|
|
824
826
|
|
|
825
827
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
826
828
|
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;
|
|
829
|
+
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
827
830
|
class _CodeOrName {
|
|
828
831
|
}
|
|
829
832
|
exports._CodeOrName = _CodeOrName;
|
|
@@ -1701,7 +1704,7 @@ var UsedValueState;
|
|
|
1701
1704
|
(function (UsedValueState) {
|
|
1702
1705
|
UsedValueState[UsedValueState["Started"] = 0] = "Started";
|
|
1703
1706
|
UsedValueState[UsedValueState["Completed"] = 1] = "Completed";
|
|
1704
|
-
})(UsedValueState
|
|
1707
|
+
})(UsedValueState || (exports.UsedValueState = UsedValueState = {}));
|
|
1705
1708
|
exports.varKinds = {
|
|
1706
1709
|
const: new code_1.Name("const"),
|
|
1707
1710
|
let: new code_1.Name("let"),
|
|
@@ -1911,7 +1914,7 @@ function returnErrors(it, errs) {
|
|
|
1911
1914
|
}
|
|
1912
1915
|
const E = {
|
|
1913
1916
|
keyword: new codegen_1.Name("keyword"),
|
|
1914
|
-
schemaPath: new codegen_1.Name("schemaPath"),
|
|
1917
|
+
schemaPath: new codegen_1.Name("schemaPath"), // also used in JTD errors
|
|
1915
1918
|
params: new codegen_1.Name("params"),
|
|
1916
1919
|
propertyName: new codegen_1.Name("propertyName"),
|
|
1917
1920
|
message: new codegen_1.Name("message"),
|
|
@@ -2024,7 +2027,7 @@ function compileSchema(sch) {
|
|
|
2024
2027
|
parentData: names_1.default.parentData,
|
|
2025
2028
|
parentDataProperty: names_1.default.parentDataProperty,
|
|
2026
2029
|
dataNames: [names_1.default.data],
|
|
2027
|
-
dataPathArr: [codegen_1.nil],
|
|
2030
|
+
dataPathArr: [codegen_1.nil], // TODO can its length be used as dataLevel if nil is removed?
|
|
2028
2031
|
dataLevel: 0,
|
|
2029
2032
|
dataTypes: [],
|
|
2030
2033
|
definedProperties: new Set(),
|
|
@@ -2221,17 +2224,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
2221
2224
|
const codegen_1 = __webpack_require__(17231);
|
|
2222
2225
|
const names = {
|
|
2223
2226
|
// validation function arguments
|
|
2224
|
-
data: new codegen_1.Name("data"),
|
|
2227
|
+
data: new codegen_1.Name("data"), // data passed to validation function
|
|
2225
2228
|
// args passed from referencing schema
|
|
2226
|
-
valCxt: new codegen_1.Name("valCxt"),
|
|
2229
|
+
valCxt: new codegen_1.Name("valCxt"), // validation/data context - should not be used directly, it is destructured to the names below
|
|
2227
2230
|
instancePath: new codegen_1.Name("instancePath"),
|
|
2228
2231
|
parentData: new codegen_1.Name("parentData"),
|
|
2229
2232
|
parentDataProperty: new codegen_1.Name("parentDataProperty"),
|
|
2230
|
-
rootData: new codegen_1.Name("rootData"),
|
|
2231
|
-
dynamicAnchors: new codegen_1.Name("dynamicAnchors"),
|
|
2233
|
+
rootData: new codegen_1.Name("rootData"), // root data - same as the data passed to the first/top validation function
|
|
2234
|
+
dynamicAnchors: new codegen_1.Name("dynamicAnchors"), // used to support recursiveRef and dynamicRef
|
|
2232
2235
|
// function scoped variables
|
|
2233
|
-
vErrors: new codegen_1.Name("vErrors"),
|
|
2234
|
-
errors: new codegen_1.Name("errors"),
|
|
2236
|
+
vErrors: new codegen_1.Name("vErrors"), // null or array of validation errors
|
|
2237
|
+
errors: new codegen_1.Name("errors"), // counter of validation errors
|
|
2235
2238
|
this: new codegen_1.Name("this"),
|
|
2236
2239
|
// "globals"
|
|
2237
2240
|
self: new codegen_1.Name("self"),
|
|
@@ -2376,16 +2379,16 @@ function getSchemaRefs(schema, baseId) {
|
|
|
2376
2379
|
if (parentJsonPtr === undefined)
|
|
2377
2380
|
return;
|
|
2378
2381
|
const fullPath = pathPrefix + jsonPtr;
|
|
2379
|
-
let
|
|
2382
|
+
let innerBaseId = baseIds[parentJsonPtr];
|
|
2380
2383
|
if (typeof sch[schemaId] == "string")
|
|
2381
|
-
|
|
2384
|
+
innerBaseId = addRef.call(this, sch[schemaId]);
|
|
2382
2385
|
addAnchor.call(this, sch.$anchor);
|
|
2383
2386
|
addAnchor.call(this, sch.$dynamicAnchor);
|
|
2384
|
-
baseIds[jsonPtr] =
|
|
2387
|
+
baseIds[jsonPtr] = innerBaseId;
|
|
2385
2388
|
function addRef(ref) {
|
|
2386
2389
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
2387
2390
|
const _resolve = this.opts.uriResolver.resolve;
|
|
2388
|
-
ref = normalizeId(
|
|
2391
|
+
ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);
|
|
2389
2392
|
if (schemaRefs.has(ref))
|
|
2390
2393
|
throw ambiguos(ref);
|
|
2391
2394
|
schemaRefs.add(ref);
|
|
@@ -2617,7 +2620,7 @@ var Type;
|
|
|
2617
2620
|
(function (Type) {
|
|
2618
2621
|
Type[Type["Num"] = 0] = "Num";
|
|
2619
2622
|
Type[Type["Str"] = 1] = "Str";
|
|
2620
|
-
})(Type
|
|
2623
|
+
})(Type || (exports.Type = Type = {}));
|
|
2621
2624
|
function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
|
|
2622
2625
|
// let path
|
|
2623
2626
|
if (dataProp instanceof codegen_1.Name) {
|
|
@@ -2745,7 +2748,7 @@ var DataType;
|
|
|
2745
2748
|
(function (DataType) {
|
|
2746
2749
|
DataType[DataType["Correct"] = 0] = "Correct";
|
|
2747
2750
|
DataType[DataType["Wrong"] = 1] = "Wrong";
|
|
2748
|
-
})(DataType
|
|
2751
|
+
})(DataType || (exports.DataType = DataType = {}));
|
|
2749
2752
|
function getSchemaTypes(schema) {
|
|
2750
2753
|
const types = getJSONTypes(schema.type);
|
|
2751
2754
|
const hasNull = types.includes("null");
|
|
@@ -2763,6 +2766,7 @@ function getSchemaTypes(schema) {
|
|
|
2763
2766
|
return types;
|
|
2764
2767
|
}
|
|
2765
2768
|
exports.getSchemaTypes = getSchemaTypes;
|
|
2769
|
+
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
2766
2770
|
function getJSONTypes(ts) {
|
|
2767
2771
|
const types = Array.isArray(ts) ? ts : ts ? [ts] : [];
|
|
2768
2772
|
if (types.every(rules_1.isJSONType))
|
|
@@ -3870,6 +3874,7 @@ class Ajv {
|
|
|
3870
3874
|
return (this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : undefined);
|
|
3871
3875
|
}
|
|
3872
3876
|
validate(schemaKeyRef, // key, ref or schema object
|
|
3877
|
+
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
3873
3878
|
data // to be validated
|
|
3874
3879
|
) {
|
|
3875
3880
|
let v;
|
|
@@ -4218,9 +4223,9 @@ class Ajv {
|
|
|
4218
4223
|
}
|
|
4219
4224
|
}
|
|
4220
4225
|
}
|
|
4221
|
-
exports["default"] = Ajv;
|
|
4222
4226
|
Ajv.ValidationError = validation_error_1.default;
|
|
4223
4227
|
Ajv.MissingRefError = ref_error_1.default;
|
|
4228
|
+
exports["default"] = Ajv;
|
|
4224
4229
|
function checkOptions(checkOpts, options, msg, log = "error") {
|
|
4225
4230
|
for (const key in checkOpts) {
|
|
4226
4231
|
const opt = key;
|
|
@@ -4401,7 +4406,7 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
|
4401
4406
|
"use strict";
|
|
4402
4407
|
|
|
4403
4408
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4404
|
-
const uri = __webpack_require__(
|
|
4409
|
+
const uri = __webpack_require__(83745);
|
|
4405
4410
|
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
4406
4411
|
exports["default"] = uri;
|
|
4407
4412
|
//# sourceMappingURL=uri.js.map
|
|
@@ -5701,6 +5706,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
5701
5706
|
const codegen_1 = __webpack_require__(17231);
|
|
5702
5707
|
const types_1 = __webpack_require__(2185);
|
|
5703
5708
|
const compile_1 = __webpack_require__(50052);
|
|
5709
|
+
const ref_error_1 = __webpack_require__(26317);
|
|
5704
5710
|
const util_1 = __webpack_require__(20679);
|
|
5705
5711
|
const error = {
|
|
5706
5712
|
message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
|
|
@@ -5755,9 +5761,12 @@ const def = {
|
|
|
5755
5761
|
for (let i = 0; i < oneOf.length; i++) {
|
|
5756
5762
|
let sch = oneOf[i];
|
|
5757
5763
|
if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
|
|
5758
|
-
|
|
5764
|
+
const ref = sch.$ref;
|
|
5765
|
+
sch = compile_1.resolveRef.call(it.self, it.schemaEnv.root, it.baseId, ref);
|
|
5759
5766
|
if (sch instanceof compile_1.SchemaEnv)
|
|
5760
5767
|
sch = sch.schema;
|
|
5768
|
+
if (sch === undefined)
|
|
5769
|
+
throw new ref_error_1.default(it.opts.uriResolver, it.baseId, ref);
|
|
5761
5770
|
}
|
|
5762
5771
|
const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
|
|
5763
5772
|
if (typeof propSch != "object") {
|
|
@@ -5810,7 +5819,7 @@ var DiscrError;
|
|
|
5810
5819
|
(function (DiscrError) {
|
|
5811
5820
|
DiscrError["Tag"] = "tag";
|
|
5812
5821
|
DiscrError["Mapping"] = "mapping";
|
|
5813
|
-
})(DiscrError
|
|
5822
|
+
})(DiscrError || (exports.DiscrError = DiscrError = {}));
|
|
5814
5823
|
//# sourceMappingURL=types.js.map
|
|
5815
5824
|
|
|
5816
5825
|
/***/ }),
|
|
@@ -6457,7 +6466,7 @@ exports["default"] = def;
|
|
|
6457
6466
|
/***/ 52485:
|
|
6458
6467
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6459
6468
|
|
|
6460
|
-
var MapCache = __webpack_require__(
|
|
6469
|
+
var MapCache = __webpack_require__(78498),
|
|
6461
6470
|
setCacheAdd = __webpack_require__(38639),
|
|
6462
6471
|
setCacheHas = __webpack_require__(88379);
|
|
6463
6472
|
|
|
@@ -7126,4 +7135,4 @@ module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#
|
|
|
7126
7135
|
/***/ })
|
|
7127
7136
|
|
|
7128
7137
|
}]);
|
|
7129
|
-
//# sourceMappingURL=131.
|
|
7138
|
+
//# sourceMappingURL=131.c84ccc55b083d2f63eb5.js.map?v=c84ccc55b083d2f63eb5
|