From 0760cf4deb4b7e22db9a582bce2fb9847d7f4251 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Jan 2023 12:08:42 -0500 Subject: [PATCH] fix(deps): update dependency ajv to v8.12.0 (#297) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Lautzenheiser --- .eslintignore | 1 - .vscode/tasks.json | 16 ++++++++++++++++ packages/core/.eslintignore | 1 - packages/core/.prettierignore | 3 ++- packages/core/package.json | 2 +- .../__mocks__/{j-toml.min.js => j-toml.js} | 0 packages/core/test/setupEnv.js | 2 +- yarn.lock | 18 ++++-------------- 8 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 .vscode/tasks.json rename packages/core/src/formats/util/__mocks__/{j-toml.min.js => j-toml.js} (100%) diff --git a/.eslintignore b/.eslintignore index 19100a3b..b1b5e327 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,4 +2,3 @@ node_modules dist dev-test *.js -j-toml.min.d.ts diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..06e4771d --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "dev", + "problemMatcher": [], + "label": "npm: dev", + "detail": "lerna run dev --scope=@staticcms/core", + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/packages/core/.eslintignore b/packages/core/.eslintignore index 19100a3b..b1b5e327 100644 --- a/packages/core/.eslintignore +++ b/packages/core/.eslintignore @@ -2,4 +2,3 @@ node_modules dist dev-test *.js -j-toml.min.d.ts diff --git a/packages/core/.prettierignore b/packages/core/.prettierignore index 485fb2a0..222ea057 100644 --- a/packages/core/.prettierignore +++ b/packages/core/.prettierignore @@ -1,4 +1,5 @@ dist/ bin/ public/ -.cache/ \ No newline at end of file +.cache/ +j-toml.js diff --git a/packages/core/package.json b/packages/core/package.json index ec917205..234742e5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -81,7 +81,7 @@ "@udecode/plate-serializer-md": "18.13.0", "@uiw/codemirror-extensions-langs": "4.19.5", "@uiw/react-codemirror": "4.19.5", - "ajv": "8.11.2", + "ajv": "8.12.0", "ajv-errors": "3.0.0", "ajv-keywords": "5.1.0", "array-move": "4.0.0", diff --git a/packages/core/src/formats/util/__mocks__/j-toml.min.js b/packages/core/src/formats/util/__mocks__/j-toml.js similarity index 100% rename from packages/core/src/formats/util/__mocks__/j-toml.min.js rename to packages/core/src/formats/util/__mocks__/j-toml.js diff --git a/packages/core/test/setupEnv.js b/packages/core/test/setupEnv.js index d27b494d..e9bb1b35 100644 --- a/packages/core/test/setupEnv.js +++ b/packages/core/test/setupEnv.js @@ -15,4 +15,4 @@ if (typeof window === 'undefined') { global.URL.createObjectURL = jest.fn(); -jest.mock('../src/formats/util/j-toml.min'); +jest.mock('../src/formats/util/j-toml'); diff --git a/yarn.lock b/yarn.lock index 9996cde8..eba9b19c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5119,10 +5119,10 @@ ajv-keywords@^3.5.2: resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@8.11.2: - version "8.11.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.2.tgz#aecb20b50607acf2569b6382167b65a96008bb78" - integrity sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg== +ajv@8.12.0, ajv@^8.0.0, ajv@^8.6.0, ajv@^8.8.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -5139,16 +5139,6 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.6.0, ajv@^8.8.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - ansi-colors@^4.1.1: version "4.1.3" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b"