From dfb112617e466b2b9344c1eac03a27622560622c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 11 Mar 2022 02:18:37 +0000 Subject: [PATCH 01/66] chore(release): 1.5.0 [skip ci] # [1.5.0](https://github.com/Belphemur/node-json-db/compare/v1.4.1...v1.5.0) (2022-03-11) ### Features * **FSYNC:** Optional fsync when saving the database ([d1c67fd](https://github.com/Belphemur/node-json-db/commit/d1c67fd35658ad1ec0c359aafc1cb7e763e0cce7)), closes [#372](https://github.com/Belphemur/node-json-db/issues/372) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98f1bffe..cb7842ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.5.0](https://github.com/Belphemur/node-json-db/compare/v1.4.1...v1.5.0) (2022-03-11) + + +### Features + +* **FSYNC:** Optional fsync when saving the database ([d1c67fd](https://github.com/Belphemur/node-json-db/commit/d1c67fd35658ad1ec0c359aafc1cb7e763e0cce7)), closes [#372](https://github.com/Belphemur/node-json-db/issues/372) + ## [1.4.1](https://github.com/Belphemur/node-json-db/compare/v1.4.0...v1.4.1) (2021-09-22) diff --git a/package.json b/package.json index 8ba072c2..53ab0684 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-json-db", - "version": "1.4.1", + "version": "1.5.0", "description": "Database using JSON file as storage for Node.JS", "main": "dist/JsonDB.js", "types": "dist/JsonDB.d.ts", From 94df12d63d0e61bff998be75b841be898392bd04 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Mar 2022 05:02:30 +0000 Subject: [PATCH 02/66] chore(deps-dev): bump @types/node from 17.0.21 to 17.0.22 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 17.0.22. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e64c81a0..2dca2cbb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1837,9 +1837,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.21.tgz#864b987c0c68d07b4345845c3e63b75edd143644" - integrity sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ== + version "17.0.22" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.22.tgz#38b6c4b9b2f3ed9f2e376cce42a298fb2375251e" + integrity sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 885e7dadf64c452defb2d4f81fb4781e5461a1d8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Mar 2022 05:17:16 +0000 Subject: [PATCH 03/66] chore(deps): bump actions/cache from 2 to 3 Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a4740728..066dbc34 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -22,7 +22,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: yarn with: @@ -53,7 +53,7 @@ jobs: with: node-version: ${{env.NODEJS}} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: yarn with: @@ -82,7 +82,7 @@ jobs: with: node-version: ${{env.NODEJS}} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: yarn with: From c3b127b678baed221d704ed08e46551438bfd237 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Mar 2022 05:03:03 +0000 Subject: [PATCH 04/66] chore(deps-dev): bump @types/node from 17.0.22 to 17.0.23 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.22 to 17.0.23. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2dca2cbb..0ba8a657 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1837,9 +1837,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.22" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.22.tgz#38b6c4b9b2f3ed9f2e376cce42a298fb2375251e" - integrity sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw== + version "17.0.23" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da" + integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 76a3d66533b3d2f31075fb6c1dc5008299e3c80a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Mar 2022 05:02:29 +0000 Subject: [PATCH 05/66] chore(deps-dev): bump ts-jest from 27.1.3 to 27.1.4 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.3 to 27.1.4. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/v27.1.4/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4) --- updated-dependencies: - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0ba8a657..63de5762 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1315,17 +1315,6 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^27.4.2": - version "27.4.2" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.4.2.tgz#96536ebd34da6392c2b7c7737d693885b5dd44a5" - integrity sha512-j35yw0PMTPpZsUoOBiuHzr1zTYoad1cVIE0ajEjcrJONxxrko/IRGKkXx3os0Nsi4Hu3+5VmDbVfq5WhG/pWAg== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^16.0.0" - chalk "^4.0.0" - "@jest/types@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" @@ -4550,19 +4539,7 @@ jest-snapshot@^27.5.1: pretty-format "^27.5.1" semver "^7.3.2" -jest-util@^27.0.0: - version "27.4.2" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.4.2.tgz#ed95b05b1adfd761e2cda47e0144c6a58e05a621" - integrity sha512-YuxxpXU6nlMan9qyLuxHaMMOzXAl5aGZWCSzben5DhLHemYQxCc4YK+4L3ZrCutT8GPQ+ui9k5D8rUJoDioMnA== - dependencies: - "@jest/types" "^27.4.2" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.4" - picomatch "^2.2.3" - -jest-util@^27.5.1: +jest-util@^27.0.0, jest-util@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== @@ -7083,9 +7060,9 @@ trim-newlines@^3.0.0: integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== ts-jest@^27.0.5: - version "27.1.3" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.3.tgz#1f723e7e74027c4da92c0ffbd73287e8af2b2957" - integrity sha512-6Nlura7s6uM9BVUAoqLH7JHyMXjz8gluryjpPXxr3IxZdAXnU6FhjvVLHFtfd1vsE1p8zD1OJfskkc0jhTSnkA== + version "27.1.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.4.tgz#84d42cf0f4e7157a52e7c64b1492c46330943e00" + integrity sha512-qjkZlVPWVctAezwsOD1OPzbZ+k7zA5z3oxII4dGdZo5ggX/PL7kvwTM0pXTr10fAtbiVpJaL3bWd502zAhpgSQ== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" From 9fb0c265d26d36a95fc7de7e7fda39320e648ac1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Mar 2022 05:02:41 +0000 Subject: [PATCH 06/66] chore(deps-dev): bump typescript from 4.6.2 to 4.6.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0ba8a657..b2867d73 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7167,9 +7167,9 @@ typedoc@^0.22.3: shiki "^0.10.1" typescript@^4.4.3: - version "4.6.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" - integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg== + version "4.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" + integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw== uglify-js@^3.1.4: version "3.14.2" From e9ceeb34807e6409880b81508424fd50b44264cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Apr 2022 05:23:12 +0000 Subject: [PATCH 07/66] chore(deps): bump actions/setup-node from 3.0.0 to 3.1.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.0.0...v3.1.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 066dbc34..57f62336 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -29,7 +29,7 @@ jobs: path: ${{env.YARN_CACHE}} key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3.0.0 + uses: actions/setup-node@v3.1.0 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -49,7 +49,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.0.0 + uses: actions/setup-node@v3.1.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules @@ -78,7 +78,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.0.0 + uses: actions/setup-node@v3.1.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules From 4195ba9eafdf2542878e8d3a352de11cbfd5205f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 05:15:34 +0000 Subject: [PATCH 08/66] chore(deps): bump JamesIves/github-pages-deploy-action Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.5 to 4.3.0. - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases) - [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.5...v4.3.0) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 57f62336..5603f796 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -64,7 +64,7 @@ jobs: - name: Build package run: yarn build:doc - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.2.5 + uses: JamesIves/github-pages-deploy-action@v4.3.0 with: branch: gh-pages # The branch the action should deploy to. folder: docs # The folder the action should deploy. From e35753661a0fb0bfbab9bfa95335cb7641109b94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Apr 2022 05:18:03 +0000 Subject: [PATCH 09/66] chore(deps): bump codecov/codecov-action from 2.1.0 to 3 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 5603f796..7ccc6035 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,7 +37,7 @@ jobs: - name: Run tests run: yarn test - name: Upload code coverage - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true # optional (default = false) deploy-pages: From afa62061e8732198c91d004128d99b30b07b6357 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Apr 2022 05:02:38 +0000 Subject: [PATCH 10/66] chore(deps-dev): bump typedoc from 0.22.13 to 0.22.14 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.13 to 0.22.14. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.13...v0.22.14) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index c933b8e9..213be42b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7133,9 +7133,9 @@ typedarray-to-buffer@^4.0.0: integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== typedoc@^0.22.3: - version "0.22.13" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.13.tgz#d061f8f0fb7c9d686e48814f245bddeea4564e66" - integrity sha512-NHNI7Dr6JHa/I3+c62gdRNXBIyX7P33O9TafGLd07ur3MqzcKgwTvpg18EtvCLHJyfeSthAtCLpM7WkStUmDuQ== + version "0.22.14" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.14.tgz#c690677c31bc1dd5618caffc001bfa8554c4c02f" + integrity sha512-tlf9wIcsrnQSjetStrnRutuy2RjZkG5PK2umwveZLTkuC2K9VywOZTdu2G19BdOPzGrhZjf9WK7pthXqnFQejg== dependencies: glob "^7.2.0" lunr "^2.3.9" From 26ee373a84133ff83585d61174554018c268b097 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 05:01:41 +0000 Subject: [PATCH 11/66] chore(deps-dev): bump typedoc from 0.22.14 to 0.22.15 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.14 to 0.22.15. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.14...v0.22.15) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 213be42b..ab3838e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7133,9 +7133,9 @@ typedarray-to-buffer@^4.0.0: integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== typedoc@^0.22.3: - version "0.22.14" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.14.tgz#c690677c31bc1dd5618caffc001bfa8554c4c02f" - integrity sha512-tlf9wIcsrnQSjetStrnRutuy2RjZkG5PK2umwveZLTkuC2K9VywOZTdu2G19BdOPzGrhZjf9WK7pthXqnFQejg== + version "0.22.15" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.15.tgz#c6ad7ed9d017dc2c3a06c9189cb392bd8e2d8c3f" + integrity sha512-CMd1lrqQbFvbx6S9G6fL4HKp3GoIuhujJReWqlIvSb2T26vGai+8Os3Mde7Pn832pXYemd9BMuuYWhFpL5st0Q== dependencies: glob "^7.2.0" lunr "^2.3.9" From dd4c3e4458af57b24815e61b748b96c18692c5c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:36:12 +0000 Subject: [PATCH 12/66] chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7ccc6035..06fad3b3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -29,7 +29,7 @@ jobs: path: ${{env.YARN_CACHE}} key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3.1.0 + uses: actions/setup-node@v3.1.1 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -49,7 +49,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.1.0 + uses: actions/setup-node@v3.1.1 with: node-version: ${{env.NODEJS}} - name: Cache node modules @@ -78,7 +78,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.1.0 + uses: actions/setup-node@v3.1.1 with: node-version: ${{env.NODEJS}} - name: Cache node modules From 4cdd385e49afb9e13beb250db0d89e22b46761d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 05:02:27 +0000 Subject: [PATCH 13/66] chore(deps-dev): bump @types/node from 17.0.23 to 17.0.24 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.23 to 17.0.24. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index ab3838e0..0775d280 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da" - integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw== + version "17.0.24" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.24.tgz#20ba1bf69c1b4ab405c7a01e950c4f446b05029f" + integrity sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g== "@types/normalize-package-data@^2.4.0": version "2.4.1" From ab39583c341c2026ba145b6baad207295565d284 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Apr 2022 05:01:56 +0000 Subject: [PATCH 14/66] chore(deps-dev): bump @types/node from 17.0.24 to 17.0.25 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.24 to 17.0.25. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0775d280..88eb70c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.24" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.24.tgz#20ba1bf69c1b4ab405c7a01e950c4f446b05029f" - integrity sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g== + version "17.0.25" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.25.tgz#527051f3c2f77aa52e5dc74e45a3da5fb2301448" + integrity sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 7ff74e491a66bf9ed8859c846e601849b7a5be24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Apr 2022 05:04:19 +0000 Subject: [PATCH 15/66] chore(deps-dev): bump @types/node from 17.0.25 to 17.0.26 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.25 to 17.0.26. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 88eb70c7..ab0fcdb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.25" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.25.tgz#527051f3c2f77aa52e5dc74e45a3da5fb2301448" - integrity sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w== + version "17.0.26" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.26.tgz#1bbff9b23ee5a64f87b4f30c0c854b112ee2e635" + integrity sha512-z/FG/6DUO7pnze3AE3TBGIjGGKkvCcGcWINe1C7cADY8hKLJPDYpzsNE37uExQ4md5RFtTCvg+M8Mu1Enyeg2A== "@types/normalize-package-data@^2.4.0": version "2.4.1" From fb61e5cc1fdfc4d10d4605c41cc0a50c34a2c996 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Apr 2022 05:25:45 +0000 Subject: [PATCH 16/66] chore(deps): bump JamesIves/github-pages-deploy-action Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.0 to 4.3.2. - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases) - [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.0...v4.3.2) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 06fad3b3..105829d9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -64,7 +64,7 @@ jobs: - name: Build package run: yarn build:doc - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.3.0 + uses: JamesIves/github-pages-deploy-action@v4.3.2 with: branch: gh-pages # The branch the action should deploy to. folder: docs # The folder the action should deploy. From 5318975005b61e3d2362ac9f15c6aebe4b7d4444 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Apr 2022 05:02:25 +0000 Subject: [PATCH 17/66] chore(deps-dev): bump @types/node from 17.0.26 to 17.0.27 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.26 to 17.0.27. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index ab0fcdb7..2eb4a5bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.26" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.26.tgz#1bbff9b23ee5a64f87b4f30c0c854b112ee2e635" - integrity sha512-z/FG/6DUO7pnze3AE3TBGIjGGKkvCcGcWINe1C7cADY8hKLJPDYpzsNE37uExQ4md5RFtTCvg+M8Mu1Enyeg2A== + version "17.0.27" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.27.tgz#f4df3981ae8268c066e8f49995639f855469081e" + integrity sha512-4/Ke7bbWOasuT3kceBZFGakP1dYN2XFd8v2l9bqF2LNWrmeU07JLpp56aEeG6+Q3olqO5TvXpW0yaiYnZJ5CXg== "@types/normalize-package-data@^2.4.0": version "2.4.1" From d5a72633d19862e251b6ecc63820dbb27119d97a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Apr 2022 05:28:06 +0000 Subject: [PATCH 18/66] chore(deps): bump github/codeql-action from 1 to 2 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9bc3979b..7de35119 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 From 6ca08fbe2be5b604bab394991ac8bbab20dfb8cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Apr 2022 05:28:09 +0000 Subject: [PATCH 19/66] chore(deps): bump JamesIves/github-pages-deploy-action Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.2 to 4.3.3. - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases) - [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.2...v4.3.3) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 105829d9..6d8764de 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -64,7 +64,7 @@ jobs: - name: Build package run: yarn build:doc - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.3.2 + uses: JamesIves/github-pages-deploy-action@v4.3.3 with: branch: gh-pages # The branch the action should deploy to. folder: docs # The folder the action should deploy. From 51e8d1cecaa92820c260b1ba0b90194a2c519f53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Apr 2022 05:02:59 +0000 Subject: [PATCH 20/66] chore(deps-dev): bump @types/node from 17.0.27 to 17.0.29 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.27 to 17.0.29. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2eb4a5bc..5fbaed40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.27" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.27.tgz#f4df3981ae8268c066e8f49995639f855469081e" - integrity sha512-4/Ke7bbWOasuT3kceBZFGakP1dYN2XFd8v2l9bqF2LNWrmeU07JLpp56aEeG6+Q3olqO5TvXpW0yaiYnZJ5CXg== + version "17.0.29" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.29.tgz#7f2e1159231d4a077bb660edab0fde373e375a3d" + integrity sha512-tx5jMmMFwx7wBwq/V7OohKDVb/JwJU5qCVkeLMh1//xycAJ/ESuw9aJ9SEtlCZDYi2pBfe4JkisSoAtbOsBNAA== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 048d932ab7f7a32957963c6e8f9c756f36c76b8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Apr 2022 05:04:26 +0000 Subject: [PATCH 21/66] chore(deps-dev): bump typescript from 4.6.3 to 4.6.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5fbaed40..89785510 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7144,9 +7144,9 @@ typedoc@^0.22.3: shiki "^0.10.1" typescript@^4.4.3: - version "4.6.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" - integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw== + version "4.6.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" + integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== uglify-js@^3.1.4: version "3.14.2" From 48fc06d456daf172419f8ce2a94b5fab3ad48f17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Apr 2022 05:05:51 +0000 Subject: [PATCH 22/66] chore(deps-dev): bump @types/node from 17.0.29 to 17.0.30 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.29 to 17.0.30. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5fbaed40..23036531 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.29" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.29.tgz#7f2e1159231d4a077bb660edab0fde373e375a3d" - integrity sha512-tx5jMmMFwx7wBwq/V7OohKDVb/JwJU5qCVkeLMh1//xycAJ/ESuw9aJ9SEtlCZDYi2pBfe4JkisSoAtbOsBNAA== + version "17.0.30" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.30.tgz#2c6e8512acac70815e8176aa30c38025067880ef" + integrity sha512-oNBIZjIqyHYP8VCNAV9uEytXVeXG2oR0w9lgAXro20eugRQfY002qr3CUl6BAe+Yf/z3CRjPdz27Pu6WWtuSRw== "@types/normalize-package-data@^2.4.0": version "2.4.1" From fd1168a0d055ac771e3625bca72fc836c0981738 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 05:02:19 +0000 Subject: [PATCH 23/66] chore(deps-dev): bump @types/node from 17.0.30 to 17.0.31 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.30 to 17.0.31. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 633a8a0a..bbdacdf1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.30" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.30.tgz#2c6e8512acac70815e8176aa30c38025067880ef" - integrity sha512-oNBIZjIqyHYP8VCNAV9uEytXVeXG2oR0w9lgAXro20eugRQfY002qr3CUl6BAe+Yf/z3CRjPdz27Pu6WWtuSRw== + version "17.0.31" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" + integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 80a95e0e1058d235bbcced1dde183f376020d13f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 May 2022 05:02:48 +0000 Subject: [PATCH 24/66] chore(deps-dev): bump @types/jest from 27.4.1 to 27.5.0 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.1 to 27.5.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index bbdacdf1..0d3c14e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1806,9 +1806,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@^27.0.0": - version "27.4.1" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.4.1.tgz#185cbe2926eaaf9662d340cc02e548ce9e11ab6d" - integrity sha512-23iPJADSmicDVrWk+HT58LMJtzLAnB2AgIzplQuq/bSrGaxCrlvRFjGbXmamnnk/mAmCdLStiGqggu28ocUyiw== + version "27.5.0" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.0.tgz#e04ed1824ca6b1dd0438997ba60f99a7405d4c7b" + integrity sha512-9RBFx7r4k+msyj/arpfaa0WOOEcaAZNmN+j80KFbFCoSqCJGHTz7YMAMGQW9Xmqm5w6l5c25vbSjMwlikJi5+g== dependencies: jest-matcher-utils "^27.0.0" pretty-format "^27.0.0" From 7b5fd1bcea94d13999bf61b7d9f788cca6e75e65 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 May 2022 05:02:05 +0000 Subject: [PATCH 25/66] chore(deps-dev): bump husky from 7.0.4 to 8.0.0 Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.0. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.0) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 53ab0684..f7e99821 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@types/node": "^17.0.0", "@types/safe-regex": "^1.1.2", "cz-conventional-changelog": "^3.3.0", - "husky": "^7.0.0", + "husky": "^8.0.0", "jest": "^27.2.0", "last-release-git": "^0.0.3", "safe-regex": "~2.1.1", diff --git a/yarn.lock b/yarn.lock index 0d3c14e9..ea65b452 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3787,10 +3787,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@^7.0.0: - version "7.0.4" - resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535" - integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ== +husky@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.0.tgz#65b2d94765199d651615716a42ea52f3c2d997a0" + integrity sha512-4qbE/5dzNDNxFEkX9MNRPKl5+omTXQzdILCUWiqG/lWIAioiM5vln265/l6I2Zx8gpW8l1ukZwGQeCFbBZ6+6w== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" From ae2115ef42cd55c8ed2c59723f800fcf771e63c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 May 2022 05:02:06 +0000 Subject: [PATCH 26/66] chore(deps-dev): bump husky from 8.0.0 to 8.0.1 Bumps [husky](https://github.com/typicode/husky) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.0...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index ea65b452..f446ee10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3788,9 +3788,9 @@ humanize-ms@^1.2.1: ms "^2.0.0" husky@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.0.tgz#65b2d94765199d651615716a42ea52f3c2d997a0" - integrity sha512-4qbE/5dzNDNxFEkX9MNRPKl5+omTXQzdILCUWiqG/lWIAioiM5vln265/l6I2Zx8gpW8l1ukZwGQeCFbBZ6+6w== + version "8.0.1" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" + integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" From 41c51202d33d5ce529bc3174bcecbc2c2d304105 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 May 2022 05:01:58 +0000 Subject: [PATCH 27/66] chore(deps-dev): bump @types/node from 17.0.31 to 17.0.32 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.31 to 17.0.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index f446ee10..3d467782 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" - integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== + version "17.0.32" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.32.tgz#51d59d7a90ef2d0ae961791e0900cad2393a0149" + integrity sha512-eAIcfAvhf/BkHcf4pkLJ7ECpBAhh9kcxRBpip9cTiO+hf+aJrsxYxBeS6OXvOd9WqNAJmavXVpZvY1rBjNsXmw== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 8a0688d6ebba318388ec60780dffe034ab9fa944 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 May 2022 05:02:17 +0000 Subject: [PATCH 28/66] chore(deps-dev): bump @types/node from 17.0.32 to 17.0.33 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.32 to 17.0.33. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3d467782..8f1f9b4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.32" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.32.tgz#51d59d7a90ef2d0ae961791e0900cad2393a0149" - integrity sha512-eAIcfAvhf/BkHcf4pkLJ7ECpBAhh9kcxRBpip9cTiO+hf+aJrsxYxBeS6OXvOd9WqNAJmavXVpZvY1rBjNsXmw== + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.33.tgz#3c1879b276dc63e73030bb91165e62a4509cd506" + integrity sha512-miWq2m2FiQZmaHfdZNcbpp9PuXg34W5JZ5CrJ/BaS70VuhoJENBEQybeiYSaPBRNq6KQGnjfEnc/F3PN++D+XQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 1cace1951f42174d2e7702fef943dcfb365ea7ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 05:02:14 +0000 Subject: [PATCH 29/66] chore(deps-dev): bump @types/node from 17.0.33 to 17.0.34 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.33 to 17.0.34. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 8f1f9b4d..6b974582 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.33" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.33.tgz#3c1879b276dc63e73030bb91165e62a4509cd506" - integrity sha512-miWq2m2FiQZmaHfdZNcbpp9PuXg34W5JZ5CrJ/BaS70VuhoJENBEQybeiYSaPBRNq6KQGnjfEnc/F3PN++D+XQ== + version "17.0.34" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.34.tgz#3b0b6a50ff797280b8d000c6281d229f9c538cef" + integrity sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA== "@types/normalize-package-data@^2.4.0": version "2.4.1" From d8bf282155a59f94d22d60329ccc79763d22eb66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 05:23:19 +0000 Subject: [PATCH 30/66] chore(deps): bump actions/setup-node from 3.1.1 to 3.2.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.1.1...v3.2.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6d8764de..05504ef0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -29,7 +29,7 @@ jobs: path: ${{env.YARN_CACHE}} key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3.1.1 + uses: actions/setup-node@v3.2.0 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -49,7 +49,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.1.1 + uses: actions/setup-node@v3.2.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules @@ -78,7 +78,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.1.1 + uses: actions/setup-node@v3.2.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules From 920f4e8fbf711ee89e299af8d9b916a0525443c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 May 2022 05:01:30 +0000 Subject: [PATCH 31/66] chore(deps-dev): bump @types/node from 17.0.34 to 17.0.35 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.34 to 17.0.35. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6b974582..6aea2941 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.34" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.34.tgz#3b0b6a50ff797280b8d000c6281d229f9c538cef" - integrity sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA== + version "17.0.35" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.35.tgz#635b7586086d51fb40de0a2ec9d1014a5283ba4a" + integrity sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 4731080d4207862a88d35fb23674c3c68fa93218 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 05:02:18 +0000 Subject: [PATCH 32/66] chore(deps-dev): bump @types/node from 17.0.35 to 17.0.36 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.35 to 17.0.36. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6aea2941..0b5a24bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.35" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.35.tgz#635b7586086d51fb40de0a2ec9d1014a5283ba4a" - integrity sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg== + version "17.0.36" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.36.tgz#c0d5f2fe76b47b63e0e0efc3d2049a9970d68794" + integrity sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 3b77f9b773c6448d248f25255a8114dfc2ed3ace Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 May 2022 05:02:34 +0000 Subject: [PATCH 33/66] chore(deps-dev): bump typedoc from 0.22.15 to 0.22.16 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.15 to 0.22.16. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.15...v0.22.16) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 51 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0b5a24bd..59c2fa1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3556,17 +3556,16 @@ glob-parent@^5.1.2: dependencies: is-glob "^4.0.1" -glob@*, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== +glob@*, glob@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^5.0.1" once "^1.3.0" - path-is-absolute "^1.0.0" glob@7.1.4: version "7.1.4" @@ -3580,6 +3579,18 @@ glob@7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: + version "7.2.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" + integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + global-dirs@^0.1.0, global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -5087,10 +5098,10 @@ marked-terminal@^5.0.0: node-emoji "^1.11.0" supports-hyperlinks "^2.2.0" -marked@^4.0.10, marked@^4.0.12: - version "4.0.12" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.0.12.tgz#2262a4e6fd1afd2f13557726238b69a48b982f7d" - integrity sha512-hgibXWrEDNBWgGiK18j/4lkS6ihTe9sxtV4Q1OQppb/0zzyPSzoFANBa5MfsG/zgsWklmNnhm0XACZOH/0HBiQ== +marked@^4.0.10, marked@^4.0.16: + version "4.0.16" + resolved "https://registry.yarnpkg.com/marked/-/marked-4.0.16.tgz#9ec18fc1a723032eb28666100344d9428cf7a264" + integrity sha512-wahonIQ5Jnyatt2fn8KqF/nIqZM8mh3oRu2+l5EANGMhu6RFjiSG52QNE2eWzFMI94HqYSgN184NurgNG6CztA== mem@^4.0.0: version "4.3.0" @@ -5185,10 +5196,10 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" - integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== +minimatch@^5.0.1, minimatch@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== dependencies: brace-expansion "^2.0.1" @@ -7133,14 +7144,14 @@ typedarray-to-buffer@^4.0.0: integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== typedoc@^0.22.3: - version "0.22.15" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.15.tgz#c6ad7ed9d017dc2c3a06c9189cb392bd8e2d8c3f" - integrity sha512-CMd1lrqQbFvbx6S9G6fL4HKp3GoIuhujJReWqlIvSb2T26vGai+8Os3Mde7Pn832pXYemd9BMuuYWhFpL5st0Q== + version "0.22.16" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.16.tgz#41e0ff099274ce13c5c3ea49cc5ad615d2f3119e" + integrity sha512-0Qf0/CsQe6JZTXoYwBM3Iql8gLAWLjQP7O/j9YzfkJp3G/WVGmIMRajKnldJuA/zVvhr+ifsHTgctQh5g2t4iw== dependencies: - glob "^7.2.0" + glob "^8.0.3" lunr "^2.3.9" - marked "^4.0.12" - minimatch "^5.0.1" + marked "^4.0.16" + minimatch "^5.1.0" shiki "^0.10.1" typescript@^4.4.3: From f33d52c74ebb4a0542fd4145d15826e7cc14d9aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jun 2022 07:57:12 +0000 Subject: [PATCH 34/66] chore(deps-dev): bump @types/node from 17.0.36 to 17.0.38 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.36 to 17.0.38. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 59c2fa1d..21e24a92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1826,9 +1826,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.36" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.36.tgz#c0d5f2fe76b47b63e0e0efc3d2049a9970d68794" - integrity sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA== + version "17.0.38" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.38.tgz#f8bb07c371ccb1903f3752872c89f44006132947" + integrity sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g== "@types/normalize-package-data@^2.4.0": version "2.4.1" From 2a6a04de59162be9d600ffda9782239cb1318c55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jun 2022 07:57:45 +0000 Subject: [PATCH 35/66] chore(deps-dev): bump typedoc from 0.22.16 to 0.22.17 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.16 to 0.22.17. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.16...v0.22.17) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 59c2fa1d..fd8b12eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7144,9 +7144,9 @@ typedarray-to-buffer@^4.0.0: integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== typedoc@^0.22.3: - version "0.22.16" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.16.tgz#41e0ff099274ce13c5c3ea49cc5ad615d2f3119e" - integrity sha512-0Qf0/CsQe6JZTXoYwBM3Iql8gLAWLjQP7O/j9YzfkJp3G/WVGmIMRajKnldJuA/zVvhr+ifsHTgctQh5g2t4iw== + version "0.22.17" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.17.tgz#bc51cc95f569040112504300831cdac4f8089b7b" + integrity sha512-h6+uXHVVCPDaANzjwzdsj9aePBjZiBTpiMpBBeyh1zcN2odVsDCNajz8zyKnixF93HJeGpl34j/70yoEE5BfNg== dependencies: glob "^8.0.3" lunr "^2.3.9" From 83da19e947b1425d29789e272e9ebb4334f2187f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jun 2022 07:58:06 +0000 Subject: [PATCH 36/66] chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 59c2fa1d..07c3a75c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7155,9 +7155,9 @@ typedoc@^0.22.3: shiki "^0.10.1" typescript@^4.4.3: - version "4.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" - integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== + version "4.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" + integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== uglify-js@^3.1.4: version "3.14.2" From 97d77b4051c3e5ba288fb4c691b3009a49d6cad4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Jun 2022 15:45:44 +0000 Subject: [PATCH 37/66] chore(deps): bump npm from 8.3.1 to 8.12.0 Bumps [npm](https://github.com/npm/cli) from 8.3.1 to 8.12.0. - [Release notes](https://github.com/npm/cli/releases) - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md) - [Commits](https://github.com/npm/cli/compare/v8.3.1...v8.12.0) --- updated-dependencies: - dependency-name: npm dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 1363 ++++++++++++++++++++++++++++------------------------- 1 file changed, 733 insertions(+), 630 deletions(-) diff --git a/yarn.lock b/yarn.lock index 64702fcc..6ea6abfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1096,6 +1096,11 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@colors/colors@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" + integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== + "@commitlint/execute-rule@^13.0.0": version "13.0.0" resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-13.0.0.tgz#7823303b82b5d86dac46e67cfa005f4433476981" @@ -1131,12 +1136,12 @@ dependencies: chalk "^4.0.0" -"@gar/promisify@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210" - integrity sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw== +"@gar/promisify@^1.0.1", "@gar/promisify@^1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" + integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@isaacs/string-locale-compare@*", "@isaacs/string-locale-compare@^1.1.0": +"@isaacs/string-locale-compare@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== @@ -1347,95 +1352,104 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/arborist@*", "@npmcli/arborist@^4.0.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-4.2.0.tgz#722b114376645ed3c78e1cef62969eb7993df2a0" - integrity sha512-uQmPnwuhNHkN8IgCwda6wXklUf3BUfuuIUFuJMT224frUS5u2AuEAeCr2fiRVsz7AHcW3iSDai2j3WhVFlfbRQ== +"@npmcli/arborist@^5.0.0", "@npmcli/arborist@^5.0.4": + version "5.2.1" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-5.2.1.tgz#4f38187cb694946f551a825df17e6efd565b8946" + integrity sha512-DNyTHov3lU7PtCGHABzrPqQOUiBdiYzZ5dLv3D0RD5I9KbmhTLcZI/rv3ddZY0K9vpDE/R+R48b+cU/dUkL0Tw== dependencies: "@isaacs/string-locale-compare" "^1.1.0" "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/map-workspaces" "^2.0.0" - "@npmcli/metavuln-calculator" "^2.0.0" - "@npmcli/move-file" "^1.1.0" + "@npmcli/map-workspaces" "^2.0.3" + "@npmcli/metavuln-calculator" "^3.0.1" + "@npmcli/move-file" "^2.0.0" "@npmcli/name-from-folder" "^1.0.1" - "@npmcli/node-gyp" "^1.0.3" - "@npmcli/package-json" "^1.0.1" - "@npmcli/run-script" "^2.0.0" - bin-links "^2.3.0" - cacache "^15.0.3" + "@npmcli/node-gyp" "^2.0.0" + "@npmcli/package-json" "^2.0.0" + "@npmcli/run-script" "^3.0.0" + bin-links "^3.0.0" + cacache "^16.0.6" common-ancestor-path "^1.0.1" json-parse-even-better-errors "^2.3.1" json-stringify-nice "^1.1.4" mkdirp "^1.0.4" mkdirp-infer-owner "^2.0.0" - npm-install-checks "^4.0.0" - npm-package-arg "^8.1.5" - npm-pick-manifest "^6.1.0" - npm-registry-fetch "^11.0.0" - pacote "^12.0.2" + nopt "^5.0.0" + npm-install-checks "^5.0.0" + npm-package-arg "^9.0.0" + npm-pick-manifest "^7.0.0" + npm-registry-fetch "^13.0.0" + npmlog "^6.0.2" + pacote "^13.0.5" parse-conflict-json "^2.0.1" - proc-log "^1.0.0" + proc-log "^2.0.0" promise-all-reject-late "^1.0.0" promise-call-limit "^1.0.1" read-package-json-fast "^2.0.2" readdir-scoped-modules "^1.1.0" rimraf "^3.0.2" - semver "^7.3.5" - ssri "^8.0.1" - treeverse "^1.0.4" + semver "^7.3.7" + ssri "^9.0.0" + treeverse "^2.0.0" walk-up-path "^1.0.0" -"@npmcli/ci-detect@*": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz#18478bbaa900c37bfbd8a2006a6262c62e8b0fe1" - integrity sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q== - -"@npmcli/ci-detect@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz#6c1d2c625fb6ef1b9dea85ad0a5afcbef85ef22a" - integrity sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q== +"@npmcli/ci-detect@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-2.0.0.tgz#e63c91bcd4185ac1e85720a34fc48e164ece5b89" + integrity sha512-8yQtQ9ArHh/TzdUDKQwEvwCgpDuhSWTDAbiKMl3854PcT+Dk4UmWaiawuFTLy9n5twzXOBXVflWe+90/ffXQrA== -"@npmcli/config@*": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@npmcli/config/-/config-2.4.0.tgz#1447b0274f9502871dabd3ab1d8302472d515b1f" - integrity sha512-fwxu/zaZnvBJohXM3igzqa3P1IVYWi5N343XcKvKkJbAx+rTqegS5tAul4NLiMPQh6WoS5a4er6oo/ieUx1f4g== +"@npmcli/config@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/config/-/config-4.1.0.tgz#5c92e5ded2a44baf76b94926646329c3b39e79b8" + integrity sha512-cPQmIQ2Q0vuOfrenrA3isikdMFMAHgzlXV+EmvZ8f2JeJsU5xTU2bG7ipXECiMvPF9nM+QDnMLuIg8QLw9H4xg== dependencies: - ini "^2.0.0" + "@npmcli/map-workspaces" "^2.0.2" + ini "^3.0.0" mkdirp-infer-owner "^2.0.0" nopt "^5.0.0" - semver "^7.3.4" + proc-log "^2.0.0" + read-package-json-fast "^2.0.3" + semver "^7.3.5" walk-up-path "^1.0.0" -"@npmcli/disparity-colors@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/disparity-colors/-/disparity-colors-1.0.1.tgz#b23c864c9658f9f0318d5aa6d17986619989535c" - integrity sha512-kQ1aCTTU45mPXN+pdAaRxlxr3OunkyztjbbxDY/aIcPS5CnCUrx+1+NvA6pTcYR7wmLZe37+Mi5v3nfbwPxq3A== +"@npmcli/disparity-colors@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/disparity-colors/-/disparity-colors-2.0.0.tgz#cb518166ee21573b96241a3613fef70acb2a60ba" + integrity sha512-FFXGrIjhvd2qSZ8iS0yDvbI7nbjdyT2VNO7wotosjYZM2p2r8PN3B7Om3M5NO9KqW/OVzfzLB3L0V5Vo5QXC7A== dependencies: ansi-styles "^4.3.0" "@npmcli/fs@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.0.0.tgz#589612cfad3a6ea0feafcb901d29c63fd52db09f" - integrity sha512-8ltnOpRR/oJbOp8vaGUnipOi3bqkcW+sLHFlyXIr08OGHmVJLB1Hn7QtGXbYcpVtH1gAYZTlmDXtE4YV0+AMMQ== + version "1.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" + integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== dependencies: "@gar/promisify" "^1.0.1" semver "^7.3.5" -"@npmcli/git@^2.0.7", "@npmcli/git@^2.1.0": +"@npmcli/fs@^2.1.0": version "2.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" - integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.0.tgz#f2a21c28386e299d1a9fae8051d35ad180e33109" + integrity sha512-DmfBvNXGaetMxj9LTp8NAN9vEidXURrf5ZTslQzEAi/6GbW+4yjaLFQc6Tue5cpZ9Frlk4OBo/Snf1Bh/S7qTQ== dependencies: - "@npmcli/promise-spawn" "^1.3.2" - lru-cache "^6.0.0" + "@gar/promisify" "^1.1.3" + semver "^7.3.5" + +"@npmcli/git@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.1.tgz#049b99b1381a2ddf7dc56ba3e91eaf76ca803a8d" + integrity sha512-UU85F/T+F1oVn3IsB/L6k9zXIMpXBuUBE25QDH0SsURwT6IOBqkC7M16uqo2vVZIyji3X1K4XH9luip7YekH1A== + dependencies: + "@npmcli/promise-spawn" "^3.0.0" + lru-cache "^7.4.4" mkdirp "^1.0.4" - npm-pick-manifest "^6.1.1" + npm-pick-manifest "^7.0.0" + proc-log "^2.0.0" promise-inflight "^1.0.1" promise-retry "^2.0.1" semver "^7.3.5" which "^2.0.2" -"@npmcli/installed-package-contents@^1.0.6", "@npmcli/installed-package-contents@^1.0.7": +"@npmcli/installed-package-contents@^1.0.7": version "1.0.7" resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== @@ -1443,27 +1457,27 @@ npm-bundled "^1.1.1" npm-normalize-package-bin "^1.0.1" -"@npmcli/map-workspaces@*", "@npmcli/map-workspaces@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.0.tgz#e342efbbdd0dad1bba5d7723b674ca668bf8ac5a" - integrity sha512-QBJfpCY1NOAkkW3lFfru9VTdqvMB2TN0/vrevl5xBCv5Fi0XDVcA6rqqSau4Ysi4Iw3fBzyXV7hzyTBDfadf7g== +"@npmcli/map-workspaces@^2.0.2", "@npmcli/map-workspaces@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.3.tgz#2d3c75119ee53246e9aa75bc469a55281cd5f08f" + integrity sha512-X6suAun5QyupNM8iHkNPh0AHdRC2rb1W+MTdMvvA/2ixgmqZwlq5cGUBgmKHUHT2LgrkKJMAXbfAoTxOigpK8Q== dependencies: "@npmcli/name-from-folder" "^1.0.1" - glob "^7.1.6" - minimatch "^3.0.4" - read-package-json-fast "^2.0.1" + glob "^8.0.1" + minimatch "^5.0.1" + read-package-json-fast "^2.0.3" -"@npmcli/metavuln-calculator@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-2.0.0.tgz#70937b8b5a5cad5c588c8a7b38c4a8bd6f62c84c" - integrity sha512-VVW+JhWCKRwCTE+0xvD6p3uV4WpqocNYYtzyvenqL/u1Q3Xx6fGTJ+6UoIoii07fbuEO9U3IIyuGY0CYHDv1sg== +"@npmcli/metavuln-calculator@^3.0.1": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.0.tgz#b1c2f0991c4f2d992b1615a54d4358c05efc3702" + integrity sha512-Q5fbQqGDlYqk7kWrbg6E2j/mtqQjZop0ZE6735wYA1tYNHguIDjAuWs+kFb5rJCkLIlXllfapvsyotYKiZOTBA== dependencies: - cacache "^15.0.5" + cacache "^16.0.0" json-parse-even-better-errors "^2.3.1" - pacote "^12.0.0" - semver "^7.3.2" + pacote "^13.0.3" + semver "^7.3.5" -"@npmcli/move-file@^1.0.1", "@npmcli/move-file@^1.1.0": +"@npmcli/move-file@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== @@ -1471,44 +1485,47 @@ mkdirp "^1.0.4" rimraf "^3.0.2" +"@npmcli/move-file@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.0.tgz#417f585016081a0184cef3e38902cd917a9bbd02" + integrity sha512-UR6D5f4KEGWJV6BGPH3Qb2EtgH+t+1XQ1Tt85c7qicN6cezzuHPdZwwAxqZr4JLtnQu0LZsTza/5gmNmSl8XLg== + dependencies: + mkdirp "^1.0.4" + rimraf "^3.0.2" + "@npmcli/name-from-folder@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== -"@npmcli/node-gyp@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.2.tgz#3cdc1f30e9736dbc417373ed803b42b1a0a29ede" - integrity sha512-yrJUe6reVMpktcvagumoqD9r08fH1iRo01gn1u0zoCApa9lnZGEigVKUd2hzsCId4gdtkZZIVscLhNxMECKgRg== - -"@npmcli/node-gyp@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" - integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== +"@npmcli/node-gyp@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz#8c20e53e34e9078d18815c1d2dda6f2420d75e35" + integrity sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A== -"@npmcli/package-json@*", "@npmcli/package-json@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-1.0.1.tgz#1ed42f00febe5293c3502fd0ef785647355f6e89" - integrity sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg== +"@npmcli/package-json@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-2.0.0.tgz#3bbcf4677e21055adbe673d9f08c9f9cde942e4a" + integrity sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA== dependencies: json-parse-even-better-errors "^2.3.1" -"@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" - integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== +"@npmcli/promise-spawn@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz#53283b5f18f855c6925f23c24e67c911501ef573" + integrity sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g== dependencies: infer-owner "^1.0.4" -"@npmcli/run-script@*", "@npmcli/run-script@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-2.0.0.tgz#9949c0cab415b17aaac279646db4f027d6f1e743" - integrity sha512-fSan/Pu11xS/TdaTpTB0MRn9guwGU8dye+x56mEVgBEd/QsybBbYcAL0phPXi8SGWFEChkQd6M9qL4y6VOpFig== +"@npmcli/run-script@^3.0.0", "@npmcli/run-script@^3.0.1": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-3.0.3.tgz#66afa6e0c4c3484056195f295fa6c1d1a45ddf58" + integrity sha512-ZXL6qgC5NjwfZJ2nET+ZSLEz/PJgJ/5CU90C2S66dZY4Jw73DasS4ZCXuy/KHWYP0imjJ4VtA+Gebb5BxxKp9Q== dependencies: - "@npmcli/node-gyp" "^1.0.2" - "@npmcli/promise-spawn" "^1.3.2" - node-gyp "^8.2.0" - read-package-json-fast "^2.0.1" + "@npmcli/node-gyp" "^2.0.0" + "@npmcli/promise-spawn" "^3.0.0" + node-gyp "^8.4.1" + read-package-json-fast "^2.0.3" "@octokit/auth-token@^2.4.4": version "2.4.5" @@ -1746,6 +1763,11 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": version "7.1.16" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.16.tgz#bc12c74b7d65e82d29876b5d0baf5c625ac58702" @@ -1885,7 +1907,7 @@ abab@^2.0.3, abab@^2.0.5: resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== -abbrev@*, abbrev@1: +abbrev@1, abbrev@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== @@ -1920,10 +1942,10 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" -agentkeepalive@^4.1.3: - version "4.1.4" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.1.4.tgz#d928028a4862cb11718e55227872e842a44c945b" - integrity sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ== +agentkeepalive@^4.1.3, agentkeepalive@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" + integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== dependencies: debug "^4.1.0" depd "^1.1.2" @@ -2007,16 +2029,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== -ansicolors@*, ansicolors@~0.3.2: +ansicolors@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" integrity sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk= -ansistyles@*: - version "0.1.3" - resolved "https://registry.yarnpkg.com/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" - integrity sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk= - anymatch@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" @@ -2030,15 +2047,15 @@ anymatch@^3.0.3: resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -archy@*: +archy@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= + integrity sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw== -are-we-there-yet@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" - integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== +are-we-there-yet@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.0.tgz#ba20bd6b553e31d62fc8c31bd23d22b95734390d" + integrity sha512-0GWpv50YSOcLXaN6/FAKY3vfRbllXWV2xvfA/oKJF8pzFhWXPV+yjhJXDBbjscDYowv7Yw1A3uigpzn5iEGTyw== dependencies: delegates "^1.0.0" readable-stream "^3.6.0" @@ -2073,7 +2090,7 @@ arrify@^1.0.1: asap@^2.0.0: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== asynckit@^0.4.0: version "0.4.0" @@ -2187,17 +2204,17 @@ before-after-hook@^2.2.0: resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== -bin-links@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-2.3.0.tgz#1ff241c86d2c29b24ae52f49544db5d78a4eb967" - integrity sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA== +bin-links@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.1.tgz#cc70ffb481988b22c527d3e6e454787876987a49" + integrity sha512-9vx+ypzVhASvHTS6K+YSGf7nwQdANoz7v6MTC0aCtYnOEZ87YvMf81aY737EZnGZdpbRM3sfWjO9oWkKmuIvyQ== dependencies: - cmd-shim "^4.0.1" + cmd-shim "^5.0.0" mkdirp-infer-owner "^2.0.0" npm-normalize-package-bin "^1.0.0" - read-cmd-shim "^2.0.0" + read-cmd-shim "^3.0.0" rimraf "^3.0.0" - write-file-atomic "^3.0.3" + write-file-atomic "^4.0.0" binary-extensions@^2.2.0: version "2.2.0" @@ -2290,12 +2307,14 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= +builtins@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" + integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + dependencies: + semver "^7.0.0" -cacache@*, cacache@^15.0.3, cacache@^15.0.5, cacache@^15.2.0: +cacache@^15.2.0: version "15.3.0" resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== @@ -2319,6 +2338,30 @@ cacache@*, cacache@^15.0.3, cacache@^15.0.5, cacache@^15.2.0: tar "^6.0.2" unique-filename "^1.1.1" +cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: + version "16.1.0" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.0.tgz#87a6bae558a511c9cb2a13768073e240ca76153a" + integrity sha512-Pk4aQkwCW82A4jGKFvcGkQFqZcMspfP9YWq9Pr87/ldDvlWf718zeI6KWCdKt/jeihu6BytHRUicJPB1K2k8EQ== + dependencies: + "@npmcli/fs" "^2.1.0" + "@npmcli/move-file" "^2.0.0" + chownr "^2.0.0" + fs-minipass "^2.1.0" + glob "^8.0.1" + infer-owner "^1.0.4" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + mkdirp "^1.0.4" + p-map "^4.0.0" + promise-inflight "^1.0.1" + rimraf "^3.0.2" + ssri "^9.0.0" + tar "^6.1.11" + unique-filename "^1.1.1" + cacheable-request@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" @@ -2397,11 +2440,6 @@ cardinal@^2.1.1: ansicolors "~0.3.2" redeyed "~2.1.0" -chalk@*, chalk@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.0.0.tgz#bd96c6bb8e02b96e08c0c3ee2a9d90e050c7b832" - integrity sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ== - chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -2411,7 +2449,7 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4 escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.1.0: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -2419,6 +2457,11 @@ chalk@^4.0.0, chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.0.0.tgz#bd96c6bb8e02b96e08c0c3ee2a9d90e050c7b832" + integrity sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ== + char-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" @@ -2429,7 +2472,7 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chownr@*, chownr@^2.0.0: +chownr@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== @@ -2466,7 +2509,7 @@ cli-boxes@^1.0.0: resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= -cli-columns@*: +cli-columns@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/cli-columns/-/cli-columns-4.0.0.tgz#9fe4d65975238d55218c41bd2ed296a7fa555646" integrity sha512-XW2Vg+w+L9on9wtwKpyzluIPCWXjaBahI7mTcYjx+BVIYD9c3yqcv/yKC7CmdCZat4rq2yiE1UMSJC5ivKfMtQ== @@ -2481,24 +2524,14 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-table3@*: - version "0.6.1" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.1.tgz#36ce9b7af4847f288d3cdd081fbd09bf7bd237b8" - integrity sha512-w0q/enDHhPLq44ovMGdQeeDLvwxwavsJX7oQGYt/LrBlYsyaxyDnp6z3QzFut/6kLLKnlcUVJLrpB7KBfgG/RA== - dependencies: - string-width "^4.2.0" - optionalDependencies: - colors "1.4.0" - -cli-table3@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee" - integrity sha512-gnB85c3MGC7Nm9I/FkiasNBOKjOiO1RNuXXarQms37q4QMpWdlbBgD/VnOStA2faG1dpXMv31RFApjX1/QdgWQ== +cli-table3@^0.6.0, cli-table3@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.2.tgz#aaf5df9d8b5bf12634dc8b3040806a0c07120d2a" + integrity sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw== dependencies: - object-assign "^4.1.0" string-width "^4.2.0" optionalDependencies: - colors "^1.1.2" + "@colors/colors" "1.5.0" cli-width@^2.0.0: version "2.2.1" @@ -2542,12 +2575,12 @@ clone-response@^1.0.2: clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== -cmd-shim@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" - integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== +cmd-shim@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" + integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== dependencies: mkdirp-infer-owner "^2.0.0" @@ -2590,7 +2623,7 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-support@^1.1.2: +color-support@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== @@ -2600,22 +2633,17 @@ colorette@^1.3.0: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g== -colors@1.4.0, colors@^1.1.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - colors@~0.6.0-1: version "0.6.2" resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc" integrity sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w= -columnify@*: - version "1.5.4" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" - integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs= +columnify@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" + integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== dependencies: - strip-ansi "^3.0.0" + strip-ansi "^6.0.1" wcwidth "^1.0.0" combined-stream@^1.0.8: @@ -2671,7 +2699,7 @@ compare-func@^2.0.0: concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== configstore@^3.0.0: version "3.1.5" @@ -2685,10 +2713,10 @@ configstore@^3.0.0: write-file-atomic "^2.0.0" xdg-basedir "^3.0.0" -console-control-strings@^1.0.0, console-control-strings@^1.1.0: +console-control-strings@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== conventional-changelog-angular@^5.0.0: version "5.0.13" @@ -2896,7 +2924,14 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: +debug@4, debug@^4.1.0, debug@^4.3.3: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +debug@^4.0.0, debug@^4.1.1: version "4.3.2" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== @@ -2906,7 +2941,7 @@ debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== decamelize-keys@^1.1.0: version "1.1.0" @@ -2956,7 +2991,7 @@ deepmerge@^4.2.2: defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= + integrity sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA== dependencies: clone "^1.0.2" @@ -2994,12 +3029,12 @@ delayed-stream@~1.0.0: delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== depd@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== deprecation@^2.0.0, deprecation@^2.3.1: version "2.3.1" @@ -3022,9 +3057,9 @@ detect-newline@^3.0.0: integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== dezalgo@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= + version "1.0.4" + resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== dependencies: asap "^2.0.0" wrappy "1" @@ -3035,9 +3070,9 @@ diff-sequences@^27.5.1: integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== diff@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" - integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== + version "5.1.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40" + integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== dir-glob@^3.0.0, dir-glob@^3.0.1: version "3.0.1" @@ -3099,7 +3134,7 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -encoding@^0.1.12: +encoding@^0.1.12, encoding@^0.1.13: version "0.1.13" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== @@ -3288,7 +3323,7 @@ fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= -fastest-levenshtein@*: +fastest-levenshtein@^1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow== @@ -3457,7 +3492,7 @@ fs-minipass@^2.0.0, fs-minipass@^2.1.0: fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.3.2: version "2.3.2" @@ -3469,20 +3504,19 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -gauge@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.0.tgz#afba07aa0374a93c6219603b1fb83eaa2264d8f8" - integrity sha512-F8sU45yQpjQjxKkm1UOAhf0U/O0aFt//Fl7hsrNVto+patMHjs7dPI9mFOGUKbhrgKm0S3EjW3scMFuQmWSROw== +gauge@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" + integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== dependencies: - ansi-regex "^5.0.1" aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.2" - console-control-strings "^1.0.0" + color-support "^1.1.3" + console-control-strings "^1.1.0" has-unicode "^2.0.1" - signal-exit "^3.0.0" + signal-exit "^3.0.7" string-width "^4.2.3" strip-ansi "^6.0.1" - wide-align "^1.1.2" + wide-align "^1.1.5" gensync@^1.0.0-beta.2: version "1.0.0-beta.2" @@ -3556,17 +3590,6 @@ glob-parent@^5.1.2: dependencies: is-glob "^4.0.1" -glob@*, glob@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - glob@7.1.4: version "7.1.4" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" @@ -3579,18 +3602,29 @@ glob@7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^3.1.1" once "^1.3.0" path-is-absolute "^1.0.0" +glob@^8.0.1, glob@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + global-dirs@^0.1.0, global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -3669,15 +3703,10 @@ got@^9.1.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@*, graceful-fs@^4.2.6, graceful-fs@^4.2.9: - version "4.2.9" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" - integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== - -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4: - version "4.2.8" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" - integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.10, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== handlebars@^4.7.6: version "4.7.7" @@ -3714,7 +3743,7 @@ has-symbols@^1.0.1: has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== has@^1.0.3: version "1.0.3" @@ -3735,17 +3764,24 @@ hook-std@^2.0.0: resolved "https://registry.yarnpkg.com/hook-std/-/hook-std-2.0.0.tgz#ff9aafdebb6a989a354f729bb6445cf4a3a7077c" integrity sha512-zZ6T5WcuBMIUVh49iPQS9t977t7C0l7OtHrpeMb5uk48JdflRX0NSFvCekfYNmGQETnLq9W/isMyHl69kxGi8g== -hosted-git-info@*, hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: +hosted-git-info@^2.1.4: + version "2.8.9" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" + integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== + +hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== dependencies: lru-cache "^6.0.0" -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== +hosted-git-info@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.0.0.tgz#df7a06678b4ebd722139786303db80fdf302ea56" + integrity sha512-rRnjWu0Bxj+nIfUOkz0695C0H6tRrN5iYIzYejb0tDEefe2AekHu/U5Kn9pEie5vsJqpNQU02az7TGSH3qpz4Q== + dependencies: + lru-cache "^7.5.1" html-encoding-sniffer@^2.0.1: version "2.0.1" @@ -3773,10 +3809,19 @@ http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: agent-base "6" debug "4" -https-proxy-agent@^5.0.0: +http-proxy-agent@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" - integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== + dependencies: + "@tootallnate/once" "2" + agent-base "6" + debug "4" + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== dependencies: agent-base "6" debug "4" @@ -3794,7 +3839,7 @@ human-signals@^2.1.0: humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== dependencies: ms "^2.0.0" @@ -3817,12 +3862,12 @@ iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ignore-walk@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-4.0.1.tgz#fc840e8346cf88a3a9380c5b17933cd8f4d39fa3" - integrity sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw== +ignore-walk@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" + integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== dependencies: - minimatch "^3.0.4" + minimatch "^5.0.1" ignore@^5.1.4: version "5.1.8" @@ -3858,7 +3903,7 @@ import-local@^3.0.2: imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== indent-string@^4.0.0: version "4.0.0" @@ -3873,7 +3918,7 @@ infer-owner@^1.0.4: inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" @@ -3883,28 +3928,28 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@*, ini@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" - integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== - ini@^1.3.4, ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -init-package-json@*: - version "2.0.5" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-2.0.5.tgz#78b85f3c36014db42d8f32117252504f68022646" - integrity sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA== +ini@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.0.tgz#2f6de95006923aa75feed8894f5686165adc08f1" + integrity sha512-TxYQaeNW/N8ymDvwAxPyRbhMBtnEwuvaTYpOQkFx1nSeusgezHniEc/l35Vo4iCq/mMiTJbpD7oYxN98hFlfmw== + +init-package-json@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-3.0.2.tgz#f5bc9bac93f2bdc005778bc2271be642fecfcd69" + integrity sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A== dependencies: - npm-package-arg "^8.1.5" + npm-package-arg "^9.0.1" promzard "^0.3.0" - read "~1.0.1" - read-package-json "^4.1.1" + read "^1.0.7" + read-package-json "^5.0.0" semver "^7.3.5" validate-npm-package-license "^3.0.4" - validate-npm-package-name "^3.0.0" + validate-npm-package-name "^4.0.0" inquirer@6.5.2: version "6.5.2" @@ -3944,9 +3989,9 @@ ip-regex@^4.1.0: integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= + version "1.1.8" + resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" + integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== is-arrayish@^0.2.1: version "0.2.1" @@ -3960,7 +4005,7 @@ is-ci@^1.0.10: dependencies: ci-info "^1.5.0" -is-cidr@*: +is-cidr@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/is-cidr/-/is-cidr-4.0.2.tgz#94c7585e4c6c77ceabf920f8cde51b8c0fda8814" integrity sha512-z4a1ENUajDbEl/Q6/pVBpTR1nBjjEE1X7qb7bmWYanNnPoKAvUCPFKeXV6Fe4mgTkWKBqiHIcwsI3SndiO5FeA== @@ -3974,6 +4019,13 @@ is-core-module@^2.2.0, is-core-module@^2.5.0: dependencies: has "^1.0.3" +is-core-module@^2.8.1: + version "2.9.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" + integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== + dependencies: + has "^1.0.3" + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -4019,7 +4071,7 @@ is-installed-globally@^0.1.0: is-lambda@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== is-npm@^1.0.0: version "1.0.0" @@ -4130,7 +4182,7 @@ isarray@~1.0.0: isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== isobject@^3.0.1: version "3.0.1" @@ -4671,7 +4723,7 @@ json-parse-better-errors@^1.0.1: resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== -json-parse-even-better-errors@*, json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== @@ -4719,15 +4771,15 @@ jsonparse@^1.2.0, jsonparse@^1.3.1: resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= -just-diff-apply@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-4.0.1.tgz#da89c5a4ccb14aa8873c70e2c3b6695cef45dab5" - integrity sha512-AKOkzB5P6FkfP21UlZVX/OPXx/sC2GagpLX9cBxqHqDuRjwmZ/AJRKSNrB9jHPpRW1W1ONs6gly1gW46t055nQ== +just-diff-apply@^5.2.0: + version "5.3.1" + resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.3.1.tgz#30f40809ffed55ad76dccf73fa9b85a76964c867" + integrity sha512-dgFenZnMsc1xGNqgdtgnh7DK+Oy352CE3VZLbzcbQpsBs9iI2K3M0IRrdgREZ72eItTjbl0suRyvKRdVQa9GbA== just-diff@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.0.1.tgz#db8fe1cfeea1156f2374bfb289826dca28e7e390" - integrity sha512-X00TokkRIDotUIf3EV4xUm6ELc/IkqhS/vPSHdWnsM5y0HoNMfEqrazizI7g78lpHvnRSRt/PFfKtRqJCOGIuQ== + version "5.0.2" + resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.0.2.tgz#68854c94280c37d28cb266d8f29bdd2cd29f003e" + integrity sha512-uGd6F+eIZ4T95EinP8ubINGkbEy3jrgBym+6LjW+ja1UG1WQIcEcQ6FLeyXtVJZglk+bj7fvEn+Cu2LBxkgiYQ== keyv@^3.0.0: version "3.1.0" @@ -4780,115 +4832,116 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -libnpmaccess@*: - version "5.0.0" - resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-5.0.0.tgz#84bc9e66fe60fd8baab46477841497fd108d350d" - integrity sha512-iRaq1wBvTKvcyJHHhmC2lXX1YCaqNiPu4YDObWQRpubKGUjgStxDisZ94KGnF4q3L7EoaWYHOGWqxJWKUe1TKg== +libnpmaccess@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.3.tgz#473cc3e4aadb2bc713419d92e45d23b070d8cded" + integrity sha512-4tkfUZprwvih2VUZYMozL7EMKgQ5q9VW2NtRyxWtQWlkLTAWHRklcAvBN49CVqEkhUw7vTX2fNgB5LzgUucgYg== dependencies: aproba "^2.0.0" minipass "^3.1.1" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" + npm-package-arg "^9.0.1" + npm-registry-fetch "^13.0.0" -libnpmdiff@*: - version "3.0.0" - resolved "https://registry.yarnpkg.com/libnpmdiff/-/libnpmdiff-3.0.0.tgz#4beb36cf9a8b91a99c373589e99822c18a798c0e" - integrity sha512-pnwUs96QpM7KzD4vOyxTZvrjxi61y/5u/nBUKih8+eKQ9H8DiIBcV1OGaj7OKhoxJk4D5s8Aw746rE49FARavQ== +libnpmdiff@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/libnpmdiff/-/libnpmdiff-4.0.3.tgz#ad3997330c887c1098ac42682f1e5ad014d49cec" + integrity sha512-AiwBtXtH7HjfmT7FbTf9LFzJB347RrIA4I+IewMfhq8vYXaUveHwJMVNgMM2H/o2J+7Hf12JCBoOF5bTwlmGyw== dependencies: - "@npmcli/disparity-colors" "^1.0.1" + "@npmcli/disparity-colors" "^2.0.0" "@npmcli/installed-package-contents" "^1.0.7" binary-extensions "^2.2.0" diff "^5.0.0" - minimatch "^3.0.4" - npm-package-arg "^8.1.4" - pacote "^12.0.0" + minimatch "^5.0.1" + npm-package-arg "^9.0.1" + pacote "^13.0.5" tar "^6.1.0" -libnpmexec@*: - version "3.0.2" - resolved "https://registry.yarnpkg.com/libnpmexec/-/libnpmexec-3.0.2.tgz#2c14d77254245c22d3ff0d6ff8f25aafe7d84ad0" - integrity sha512-VOXAeBAna2feIptY08UArQuoMr4SuioFgW57QpcLMAom8+pfWm9q0TazRGMuFO9urB/XG/Gx4APpQeTpdYKSkw== +libnpmexec@^4.0.2: + version "4.0.6" + resolved "https://registry.yarnpkg.com/libnpmexec/-/libnpmexec-4.0.6.tgz#600beffd6f265cf92a096a7f336f330bc0019e82" + integrity sha512-v1jAPJyFFex6R0YHYXuudR4liQ3tYJ7vVZ6eThOex4+WzQEnoShLVfK3MLyFbjdGNO85wCHcVWVpXaBOVnVa/w== dependencies: - "@npmcli/arborist" "^4.0.0" - "@npmcli/ci-detect" "^1.3.0" - "@npmcli/run-script" "^2.0.0" + "@npmcli/arborist" "^5.0.0" + "@npmcli/ci-detect" "^2.0.0" + "@npmcli/run-script" "^3.0.0" chalk "^4.1.0" mkdirp-infer-owner "^2.0.0" - npm-package-arg "^8.1.2" - pacote "^12.0.0" - proc-log "^1.0.0" + npm-package-arg "^9.0.1" + npmlog "^6.0.2" + pacote "^13.0.5" + proc-log "^2.0.0" read "^1.0.7" read-package-json-fast "^2.0.2" walk-up-path "^1.0.0" -libnpmfund@*: - version "2.0.2" - resolved "https://registry.yarnpkg.com/libnpmfund/-/libnpmfund-2.0.2.tgz#90a7aa26c8b9b4739a06e314f83decd198b3f9c6" - integrity sha512-7gznxLV71t9KsC9jyV6ILbLjfebettTzn13TVl29hwzDpiG+NkA7xZ7yT0L9e7DI8CVUVIxvvHKUl3Ny+TNQ8Q== +libnpmfund@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/libnpmfund/-/libnpmfund-3.0.2.tgz#7da0827950f0db2cce0acb0dc7652d1834a8b239" + integrity sha512-wmFMP/93Wjy+jDg5LaSldDgAhSgCyA64JUUmp806Kae7y3YP9Qv5m1vUhPxT4yebxgB2v/I6G1/RUcNb1y0kVg== dependencies: - "@npmcli/arborist" "^4.0.0" + "@npmcli/arborist" "^5.0.0" -libnpmhook@*: - version "7.0.0" - resolved "https://registry.yarnpkg.com/libnpmhook/-/libnpmhook-7.0.0.tgz#61ba6778aed080761b780b99d1a6e3424e8d8aa0" - integrity sha512-4ssUN06HZ33ig7lUFYslwqX9BhMtHDCmiRF/cnWqBgy1baz0WoOWYySh8wGEQbx3DXghWbgOo4Av/kvC+1Q4gw== +libnpmhook@^8.0.2: + version "8.0.3" + resolved "https://registry.yarnpkg.com/libnpmhook/-/libnpmhook-8.0.3.tgz#9628518a63455d21dafda312ee46175275707ff5" + integrity sha512-TEdNI1mC5zS+w/juCgxrwwQnpbq9lY76NDOS0N37pn6pWIUxB1Yq8mwy6MUEXR1TgH4HurSQyKT6I6Kp9Wjm4A== dependencies: aproba "^2.0.0" - npm-registry-fetch "^11.0.0" + npm-registry-fetch "^13.0.0" -libnpmorg@*: - version "3.0.0" - resolved "https://registry.yarnpkg.com/libnpmorg/-/libnpmorg-3.0.0.tgz#ad2dd66660b3eb27a5d186e4573fdb39ae1e5c26" - integrity sha512-9MZFr81gOfVQbm62yovTTTgflFYTM66O/tHFrftWtsK3KC7Hx+T7X7A2xMwbS3mCzg+zU0GMJxLstnOk5Nbf4w== +libnpmorg@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/libnpmorg/-/libnpmorg-4.0.3.tgz#a85cbdb3665ad4f7c7279d239a4581ec2eeef5a6" + integrity sha512-r4CpmCEF+e5PbFMBi64xSXmqn0uGgV4T7NWpGL4/A6KT/DTtIxALILQZq+l0ZdN1xm4RjOvqSDR22oT4il8rAQ== dependencies: aproba "^2.0.0" - npm-registry-fetch "^11.0.0" + npm-registry-fetch "^13.0.0" -libnpmpack@*: - version "3.0.1" - resolved "https://registry.yarnpkg.com/libnpmpack/-/libnpmpack-3.0.1.tgz#bad1930e57a415239ea4f0419b4796bc4bf8009b" - integrity sha512-xTE/nlvAZfh/Drm/jsSieGAhjKBo9uRjlU/i50IeFZKwKYwCQTPuyT3ZXiTgjhwWT+/FMVd2afRb6uGMdViFvQ== +libnpmpack@^4.0.2: + version "4.1.0" + resolved "https://registry.yarnpkg.com/libnpmpack/-/libnpmpack-4.1.0.tgz#93a170b67bc52e15edc7b1f2e09b2c36e532b897" + integrity sha512-BHwojfEbJvVVJXivZjOCe3Y0IzQ47p6c/bfebrpzazuFNRoS9XOsbkncRbl3f23+u9b51eplzwaPh/5xSOAWHg== dependencies: - "@npmcli/run-script" "^2.0.0" - npm-package-arg "^8.1.0" - pacote "^12.0.0" + "@npmcli/run-script" "^3.0.0" + npm-package-arg "^9.0.1" + pacote "^13.5.0" -libnpmpublish@*: - version "5.0.0" - resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-5.0.0.tgz#3d55e885659aa4e79a7beac9015801b734705ad7" - integrity sha512-I2ztr1ZIAqjbOOVfuskzZykxbTqbFvMADWz/VyiaSfSiiLBRtiFM/N4wK1YK+NtXJFLJM+kNX7oYW7XsOf/Kvw== +libnpmpublish@^6.0.2: + version "6.0.4" + resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.4.tgz#adb41ec6b0c307d6f603746a4d929dcefb8f1a0b" + integrity sha512-lvAEYW8mB8QblL6Q/PI/wMzKNvIrF7Kpujf/4fGS/32a2i3jzUXi04TNyIBcK6dQJ34IgywfaKGh+Jq4HYPFmg== dependencies: - normalize-package-data "^3.0.2" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" - semver "^7.1.3" - ssri "^8.0.1" + normalize-package-data "^4.0.0" + npm-package-arg "^9.0.1" + npm-registry-fetch "^13.0.0" + semver "^7.3.7" + ssri "^9.0.0" -libnpmsearch@*: - version "4.0.0" - resolved "https://registry.yarnpkg.com/libnpmsearch/-/libnpmsearch-4.0.0.tgz#3d65a0eace4356fe7230ff0dfdc6dfd44968ad99" - integrity sha512-bzr8L7nfJ1FtYJ9Cq4p2qRTLWR2EuxVXH0X4WBjuiAGDcORmvlL2+9ODaplcKGpbtvwSTSOvKnM9u0AbUVIgeg== +libnpmsearch@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/libnpmsearch/-/libnpmsearch-5.0.3.tgz#ed502a4c2c70ea36723180455fae1357546b2184" + integrity sha512-Ofq76qKAPhxbiyzPf/5LPjJln26VTKwU9hIU0ACxQ6tNtBJ1CHmI7iITrdp7vNezhZc0FlkXwrIpqXjhBJZgLQ== dependencies: - npm-registry-fetch "^11.0.0" + npm-registry-fetch "^13.0.0" -libnpmteam@*: - version "3.0.0" - resolved "https://registry.yarnpkg.com/libnpmteam/-/libnpmteam-3.0.0.tgz#0f86dc0b9623a9c95e40e2f146d1cc2cf00de044" - integrity sha512-pxL/a19riZj1gHOuQqJ1KJvJ3qCRqXBe+P3QouZ+bE8B79C+oKXPe2wX2BIgdLd230zbBR+g9+4PPOsKpQJseQ== +libnpmteam@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/libnpmteam/-/libnpmteam-4.0.3.tgz#9335fbbd032b3770f5c9b7ffc6203f47d1ed144a" + integrity sha512-LsYYLz4TlTpcqkusInY5MhKjiHFaCx1GV0LmydXJ/QMh+3IWBJpUhes4ynTZuFoJKkDIFjxyMU09ul+RZixgdg== dependencies: aproba "^2.0.0" - npm-registry-fetch "^11.0.0" + npm-registry-fetch "^13.0.0" -libnpmversion@*: - version "2.0.2" - resolved "https://registry.yarnpkg.com/libnpmversion/-/libnpmversion-2.0.2.tgz#9fc1b94f5a2d0ae8c6378af498f3f44248f467d6" - integrity sha512-Dg+ccHL/F8BQgEeE9n8OU3T1FXhbdAKaj5+OYYPUrcrXkMh9EhVQ8uIbxCl0FQUeQHeWW9XmfO2icZ5YcZQvbQ== +libnpmversion@^3.0.1: + version "3.0.4" + resolved "https://registry.yarnpkg.com/libnpmversion/-/libnpmversion-3.0.4.tgz#a30f563416ea1e2dd69878b4a9edf4eb4a070ef8" + integrity sha512-q5hvZlso0SMLgKm4AMtleRWtq4pERprebEGV6OwKi24efgAOgNDP98+jNUX2mIR2wp9eAa6ybkNNWu4yMaCsVw== dependencies: - "@npmcli/git" "^2.0.7" - "@npmcli/run-script" "^2.0.0" + "@npmcli/git" "^3.0.0" + "@npmcli/run-script" "^3.0.0" json-parse-even-better-errors "^2.3.1" - semver "^7.3.5" - stringify-package "^1.0.1" + proc-log "^2.0.0" + semver "^7.3.7" lines-and-columns@^1.1.6: version "1.1.6" @@ -5008,6 +5061,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: + version "7.10.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.10.1.tgz#db577f42a94c168f676b638d15da8fb073448cab" + integrity sha512-BQuhQxPuRl79J5zSXRP+uNzPOyZw2oFI9JLRQ80XswSvg21KMKNtQza9eF42rfI/3Z40RvzBdXgziEkudzjo8A== + lunr@^2.3.9: version "2.3.9" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" @@ -5040,7 +5098,29 @@ make-error@1.x: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@*, make-fetch-happen@^9.0.1, make-fetch-happen@^9.1.0: +make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6, make-fetch-happen@^10.1.6: + version "10.1.6" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.1.6.tgz#22b3ac3b077a7cfa80525af12e637e349f21d26e" + integrity sha512-/iKDlRQF0fkxyB/w/duW2yRYrGwBcbJjC37ijgi0CmOZ32bzMc86BCSSAHWvuyRFCB408iBPziTSzazBSrKo3w== + dependencies: + agentkeepalive "^4.2.1" + cacache "^16.1.0" + http-cache-semantics "^4.1.0" + http-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-fetch "^2.0.3" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + promise-retry "^2.0.1" + socks-proxy-agent "^6.1.1" + ssri "^9.0.0" + +make-fetch-happen@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== @@ -5196,6 +5276,13 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + minimatch@^5.0.1, minimatch@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" @@ -5224,7 +5311,7 @@ minipass-collect@^1.0.2: dependencies: minipass "^3.0.0" -minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: +minipass-fetch@^1.3.2: version "1.4.1" resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.4.1.tgz#d75e0091daac1b0ffd7e9d41629faff7d0c1f1b6" integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== @@ -5235,6 +5322,17 @@ minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: optionalDependencies: encoding "^0.1.12" +minipass-fetch@^2.0.3: + version "2.1.0" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.0.tgz#ca1754a5f857a3be99a9271277246ac0b44c3ff8" + integrity sha512-H9U4UVBGXEyyWJnqYDCLp1PwD8XIkJ4akNHp1aGVI+2Ym7wQMlxDKi4IB4JbmyU+pl9pEs/cVrK6cOuvmbK4Sg== + dependencies: + minipass "^3.1.6" + minipass-sized "^1.0.3" + minizlib "^2.1.2" + optionalDependencies: + encoding "^0.1.13" + minipass-flush@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" @@ -5250,7 +5348,7 @@ minipass-json-stream@^1.0.1: jsonparse "^1.3.1" minipass "^3.0.0" -minipass-pipeline@*, minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: +minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== @@ -5264,21 +5362,14 @@ minipass-sized@^1.0.3: dependencies: minipass "^3.0.0" -minipass@*: +minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3, minipass@^3.1.6: version "3.1.6" resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.6.tgz#3b8150aa688a711a1521af5e8779c1d3bb4f45ee" integrity sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ== dependencies: yallist "^4.0.0" -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.3.tgz#7d42ff1f39635482e15f9cdb53184deebd5815fd" - integrity sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg== - dependencies: - yallist "^4.0.0" - -minizlib@^2.0.0, minizlib@^2.1.1: +minizlib@^2.0.0, minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== @@ -5286,7 +5377,7 @@ minizlib@^2.0.0, minizlib@^2.1.1: minipass "^3.0.0" yallist "^4.0.0" -mkdirp-infer-owner@*, mkdirp-infer-owner@^2.0.0: +mkdirp-infer-owner@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== @@ -5295,7 +5386,7 @@ mkdirp-infer-owner@*, mkdirp-infer-owner@^2.0.0: infer-owner "^1.0.4" mkdirp "^1.0.3" -mkdirp@*, mkdirp@^1.0.3, mkdirp@^1.0.4, mkdirp@~1.0.4: +mkdirp@^1.0.3, mkdirp@^1.0.4, mkdirp@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== @@ -5305,16 +5396,16 @@ modify-values@^1.0.0: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -ms@*, ms@^2.0.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +ms@^2.0.0, ms@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -5330,10 +5421,10 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= -negotiator@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" - integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== +negotiator@^0.6.2, negotiator@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== neo-async@^2.6.0: version "2.6.2" @@ -5364,7 +5455,7 @@ node-fetch@^2.6.1: dependencies: whatwg-url "^5.0.0" -node-gyp@*, node-gyp@^8.2.0: +node-gyp@^8.4.1: version "8.4.1" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-8.4.1.tgz#3d49308fc31f768180957d6b5746845fbd429937" integrity sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w== @@ -5380,6 +5471,22 @@ node-gyp@*, node-gyp@^8.2.0: tar "^6.1.2" which "^2.0.2" +node-gyp@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.0.0.tgz#e1da2067427f3eb5bb56820cb62bc6b1e4bd2089" + integrity sha512-Ma6p4s+XCTPxCuAMrOA/IJRmVy16R8Sdhtwl4PrCr7IBlj4cPawF0vg/l7nOT1jPbuNS7lIRJpBSvVsXwEZuzw== + dependencies: + env-paths "^2.2.0" + glob "^7.1.4" + graceful-fs "^4.2.6" + make-fetch-happen "^10.0.3" + nopt "^5.0.0" + npmlog "^6.0.0" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.2" + which "^2.0.2" + node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -5400,7 +5507,7 @@ node-releases@^2.0.1: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5" integrity sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA== -nopt@*, nopt@^5.0.0: +nopt@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== @@ -5417,7 +5524,7 @@ normalize-package-data@^2.5.0: semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: +normalize-package-data@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== @@ -5427,6 +5534,16 @@ normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: semver "^7.3.4" validate-npm-package-license "^3.0.1" +normalize-package-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.0.tgz#1122d5359af21d4cd08718b92b058a658594177c" + integrity sha512-m+GL22VXJKkKbw62ZaBBjv8u6IE3UI4Mh5QakIqs3fWiKe0Xyi6L97hakwZK41/LD4R/2ly71Bayx0NLMwLA/g== + dependencies: + hosted-git-info "^5.0.0" + is-core-module "^2.8.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -5442,24 +5559,24 @@ normalize-url@^6.0.0: resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== -npm-audit-report@*: - version "2.1.5" - resolved "https://registry.yarnpkg.com/npm-audit-report/-/npm-audit-report-2.1.5.tgz#a5b8850abe2e8452fce976c8960dd432981737b5" - integrity sha512-YB8qOoEmBhUH1UJgh1xFAv7Jg1d+xoNhsDYiFQlEFThEBui0W1vIz2ZK6FVg4WZjwEdl7uBQlm1jy3MUfyHeEw== +npm-audit-report@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/npm-audit-report/-/npm-audit-report-3.0.0.tgz#1bf3e531208b5f77347c8d00c3d9badf5be30cd6" + integrity sha512-tWQzfbwz1sc4244Bx2BVELw0EmZlCsCF0X93RDcmmwhonCsPMoEviYsi+32R+mdRvOWXolPce9zo64n2xgPESw== dependencies: chalk "^4.0.0" -npm-bundled@^1.1.1: +npm-bundled@^1.1.1, npm-bundled@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== dependencies: npm-normalize-package-bin "^1.0.1" -npm-install-checks@*, npm-install-checks@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" - integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== +npm-install-checks@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-5.0.0.tgz#5ff27d209a4e3542b8ac6b0c1db6063506248234" + integrity sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA== dependencies: semver "^7.1.1" @@ -5468,65 +5585,55 @@ npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== -npm-package-arg@*, npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.0, npm-package-arg@^8.1.2, npm-package-arg@^8.1.4, npm-package-arg@^8.1.5: - version "8.1.5" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" - integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== +npm-package-arg@^9.0.0, npm-package-arg@^9.0.1, npm-package-arg@^9.0.2: + version "9.0.2" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.0.2.tgz#f3ef7b1b3b02e82564af2d5228b4c36567dcd389" + integrity sha512-v/miORuX8cndiOheW8p2moNuPJ7QhcFh9WGlTorruG8hXSA23vMTEp5hTCmDxic0nD8KHhj/NQgFuySD3GYY3g== dependencies: - hosted-git-info "^4.0.1" - semver "^7.3.4" - validate-npm-package-name "^3.0.0" + hosted-git-info "^5.0.0" + semver "^7.3.5" + validate-npm-package-name "^4.0.0" -npm-packlist@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-3.0.0.tgz#0370df5cfc2fcc8f79b8f42b37798dd9ee32c2a9" - integrity sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ== +npm-packlist@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.0.tgz#f3fd52903a021009913a133732022132eb355ce7" + integrity sha512-a04sqF6FbkyOAFA19AA0e94gS7Et5T2/IMj3VOT9nOF2RaRdVPQ1Q17Fb/HaDRFs+gbC7HOmhVZ29adpWgmDZg== dependencies: - glob "^7.1.6" - ignore-walk "^4.0.1" - npm-bundled "^1.1.1" + glob "^8.0.1" + ignore-walk "^5.0.1" + npm-bundled "^1.1.2" npm-normalize-package-bin "^1.0.1" -npm-pick-manifest@*, npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.0, npm-pick-manifest@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" - integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== +npm-pick-manifest@^7.0.0, npm-pick-manifest@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.1.tgz#76dda30a7cd6b99be822217a935c2f5eacdaca4c" + integrity sha512-IA8+tuv8KujbsbLQvselW2XQgmXWS47t3CB0ZrzsRZ82DbDfkcFunOaPm4X7qNuhMfq+FmV7hQT4iFVpHqV7mg== dependencies: - npm-install-checks "^4.0.0" + npm-install-checks "^5.0.0" npm-normalize-package-bin "^1.0.1" - npm-package-arg "^8.1.2" - semver "^7.3.4" - -npm-profile@*: - version "5.0.4" - resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-5.0.4.tgz#73e5bd1d808edc2c382d7139049cc367ac43161b" - integrity sha512-OKtU7yoAEBOnc8zJ+/uo5E4ugPp09sopo+6y1njPp+W99P8DvQon3BJYmpvyK2Bf1+3YV5LN1bvgXRoZ1LUJBA== - dependencies: - npm-registry-fetch "^11.0.0" + npm-package-arg "^9.0.0" + semver "^7.3.5" -npm-registry-fetch@*: - version "12.0.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-12.0.0.tgz#53d8c94f7c37293707b23728864710b76d3a3ca5" - integrity sha512-nd1I90UHoETjgWpo3GbcoM1l2S4JCUpzDcahU4x/GVCiDQ6yRiw2KyDoPVD8+MqODbPtWwHHGiyc4O5sgdEqPQ== +npm-profile@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-6.0.3.tgz#f4a11ce09467f00fa0832db7f27992e55fdfc94b" + integrity sha512-TVeHhnol2Iemud+Sr70/uqax5LnLJ9y361w+m5+Z7WYV2B1t6FhRDxDu72+yYYTvsgshkhnXEqbPjuD87kYXfA== dependencies: - make-fetch-happen "^9.0.1" - minipass "^3.1.3" - minipass-fetch "^1.3.0" - minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" + npm-registry-fetch "^13.0.1" + proc-log "^2.0.0" -npm-registry-fetch@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz#68c1bb810c46542760d62a6a965f85a702d43a76" - integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== +npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.1.1: + version "13.1.1" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.1.1.tgz#26dc4b26d0a545886e807748032ba2aefaaae96b" + integrity sha512-5p8rwe6wQPLJ8dMqeTnA57Dp9Ox6GH9H60xkyJup07FmVlu3Mk7pf/kIIpl9gaN5bM8NM+UUx3emUWvDNTt39w== dependencies: - make-fetch-happen "^9.0.1" - minipass "^3.1.3" - minipass-fetch "^1.3.0" + make-fetch-happen "^10.0.6" + minipass "^3.1.6" + minipass-fetch "^2.0.3" minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" + minizlib "^2.1.2" + npm-package-arg "^9.0.1" + proc-log "^2.0.0" npm-run-path@^2.0.0: version "2.0.2" @@ -5542,96 +5649,95 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npm-user-validate@*: +npm-user-validate@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/npm-user-validate/-/npm-user-validate-1.0.1.tgz#31428fc5475fe8416023f178c0ab47935ad8c561" integrity sha512-uQwcd/tY+h1jnEaze6cdX/LrhWhoBxfSknxentoqmIuStxUExxjWd3ULMLFPiFUrZKbOVMowH6Jq2FRWfmhcEw== npm@^8.3.0: - version "8.3.1" - resolved "https://registry.yarnpkg.com/npm/-/npm-8.3.1.tgz#c3f370a2e0c3575b863311efac666fba69a2e6d2" - integrity sha512-f552vKhT3r+PpCRnH7UferrrbcnvcFnGusN2T1mQqq/0UQd3pF1+ok4n0WahT0ZKxj10YU3b2VdhGrf39djHAA== - dependencies: - "@isaacs/string-locale-compare" "*" - "@npmcli/arborist" "*" - "@npmcli/ci-detect" "*" - "@npmcli/config" "*" - "@npmcli/map-workspaces" "*" - "@npmcli/package-json" "*" - "@npmcli/run-script" "*" - abbrev "*" - ansicolors "*" - ansistyles "*" - archy "*" - cacache "*" - chalk "*" - chownr "*" - cli-columns "*" - cli-table3 "*" - columnify "*" - fastest-levenshtein "*" - glob "*" - graceful-fs "*" - hosted-git-info "*" - ini "*" - init-package-json "*" - is-cidr "*" - json-parse-even-better-errors "*" - libnpmaccess "*" - libnpmdiff "*" - libnpmexec "*" - libnpmfund "*" - libnpmhook "*" - libnpmorg "*" - libnpmpack "*" - libnpmpublish "*" - libnpmsearch "*" - libnpmteam "*" - libnpmversion "*" - make-fetch-happen "*" - minipass "*" - minipass-pipeline "*" - mkdirp "*" - mkdirp-infer-owner "*" - ms "*" - node-gyp "*" - nopt "*" - npm-audit-report "*" - npm-install-checks "*" - npm-package-arg "*" - npm-pick-manifest "*" - npm-profile "*" - npm-registry-fetch "*" - npm-user-validate "*" - npmlog "*" - opener "*" - pacote "*" - parse-conflict-json "*" - proc-log "*" - qrcode-terminal "*" - read "*" - read-package-json "*" - read-package-json-fast "*" - readdir-scoped-modules "*" - rimraf "*" - semver "*" - ssri "*" - tar "*" - text-table "*" - tiny-relative-date "*" - treeverse "*" - validate-npm-package-name "*" - which "*" - write-file-atomic "*" - -npmlog@*, npmlog@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.0.tgz#ba9ef39413c3d936ea91553db7be49c34ad0520c" - integrity sha512-03ppFRGlsyUaQFbGC2C8QWJN/C/K7PsfyD9aQdhVKAQIH4sQBc8WASqFBP7O+Ut4d2oo5LoeoboB3cGdBZSp6Q== + version "8.12.0" + resolved "https://registry.yarnpkg.com/npm/-/npm-8.12.0.tgz#ea2a9c3ff6253a7e55ed2f5fe506fdfdc73f9ad1" + integrity sha512-tueYJV0gAEv3unoGBrA0Qb/qZ8wdR4GF+aZYM5VO9pBNJhxW+JJje/xFm+ZFRvFfi7eWjba5KYlC2n2yvQSaIg== + dependencies: + "@isaacs/string-locale-compare" "^1.1.0" + "@npmcli/arborist" "^5.0.4" + "@npmcli/ci-detect" "^2.0.0" + "@npmcli/config" "^4.1.0" + "@npmcli/fs" "^2.1.0" + "@npmcli/map-workspaces" "^2.0.3" + "@npmcli/package-json" "^2.0.0" + "@npmcli/run-script" "^3.0.1" + abbrev "~1.1.1" + archy "~1.0.0" + cacache "^16.1.0" + chalk "^4.1.2" + chownr "^2.0.0" + cli-columns "^4.0.0" + cli-table3 "^0.6.2" + columnify "^1.6.0" + fastest-levenshtein "^1.0.12" + glob "^8.0.1" + graceful-fs "^4.2.10" + hosted-git-info "^5.0.0" + ini "^3.0.0" + init-package-json "^3.0.2" + is-cidr "^4.0.2" + json-parse-even-better-errors "^2.3.1" + libnpmaccess "^6.0.2" + libnpmdiff "^4.0.2" + libnpmexec "^4.0.2" + libnpmfund "^3.0.1" + libnpmhook "^8.0.2" + libnpmorg "^4.0.2" + libnpmpack "^4.0.2" + libnpmpublish "^6.0.2" + libnpmsearch "^5.0.2" + libnpmteam "^4.0.2" + libnpmversion "^3.0.1" + make-fetch-happen "^10.1.6" + minipass "^3.1.6" + minipass-pipeline "^1.2.4" + mkdirp "^1.0.4" + mkdirp-infer-owner "^2.0.0" + ms "^2.1.2" + node-gyp "^9.0.0" + nopt "^5.0.0" + npm-audit-report "^3.0.0" + npm-install-checks "^5.0.0" + npm-package-arg "^9.0.2" + npm-pick-manifest "^7.0.1" + npm-profile "^6.0.3" + npm-registry-fetch "^13.1.1" + npm-user-validate "^1.0.1" + npmlog "^6.0.2" + opener "^1.5.2" + pacote "^13.6.0" + parse-conflict-json "^2.0.2" + proc-log "^2.0.1" + qrcode-terminal "^0.12.0" + read "~1.0.7" + read-package-json "^5.0.1" + read-package-json-fast "^2.0.3" + readdir-scoped-modules "^1.1.0" + rimraf "^3.0.2" + semver "^7.3.7" + ssri "^9.0.1" + tar "^6.1.11" + text-table "~0.2.0" + tiny-relative-date "^1.3.0" + treeverse "^2.0.0" + validate-npm-package-name "^4.0.0" + which "^2.0.2" + write-file-atomic "^4.0.1" + +npmlog@^6.0.0, npmlog@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" + integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== dependencies: - are-we-there-yet "^2.0.0" + are-we-there-yet "^3.0.0" console-control-strings "^1.1.0" - gauge "^4.0.0" + gauge "^4.0.3" set-blocking "^2.0.0" number-is-nan@^1.0.0: @@ -5644,11 +5750,6 @@ nwsapi@^2.2.0: resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== -object-assign@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -5667,7 +5768,7 @@ object.assign@^4.1.0: once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" @@ -5685,7 +5786,7 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" -opener@*: +opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== @@ -5840,30 +5941,32 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -pacote@*, pacote@^12.0.0, pacote@^12.0.2: - version "12.0.2" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-12.0.2.tgz#14ae30a81fe62ec4fc18c071150e6763e932527c" - integrity sha512-Ar3mhjcxhMzk+OVZ8pbnXdb0l8+pimvlsqBGRNkble2NVgyqOGE3yrCGi/lAYq7E7NRDMz89R1Wx5HIMCGgeYg== +pacote@^13.0.3, pacote@^13.0.5, pacote@^13.5.0, pacote@^13.6.0: + version "13.6.0" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.0.tgz#79ea3d3ae5a2b29e2994dcf18d75494e8d888032" + integrity sha512-zHmuCwG4+QKnj47LFlW3LmArwKoglx2k5xtADiMCivVWPgNRP5QyLDGOIjGjwOe61lhl1rO63m/VxT16pEHLWg== dependencies: - "@npmcli/git" "^2.1.0" - "@npmcli/installed-package-contents" "^1.0.6" - "@npmcli/promise-spawn" "^1.2.0" - "@npmcli/run-script" "^2.0.0" - cacache "^15.0.5" + "@npmcli/git" "^3.0.0" + "@npmcli/installed-package-contents" "^1.0.7" + "@npmcli/promise-spawn" "^3.0.0" + "@npmcli/run-script" "^3.0.1" + cacache "^16.0.0" chownr "^2.0.0" fs-minipass "^2.1.0" infer-owner "^1.0.4" - minipass "^3.1.3" - mkdirp "^1.0.3" - npm-package-arg "^8.0.1" - npm-packlist "^3.0.0" - npm-pick-manifest "^6.0.0" - npm-registry-fetch "^11.0.0" + minipass "^3.1.6" + mkdirp "^1.0.4" + npm-package-arg "^9.0.0" + npm-packlist "^5.1.0" + npm-pick-manifest "^7.0.0" + npm-registry-fetch "^13.0.1" + proc-log "^2.0.0" promise-retry "^2.0.1" - read-package-json-fast "^2.0.1" + read-package-json "^5.0.0" + read-package-json-fast "^2.0.3" rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.1.0" + ssri "^9.0.0" + tar "^6.1.11" parent-module@^1.0.0: version "1.0.1" @@ -5872,14 +5975,14 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-conflict-json@*, parse-conflict-json@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.1.tgz#76647dd072e6068bcaff20be6ccea68a18e1fb58" - integrity sha512-Y7nYw+QaSGBto1LB9lgwOR05Rtz5SbuTf+Oe7HJ6SYQ/DHsvRjQ8O03oWdJbvkt6GzDWospgyZbGmjDYL0sDgA== +parse-conflict-json@^2.0.1, parse-conflict-json@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz#3d05bc8ffe07d39600dc6436c6aefe382033d323" + integrity sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA== dependencies: json-parse-even-better-errors "^2.3.1" just-diff "^5.0.1" - just-diff-apply "^4.0.1" + just-diff-apply "^5.2.0" parse-json@^4.0.0: version "4.0.0" @@ -5922,7 +6025,7 @@ path-exists@^4.0.0: path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== path-is-inside@^1.0.1: version "1.0.2" @@ -6027,10 +6130,10 @@ pretty-format@^27.0.0, pretty-format@^27.5.1: ansi-styles "^5.0.0" react-is "^17.0.1" -proc-log@*, proc-log@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-1.0.0.tgz#0d927307401f69ed79341e83a0b2c9a13395eb77" - integrity sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg== +proc-log@^2.0.0, proc-log@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" + integrity sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw== process-nextick-args@~2.0.0: version "2.0.1" @@ -6050,7 +6153,7 @@ promise-call-limit@^1.0.1: promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== promise-retry@^2.0.1: version "2.0.1" @@ -6071,7 +6174,7 @@ prompts@^2.0.1: promzard@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4= + integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== dependencies: read "1" @@ -6103,7 +6206,7 @@ q@^1.5.1: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qrcode-terminal@*: +qrcode-terminal@^0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== @@ -6133,12 +6236,12 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -read-cmd-shim@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9" - integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== +read-cmd-shim@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.0.tgz#62b8c638225c61e6cc607f8f4b779f3b8238f155" + integrity sha512-KQDVjGqhZk92PPNRj9ZEXEuqg8bUobSKRw+q0YQ3TKI5xkce7bUJobL4Z/OtiEbAAv70yEpYIXp4iQ9L8oPVog== -read-package-json-fast@*, read-package-json-fast@^2.0.1, read-package-json-fast@^2.0.2: +read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== @@ -6146,15 +6249,15 @@ read-package-json-fast@*, read-package-json-fast@^2.0.1, read-package-json-fast@ json-parse-even-better-errors "^2.3.0" npm-normalize-package-bin "^1.0.1" -read-package-json@*, read-package-json@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-4.1.1.tgz#153be72fce801578c1c86b8ef2b21188df1b9eea" - integrity sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw== +read-package-json@^5.0.0, read-package-json@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.1.tgz#1ed685d95ce258954596b13e2e0e76c7d0ab4c26" + integrity sha512-MALHuNgYWdGW3gKzuNMuYtcSSZbGQm94fAp16xt8VsYTLBjUSc55bLMKe6gzpWue0Tfi6CBgwCSdDAqutGDhMg== dependencies: - glob "^7.1.1" - json-parse-even-better-errors "^2.3.0" - normalize-package-data "^3.0.0" - npm-normalize-package-bin "^1.0.0" + glob "^8.0.1" + json-parse-even-better-errors "^2.3.1" + normalize-package-data "^4.0.0" + npm-normalize-package-bin "^1.0.1" read-pkg-up@^7.0.0, read-pkg-up@^7.0.1: version "7.0.1" @@ -6175,7 +6278,7 @@ read-pkg@^5.0.0, read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -read@*, read@1, read@^1.0.7, read@~1.0.1: +read@1, read@^1.0.7, read@~1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= @@ -6204,7 +6307,7 @@ readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readdir-scoped-modules@*, readdir-scoped-modules@^1.1.0: +readdir-scoped-modules@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== @@ -6389,7 +6492,7 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@*, rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -6502,13 +6605,6 @@ semver-regex@^3.1.2: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3" integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ== -semver@*, semver@7.x, semver@^7.1.1, semver@^7.1.2, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== - dependencies: - lru-cache "^6.0.0" - "semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -6519,6 +6615,13 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== +semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.1.2, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: + version "7.3.7" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -6574,6 +6677,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== +signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + signale@^1.2.1: version "1.4.0" resolved "https://registry.yarnpkg.com/signale/-/signale-1.4.0.tgz#c4be58302fb0262ac00fc3d886a7c113759042f1" @@ -6593,27 +6701,27 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -smart-buffer@^4.1.0: +smart-buffer@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== -socks-proxy-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz#9f8749cdc05976505fa9f9a958b1818d0e60573b" - integrity sha512-FIgZbQWlnjVEQvMkylz64/rUggGtrKstPnx8OZyYFG0tAFR8CSBtpXxSwbFLHyeXFn/cunFL7MpuSOvDSOPo9g== +socks-proxy-agent@^6.0.0, socks-proxy-agent@^6.1.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz#2687a31f9d7185e38d530bef1944fe1f1496d6ce" + integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== dependencies: agent-base "^6.0.2" - debug "^4.3.1" - socks "^2.6.1" + debug "^4.3.3" + socks "^2.6.2" -socks@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.6.1.tgz#989e6534a07cf337deb1b1c94aaa44296520d30e" - integrity sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA== +socks@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.6.2.tgz#ec042d7960073d40d94268ff3bb727dc685f111a" + integrity sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA== dependencies: ip "^1.1.5" - smart-buffer "^4.1.0" + smart-buffer "^4.2.0" source-map-support@^0.5.16, source-map-support@^0.5.6: version "0.5.20" @@ -6665,9 +6773,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.10" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz#0d9becccde7003d6c658d487dd48a32f0bf3014b" - integrity sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA== + version "3.0.11" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" + integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== split2@^3.0.0: version "3.2.2" @@ -6695,13 +6803,20 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= -ssri@*, ssri@^8.0.0, ssri@^8.0.1: +ssri@^8.0.0, ssri@^8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== dependencies: minipass "^3.1.1" +ssri@^9.0.0, ssri@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" + integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== + dependencies: + minipass "^3.1.1" + stack-utils@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" @@ -6734,7 +6849,16 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -6742,7 +6866,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^4.1.0, string-width@^4.2.0: +string-width@^4.1.0: version "4.2.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5" integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA== @@ -6751,15 +6875,6 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" -string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" @@ -6774,11 +6889,6 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-package@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stringify-package/-/stringify-package-1.0.1.tgz#e5aa3643e7f74d0f28628b72f3dad5cecfc3ba85" - integrity sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg== - strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -6890,7 +7000,7 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -tar@*, tar@^6.0.2, tar@^6.1.0, tar@^6.1.2: +tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: version "6.1.11" resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== @@ -6947,7 +7057,7 @@ text-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== -text-table@*: +text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= @@ -6982,7 +7092,7 @@ timed-out@^4.0.0: resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= -tiny-relative-date@*: +tiny-relative-date@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz#fa08aad501ed730f31cc043181d995c39a935e07" integrity sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A== @@ -7060,10 +7170,10 @@ travis-deploy-once@^5.0.11: url-join "^4.0.0" yargs "^12.0.1" -treeverse@*, treeverse@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-1.0.4.tgz#a6b0ebf98a1bca6846ddc7ecbc900df08cb9cd5f" - integrity sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g== +treeverse@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-2.0.0.tgz#036dcef04bc3fd79a9b79a68d4da03e882d8a9ca" + integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== trim-newlines@^3.0.0: version "3.0.1" @@ -7138,11 +7248,6 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typedarray-to-buffer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-4.0.0.tgz#cdd2933c61dd3f5f02eda5d012d441f95bfeb50a" - integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== - typedoc@^0.22.3: version "0.22.17" resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.17.tgz#bc51cc95f569040112504300831cdac4f8089b7b" @@ -7302,12 +7407,12 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -validate-npm-package-name@*, validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= +validate-npm-package-name@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz#fe8f1c50ac20afdb86f177da85b3600f0ac0d747" + integrity sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q== dependencies: - builtins "^1.0.3" + builtins "^5.0.0" vscode-oniguruma@^1.6.1: version "1.6.1" @@ -7401,13 +7506,6 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@*, which@^2.0.1, which@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" @@ -7415,12 +7513,19 @@ which@^1.2.14, which@^1.2.9: dependencies: isexe "^2.0.0" -wide-align@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== +which@^2.0.1, which@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== dependencies: - string-width "^1.0.2 || 2" + string-width "^1.0.2 || 2 || 3 || 4" widest-line@^2.0.0: version "2.0.1" @@ -7461,16 +7566,6 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@*: - version "4.0.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.0.tgz#0eff5dc687d3e22535ca3fca8558124645a4b053" - integrity sha512-JhcWoKffJNF7ivO9yflBhc7tn3wKnokMUfWpBriM9yCXj4ePQnRPcWglBkkg1AHC8nsW/EfxwwhqsLtOy59djA== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^4.0.0" - write-file-atomic@^2.0.0: version "2.4.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" @@ -7480,7 +7575,7 @@ write-file-atomic@^2.0.0: imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: +write-file-atomic@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== @@ -7490,6 +7585,14 @@ write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" +write-file-atomic@^4.0.0, write-file-atomic@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" + integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + ws@^7.4.6: version "7.5.5" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881" From 039a172bf04766463aac7556b7027bf97ac13201 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jun 2022 05:02:15 +0000 Subject: [PATCH 38/66] chore(deps-dev): bump @types/node from 17.0.38 to 17.0.40 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.38 to 17.0.40. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6ea6abfa..0fb96128 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1848,9 +1848,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.38" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.38.tgz#f8bb07c371ccb1903f3752872c89f44006132947" - integrity sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g== + version "17.0.40" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.40.tgz#76ee88ae03650de8064a6cf75b8d95f9f4a16090" + integrity sha512-UXdBxNGqTMtm7hCwh9HtncFVLrXoqA3oJW30j6XWp5BH/wu3mVeaxo7cq5benFdBw34HB3XDT2TRPI7rXZ+mDg== "@types/normalize-package-data@^2.4.0": version "2.4.1" From b5a162644a46ecf3318aedac91e63b66d3cbc862 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jun 2022 05:02:52 +0000 Subject: [PATCH 39/66] chore(deps-dev): bump typescript from 4.7.2 to 4.7.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.2 to 4.7.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.2...v4.7.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6ea6abfa..a7a08048 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7260,9 +7260,9 @@ typedoc@^0.22.3: shiki "^0.10.1" typescript@^4.4.3: - version "4.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" - integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== + version "4.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d" + integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA== uglify-js@^3.1.4: version "3.14.2" From a18f8d601ddcbe87926c3dd60cf72f1959bf81f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jun 2022 05:19:12 +0000 Subject: [PATCH 40/66] chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 05504ef0..0e7ed775 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -29,7 +29,7 @@ jobs: path: ${{env.YARN_CACHE}} key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3.2.0 + uses: actions/setup-node@v3.3.0 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -49,7 +49,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.2.0 + uses: actions/setup-node@v3.3.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules @@ -78,7 +78,7 @@ jobs: - name: Set yarn cache run: yarn config set cache-folder ${{env.YARN_CACHE}} - name: Setup Node.js - uses: actions/setup-node@v3.2.0 + uses: actions/setup-node@v3.3.0 with: node-version: ${{env.NODEJS}} - name: Cache node modules From d8becdb0e189d9bc85aae83ab0e4ea67038577c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jun 2022 05:02:06 +0000 Subject: [PATCH 41/66] chore(deps-dev): bump @types/node from 17.0.40 to 17.0.41 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.40 to 17.0.41. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6ccfd7ff..06df6409 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1848,9 +1848,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.40" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.40.tgz#76ee88ae03650de8064a6cf75b8d95f9f4a16090" - integrity sha512-UXdBxNGqTMtm7hCwh9HtncFVLrXoqA3oJW30j6XWp5BH/wu3mVeaxo7cq5benFdBw34HB3XDT2TRPI7rXZ+mDg== + version "17.0.41" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.41.tgz#1607b2fd3da014ae5d4d1b31bc792a39348dfb9b" + integrity sha512-xA6drNNeqb5YyV5fO3OAEsnXLfO7uF0whiOfPTz5AeDo8KeZFmODKnvwPymMNO8qE/an8pVY/O50tig2SQCrGw== "@types/normalize-package-data@^2.4.0": version "2.4.1" From f85a0f62df1e04aa4561252d7d875c40d0f15956 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 05:02:20 +0000 Subject: [PATCH 42/66] chore(deps-dev): bump semantic-release from 19.0.2 to 19.0.3 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.2 to 19.0.3. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v19.0.2...v19.0.3) --- updated-dependencies: - dependency-name: semantic-release dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/yarn.lock b/yarn.lock index 06df6409..3bb04596 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2924,20 +2924,13 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.1.0, debug@^4.3.3: +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.3: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -debug@^4.0.0, debug@^4.1.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" - integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== - dependencies: - ms "2.1.2" - debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -6548,9 +6541,9 @@ saxes@^5.0.1: xmlchars "^2.2.0" semantic-release@^19.0.2: - version "19.0.2" - resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-19.0.2.tgz#6011683c06d7b416e5faa5a3f43b22bbf3798aa8" - integrity sha512-7tPonjZxukKECmClhsfyMKDt0GR38feIC2HxgyYaBi+9tDySBLjK/zYDLhh+m6yjnHIJa9eBTKYE7k63ZQcYbw== + version "19.0.3" + resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-19.0.3.tgz#9291053ad9890052f28e7c5921d4741530d516fd" + integrity sha512-HaFbydST1cDKZHuFZxB8DTrBLJVK/AnDExpK0s3EqLIAAUAHUgnd+VSJCUtTYQKkAkauL8G9CucODrVCc7BuAA== dependencies: "@semantic-release/commit-analyzer" "^9.0.2" "@semantic-release/error" "^3.0.0" From 45f7a71638497c5d98bed52c6a4a1577ebc34653 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Fri, 10 Jun 2022 15:58:32 -0400 Subject: [PATCH 43/66] test(NestedArray): Add test for nested array --- test/04-array-utils.test.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/04-array-utils.test.ts b/test/04-array-utils.test.ts index e3548c67..3cd7ad67 100644 --- a/test/04-array-utils.test.ts +++ b/test/04-array-utils.test.ts @@ -72,6 +72,21 @@ describe('Array Utils', () => { }) }) + describe('Nested array', () => { + test('get data of a nested array', () => { + db.push("/nested/0/array", [["test", "test2"]], true); + expect(db.getData("/nested/0/array[0][0]")).toBe("test"); + }) + test('append data to a nested array', () => { + db.push("/nested/1/array", [["test", "test2"]], true); + db.push("/nested/1/array[0][]", "test3", true); + expect(db.getData("/nested/array[0][2]")).toBe("test3"); + }) + test('get data of a multiple nested array', () => { + db.push("/nested/0/array", [[["test", "test2"]]], true); + expect(db.getData("/nested/0/array[0][0][0]")).toBe("test"); + }) + }) describe('Cleanup', () => { test('should remove the test files', () => { fs.unlinkSync("test/recipe.json") From a1428b762d0a8f0468a70028854d26abc85f545d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 05:02:19 +0000 Subject: [PATCH 44/66] chore(deps-dev): bump @types/node from 17.0.41 to 17.0.42 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.41 to 17.0.42. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3bb04596..a72e261f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1848,9 +1848,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.41" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.41.tgz#1607b2fd3da014ae5d4d1b31bc792a39348dfb9b" - integrity sha512-xA6drNNeqb5YyV5fO3OAEsnXLfO7uF0whiOfPTz5AeDo8KeZFmODKnvwPymMNO8qE/an8pVY/O50tig2SQCrGw== + version "17.0.42" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.42.tgz#d7e8f22700efc94d125103075c074396b5f41f9b" + integrity sha512-Q5BPGyGKcvQgAMbsr7qEGN/kIPN6zZecYYABeTDBizOsau+2NMdSVTar9UQw21A2+JyA2KRNDYaYrPB0Rpk2oQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" From e720b9c066e24e9262fd69b916200befee902540 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jun 2022 05:02:47 +0000 Subject: [PATCH 45/66] chore(deps-dev): bump @types/node from 17.0.42 to 17.0.43 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.42 to 17.0.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index a72e261f..d3c5cdac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1848,9 +1848,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^17.0.0": - version "17.0.42" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.42.tgz#d7e8f22700efc94d125103075c074396b5f41f9b" - integrity sha512-Q5BPGyGKcvQgAMbsr7qEGN/kIPN6zZecYYABeTDBizOsau+2NMdSVTar9UQw21A2+JyA2KRNDYaYrPB0Rpk2oQ== + version "17.0.43" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.43.tgz#7f16898cdd791c9d64069000ad448b47b3ca8353" + integrity sha512-jnUpgw8fL9kP2iszfIDyBQtw5Mf4/XSqy0Loc1J9pI14ejL83XcCEvSf50Gs/4ET0I9VCCDoOfufQysj0S66xA== "@types/normalize-package-data@^2.4.0": version "2.4.1" From fe525ea663eb37fd94d1ef93d4e87479cf8eec2e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Jun 2022 05:02:47 +0000 Subject: [PATCH 46/66] chore(deps-dev): bump @types/node from 17.0.43 to 18.0.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.43 to 18.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f7e99821..e65ca6ca 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@semantic-release/git": "^10.0.0", "@types/jest": "^27.0.0", "@types/mkdirp": "^1.0.1", - "@types/node": "^17.0.0", + "@types/node": "^18.0.0", "@types/safe-regex": "^1.1.2", "cz-conventional-changelog": "^3.3.0", "husky": "^8.0.0", diff --git a/yarn.lock b/yarn.lock index d3c5cdac..7edc8214 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1847,10 +1847,10 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^17.0.0": - version "17.0.43" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.43.tgz#7f16898cdd791c9d64069000ad448b47b3ca8353" - integrity sha512-jnUpgw8fL9kP2iszfIDyBQtw5Mf4/XSqy0Loc1J9pI14ejL83XcCEvSf50Gs/4ET0I9VCCDoOfufQysj0S66xA== +"@types/node@*", "@types/node@^18.0.0": + version "18.0.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.0.tgz#67c7b724e1bcdd7a8821ce0d5ee184d3b4dd525a" + integrity sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA== "@types/normalize-package-data@^2.4.0": version "2.4.1" From f3d0377b5f6265dc272d56c33e8ef5044bcc14e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jun 2022 05:01:48 +0000 Subject: [PATCH 47/66] chore(deps-dev): bump typescript from 4.7.3 to 4.7.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.7.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.7.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7edc8214..5784bef1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7253,9 +7253,9 @@ typedoc@^0.22.3: shiki "^0.10.1" typescript@^4.4.3: - version "4.7.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d" - integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA== + version "4.7.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" + integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== uglify-js@^3.1.4: version "3.14.2" From c463e488730f0f44f0f7871e542340a881ea98df Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sat, 25 Jun 2022 19:09:17 -0500 Subject: [PATCH 48/66] Added the ability for nested arrays. --- src/JsonDB.ts | 712 +++++++++++++++++++----------------- src/lib/ArrayInfo.ts | 244 +++++++----- test/01-utils.test.ts | 120 +++--- test/04-array-utils.test.ts | 220 +++++++---- 4 files changed, 729 insertions(+), 567 deletions(-) diff --git a/src/JsonDB.ts b/src/JsonDB.ts index f9b00a91..bcaa5859 100644 --- a/src/JsonDB.ts +++ b/src/JsonDB.ts @@ -1,22 +1,20 @@ -import {KeyValue, merge, removeTrailingChar} from "./lib/Utils" +import { KeyValue, merge, removeTrailingChar } from './lib/Utils' import * as FS from 'fs' -import * as path from "path" -import * as mkdirp from "mkdirp" -import {DatabaseError, DataError} from "./lib/Errors" -import {DBParentData} from "./lib/DBParentData" -import {ArrayInfo} from "./lib/ArrayInfo" -import {Config, JsonDBConfig} from "./lib/JsonDBConfig" +import * as path from 'path' +import * as mkdirp from 'mkdirp' +import { DatabaseError, DataError } from './lib/Errors' +import { DBParentData } from './lib/DBParentData' +import { ArrayInfo } from './lib/ArrayInfo' +import { Config, JsonDBConfig } from './lib/JsonDBConfig' type DataPath = Array - export type FindCallback = (entry: any, index: number | string) => boolean export class JsonDB { - private loaded: boolean = false - private data: KeyValue = {} - private readonly config : JsonDBConfig - + private loaded: boolean = false + private data: KeyValue = {} + private readonly config: JsonDBConfig /** * JSONDB Constructor @@ -26,365 +24,417 @@ export class JsonDB { * @param separator what to use as separator * @param syncOnSave force sync of the database (call fsync()) */ - constructor(filename: string | Config, saveOnPush: boolean = true, humanReadable: boolean = false, separator: string = '/', syncOnSave: boolean = false) { - - if(filename instanceof Config) { - this.config = filename - } else { - this.config = new Config(filename, saveOnPush, humanReadable, separator, syncOnSave) - } + constructor( + filename: string | Config, + saveOnPush: boolean = true, + humanReadable: boolean = false, + separator: string = '/', + syncOnSave: boolean = false + ) { + if (filename instanceof Config) { + this.config = filename + } else { + this.config = new Config( + filename, + saveOnPush, + humanReadable, + separator, + syncOnSave + ) + } - if (!FS.existsSync(this.config.filename)) { - const dirname = path.dirname(this.config.filename) - mkdirp.sync(dirname) - this.save(true) - this.loaded = true - } + if (!FS.existsSync(this.config.filename)) { + const dirname = path.dirname(this.config.filename) + mkdirp.sync(dirname) + this.save(true) + this.loaded = true } + } - /** - * Process datapath into different parts - * @param dataPath - */ - private processDataPath(dataPath: string): DataPath { - if (dataPath === undefined || !dataPath.trim()) { - throw new DataError("The Data Path can't be empty", 6) + /** + * Process datapath into different parts + * @param dataPath + */ + private processDataPath(dataPath: string): DataPath { + if (dataPath === undefined || !dataPath.trim()) { + throw new DataError("The Data Path can't be empty", 6) + } + if (dataPath == this.config.separator) { + return [] + } + dataPath = removeTrailingChar(dataPath, this.config.separator) + const path = dataPath.split(this.config.separator) + path.shift() + return path + } + + private retrieveData(dataPath: DataPath, create: boolean = false) { + this.load() + + const thisDb = this + + const recursiveProcessDataPath = (data: any, index: number): any => { + let property = dataPath[index] + + /** + * Find the wanted Data or create it. + */ + function findData(isArray: boolean = false) { + if (data.hasOwnProperty(property)) { + data = data[property] + } else if (create) { + if (isArray) { + data[property] = [] + } else { + data[property] = {} + } + data = data[property] + } else { + throw new DataError( + `Can't find dataPath: ${thisDb.config.separator}${dataPath.join( + thisDb.config.separator + )}. Stopped at ${property}`, + 5 + ) } - if (dataPath == this.config.separator) { - return [] + } + + const arrayInfo = ArrayInfo.processArray(property) + if (arrayInfo) { + property = arrayInfo.property + findData(true) + if (!Array.isArray(data)) { + throw new DataError( + `DataPath: ${thisDb.config.separator}${dataPath.join( + thisDb.config.separator + )}. ${property} is not an array.`, + 11 + ) + } + const arrayIndex = arrayInfo.getIndex(data, true) + if (!arrayInfo.append && data.hasOwnProperty(arrayIndex)) { + if (arrayInfo.isMultiDimensional()) { + data = arrayInfo.getMultiDimensionalData(data) + } else { + data = data[arrayIndex] + } + } else if (create) { + if (arrayInfo.append) { + data.push({}) + data = data[data.length - 1] + } else { + data[arrayIndex] = {} + data = data[arrayIndex] + } + } else { + throw new DataError( + `DataPath: ${thisDb.config.separator}${dataPath.join( + thisDb.config.separator + )}. . Can't find index ${arrayInfo.index} in array ${property}`, + 10 + ) } - dataPath = removeTrailingChar(dataPath, this.config.separator) - const path = dataPath.split(this.config.separator) - path.shift() - return path + } else { + findData() + } + + if (dataPath.length == ++index) { + // check data + return data + } + return recursiveProcessDataPath(data, index) } - private retrieveData(dataPath: DataPath, create: boolean = false) { - this.load() - - const thisDb = this - - const recursiveProcessDataPath = (data: any, index: number): any => { - - let property = dataPath[index] - - - /** - * Find the wanted Data or create it. - */ - function findData(isArray: boolean = false) { - if (data.hasOwnProperty(property)) { - data = data[property] - } else if (create) { - if (isArray) { - data[property] = [] - } else { - data[property] = {} - } - data = data[property] - } else { - throw new DataError(`Can't find dataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. Stopped at ${property}`, 5) - } - } - - const arrayInfo = ArrayInfo.processArray(property) - if (arrayInfo) { - property = arrayInfo.property - findData(true) - if (!Array.isArray(data)) { - throw new DataError(`DataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. ${property} is not an array.`, 11) - } - const arrayIndex = arrayInfo.getIndex(data, true) - if (!arrayInfo.append && data.hasOwnProperty(arrayIndex)) { - data = data[arrayIndex] - } else if (create) { - if (arrayInfo.append) { - data.push({}) - data = data[data.length - 1] - } - else { - data[arrayIndex] = {} - data = data[arrayIndex] - } - } else { - throw new DataError(`DataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. . Can't find index ${arrayInfo.index} in array ${property}`, 10) - } - } else { - findData() - } - - if (dataPath.length == ++index) { - return data - } - return recursiveProcessDataPath(data, index) - } + if (dataPath.length === 0) { + return this.data + } - if (dataPath.length === 0) { - return this.data - } + return recursiveProcessDataPath(this.data, 0) + } - return recursiveProcessDataPath(this.data, 0) - } + private getParentData(dataPath: string, create: boolean): DBParentData { + const path = this.processDataPath(dataPath) + const last = path.pop() + return new DBParentData( + this.retrieveData(path, create), + this, + dataPath, + last + ) + } - private getParentData(dataPath: string, create: boolean): DBParentData { - const path = this.processDataPath(dataPath) - const last = path.pop() - return new DBParentData(this.retrieveData(path, create), this, dataPath, last) - } + /** + * Get the wanted data + * @param dataPath path of the data to retrieve + */ + public getData(dataPath: string): any { + const path = this.processDataPath(dataPath) + return this.retrieveData(path, false) + } - /** - * Get the wanted data - * @param dataPath path of the data to retrieve - */ - public getData(dataPath: string): any { - const path = this.processDataPath(dataPath) - return this.retrieveData(path, false) - } + /** + * Same as getData only here it's directly typed to your object + * @param dataPath path of the data to retrieve + */ + public getObject(dataPath: string): T { + return this.getData(dataPath) + } - /** - * Same as getData only here it's directly typed to your object - * @param dataPath path of the data to retrieve - */ - public getObject(dataPath: string): T { - return this.getData(dataPath); + /** + * Check for existing datapath + * @param dataPath + */ + public exists(dataPath: string): boolean { + try { + this.getData(dataPath) + return true + } catch (e) { + if (e instanceof DataError) { + return false + } + throw e } + } - /** - * Check for existing datapath - * @param dataPath - */ - public exists(dataPath: string): boolean { - try { - this.getData(dataPath) - return true - } catch (e) { - if (e instanceof DataError) { - return false - } - throw e - } + /** + * Returns the number of element which constitutes the array + * @param dataPath + */ + public count(dataPath: string): number { + const result = this.getData(dataPath) + if (!Array.isArray(result)) { + throw new DataError(`DataPath: ${dataPath} is not an array.`, 11) } + const path = this.processDataPath(dataPath) + const data = this.retrieveData(path, false) + return data.length + } + /** + * Returns the index of the object that meets the criteria submitted. Returns -1, if no match is found. + * @param dataPath base dataPath from where to start searching + * @param searchValue value to look for in the dataPath + * @param propertyName name of the property to look for searchValue + */ + public getIndex( + dataPath: string, + searchValue: string | number, + propertyName: string = 'id' + ): number { + const data = this.getArrayData(dataPath) + return data + .map(function (element: any) { + return element[propertyName] + }) + .indexOf(searchValue) + } - /** - * Returns the number of element which constitutes the array - * @param dataPath - */ - public count(dataPath: string): number { - const result = this.getData(dataPath); - if (!Array.isArray(result)) { - throw new DataError(`DataPath: ${dataPath} is not an array.`, 11) - } - const path = this.processDataPath(dataPath); - const data = this.retrieveData(path, false); - return data.length; + /** + * Return the index of the value inside the array. Returns -1, if no match is found. + * @param dataPath base dataPath from where to start searching + * @param searchValue value to look for in the dataPath + */ + public getIndexValue(dataPath: string, searchValue: string | number): number { + return this.getArrayData(dataPath).indexOf(searchValue) + } + + private getArrayData(dataPath: string) { + const result = this.getData(dataPath) + if (!Array.isArray(result)) { + throw new DataError(`DataPath: ${dataPath} is not an array.`, 11) } + const path = this.processDataPath(dataPath) + return this.retrieveData(path, false) + } - /** - * Returns the index of the object that meets the criteria submitted. Returns -1, if no match is found. - * @param dataPath base dataPath from where to start searching - * @param searchValue value to look for in the dataPath - * @param propertyName name of the property to look for searchValue - */ - public getIndex(dataPath: string, searchValue: (string | number), propertyName:string = 'id'): number { - const data = this.getArrayData(dataPath); - return data.map(function (element:any) {return element[propertyName];}).indexOf(searchValue); + /** + * Find all specific entry in an array/object + * @param rootPath base dataPath from where to start searching + * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index. + */ + public filter(rootPath: string, callback: FindCallback): T[] | undefined { + const result = this.getData(rootPath) + if (Array.isArray(result)) { + return result.filter(callback) as T[] } - - /** - * Return the index of the value inside the array. Returns -1, if no match is found. - * @param dataPath base dataPath from where to start searching - * @param searchValue value to look for in the dataPath - */ - public getIndexValue(dataPath: string, searchValue: (string | number)) : number { - return this.getArrayData(dataPath).indexOf(searchValue); + if (result instanceof Object) { + const entries = Object.entries(result) + const found = entries.filter((entry: [string, any]) => { + return callback(entry[1], entry[0]) + }) as [string, T][] + + if (!found || found.length < 1) { + return undefined + } + + return found.map((entry: [string, T]) => { + return entry[1] + }) } + throw new DataError( + 'The entry at the path (' + + rootPath + + ') needs to be either an Object or an Array', + 12 + ) + } - private getArrayData(dataPath: string) { - const result = this.getData(dataPath); - if (!Array.isArray(result)) { - throw new DataError(`DataPath: ${dataPath} is not an array.`, 11) - } - const path = this.processDataPath(dataPath); - return this.retrieveData(path, false); + /** + * Find a specific entry in an array/object + * @param rootPath base dataPath from where to start searching + * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index. + */ + public find(rootPath: string, callback: FindCallback): T | undefined { + const result = this.getData(rootPath) + if (Array.isArray(result)) { + return result.find(callback) as T + } + if (result instanceof Object) { + const entries = Object.entries(result) + const found = entries.find((entry: Array) => { + return callback(entry[1], entry[0]) + }) + if (!found || found.length < 2) { + return undefined + } + return found[1] as T } + throw new DataError( + 'The entry at the path (' + + rootPath + + ') needs to be either an Object or an Array', + 12 + ) + } - /** - * Find all specific entry in an array/object - * @param rootPath base dataPath from where to start searching - * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index. - */ - public filter(rootPath: string, callback: FindCallback): T[] | undefined { - const result = this.getData(rootPath) - if (Array.isArray(result)) { - return result.filter(callback) as T[] - } - if (result instanceof Object) { - const entries = Object.entries(result) - const found = entries.filter((entry: [string, any]) => { - return callback(entry[1], entry[0]) - }) as [string, T][] - - if (!found || found.length < 1) { - return undefined - } - - return found.map((entry: [string, T]) => { - return entry[1] - }) - } - throw new DataError("The entry at the path (" + rootPath + ") needs to be either an Object or an Array", 12) + /** + * Pushing data into the database + * @param dataPath path leading to the data + * @param data data to push + * @param override overriding or not the data, if not, it will merge them + */ + public push(dataPath: string, data: any, override: boolean = true): void { + const dbData = this.getParentData(dataPath, true) + if (!dbData) { + throw new Error('Data not found') } - /** - * Find a specific entry in an array/object - * @param rootPath base dataPath from where to start searching - * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index. - */ - public find(rootPath: string, callback: FindCallback): T | undefined { - const result = this.getData(rootPath) - if (Array.isArray(result)) { - return result.find(callback) as T + let toSet = data + if (!override) { + if (Array.isArray(data)) { + let storedData = dbData.getData() + if (storedData === undefined) { + storedData = [] + } else if (!Array.isArray(storedData)) { + throw new DataError( + "Can't merge another type of data with an Array", + 3 + ) } - if (result instanceof Object) { - const entries = Object.entries(result) - const found = entries.find((entry: Array) => { - return callback(entry[1], entry[0]) - }) - if (!found || found.length < 2) { - return undefined - } - return found[1] as T + toSet = storedData.concat(data) + } else if (data === Object(data)) { + if (Array.isArray(dbData.getData())) { + throw new DataError("Can't merge an Array with an Object", 4) } - throw new DataError("The entry at the path (" + rootPath + ") needs to be either an Object or an Array", 12) + toSet = merge(dbData.getData(), data) + } } + dbData.setData(toSet) - /** - * Pushing data into the database - * @param dataPath path leading to the data - * @param data data to push - * @param override overriding or not the data, if not, it will merge them - */ - public push(dataPath: string, data: any, override: boolean = true): void { - const dbData = this.getParentData(dataPath, true) - if (!dbData) { - throw new Error("Data not found") - } + if (this.config.saveOnPush) { + this.save() + } + } - let toSet = data - if (!override) { - if (Array.isArray(data)) { - let storedData = dbData.getData() - if (storedData === undefined) { - storedData = [] - } else if (!Array.isArray(storedData)) { - throw new DataError("Can't merge another type of data with an Array", 3) - } - toSet = storedData.concat(data) - } else if (data === Object(data)) { - if (Array.isArray(dbData.getData())) { - throw new DataError("Can't merge an Array with an Object", 4) - } - toSet = merge(dbData.getData(), data) - } - } - dbData.setData(toSet) + /** + * Delete the data + * @param dataPath path leading to the data + */ + public delete(dataPath: string): void { + const dbData = this.getParentData(dataPath, true) + if (!dbData) { + return + } + dbData.delete() - if (this.config.saveOnPush) { - this.save() - } + if (this.config.saveOnPush) { + this.save() } + } - /** - * Delete the data - * @param dataPath path leading to the data - */ - public delete(dataPath: string): void { - const dbData = this.getParentData(dataPath, true) - if (!dbData) { - return - } - dbData.delete() + /** + * Only use this if you know what you're doing. + * It reset the full data of the database. + * @param data + */ + public resetData(data: any): void { + this.data = data + } - if (this.config.saveOnPush) { - this.save() - } - } + /** + * Reload the database from the file + */ + public reload(): void { + this.loaded = false + this.load() + } - /** - * Only use this if you know what you're doing. - * It reset the full data of the database. - * @param data - */ - public resetData(data: any): void { - this.data = data + /** + * Manually load the database + * It is automatically called when the first getData is done + */ + public load(): void { + if (this.loaded) { + return } - - /** - * Reload the database from the file - */ - public reload(): void { - this.loaded = false - this.load() - }; - - /** - * Manually load the database - * It is automatically called when the first getData is done - */ - public load(): void { - if (this.loaded) { - return - } - try { - const data = FS.readFileSync(this.config.filename, 'utf8') - this.data = JSON.parse(data) - this.loaded = true - } catch (err) { - const error = new DatabaseError("Can't Load Database", 1, err) - throw error - } + try { + const data = FS.readFileSync(this.config.filename, 'utf8') + this.data = JSON.parse(data) + this.loaded = true + } catch (err) { + const error = new DatabaseError("Can't Load Database", 1, err) + throw error } + } - /** - * Manually save the database - * By default you can't save the database if it's not loaded - * @param force force the save of the database - */ - public save(force?: boolean): void { - force = force || false - if (!force && !this.loaded) { - throw new DatabaseError("DataBase not loaded. Can't write", 7) - } - let data = "" + /** + * Manually save the database + * By default you can't save the database if it's not loaded + * @param force force the save of the database + */ + public save(force?: boolean): void { + force = force || false + if (!force && !this.loaded) { + throw new DatabaseError("DataBase not loaded. Can't write", 7) + } + let data = '' + try { + if (this.config.humanReadable) { + data = JSON.stringify(this.data, null, 4) + } else { + data = JSON.stringify(this.data) + } + if (this.config.syncOnSave) { + const buffer = Buffer.from(String(data), 'utf8') + const fd_tmp = FS.openSync(this.config.filename, 'w') + let offset = 0 + let length = buffer.byteLength try { - if (this.config.humanReadable) { - data = JSON.stringify(this.data, null, 4) - } - else { - data = JSON.stringify(this.data) - } - if(this.config.syncOnSave) { - const buffer = Buffer.from(String(data), 'utf8') - const fd_tmp = FS.openSync(this.config.filename, 'w') - let offset = 0 - let length = buffer.byteLength - try { - while (length > 0) { - const written = FS.writeSync(fd_tmp, buffer, offset, length) - offset += written - length -= written - } - } finally { - FS.fsyncSync(fd_tmp) - FS.closeSync(fd_tmp) - } - } else { - FS.writeFileSync(this.config.filename, data, 'utf8') - } - } catch (err) { - const error = new DatabaseError("Can't save the database", 2, err) - throw error + while (length > 0) { + const written = FS.writeSync(fd_tmp, buffer, offset, length) + offset += written + length -= written + } + } finally { + FS.fsyncSync(fd_tmp) + FS.closeSync(fd_tmp) } + } else { + FS.writeFileSync(this.config.filename, data, 'utf8') + } + } catch (err) { + const error = new DatabaseError("Can't save the database", 2, err) + throw error } + } } diff --git a/src/lib/ArrayInfo.ts b/src/lib/ArrayInfo.ts index a8178700..bf91861e 100644 --- a/src/lib/ArrayInfo.ts +++ b/src/lib/ArrayInfo.ts @@ -1,121 +1,169 @@ -import {DataError} from "./Errors" -import {KeyValue} from "./Utils" +import { DataError } from './Errors' +import { KeyValue } from './Utils' function isInt(value: any) { - return !isNaN(value) && - Number(value) == value && !isNaN(parseInt(value, 10)) + return !isNaN(value) && Number(value) == value && !isNaN(parseInt(value, 10)) } -export const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)\[((?!(\]|\[)).*|)\]$/gm +export const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)(.*)/gm +export const arrayIndiciesRegex = /\[(.?|.+?)\]/g +export const malformedArrayRegex = /\]|\[/g const regexCache = {} as KeyValue export class ArrayInfo { - readonly property: string - readonly index: number = 0 - readonly append: boolean = false - - - constructor(property: string, index: any) { - this.property = property - this.append = index === "" - if (isInt(index)) { - this.index = parseInt(index) - } else if (!this.append) { - throw new DataError("Only numerical values accepted for array index", 200) - } + readonly property: string + readonly index: number = 0 + readonly append: boolean = false + readonly indicies = [] as any[] + + constructor(property: string, indicies: any[]) { + this.property = property + const index = indicies[0] ?? 0 + this.append = index === '' || indicies[indicies.length - 1] === '' + this.indicies = indicies + if (isInt(index)) { + this.index = parseInt(index) + } else if (!this.append) { + throw new DataError('Only numerical values accepted for array index', 200) + } + } + + /** + * Check if the property want to access an Array + * @param property + */ + public static processArray(property?: string): ArrayInfo | null { + if (typeof property === 'undefined') { + return null } - /** - * Check if the property want to access an Array - * @param property - */ - public static processArray(property?: string): ArrayInfo | null { - if (typeof property === 'undefined') { - return null - } - - if (regexCache[property]) { - return regexCache[property] - } + if (regexCache[property]) { + return regexCache[property] + } - const arrayIndexRegex = arrayRegex() - const match = arrayIndexRegex.exec(property.trim()) - if (match != null) { - return (regexCache[property] = new ArrayInfo(match[1], match[2])) + const arrayIndexRegex = arrayRegex() + const match = arrayIndexRegex.exec(property.trim()) + if (match != null && match[2]) { + const propertyName = match[1] + const nestedArrayMatches = match[2].toString() + const nestedArrayIndicies = [ + ...nestedArrayMatches.matchAll(arrayIndiciesRegex), + ].map((match) => match[1]) + let malformedArray = false + nestedArrayIndicies.forEach((value) => { + if (value.match(malformedArrayRegex)) { + malformedArray = true } - return null + }) + if (!malformedArray && nestedArrayIndicies.length > 0) { + return (regexCache[property] = new ArrayInfo( + propertyName, + nestedArrayIndicies + )) + } } - /** - * Get the index for the array - * @param data - * @param avoidProperty - */ - public getIndex(data: KeyValue, avoidProperty?: boolean): number { - if (avoidProperty === undefined) { - avoidProperty = false - } + return null + } + + /** + * Get the index for the array + * @param data + * @param avoidProperty + */ + public getIndex(data: KeyValue, avoidProperty?: boolean): number { + if (avoidProperty === undefined) { + avoidProperty = false + } - if (this.append) { - return -1 - } + if (this.append) { + return -1 + } - const index = this.index - if (index == -1) { - const dataIterable = avoidProperty ? data : data[this.property] + const index = this.index + if (index == -1) { + const dataIterable = avoidProperty ? data : data[this.property] - if (dataIterable.length === 0) { - return 0 - } - return dataIterable.length - 1 - } - return index + if (dataIterable.length === 0) { + return 0 + } + return dataIterable.length - 1 } - - /** - * Get the Data - * @param data - */ - public getData(data: KeyValue): any { - if (this.append) { - throw new DataError("Can't get data when appending", 100) - } - const index = this.getIndex(data) - return data[this.property][index] + return index + } + + /** + * Get the Data + * @param data + */ + public getData(data: KeyValue): any { + if (this.append) { + throw new DataError("Can't get data when appending", 100) } + const index = this.getIndex(data) + return data[this.property][index] + } - /** - * Set the data for the array - * @param data - * @param value - */ - public setData(data: KeyValue, value: any): void { - if (this.append) { - data[this.property].push(value) - } else { - const index = this.getIndex(data) - data[this.property][index] = value - } + public getMultiDimensionalData(data: KeyValue): any { + if (this.append) { + throw new DataError("Can't get data when appending", 100) } - - /** - * Delete the index from the array - * @param data - */ - public delete(data: KeyValue): void { - if (this.append) { - throw new DataError("Can't delete an appended data", 10) + this.indicies.forEach((index) => { + data = data[index] + }) + return data + } + + /** + * Set the data for the array + * @param data + * @param value + */ + public setData(data: KeyValue, value: any): void { + if (this.append) { + let dataLocationToAppendTo = data[this.property] + this.indicies.forEach((index) => { + if (index === '') { + return } - const index = this.getIndex(data) - data[this.property].splice(index, 1) + dataLocationToAppendTo = dataLocationToAppendTo[+index] + }) + dataLocationToAppendTo.push(value) + } else { + const index = this.getIndex(data) + data[this.property][index] = value } - - /** - * Check if the ArrayInfo is valid for the given data - * @param data - */ - public isValid(data: KeyValue): boolean { - const index = this.getIndex(data) - return data[this.property].hasOwnProperty(index) + } + + /** + * Delete the index from the array + * @param data + */ + public delete(data: KeyValue): void { + if (this.append) { + throw new DataError("Can't delete an appended data", 10) } -} \ No newline at end of file + let indexToRemove = this.getIndex(data) + let tempData = data[this.property] + if (this.indicies.length > 0) { + indexToRemove = this.indicies[this.indicies.length - 1] + for (let i = 0; i < this.indicies.length - 1; i++) { + tempData = tempData[i] + } + } + tempData.splice(+indexToRemove, 1) + } + + /** + * Check if the ArrayInfo is valid for the given data + * @param data + */ + public isValid(data: KeyValue): boolean { + const index = this.getIndex(data) + return data[this.property].hasOwnProperty(index) + } + + public isMultiDimensional() { + return this.indicies.length > 1 + } +} diff --git a/test/01-utils.test.ts b/test/01-utils.test.ts index 65596b64..58c524f3 100644 --- a/test/01-utils.test.ts +++ b/test/01-utils.test.ts @@ -1,77 +1,77 @@ -import {ArrayInfo, arrayRegex} from "../src/lib/ArrayInfo" -import {DataError} from "../src/lib/Errors" +import { ArrayInfo, arrayRegex } from '../src/lib/ArrayInfo' +import { DataError } from '../src/lib/Errors' const SafeRegex = require('safe-regex') describe('Utils', () => { - - describe('Array regex', () => { - test('should be safe', () => { - expect(SafeRegex(arrayRegex())).toBeTruthy() - }) + describe('Array regex', () => { + test('should be safe', () => { + expect(SafeRegex(arrayRegex())).toBeTruthy() }) + }) - describe('Process Array', () => { - test('should not process a not well formatted array', () => { - expect(ArrayInfo.processArray('array[[]')).toBe(null) - }) - - test('should process array with numerical key', () => { - const arrayInfo = ArrayInfo.processArray('array[0]') - expect(arrayInfo).toBeInstanceOf(ArrayInfo) - expect(arrayInfo).toHaveProperty('property', 'array') - expect(arrayInfo).toHaveProperty('append', false) - expect(arrayInfo).toHaveProperty('index', 0) - }) - - test('should process array append', () => { - const arrayInfo = ArrayInfo.processArray('array[]') - expect(arrayInfo).toBeInstanceOf(ArrayInfo) - expect(arrayInfo).toHaveProperty('property', 'array') - expect(arrayInfo).toHaveProperty('append', true) - expect(arrayInfo).toHaveProperty('index', 0) - }) - - test('should process array -1', () => { - const arrayInfo = ArrayInfo.processArray('array[-1]') - expect(arrayInfo).toBeInstanceOf(ArrayInfo) - expect(arrayInfo).toHaveProperty('property', 'array') - expect(arrayInfo).toHaveProperty('append', false) - expect(arrayInfo).toHaveProperty('index', -1) - }) + describe('Process Array', () => { + test('should not process a not well formatted array', () => { + expect(ArrayInfo.processArray('array[[]')).toBe(null) + }) - test('should use the cache', () => { - const arrayInfo = ArrayInfo.processArray('info[0]') + test('should not process a not well formatted nested array', () => { + expect(ArrayInfo.processArray('array[[[]]')).toBe(null) + }) - expect(arrayInfo).toBeInstanceOf(ArrayInfo) - expect(arrayInfo).toHaveProperty('property', 'info') - expect(arrayInfo).toHaveProperty('append', false) - expect(arrayInfo).toHaveProperty('index', 0) + test('should process array with numerical key', () => { + const arrayInfo = ArrayInfo.processArray('array[0]') + expect(arrayInfo).toBeInstanceOf(ArrayInfo) + expect(arrayInfo).toHaveProperty('property', 'array') + expect(arrayInfo).toHaveProperty('append', false) + expect(arrayInfo).toHaveProperty('index', 0) + }) - const arrayInfoSame = ArrayInfo.processArray('info[0]') + test('should process array append', () => { + const arrayInfo = ArrayInfo.processArray('array[]') + expect(arrayInfo).toBeInstanceOf(ArrayInfo) + expect(arrayInfo).toHaveProperty('property', 'array') + expect(arrayInfo).toHaveProperty('append', true) + expect(arrayInfo).toHaveProperty('index', 0) + }) - expect(arrayInfo).toBe(arrayInfoSame) + test('should process array -1', () => { + const arrayInfo = ArrayInfo.processArray('array[-1]') + expect(arrayInfo).toBeInstanceOf(ArrayInfo) + expect(arrayInfo).toHaveProperty('property', 'array') + expect(arrayInfo).toHaveProperty('append', false) + expect(arrayInfo).toHaveProperty('index', -1) + }) - }) + test('should use the cache', () => { + const arrayInfo = ArrayInfo.processArray('info[0]') - test('should not process array with string key', () => { - try { - (function (args) { - ArrayInfo.processArray(args) - })("test[test]") + expect(arrayInfo).toBeInstanceOf(ArrayInfo) + expect(arrayInfo).toHaveProperty('property', 'info') + expect(arrayInfo).toHaveProperty('append', false) + expect(arrayInfo).toHaveProperty('index', 0) - throw Error('Function did not throw') - } catch (e) { - expect(e).toBeInstanceOf(DataError) - expect((e as DataError).id).toBe(200) - } - }) + const arrayInfoSame = ArrayInfo.processArray('info[0]') - test('should ignore an empty argument', () => { - const arrayInfo = ArrayInfo.processArray(undefined) - expect(arrayInfo).toBe(null) - }) + expect(arrayInfo).toBe(arrayInfoSame) + }) + test('should not process array with string key', () => { + try { + ;(function (args) { + ArrayInfo.processArray(args) + })('test[test]') + + throw Error('Function did not throw') + } catch (e) { + expect(e).toBeInstanceOf(DataError) + expect((e as DataError).id).toBe(200) + } }) -}) \ No newline at end of file + test('should ignore an empty argument', () => { + const arrayInfo = ArrayInfo.processArray(undefined) + expect(arrayInfo).toBe(null) + }) + }) +}) diff --git a/test/04-array-utils.test.ts b/test/04-array-utils.test.ts index 3cd7ad67..a4ee50b9 100644 --- a/test/04-array-utils.test.ts +++ b/test/04-array-utils.test.ts @@ -2,94 +2,158 @@ import { JsonDB } from '../src/JsonDB' import * as fs from 'fs' describe('Array Utils', () => { - const db = new JsonDB('test/recipe', true, true) - describe('get number of item in an array', () => { - test('should have the correct count of an array', () => { - const recipe_1 = {id: 65464646155, name: "Cheesecake", category: "Dessert"}; - const recipe_2 = {id: 78687873783, name: "Cheeseburger", category: "Dish"}; - const recipe_3 = {id: 12335373873, name: "Soup", category: "Starter"}; - db.push("/recipes[0]", recipe_1, true); - db.push("/recipes[1]", recipe_2, true); - db.push("/recipes[2]", recipe_3, true); - - expect(db.count("/recipes")).toBe(3); - }) + const db = new JsonDB('test/recipe', true, true) + describe('get number of item in an array', () => { + test('should have the correct count of an array', () => { + const recipe_1 = { + id: 65464646155, + name: 'Cheesecake', + category: 'Dessert', + } + const recipe_2 = { + id: 78687873783, + name: 'Cheeseburger', + category: 'Dish', + } + const recipe_3 = { id: 12335373873, name: 'Soup', category: 'Starter' } + db.push('/recipes[0]', recipe_1, true) + db.push('/recipes[1]', recipe_2, true) + db.push('/recipes[2]', recipe_3, true) + expect(db.count('/recipes')).toBe(3) }) - describe('get index of item in an array', () => { - test('should get the index of the current value', () => { - const recipe_1 = {id: "65464646155", name: "Cheesecake", category: "Dessert"}; - const recipe_2 = {id: "78687873783", name: "Gratin", category: "Dish"}; - const recipe_3 = {id: "12335373873", name: "Soupe", category: "Starter"}; - db.push("/recipes[0]", recipe_1, true); - db.push("/recipes[1]", recipe_2, true); - db.push("/recipes[2]", recipe_3, true); - - expect(db.getIndex("/recipes", "65464646155")).toBe(0); - expect(db.getIndex("/recipes", "78687873783")).toBe(1); - expect(db.getIndex("/recipes", "12335373873")).toBe(2); + }) + describe('get index of item in an array', () => { + test('should get the index of the current value', () => { + const recipe_1 = { + id: '65464646155', + name: 'Cheesecake', + category: 'Dessert', + } + const recipe_2 = { id: '78687873783', name: 'Gratin', category: 'Dish' } + const recipe_3 = { + id: '12335373873', + name: 'Soupe', + category: 'Starter', + } + db.push('/recipes[0]', recipe_1, true) + db.push('/recipes[1]', recipe_2, true) + db.push('/recipes[2]', recipe_3, true) - db.delete("/recipes[" + db.getIndex("/recipes", "78687873783") + "]"); + expect(db.getIndex('/recipes', '65464646155')).toBe(0) + expect(db.getIndex('/recipes', '78687873783')).toBe(1) + expect(db.getIndex('/recipes', '12335373873')).toBe(2) - expect(db.getIndex("/recipes", "65464646155")).toBe(0); - expect(db.getIndex("/recipes", "12335373873")).toBe(1); - }) - - test('should get the index of the current value with anything but id', () => { - const recipe_1 = {test: "65464646155", name: "Cheesecake", category: "Dessert"}; - const recipe_2 = {test: "78687873783", name: "Gratin", category: "Dish"}; - const recipe_3 = {test: "12335373873", name: "Soupe", category: "Starter"}; - db.push("/recipes[0]", recipe_1, true); - db.push("/recipes[1]", recipe_2, true); - db.push("/recipes[2]", recipe_3, true); + db.delete('/recipes[' + db.getIndex('/recipes', '78687873783') + ']') - expect(db.getIndex("/recipes", "65464646155", "test")).toBe(0); - expect(db.getIndex("/recipes", "78687873783", "test")).toBe(1); - expect(db.getIndex("/recipes", "12335373873", "test")).toBe(2); - }) - test('should get the index of the current value with anything but numerical', () => { - const recipe_1 = {test: 65464646155, name: "Cheesecake", category: "Dessert"}; - const recipe_2 = {test: 78687873783, name: "Gratin", category: "Dish"}; - const recipe_3 = {test: 12335373873, name: "Soupe", category: "Starter"}; - db.push("/recipes[0]", recipe_1, true); - db.push("/recipes[1]", recipe_2, true); - db.push("/recipes[2]", recipe_3, true); + expect(db.getIndex('/recipes', '65464646155')).toBe(0) + expect(db.getIndex('/recipes', '12335373873')).toBe(1) + }) - expect(db.getIndex("/recipes", 65464646155, "test")).toBe(0); - expect(db.getIndex("/recipes", 78687873783, "test")).toBe(1); - expect(db.getIndex("/recipes", 12335373873, "test")).toBe(2); - }) + test('should get the index of the current value with anything but id', () => { + const recipe_1 = { + test: '65464646155', + name: 'Cheesecake', + category: 'Dessert', + } + const recipe_2 = { + test: '78687873783', + name: 'Gratin', + category: 'Dish', + } + const recipe_3 = { + test: '12335373873', + name: 'Soupe', + category: 'Starter', + } + db.push('/recipes[0]', recipe_1, true) + db.push('/recipes[1]', recipe_2, true) + db.push('/recipes[2]', recipe_3, true) - test('should get the index of an array with string', () => { + expect(db.getIndex('/recipes', '65464646155', 'test')).toBe(0) + expect(db.getIndex('/recipes', '78687873783', 'test')).toBe(1) + expect(db.getIndex('/recipes', '12335373873', 'test')).toBe(2) + }) + test('should get the index of the current value with anything but numerical', () => { + const recipe_1 = { + test: 65464646155, + name: 'Cheesecake', + category: 'Dessert', + } + const recipe_2 = { test: 78687873783, name: 'Gratin', category: 'Dish' } + const recipe_3 = { + test: 12335373873, + name: 'Soupe', + category: 'Starter', + } + db.push('/recipes[0]', recipe_1, true) + db.push('/recipes[1]', recipe_2, true) + db.push('/recipes[2]', recipe_3, true) - db.push("/indexValue[]", "abc", true); - db.push("/indexValue[]", "def", true); - db.push("/indexValue[]", "gh", true); + expect(db.getIndex('/recipes', 65464646155, 'test')).toBe(0) + expect(db.getIndex('/recipes', 78687873783, 'test')).toBe(1) + expect(db.getIndex('/recipes', 12335373873, 'test')).toBe(2) + }) - expect(db.getIndexValue("/indexValue", "abc")).toBe(0); - expect(db.getIndexValue("/indexValue", "def")).toBe(1); - expect(db.getIndexValue("/indexValue", "gh")).toBe(2); - }) + test('should get the index of an array with string', () => { + db.push('/indexValue[]', 'abc', true) + db.push('/indexValue[]', 'def', true) + db.push('/indexValue[]', 'gh', true) + expect(db.getIndexValue('/indexValue', 'abc')).toBe(0) + expect(db.getIndexValue('/indexValue', 'def')).toBe(1) + expect(db.getIndexValue('/indexValue', 'gh')).toBe(2) + }) + }) + describe('Nested array', () => { + test('get data of a nested array', () => { + db.push('/nested/0/array', [['test', 'test2']], true) + expect(db.getData('/nested/0/array[0][0]')).toBe('test') + }) + test('append data to a nested array', () => { + db.push('/nested/1/array', [['test', 'test2']], true) + db.push('/nested/1/array[0][]', 'test3', true) + expect(db.getData('/nested/1/array[0][2]')).toBe('test3') + }) + test('get data of a multiple nested array', () => { + db.push('/nested/0/array', [[['test', 'test2']]], true) + expect(db.getData('/nested/0/array[0][0][0]')).toBe('test') + }) + test('should delete array index at specified position', () => { + db.push('/nested/0/array', [ + ['abc', 'def'], + ['hij', 'klmn'], + ]) + db.delete('/nested/0/array[0][0]') + expect(db.getData('/nested/0/array[0][0]')).toBe('def') }) - describe('Nested array', () => { - test('get data of a nested array', () => { - db.push("/nested/0/array", [["test", "test2"]], true); - expect(db.getData("/nested/0/array[0][0]")).toBe("test"); - }) - test('append data to a nested array', () => { - db.push("/nested/1/array", [["test", "test2"]], true); - db.push("/nested/1/array[0][]", "test3", true); - expect(db.getData("/nested/array[0][2]")).toBe("test3"); - }) - test('get data of a multiple nested array', () => { - db.push("/nested/0/array", [[["test", "test2"]]], true); - expect(db.getData("/nested/0/array[0][0][0]")).toBe("test"); - }) + }) + describe('Nested array regex', () => { + // Test added to play with the regex + test('should find index for nested array', () => { + const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)(.*)/gm + const arrayIndexRegex = arrayRegex() + const match = arrayIndexRegex.exec('array[1][2]') + let property = '' + let nestedArrayIndicies = [] as any[] + if (match != null && match[2]) { + // Match 1 = property name + // Match 2 = Array or Nested Arrays + property = match[1] + const nestedArrayMatches = match[2].toString() + nestedArrayIndicies = [ + // matchAll to support [5] and [] + ...nestedArrayMatches.matchAll(/\[(.?|.+?)\]/g), + ].map((match) => match[1]) + } + expect(property).toBe('array') + expect(nestedArrayIndicies[0]).toEqual('1') + expect(nestedArrayIndicies[1]).toEqual('2') }) - describe('Cleanup', () => { - test('should remove the test files', () => { - fs.unlinkSync("test/recipe.json") - }) + }) + describe('Cleanup', () => { + test('should remove the test files', () => { + fs.unlinkSync('test/recipe.json') }) -}) \ No newline at end of file + }) +}) From f576d5f899177651b63b8e076c50e5aa449d9605 Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sat, 25 Jun 2022 23:44:54 -0500 Subject: [PATCH 49/66] Added additional nested array tests. Fixed logic errors when using nested arrays. Added existing feature using -1 in arrays to use the last entry of the array. --- src/JsonDB.ts | 6 +--- src/lib/ArrayInfo.ts | 64 ++++++++++++++++++++++--------------- test/04-array-utils.test.ts | 59 ++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 30 deletions(-) diff --git a/src/JsonDB.ts b/src/JsonDB.ts index bcaa5859..25cae2ce 100644 --- a/src/JsonDB.ts +++ b/src/JsonDB.ts @@ -113,11 +113,7 @@ export class JsonDB { } const arrayIndex = arrayInfo.getIndex(data, true) if (!arrayInfo.append && data.hasOwnProperty(arrayIndex)) { - if (arrayInfo.isMultiDimensional()) { - data = arrayInfo.getMultiDimensionalData(data) - } else { - data = data[arrayIndex] - } + data = arrayInfo.getData(data) } else if (create) { if (arrayInfo.append) { data.push({}) diff --git a/src/lib/ArrayInfo.ts b/src/lib/ArrayInfo.ts index bf91861e..f41c2dd2 100644 --- a/src/lib/ArrayInfo.ts +++ b/src/lib/ArrayInfo.ts @@ -100,18 +100,9 @@ export class ArrayInfo { if (this.append) { throw new DataError("Can't get data when appending", 100) } - const index = this.getIndex(data) - return data[this.property][index] - } - - public getMultiDimensionalData(data: KeyValue): any { - if (this.append) { - throw new DataError("Can't get data when appending", 100) - } - this.indicies.forEach((index) => { - data = data[index] - }) - return data + const { index, dataForProperty } = + this.getArrayDataAndIndexFromProperty(data) + return dataForProperty[index] } /** @@ -126,12 +117,21 @@ export class ArrayInfo { if (index === '') { return } + index = +index + if (index === -1) { + index = dataLocationToAppendTo.length - 1 + } dataLocationToAppendTo = dataLocationToAppendTo[+index] }) dataLocationToAppendTo.push(value) } else { - const index = this.getIndex(data) - data[this.property][index] = value + const { index, dataForProperty } = + this.getArrayDataAndIndexFromProperty(data) + if (index === -1) { + dataForProperty.push(value) + } else { + dataForProperty[index] = value + } } } @@ -143,15 +143,9 @@ export class ArrayInfo { if (this.append) { throw new DataError("Can't delete an appended data", 10) } - let indexToRemove = this.getIndex(data) - let tempData = data[this.property] - if (this.indicies.length > 0) { - indexToRemove = this.indicies[this.indicies.length - 1] - for (let i = 0; i < this.indicies.length - 1; i++) { - tempData = tempData[i] - } - } - tempData.splice(+indexToRemove, 1) + const { index, dataForProperty } = + this.getArrayDataAndIndexFromProperty(data) + dataForProperty.splice(index, 1) } /** @@ -159,8 +153,28 @@ export class ArrayInfo { * @param data */ public isValid(data: KeyValue): boolean { - const index = this.getIndex(data) - return data[this.property].hasOwnProperty(index) + const { index, dataForProperty } = + this.getArrayDataAndIndexFromProperty(data) + return dataForProperty.hasOwnProperty(index) + } + + private getArrayDataAndIndexFromProperty(data: KeyValue): any { + let indexToPull = 0 + let tempData = data[this.property] ?? data + if (this.indicies.length > 0) { + indexToPull = +this.indicies[this.indicies.length - 1] + for (let i = 0; i < this.indicies.length - 1; i++) { + let index = +this.indicies[i] + if (index === -1) { + index = tempData.length - 1 + } + tempData = tempData[index] + } + if (indexToPull === -1) { + indexToPull = tempData.length - 1 + } + } + return { index: indexToPull, dataForProperty: tempData } } public isMultiDimensional() { diff --git a/test/04-array-utils.test.ts b/test/04-array-utils.test.ts index a4ee50b9..ed02f990 100644 --- a/test/04-array-utils.test.ts +++ b/test/04-array-utils.test.ts @@ -127,6 +127,65 @@ describe('Array Utils', () => { db.delete('/nested/0/array[0][0]') expect(db.getData('/nested/0/array[0][0]')).toBe('def') }) + describe('', () => { + beforeEach(() => [ + db.push('/nested/0/array', [ + [['abc', 'def'], [['hij', 'klmn']]], + ['123', '456'], + ['789', '100'], + ]), + ]) + test('should have the correct counts', () => { + // first level + expect(db.count('/nested/0/array')).toBe(3) + // second level + expect(db.count('/nested/0/array[0]')).toBe(2) + expect(db.count('/nested/0/array[1]')).toBe(2) + expect(db.count('/nested/0/array[2]')).toBe(2) + // third level + expect(db.count('/nested/0/array[0][0]')).toBe(2) + // fourth level + expect(db.count('/nested/0/array[0][1][0]')).toBe(2) + }) + test('should have correct information after delete', () => { + const deepestArrayParentQuery = '/nested/0/array[0][1][0]' + const deepestArrayEntryQuery = `${deepestArrayParentQuery}[0]` + // validate array value before delete + expect(db.getData(deepestArrayEntryQuery)).toBe('hij') + + db.delete(deepestArrayEntryQuery) + // validate array value after delete + expect(db.count(deepestArrayParentQuery)).toBe(1) + expect(db.getData(deepestArrayEntryQuery)).toBe('klmn') + }) + + test('should return the last entry for an array when using -1', () => { + // first level + expect(db.getData('/nested/0/array[-1][0]')).toBe('789') + // second level + expect(db.getData('/nested/0/array[0][-1]')).toEqual([['hij', 'klmn']]) + // third level + expect(db.getData('/nested/0/array[0][-1][-1]')).toEqual([ + 'hij', + 'klmn', + ]) + // fourth level + expect(db.getData('/nested/0/array[0][-1][-1][-1]')).toBe('klmn') + }) + + test('should delete last entry when using -1', () => { + db.delete('/nested/0/array[0][-1][-1][-1]') + expect(db.count('/nested/0/array[0][-1][-1]')).toBe(1) + expect(db.getData('/nested/0/array[0][-1][-1][0]')).toBe('hij') + expect(db.getData('/nested/0/array[0][-1][-1][1]')).toBeUndefined() + }) + + test('should add to the last entry when using -1', () => { + db.push('/nested/0/array[0][-1][-1][]', 'lastRecord') + expect(db.count('/nested/0/array[0][-1][-1]')).toBe(3) + expect(db.getData('/nested/0/array[0][-1][-1][2]')).toBe('lastRecord') + }) + }) }) describe('Nested array regex', () => { // Test added to play with the regex From 268dea9a3a38a37e72d120aa0b94293d01771b7e Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sun, 26 Jun 2022 18:11:39 -0500 Subject: [PATCH 50/66] Added Class Specific Tests for Code Coverage --- test/05-errors-test.ts | 1 + test/DBParentData.test.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 test/05-errors-test.ts create mode 100644 test/DBParentData.test.ts diff --git a/test/05-errors-test.ts b/test/05-errors-test.ts new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/05-errors-test.ts @@ -0,0 +1 @@ + diff --git a/test/DBParentData.test.ts b/test/DBParentData.test.ts new file mode 100644 index 00000000..cc0ca710 --- /dev/null +++ b/test/DBParentData.test.ts @@ -0,0 +1,12 @@ +jest.mock('../src/JsonDB.ts') +import { JsonDB } from '../src/JsonDB' +import { DBParentData } from '../src/lib/DBParentData' + +describe('DBParentData', () => { + test('should call db reset when parent is undefined', () => { + const dbMock = JsonDB.prototype + const dbParentData = new DBParentData('', dbMock, '', undefined) + dbParentData.delete() + expect(dbMock.resetData).toHaveBeenCalled() + }) +}) From 217cd3a12314f0220e07486c3ca898780d2489dd Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sun, 26 Jun 2022 19:13:43 -0500 Subject: [PATCH 51/66] Added tests for ArrayInfo code coverage --- src/lib/ArrayInfo.ts | 4 --- test/ArrayInfo.test.ts | 60 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 test/ArrayInfo.test.ts diff --git a/src/lib/ArrayInfo.ts b/src/lib/ArrayInfo.ts index f41c2dd2..8ecc535a 100644 --- a/src/lib/ArrayInfo.ts +++ b/src/lib/ArrayInfo.ts @@ -72,10 +72,6 @@ export class ArrayInfo { * @param avoidProperty */ public getIndex(data: KeyValue, avoidProperty?: boolean): number { - if (avoidProperty === undefined) { - avoidProperty = false - } - if (this.append) { return -1 } diff --git a/test/ArrayInfo.test.ts b/test/ArrayInfo.test.ts new file mode 100644 index 00000000..3f58e3ac --- /dev/null +++ b/test/ArrayInfo.test.ts @@ -0,0 +1,60 @@ +import { ArrayInfo } from '../src/lib/ArrayInfo' + +describe('ArrayInfo', () => { + describe('constructor', () => { + test('should set the index to zero when indicies is empty', () => { + const arrayInfo = new ArrayInfo('abc[0]', []) + expect(arrayInfo.getIndex({})).toBe(0) + }) + }) + describe('getData()', () => { + test('should set avoid property to false when undefined', () => { + const data = {} + const arrayInfo = new ArrayInfo('abc[]', [0]) + const mockGetArrayDataAndIndexFromProperty = jest.fn(() => ({ + index: 0, + dataForProperty: {}, + })) + arrayInfo['getArrayDataAndIndexFromProperty'] = + mockGetArrayDataAndIndexFromProperty + + arrayInfo.getData(data) + + expect(mockGetArrayDataAndIndexFromProperty).toHaveBeenCalled() + }) + test('should throw DataError when ArrayInfo is appending', () => { + const arrayInfo = new ArrayInfo('abc[]', ['']) + expect(() => { + arrayInfo.getData({}) + }).toThrow("Can't get data when appending") + }) + }) + describe('getIndex()', () => { + test('should return 0 when index is -1, and avoidProperty is true, and data is empty', () => { + const arrayInfo = new ArrayInfo('abc[]', [0]) + const index = arrayInfo.getIndex({ data: [] }, true) + expect(index).toBe(0) + }) + test('should return 0 when index is -1, and avoidProperty is undefined, and data is empty', () => { + const arrayInfo = new ArrayInfo('abc[0]', [0]) + const index = arrayInfo.getIndex({ abc: [1] }) + expect(index).toBe(0) + }) + test('should return length-1 when index is -1, and avoidProperty is true, and data is populated', () => { + const arrayInfo = new ArrayInfo('abc', [-1]) + const dataArray = [1, 2, 3, 4] + const index = arrayInfo.getIndex({ abc: [...dataArray] }, false) + expect(index).toBe(dataArray.length - 1) + }) + }) + describe('isMultiDimensional()', () => { + test('should return false when indicies length is <= 1', () => { + const arrayInfo = new ArrayInfo('abc[]', [0]) + expect(arrayInfo.isMultiDimensional()).toBe(false) + }) + test('should return false when indicies length is > 1', () => { + const arrayInfo = new ArrayInfo('abc[]', [0, 0]) + expect(arrayInfo.isMultiDimensional()).toBe(true) + }) + }) +}) From adf37c6be42d690f4c66c3850007cc024387be49 Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sun, 26 Jun 2022 20:29:35 -0500 Subject: [PATCH 52/66] Added tests for JsonDB code coverage --- src/JsonDB.ts | 12 ++--- test/JsonDB.test.ts | 117 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+), 6 deletions(-) create mode 100644 test/JsonDB.test.ts diff --git a/src/JsonDB.ts b/src/JsonDB.ts index 25cae2ce..6c9a7d08 100644 --- a/src/JsonDB.ts +++ b/src/JsonDB.ts @@ -311,9 +311,9 @@ export class JsonDB { */ public push(dataPath: string, data: any, override: boolean = true): void { const dbData = this.getParentData(dataPath, true) - if (!dbData) { - throw new Error('Data not found') - } + // if (!dbData) { + // throw new Error('Data not found') + // } let toSet = data if (!override) { @@ -348,9 +348,9 @@ export class JsonDB { */ public delete(dataPath: string): void { const dbData = this.getParentData(dataPath, true) - if (!dbData) { - return - } + // if (!dbData) { + // return + // } dbData.delete() if (this.config.saveOnPush) { diff --git a/test/JsonDB.test.ts b/test/JsonDB.test.ts new file mode 100644 index 00000000..707c247c --- /dev/null +++ b/test/JsonDB.test.ts @@ -0,0 +1,117 @@ +import { JsonDB } from '../src/JsonDB' +import * as fs from 'fs' +jest.mock('fs') + +describe('JsonDB', () => { + let db: JsonDB + beforeEach(() => { + db = JsonDB.prototype // new JsonDB('', false) + }) + describe('exists()', () => { + test('should throw error when error is not instance of DataError', () => { + db.getData = jest.fn(() => { + throw 'error' + }) + + expect(() => { + db.exists('a') + }).toThrow('error') + }) + }) + describe('count()', () => { + test('should throw path error when path not found', () => { + db.getData = jest.fn(() => { + 'a' + }) + expect(() => { + db.count('a') + }).toThrow('DataPath: a is not an array.') + }) + }) + describe('getArrayData()', () => { + test('should throw path error when path not found', () => { + db.getData = jest.fn(() => { + 'a' + }) + expect(() => { + db['getArrayData']('a') + }).toThrow('DataPath: a is not an array.') + }) + }) + describe('filter()', () => { + test('should return undefined when not found', () => { + db.getData = jest.fn(() => ({ + a: 1, + b: 2, + })) + const result = db.filter<{ test: string }>( + '/filter/data', + (entry) => entry.test === 'echo' + ) + expect(result).toBeUndefined() + }) + test('should return undefined when found length < 1', () => { + db.getData = jest.fn(() => ({ + a: 1, + b: 2, + })) + const result = db.filter<{ a: string }>('/a', (entry) => entry.c === 1) + expect(result).toBeUndefined() + }) + test('should throw path error when path not found', () => { + db.getData = jest.fn(() => 1) + expect(() => { + db.filter<{ a: string }>('/a', (entry) => entry.c === 1) + }).toThrow( + 'The entry at the path (/a) needs to be either an Object or an Array' + ) + }) + }) + describe('find()', () => { + test('should return undefined when not found', () => { + db.getData = jest.fn(() => ({ + a: 1, + b: 2, + })) + const result = db.find<{ test: string }>( + '/filter/data', + (entry) => entry.test === 'echo' + ) + expect(result).toBeUndefined() + }) + test('should return undefined when found length < 1', () => { + db.getData = jest.fn(() => ({ + a: 1, + b: 2, + })) + const result = db.find<{ a: string }>('/a', (entry) => entry.c === 1) + expect(result).toBeUndefined() + }) + test('should throw path error when path not found', () => { + db.getData = jest.fn(() => 1) + expect(() => { + db.find<{ a: string }>('/a', (entry) => entry.c === 1) + }).toThrow( + 'The entry at the path (/a) needs to be either an Object or an Array' + ) + }) + }) + + // Test was made for code coverage for getParentData, but this cannot return null or undefined. + // Commented out the test and the checks in JsonDB.ts. + // describe('push()', () => { + // test('', () => { + // db['getParentData'] = jest.fn(() => { + // return DBParentData.prototype + // }) + // }) + // }) + + describe('save()', () => { + test('should throw exception when save fails', () => { + expect(() => { + db.save(true) + }).toThrow("Can't save the database") + }) + }) +}) From 672b514c5e13768549a598e842af0c87e98716b7 Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Sun, 26 Jun 2022 20:44:02 -0500 Subject: [PATCH 53/66] Fixed Regex matcher for arrays. --- src/lib/ArrayInfo.ts | 2 +- test/04-array-utils.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ArrayInfo.ts b/src/lib/ArrayInfo.ts index 8ecc535a..da4b6a15 100644 --- a/src/lib/ArrayInfo.ts +++ b/src/lib/ArrayInfo.ts @@ -6,7 +6,7 @@ function isInt(value: any) { } export const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)(.*)/gm -export const arrayIndiciesRegex = /\[(.?|.+?)\]/g +export const arrayIndiciesRegex = /\[(.*?)\]/g export const malformedArrayRegex = /\]|\[/g const regexCache = {} as KeyValue diff --git a/test/04-array-utils.test.ts b/test/04-array-utils.test.ts index ed02f990..5e23e9d2 100644 --- a/test/04-array-utils.test.ts +++ b/test/04-array-utils.test.ts @@ -202,7 +202,7 @@ describe('Array Utils', () => { const nestedArrayMatches = match[2].toString() nestedArrayIndicies = [ // matchAll to support [5] and [] - ...nestedArrayMatches.matchAll(/\[(.?|.+?)\]/g), + ...nestedArrayMatches.matchAll(/\[(.*?)\]/g), ].map((match) => match[1]) } expect(property).toBe('array') From 0544a139cb4ff4931e76e3974979a9eb2aa7873f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 05:02:55 +0000 Subject: [PATCH 54/66] chore(deps-dev): bump typedoc from 0.22.17 to 0.23.1 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.17 to 0.23.1. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.17...v0.23.1) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index e65ca6ca..082a08ce 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "semantic-release": "^19.0.2", "travis-deploy-once": "^5.0.11", "ts-jest": "^27.0.5", - "typedoc": "^0.22.3", + "typedoc": "^0.23.1", "typescript": "^4.4.3", "validate-commit-msg": "^2.14.0" }, diff --git a/yarn.lock b/yarn.lock index 5784bef1..34932975 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3607,7 +3607,7 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1, glob@^8.0.3: +glob@^8.0.1: version "8.0.3" resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== @@ -5262,14 +5262,7 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimatch@^3.1.1: +minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -7241,12 +7234,11 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typedoc@^0.22.3: - version "0.22.17" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.17.tgz#bc51cc95f569040112504300831cdac4f8089b7b" - integrity sha512-h6+uXHVVCPDaANzjwzdsj9aePBjZiBTpiMpBBeyh1zcN2odVsDCNajz8zyKnixF93HJeGpl34j/70yoEE5BfNg== +typedoc@^0.23.1: + version "0.23.1" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.1.tgz#4bb6ed19ee683bce7b032af0de006445fe6f42e3" + integrity sha512-6Lb8E+RTEUPzdPUNugQQTOQYccq0iSfZgZ875fzSynByJWC7RbKNwLIx0Osv8pcJyiByy3jH/wdZR0tajuijLQ== dependencies: - glob "^8.0.3" lunr "^2.3.9" marked "^4.0.16" minimatch "^5.1.0" From 5df00f8a5e783b9ceef51bc3f26a7928014b7413 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 05:22:55 +0000 Subject: [PATCH 55/66] chore(deps): bump JamesIves/github-pages-deploy-action Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.3 to 4.3.4. - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases) - [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.3...v4.3.4) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0e7ed775..b9b20b9c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -64,7 +64,7 @@ jobs: - name: Build package run: yarn build:doc - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.3.3 + uses: JamesIves/github-pages-deploy-action@v4.3.4 with: branch: gh-pages # The branch the action should deploy to. folder: docs # The folder the action should deploy. From e9ba3331ed4bbc23c64fd49aa738914699450d44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 05:02:09 +0000 Subject: [PATCH 56/66] chore(deps-dev): bump typedoc from 0.23.1 to 0.23.2 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.1 to 0.23.2. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.23.1...v0.23.2) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 34932975..9d57c765 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7235,9 +7235,9 @@ typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typedoc@^0.23.1: - version "0.23.1" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.1.tgz#4bb6ed19ee683bce7b032af0de006445fe6f42e3" - integrity sha512-6Lb8E+RTEUPzdPUNugQQTOQYccq0iSfZgZ875fzSynByJWC7RbKNwLIx0Osv8pcJyiByy3jH/wdZR0tajuijLQ== + version "0.23.2" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.23.2.tgz#c5f82752530749c8b541ff9b17883f6fb9e72f14" + integrity sha512-THpC4vtb3wu1yck6YHzEc4ck6W4lScf8TD0Rg7XAetDih8BzP+ErYO0/6DtdzYcZyKkDwEoujkMeWW7CffCbrQ== dependencies: lunr "^2.3.9" marked "^4.0.16" From 1637f1924491698e65cc2673b61ee0241cb98e40 Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Wed, 29 Jun 2022 23:49:07 -0500 Subject: [PATCH 57/66] Cleaned up test. --- test/01-utils.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/01-utils.test.ts b/test/01-utils.test.ts index 58c524f3..da367793 100644 --- a/test/01-utils.test.ts +++ b/test/01-utils.test.ts @@ -58,10 +58,7 @@ describe('Utils', () => { test('should not process array with string key', () => { try { - ;(function (args) { - ArrayInfo.processArray(args) - })('test[test]') - + ArrayInfo.processArray('test[test]') throw Error('Function did not throw') } catch (e) { expect(e).toBeInstanceOf(DataError) From cf8491c74b1f1f04b1e25b38ee65f4a4b53fee5e Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Wed, 29 Jun 2022 23:49:28 -0500 Subject: [PATCH 58/66] Code Cleanup --- test/JsonDB.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/JsonDB.test.ts b/test/JsonDB.test.ts index 707c247c..584aaa31 100644 --- a/test/JsonDB.test.ts +++ b/test/JsonDB.test.ts @@ -1,11 +1,9 @@ import { JsonDB } from '../src/JsonDB' -import * as fs from 'fs' -jest.mock('fs') describe('JsonDB', () => { let db: JsonDB beforeEach(() => { - db = JsonDB.prototype // new JsonDB('', false) + db = JsonDB.prototype }) describe('exists()', () => { test('should throw error when error is not instance of DataError', () => { From ce7a6c1951b22c0d1579694760d3debac844d997 Mon Sep 17 00:00:00 2001 From: Sid Blommers Date: Thu, 30 Jun 2022 00:10:20 -0500 Subject: [PATCH 59/66] Reverted the regex search Created method for parsing array indicies Added tests to support new function Added logic to prevent append syntax in nested array. Added logic to force append syntax to be last entry in nested array. Added tests to enforce new rules. --- src/lib/ArrayInfo.ts | 79 +++++++++++++++++++++++++----------- test/ArrayInfo.test.ts | 91 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 146 insertions(+), 24 deletions(-) diff --git a/src/lib/ArrayInfo.ts b/src/lib/ArrayInfo.ts index da4b6a15..36f80f36 100644 --- a/src/lib/ArrayInfo.ts +++ b/src/lib/ArrayInfo.ts @@ -1,13 +1,9 @@ import { DataError } from './Errors' import { KeyValue } from './Utils' -function isInt(value: any) { - return !isNaN(value) && Number(value) == value && !isNaN(parseInt(value, 10)) -} +export const arrayRegex = () => + /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)\[((?!(\]|\[)).*|)\]$/gm -export const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)(.*)/gm -export const arrayIndiciesRegex = /\[(.*?)\]/g -export const malformedArrayRegex = /\]|\[/g const regexCache = {} as KeyValue export class ArrayInfo { @@ -43,24 +39,16 @@ export class ArrayInfo { const arrayIndexRegex = arrayRegex() const match = arrayIndexRegex.exec(property.trim()) - if (match != null && match[2]) { + if (match != null) { const propertyName = match[1] - const nestedArrayMatches = match[2].toString() - const nestedArrayIndicies = [ - ...nestedArrayMatches.matchAll(arrayIndiciesRegex), - ].map((match) => match[1]) - let malformedArray = false - nestedArrayIndicies.forEach((value) => { - if (value.match(malformedArrayRegex)) { - malformedArray = true - } - }) - if (!malformedArray && nestedArrayIndicies.length > 0) { - return (regexCache[property] = new ArrayInfo( - propertyName, - nestedArrayIndicies - )) - } + // reset the match[2] to the full array index. + const nestedArrayMatches = '[' + match[2].toString() + ']' + const nestedArrayIndicies = getArrayIndicies(nestedArrayMatches) + validateArrayIndicies(nestedArrayIndicies) + return (regexCache[property] = new ArrayInfo( + propertyName, + nestedArrayIndicies + )) } return null @@ -177,3 +165,48 @@ export class ArrayInfo { return this.indicies.length > 1 } } + +export function isInt(value: any) { + return !isNaN(value) && Number(value) == value && !isNaN(parseInt(value, 10)) +} + +export function validateArrayIndicies(arrayIndicies: string[]) { + const appendIndicies = arrayIndicies.filter((x) => x === '') + if (appendIndicies.length > 1) { + throw Error('Only one append index is supported for nested arrays') + } else if ( + appendIndicies.length === 1 && + arrayIndicies[arrayIndicies.length - 1] !== '' + ) { + throw Error('Append index must be at the end of the nested array') + } +} + +export function validateArrayIndex(index: string) { + // Append index + if (index.length === 0) { + return + } + if (!isInt(index)) { + throw new DataError('Only numerical values accepted for array index', 200) + } +} + +export function getArrayIndicies(arrayIndicies: string): string[] { + if (arrayIndicies.length === 0) { + return [] + } + + if (arrayIndicies.charAt(0) !== '[') { + throw new Error('Invalid array syntax detected') + } + + const indexValue = arrayIndicies.substring(1, arrayIndicies.indexOf(']')) + validateArrayIndex(indexValue) + + const nextArrayIndex = indexValue.length + 2 + return [ + indexValue, + ...getArrayIndicies(arrayIndicies.substring(nextArrayIndex)), + ] +} diff --git a/test/ArrayInfo.test.ts b/test/ArrayInfo.test.ts index 3f58e3ac..2e983987 100644 --- a/test/ArrayInfo.test.ts +++ b/test/ArrayInfo.test.ts @@ -1,4 +1,10 @@ -import { ArrayInfo } from '../src/lib/ArrayInfo' +import { notDeepEqual } from 'assert' +import { + ArrayInfo, + getArrayIndicies, + validateArrayIndex, + validateArrayIndicies, +} from '../src/lib/ArrayInfo' describe('ArrayInfo', () => { describe('constructor', () => { @@ -6,6 +12,11 @@ describe('ArrayInfo', () => { const arrayInfo = new ArrayInfo('abc[0]', []) expect(arrayInfo.getIndex({})).toBe(0) }) + test('should throw error when invalid index is passed in', () => { + expect(() => { + new ArrayInfo('abc[0]', ['a']) + }).toThrow('Only numerical values accepted for array index') + }) }) describe('getData()', () => { test('should set avoid property to false when undefined', () => { @@ -57,4 +68,82 @@ describe('ArrayInfo', () => { expect(arrayInfo.isMultiDimensional()).toBe(true) }) }) + describe('validateArrayIndex()', () => { + test('should throw error when array index content contains "["', () => { + expect(() => { + validateArrayIndex('[') + }).toThrow('Only numerical values accepted for array index') + }) + test('should throw error when array index content contains "["', () => { + expect(() => { + validateArrayIndex(']') + }).toThrow('Only numerical values accepted for array index') + }) + test('should throw error when array index contains characters', () => { + expect(() => { + validateArrayIndex('abc') + }).toThrow('Only numerical values accepted for array index') + }) + test('should succeede when array index contains numbers', () => { + expect(() => { + validateArrayIndex('10') + }).not.toThrow() + }) + }) + describe('getArrayIndicies()', () => { + test('should succeed when valid array indexes are passed in', () => { + const validArrayIndicies = '[0][0][0]' + const arrayIndicies = getArrayIndicies(validArrayIndicies) + expect(arrayIndicies).toEqual(['0', '0', '0']) + }) + test('should create array with same positions as values passed in.', () => { + const validArrayIndicies = '[0][0][]' + const arrayIndicies = getArrayIndicies(validArrayIndicies) + expect(arrayIndicies).toEqual(['0', '0', '']) + }) + test('should throw error when invalid array index is passed in', () => { + const invalidArrayIndicies = '[]]' + expect(() => { + getArrayIndicies(invalidArrayIndicies) + }).toThrow('Invalid array syntax detected') + }) + test('should throw error when invalid nested array syntax is passed in', () => { + const invalidArrayIndicies = '[0]1[0]' + expect(() => { + getArrayIndicies(invalidArrayIndicies) + }).toThrow('Invalid array syntax detected') + }) + test('should throw error when invalid array index is passed in', () => { + const invalidArrayIndicies = '[0][' + expect(() => { + getArrayIndicies(invalidArrayIndicies) + }).toThrow('Only numerical values accepted for array index') + }) + test('should throw error when invalid array index is passed in', () => { + const invalidArrayIndicies = '[][' + expect(() => { + getArrayIndicies(invalidArrayIndicies) + }).toThrow('Only numerical values accepted for array index') + }) + }) + describe('validateArrayIndicies()', () => { + test('should succeed when append syntax is at the end of the nested array', () => { + const validAppendIndicies = ['0', '2', '4', ''] + expect(() => { + validateArrayIndicies(validAppendIndicies) + }).not.toThrow() + }) + test('should throw error when append syntax is not at the end of the nested array', () => { + const invalidAppendIndicies = ['0', '2', '', '4'] + expect(() => { + validateArrayIndicies(invalidAppendIndicies) + }).toThrow('Append index must be at the end of the nested array') + }) + test('should throw error when append syntax is defined more than once in the nested array', () => { + const invalidAppendIndicies = ['0', '2', '', ''] + expect(() => { + validateArrayIndicies(invalidAppendIndicies) + }).toThrow('Only one append index is supported for nested arrays') + }) + }) }) From 685b252b7e629960c5382a23c4b304928bcc8f7a Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Thu, 30 Jun 2022 09:53:58 -0400 Subject: [PATCH 60/66] chore(contributors): Add contributors --- .all-contributorsrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .all-contributorsrc diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 00000000..969efe39 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,16 @@ +{ + "files": [ + "README.md" + ], + "imageSize": 100, + "commit": false, + "contributors": [ + ], + "contributorsPerLine": 7, + "projectName": "SoundSwitch", + "projectOwner": "Belphemur", + "repoType": "github", + "repoHost": "https://github.com", + "skipCi": false, + "commitConvention": "angular" +} From 57c44c535099faaef3b23a4aee204d0cea6cf23b Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Thu, 30 Jun 2022 09:55:49 -0400 Subject: [PATCH 61/66] chore(all-contributors): Add contributors table --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26abb049..20d4e534 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,16 @@ db.delete("/arraytest/myarray[" + db.getIndex("/arraytest/myarray", 65464646155) Please consider the `separator` as a reserved character by node-json-db. -# Thanks +# Contributors + + + + + + + + +## Special Thanks [James Davis](https://github.com/davisjam) for helping to fix a regular expression vulnerable to [catastrophic backtracking](https://docs.microsoft.com/en-us/dotnet/standard/base-types/backtracking-in-regular-expressions). From d68f7a03ca62431b9ff18714e884968fbba4bfa8 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 13:59:53 +0000 Subject: [PATCH 62/66] docs: update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 20d4e534..8438e3fa 100644 --- a/README.md +++ b/README.md @@ -274,8 +274,15 @@ db.delete("/arraytest/myarray[" + db.getIndex("/arraytest/myarray", 65464646155) + + + + +

