diff --git a/package-lock.json b/package-lock.json index fa6b87fa6..a7c670dcf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@blockly/block-test": "^3.0.0", "@blockly/dev-tools": "^5.0.0", "@blockly/theme-modern": "^3.0.0", - "@hyperjump/json-schema": "^0.18.5", + "@hyperjump/json-schema": "^0.23.3", "@microsoft/api-documenter": "^7.19.16", "@microsoft/api-extractor": "^7.29.5", "@typescript-eslint/eslint-plugin": "^5.33.1", @@ -413,6 +413,20 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, + "node_modules/@hyperjump/json": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@hyperjump/json/-/json-0.1.0.tgz", + "integrity": "sha512-jWsAOHjweWhi0UEBCN57YZzyTt76Z6Fm/OJXOfNBJbEZt569AcTRsjv6Dqj5t4gQhW9td72oquiyaVp9oHbhBQ==", + "dev": true, + "dependencies": { + "@hyperjump/json-pointer": "^0.9.2", + "moo": "^0.5.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/jdesrosiers" + } + }, "node_modules/@hyperjump/json-pointer": { "version": "0.9.6", "resolved": "https://registry.npmjs.org/@hyperjump/json-pointer/-/json-pointer-0.9.6.tgz", @@ -428,13 +442,13 @@ } }, "node_modules/@hyperjump/json-schema": { - "version": "0.18.5", - "resolved": "https://registry.npmjs.org/@hyperjump/json-schema/-/json-schema-0.18.5.tgz", - "integrity": "sha512-O4+E8BqwzkhPm6BEkswaExIqtrtznpVQjyllA3Q3rB0VQZ4YWW7L5AtaqIiL0XtxpnuCiPKqb73BBGdyycLL6g==", + "version": "0.23.3", + "resolved": "https://registry.npmjs.org/@hyperjump/json-schema/-/json-schema-0.23.3.tgz", + "integrity": "sha512-3YqAQpYY1U16SeP+LfMzBySqW5FHF9gZcOMKeeRywJkowsZ1JuOOiYCmYXptlRwXSB1jVa9ITC0lvfO84OaSQQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@hyperjump/json-schema-core": "^0.23.4", + "@hyperjump/json-schema-core": "^0.28.0", "fastest-stable-stringify": "^2.0.2" }, "funding": { @@ -443,18 +457,19 @@ } }, "node_modules/@hyperjump/json-schema-core": { - "version": "0.23.7", - "resolved": "https://registry.npmjs.org/@hyperjump/json-schema-core/-/json-schema-core-0.23.7.tgz", - "integrity": "sha512-64gBteTl+zAvI1D68l/+gH7ncuM+Cf0rGdm/YwtsYZlNfbybgFD5R5uuJCsPGJDm5ZYqqWMdPIq6Nh5jDENYRw==", + "version": "0.28.5", + "resolved": "https://registry.npmjs.org/@hyperjump/json-schema-core/-/json-schema-core-0.28.5.tgz", + "integrity": "sha512-+f5P3oHYCQru3s+Ha+E10rIyEvyK0Hfa2oj3+cDoGaVMbT4Jg5TgCoIM7B5rl3t3KRA7EOmrLjKFGeLi5yd1pg==", "dev": true, "hasInstallScript": true, "dependencies": { - "@hyperjump/json-pointer": "^0.9.1", - "@hyperjump/pact": "^0.2.0", + "@hyperjump/json": "^0.1.0", + "@hyperjump/json-pointer": "^0.9.4", + "@hyperjump/pact": "^0.2.3", "content-type": "^1.0.4", "node-fetch": "^2.6.5", - "pubsub-js": "^1.9.1", - "url-resolve-browser": "^1.2.0" + "pubsub-js": "^1.9.4", + "uri-js": "^4.4.1" }, "funding": { "type": "github", @@ -9738,6 +9753,12 @@ "integrity": "sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==", "dev": true }, + "node_modules/moo": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/moo/-/moo-0.5.2.tgz", + "integrity": "sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==", + "dev": true + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -13641,12 +13662,6 @@ "node": ">=4" } }, - "node_modules/url-resolve-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/url-resolve-browser/-/url-resolve-browser-1.2.0.tgz", - "integrity": "sha512-L9PBPnlKNDFzt9ElK4br8I8Tufdm1xgv1GhMeiP7ZC87x0b7mr+4vSh13kmPq5km80JKX+UD2BeEFTCrFZ6xDA==", - "dev": true - }, "node_modules/use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", @@ -14918,6 +14933,16 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, + "@hyperjump/json": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@hyperjump/json/-/json-0.1.0.tgz", + "integrity": "sha512-jWsAOHjweWhi0UEBCN57YZzyTt76Z6Fm/OJXOfNBJbEZt569AcTRsjv6Dqj5t4gQhW9td72oquiyaVp9oHbhBQ==", + "dev": true, + "requires": { + "@hyperjump/json-pointer": "^0.9.2", + "moo": "^0.5.1" + } + }, "@hyperjump/json-pointer": { "version": "0.9.6", "resolved": "https://registry.npmjs.org/@hyperjump/json-pointer/-/json-pointer-0.9.6.tgz", @@ -14928,27 +14953,28 @@ } }, "@hyperjump/json-schema": { - "version": "0.18.5", - "resolved": "https://registry.npmjs.org/@hyperjump/json-schema/-/json-schema-0.18.5.tgz", - "integrity": "sha512-O4+E8BqwzkhPm6BEkswaExIqtrtznpVQjyllA3Q3rB0VQZ4YWW7L5AtaqIiL0XtxpnuCiPKqb73BBGdyycLL6g==", + "version": "0.23.3", + "resolved": "https://registry.npmjs.org/@hyperjump/json-schema/-/json-schema-0.23.3.tgz", + "integrity": "sha512-3YqAQpYY1U16SeP+LfMzBySqW5FHF9gZcOMKeeRywJkowsZ1JuOOiYCmYXptlRwXSB1jVa9ITC0lvfO84OaSQQ==", "dev": true, "requires": { - "@hyperjump/json-schema-core": "^0.23.4", + "@hyperjump/json-schema-core": "^0.28.0", "fastest-stable-stringify": "^2.0.2" } }, "@hyperjump/json-schema-core": { - "version": "0.23.7", - "resolved": "https://registry.npmjs.org/@hyperjump/json-schema-core/-/json-schema-core-0.23.7.tgz", - "integrity": "sha512-64gBteTl+zAvI1D68l/+gH7ncuM+Cf0rGdm/YwtsYZlNfbybgFD5R5uuJCsPGJDm5ZYqqWMdPIq6Nh5jDENYRw==", + "version": "0.28.5", + "resolved": "https://registry.npmjs.org/@hyperjump/json-schema-core/-/json-schema-core-0.28.5.tgz", + "integrity": "sha512-+f5P3oHYCQru3s+Ha+E10rIyEvyK0Hfa2oj3+cDoGaVMbT4Jg5TgCoIM7B5rl3t3KRA7EOmrLjKFGeLi5yd1pg==", "dev": true, "requires": { - "@hyperjump/json-pointer": "^0.9.1", - "@hyperjump/pact": "^0.2.0", + "@hyperjump/json": "^0.1.0", + "@hyperjump/json-pointer": "^0.9.4", + "@hyperjump/pact": "^0.2.3", "content-type": "^1.0.4", "node-fetch": "^2.6.5", - "pubsub-js": "^1.9.1", - "url-resolve-browser": "^1.2.0" + "pubsub-js": "^1.9.4", + "uri-js": "^4.4.1" } }, "@hyperjump/pact": { @@ -22357,6 +22383,12 @@ "integrity": "sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==", "dev": true }, + "moo": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/moo/-/moo-0.5.2.tgz", + "integrity": "sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==", + "dev": true + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -25474,12 +25506,6 @@ "prepend-http": "^2.0.0" } }, - "url-resolve-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/url-resolve-browser/-/url-resolve-browser-1.2.0.tgz", - "integrity": "sha512-L9PBPnlKNDFzt9ElK4br8I8Tufdm1xgv1GhMeiP7ZC87x0b7mr+4vSh13kmPq5km80JKX+UD2BeEFTCrFZ6xDA==", - "dev": true - }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", diff --git a/package.json b/package.json index 81f7f661f..2f36a3d48 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@blockly/block-test": "^3.0.0", "@blockly/dev-tools": "^5.0.0", "@blockly/theme-modern": "^3.0.0", - "@hyperjump/json-schema": "^0.18.5", + "@hyperjump/json-schema": "^0.23.3", "@microsoft/api-documenter": "^7.19.16", "@microsoft/api-extractor": "^7.29.5", "@typescript-eslint/eslint-plugin": "^5.33.1", diff --git a/tests/migration/renamings-schema.json b/tests/migration/renamings.schema.json similarity index 100% rename from tests/migration/renamings-schema.json rename to tests/migration/renamings.schema.json diff --git a/tests/migration/validate-renamings.js b/tests/migration/validate-renamings.js index a5c084b3f..fafd17041 100644 --- a/tests/migration/validate-renamings.js +++ b/tests/migration/validate-renamings.js @@ -24,7 +24,7 @@ const {posixPath} = require('../../scripts/helpers'); * Renaming schema filename. * @type {string} */ -const SCHEMA_FILENAME = path.join(__dirname, 'renamings-schema.json'); +const SCHEMA_FILENAME = path.join(__dirname, 'renamings.schema.json'); /** * Renamings filename.