Jamie Davis

🛡ī¸
+ + ## Special Thanks From c2080ea9821b578e2ccba5f7a34a1a536da3cfa0 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 13:59:54 +0000 Subject: [PATCH 63/66] docs: update .all-contributorsrc --- .all-contributorsrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 969efe39..d78fbf1c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -5,9 +5,18 @@ "imageSize": 100, "commit": false, "contributors": [ + { + "login": "davisjam", + "name": "Jamie Davis", + "avatar_url": "https://avatars.githubusercontent.com/u/22822319?v=4", + "profile": "https://davisjam.github.io/", + "contributions": [ + "security" + ] + } ], "contributorsPerLine": 7, - "projectName": "SoundSwitch", + "projectName": "node-json-db", "projectOwner": "Belphemur", "repoType": "github", "repoHost": "https://github.com", From 5e2039510054ad9e5222952e4013b351c4df9fbe Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:14:30 +0000 Subject: [PATCH 64/66] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8438e3fa..4c7d3710 100644 --- a/README.md +++ b/README.md @@ -277,6 +277,7 @@ db.delete("/arraytest/myarray[" + db.getIndex("/arraytest/myarray", 65464646155) +

Jamie Davis

🛡ī¸

sidblommerswork

đŸ’ģ ⚠ī¸
From af059c462c9c75b2d464c7cf81e2f1e9180ff9d2 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:14:31 +0000 Subject: [PATCH 65/66] docs: update .all-contributorsrc --- .all-contributorsrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index d78fbf1c..078babbb 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -13,6 +13,16 @@ "contributions": [ "security" ] + }, + { + "login": "sidblommerswork", + "name": "sidblommerswork", + "avatar_url": "https://avatars.githubusercontent.com/u/93680615?v=4", + "profile": "https://github.com/sidblommerswork", + "contributions": [ + "code", + "test" + ] } ], "contributorsPerLine": 7, From 4ee4026d6ef82762f20dcd19dcbbe86c8f76b810 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Thu, 30 Jun 2022 10:23:35 -0400 Subject: [PATCH 66/66] docs(Readme): Add documentation for nested array --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 4c7d3710..7e6bad86 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,34 @@ db.getIndex("/arraytest/myarray", "test", "name"); // It's useful if you want to delete some object db.delete("/arraytest/myarray[" + db.getIndex("/arraytest/myarray", 65464646155) + "]"); +``` + +#### Nesting in Array +```javascript +// You can easily access any nested array and their object +//You can also append to nested array other array +db.push("/arraytest/myarray", +[ + [ + { + obj: 'test' + }, + { + obj: 'hello' + } + ], + [ + { + obj: 'world' + } + ] +] +, true); + +//This will return the first object (obj: 'test') + +db.getData("/arraytest/myarray[0][0]"); + ``` ### Exception/Error #### Type