diff --git a/package-lock.json b/package-lock.json index f4f7bb78f3..e8dc796016 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2068,15 +2068,15 @@ } }, "node_modules/@oclif/plugin-plugins": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-4.3.2.tgz", - "integrity": "sha512-PqnjKJPLJOLULLaT1Na9XhjY7MgVFxKcGRj0Pw5aRPXP1MADIwKDPUTdPzRHlGnnvEZc5eDX8TPOFoW7sx1vow==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-4.3.3.tgz", + "integrity": "sha512-XRwm2mnbOHPmin5bI4bzjD9imGy+HpCN7eQlTM+akcAHPHcMueyo8O/BHzCeeiS+mNMFYxvc5/6p/YH5A7/94w==", "hasShrinkwrap": true, "dependencies": { "@oclif/core": "^3.21.0", "chalk": "^5.3.0", "debug": "^4.3.4", - "npm": "10.2.4", + "npm": "10.5.0", "npm-run-path": "^4.0.1", "semver": "^7.6.0", "shelljs": "^0.8.5", @@ -2910,9 +2910,9 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm": { - "version": "10.2.4", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.2.4.tgz", - "integrity": "sha512-umEuYneVEYO9KoEEI8n2sSGmNQeqco/3BSeacRlqIkCzw4E7XGtYSWMeJobxzr6hZ2n9cM+u5TsMTcC5bAgoWA==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.5.0.tgz", + "integrity": "sha512-Ejxwvfh9YnWVU2yA5FzoYLTW52vxHCz+MHrOFg9Cc8IFgF/6f5AGPAvb5WTay5DIUP1NIfN3VBZ0cLlGO0Ys+A==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -2976,7 +2976,6 @@ "semver", "spdx-expression-parse", "ssri", - "strip-ansi", "supports-color", "tar", "text-table", @@ -3001,12 +3000,12 @@ "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^5.0.0", - "@npmcli/promise-spawn": "^7.0.0", - "@npmcli/run-script": "^7.0.2", - "@sigstore/tuf": "^2.2.0", + "@npmcli/promise-spawn": "^7.0.1", + "@npmcli/run-script": "^7.0.4", + "@sigstore/tuf": "^2.3.1", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^18.0.0", + "cacache": "^18.0.2", "chalk": "^5.3.0", "ci-info": "^4.0.0", "cli-columns": "^4.0.0", @@ -3020,7 +3019,7 @@ "ini": "^4.1.1", "init-package-json": "^6.0.0", "is-cidr": "^5.0.3", - "json-parse-even-better-errors": "^3.0.0", + "json-parse-even-better-errors": "^3.0.1", "libnpmaccess": "^8.0.1", "libnpmdiff": "^6.0.3", "libnpmexec": "^7.0.4", @@ -3049,15 +3048,14 @@ "npm-user-validate": "^2.0.0", "npmlog": "^7.0.1", "p-map": "^4.0.0", - "pacote": "^17.0.4", + "pacote": "^17.0.6", "parse-conflict-json": "^3.0.1", "proc-log": "^3.0.0", "qrcode-terminal": "^0.12.0", "read": "^2.1.0", - "semver": "^7.5.4", + "semver": "^7.6.0", "spdx-expression-parse": "^3.0.1", "ssri": "^10.0.5", - "strip-ansi": "^7.1.0", "supports-color": "^9.4.0", "tar": "^6.2.0", "text-table": "~0.2.0", @@ -3112,6 +3110,17 @@ "node": ">=12" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", "inBundle": true, @@ -3133,13 +3142,27 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@isaacs/string-locale-compare": { "version": "1.1.0", "inBundle": true, "license": "ISC" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/agent": { - "version": "2.2.0", + "version": "2.2.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -3154,7 +3177,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/arborist": { - "version": "7.2.1", + "version": "7.4.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -3166,7 +3189,7 @@ "@npmcli/name-from-folder": "^2.0.0", "@npmcli/node-gyp": "^3.0.0", "@npmcli/package-json": "^5.0.0", - "@npmcli/query": "^3.0.1", + "@npmcli/query": "^3.1.0", "@npmcli/run-script": "^7.0.2", "bin-links": "^4.0.1", "cacache": "^18.0.0", @@ -3185,7 +3208,7 @@ "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.2", + "promise-call-limit": "^3.0.1", "read-package-json-fast": "^3.0.2", "semver": "^7.3.7", "ssri": "^10.0.5", @@ -3200,7 +3223,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/config": { - "version": "8.0.2", + "version": "8.2.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -3254,7 +3277,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/git": { - "version": "5.0.3", + "version": "5.0.4", "inBundle": true, "license": "ISC", "dependencies": { @@ -3348,7 +3371,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "7.0.0", + "version": "7.0.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -3359,7 +3382,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/query": { - "version": "3.0.1", + "version": "3.1.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -3370,14 +3393,14 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@npmcli/run-script": { - "version": "7.0.2", + "version": "7.0.4", "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/node-gyp": "^3.0.0", + "@npmcli/package-json": "^5.0.0", "@npmcli/promise-spawn": "^7.0.0", "node-gyp": "^10.0.0", - "read-package-json-fast": "^3.0.0", "which": "^4.0.0" }, "engines": { @@ -3394,18 +3417,26 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/bundle": { - "version": "2.1.0", + "version": "2.2.0", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.2.1" + "@sigstore/protobuf-specs": "^0.3.0" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/core": { + "version": "1.0.0", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.2.1", + "version": "0.3.0", "inBundle": true, "license": "Apache-2.0", "engines": { @@ -3413,12 +3444,13 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/sign": { - "version": "2.2.0", + "version": "2.2.3", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.1.0", - "@sigstore/protobuf-specs": "^0.2.1", + "@sigstore/bundle": "^2.2.0", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.0", "make-fetch-happen": "^13.0.0" }, "engines": { @@ -3426,12 +3458,25 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/tuf": { - "version": "2.2.0", + "version": "2.3.1", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.2.1", - "tuf-js": "^2.1.0" + "@sigstore/protobuf-specs": "^0.3.0", + "tuf-js": "^2.2.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@sigstore/verify": { + "version": "1.1.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.2.0", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.0" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -3465,17 +3510,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/abort-controller": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/agent-base": { "version": "7.1.0", "inBundle": true, @@ -3500,14 +3534,11 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ansi-regex": { - "version": "6.0.1", + "version": "5.0.1", "inBundle": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=8" } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ansi-styles": { @@ -3532,13 +3563,9 @@ "license": "MIT" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/are-we-there-yet": { - "version": "4.0.1", + "version": "4.0.2", "inBundle": true, "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^4.1.0" - }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -3548,25 +3575,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/base64-js": { - "version": "1.5.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "MIT" - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/bin-links": { "version": "4.0.3", "inBundle": true, @@ -3597,29 +3605,6 @@ "balanced-match": "^1.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/buffer": { - "version": "6.0.3", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/builtins": { "version": "5.0.1", "inBundle": true, @@ -3629,7 +3614,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/cacache": { - "version": "18.0.0", + "version": "18.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -3638,7 +3623,7 @@ "glob": "^10.2.2", "lru-cache": "^10.0.1", "minipass": "^7.0.3", - "minipass-collect": "^1.0.2", + "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "p-map": "^4.0.0", @@ -3714,25 +3699,6 @@ "node": ">= 10" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/cli-columns/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/cli-columns/node_modules/strip-ansi": { - "version": "6.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/cli-table3": { "version": "0.6.3", "inBundle": true, @@ -3799,25 +3765,6 @@ "node": ">=8.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/columnify/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/columnify/node_modules/strip-ansi": { - "version": "6.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/common-ancestor-path": { "version": "1.0.1", "inBundle": true, @@ -3898,13 +3845,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/delegates": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT" - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/diff": { - "version": "5.1.0", + "version": "5.2.0", "inBundle": true, "license": "BSD-3-Clause", "engines": { @@ -3943,22 +3885,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/event-target-shim": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/events": { - "version": "3.3.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/exponential-backoff": { "version": "3.1.1", "inBundle": true, @@ -4024,25 +3950,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/gauge/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/gauge/node_modules/strip-ansi": { - "version": "6.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/glob": { "version": "10.3.10", "inBundle": true, @@ -4075,7 +3982,7 @@ "license": "ISC" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/hasown": { - "version": "2.0.0", + "version": "2.0.1", "inBundle": true, "license": "MIT", "dependencies": { @@ -4102,7 +4009,7 @@ "license": "BSD-2-Clause" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/http-proxy-agent": { - "version": "7.0.0", + "version": "7.0.2", "inBundle": true, "license": "MIT", "dependencies": { @@ -4114,7 +4021,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/https-proxy-agent": { - "version": "7.0.2", + "version": "7.0.4", "inBundle": true, "license": "MIT", "dependencies": { @@ -4137,27 +4044,8 @@ "node": ">=0.10.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "BSD-3-Clause" - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ignore-walk": { - "version": "6.0.3", + "version": "6.0.4", "inBundle": true, "license": "ISC", "dependencies": { @@ -4208,10 +4096,22 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ip": { - "version": "2.0.0", + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ip-address": { + "version": "9.0.5", "inBundle": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ip-address/node_modules/sprintf-js": { + "version": "1.1.3", + "inBundle": true, + "license": "BSD-3-Clause" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/ip-regex": { "version": "5.0.0", @@ -4281,8 +4181,13 @@ "@pkgjs/parseargs": "^0.11.0" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/jsbn": { + "version": "1.1.0", + "inBundle": true, + "license": "MIT" + }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/json-parse-even-better-errors": { - "version": "3.0.0", + "version": "3.0.1", "inBundle": true, "license": "MIT", "engines": { @@ -4316,7 +4221,7 @@ "license": "MIT" }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmaccess": { - "version": "8.0.1", + "version": "8.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -4328,7 +4233,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmdiff": { - "version": "6.0.3", + "version": "6.0.7", "inBundle": true, "license": "ISC", "dependencies": { @@ -4347,7 +4252,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmexec": { - "version": "7.0.4", + "version": "7.0.8", "inBundle": true, "license": "ISC", "dependencies": { @@ -4368,7 +4273,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmfund": { - "version": "5.0.1", + "version": "5.0.5", "inBundle": true, "license": "ISC", "dependencies": { @@ -4379,7 +4284,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmhook": { - "version": "10.0.0", + "version": "10.0.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -4391,7 +4296,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmorg": { - "version": "6.0.1", + "version": "6.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -4403,7 +4308,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmpack": { - "version": "6.0.3", + "version": "6.0.7", "inBundle": true, "license": "ISC", "dependencies": { @@ -4417,7 +4322,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmpublish": { - "version": "9.0.2", + "version": "9.0.4", "inBundle": true, "license": "ISC", "dependencies": { @@ -4427,7 +4332,7 @@ "npm-registry-fetch": "^16.0.0", "proc-log": "^3.0.0", "semver": "^7.3.7", - "sigstore": "^2.1.0", + "sigstore": "^2.2.0", "ssri": "^10.0.5" }, "engines": { @@ -4435,7 +4340,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmsearch": { - "version": "7.0.0", + "version": "7.0.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -4446,7 +4351,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmteam": { - "version": "6.0.0", + "version": "6.0.1", "inBundle": true, "license": "ISC", "dependencies": { @@ -4458,7 +4363,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/libnpmversion": { - "version": "5.0.1", + "version": "5.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -4473,12 +4378,9 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/lru-cache": { - "version": "10.0.2", + "version": "10.2.0", "inBundle": true, "license": "ISC", - "dependencies": { - "semver": "^7.3.5" - }, "engines": { "node": "14 || >=16.14" } @@ -4527,25 +4429,14 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/minipass-collect": { - "version": "1.0.2", - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/minipass-collect/node_modules/minipass": { - "version": "3.3.6", + "version": "2.0.1", "inBundle": true, "license": "ISC", "dependencies": { - "yallist": "^4.0.0" + "minipass": "^7.0.3" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/minipass-fetch": { @@ -4809,11 +4700,11 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/npm-packlist": { - "version": "8.0.0", + "version": "8.0.2", "inBundle": true, "license": "ISC", "dependencies": { - "ignore-walk": "^6.0.0" + "ignore-walk": "^6.0.4" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -4899,7 +4790,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/pacote": { - "version": "17.0.4", + "version": "17.0.6", "inBundle": true, "license": "ISC", "dependencies": { @@ -4918,7 +4809,7 @@ "promise-retry": "^2.0.1", "read-package-json": "^7.0.0", "read-package-json-fast": "^3.0.0", - "sigstore": "^2.0.0", + "sigstore": "^2.2.0", "ssri": "^10.0.0", "tar": "^6.1.11" }, @@ -4966,7 +4857,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.0.13", + "version": "6.0.15", "inBundle": true, "license": "MIT", "dependencies": { @@ -4985,14 +4876,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/process": { - "version": "0.11.10", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/promise-all-reject-late": { "version": "1.0.1", "inBundle": true, @@ -5002,7 +4885,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/promise-call-limit": { - "version": "1.0.2", + "version": "3.0.1", "inBundle": true, "license": "ISC", "funding": { @@ -5089,21 +4972,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/readable-stream": { - "version": "4.4.2", - "inBundle": true, - "license": "MIT", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/retry": { "version": "0.12.0", "inBundle": true, @@ -5112,25 +4980,6 @@ "node": ">= 4" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/safe-buffer": { - "version": "5.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "MIT" - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", "inBundle": true, @@ -5138,7 +4987,7 @@ "optional": true }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/semver": { - "version": "7.5.4", + "version": "7.6.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -5198,14 +5047,16 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/sigstore": { - "version": "2.1.0", + "version": "2.2.2", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.1.0", - "@sigstore/protobuf-specs": "^0.2.1", - "@sigstore/sign": "^2.1.0", - "@sigstore/tuf": "^2.1.0" + "@sigstore/bundle": "^2.2.0", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.0", + "@sigstore/sign": "^2.2.3", + "@sigstore/tuf": "^2.3.1", + "@sigstore/verify": "^1.1.0" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -5221,15 +5072,15 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/socks": { - "version": "2.7.1", + "version": "2.8.0", "inBundle": true, "license": "MIT", "dependencies": { - "ip": "^2.0.0", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { - "node": ">= 10.13.0", + "node": ">= 16.0.0", "npm": ">= 3.0.0" } }, @@ -5256,7 +5107,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/spdx-exceptions": { - "version": "2.3.0", + "version": "2.5.0", "inBundle": true, "license": "CC-BY-3.0" }, @@ -5270,7 +5121,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.16", + "version": "3.0.17", "inBundle": true, "license": "CC0-1.0" }, @@ -5285,14 +5136,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string_decoder": { - "version": "1.3.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string-width": { "version": "4.2.3", "inBundle": true, @@ -5320,34 +5163,7 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string-width-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string-width-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string-width/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/string-width/node_modules/strip-ansi": { + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/strip-ansi": { "version": "6.0.1", "inBundle": true, "license": "MIT", @@ -5358,20 +5174,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/strip-ansi": { - "version": "7.1.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", @@ -5384,14 +5186,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/strip-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/supports-color": { "version": "9.4.0", "inBundle": true, @@ -5468,7 +5262,7 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/tuf-js": { - "version": "2.1.0", + "version": "2.2.0", "inBundle": true, "license": "MIT", "dependencies": { @@ -5603,14 +5397,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "version": "4.3.0", "inBundle": true, @@ -5625,15 +5411,15 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "6.0.1", "inBundle": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex": { @@ -5657,6 +5443,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/write-file-atomic": { "version": "5.0.1", "inBundle": true, @@ -8388,9 +8188,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1573.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1573.0.tgz", - "integrity": "sha512-Bl+rTEnjKdJrd0NfrLRVQq4AbSgK1+7yoWQTnreZTHCbYhzndP/3HLxA/8x0a8NZSb9oPC+7paFaWW00Xz/Gtw==", + "version": "2.1574.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1574.0.tgz", + "integrity": "sha512-AC3VptGeggp7AFGj66PIt9GrnLyDBo7Owb5TmbGDe2OIvgeHH3nBD4S3wRZQ9u3Ea6iREnalXxQ2n5rflCeG9g==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -9131,9 +8931,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001596", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001596.tgz", - "integrity": "sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==", + "version": "1.0.30001597", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz", + "integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==", "dev": true, "funding": [ { @@ -10606,9 +10406,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.698", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.698.tgz", - "integrity": "sha512-f9iZD1t3CLy1AS6vzM5EKGa6p9pRcOeEFXRFbaG2Ta+Oe7MkfRQ3fsvPYidzHe1h4i0JvIvpcY55C+B6BZNGtQ==", + "version": "1.4.699", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.699.tgz", + "integrity": "sha512-I7q3BbQi6e4tJJN5CRcyvxhK0iJb34TV8eJQcgh+fR2fQ8miMgZcEInckCo1U9exDHbfz7DLDnFn8oqH/VcRKw==", "dev": true }, "node_modules/elegant-spinner": { @@ -11020,9 +10820,9 @@ } }, "node_modules/eslint-config-oclif-typescript": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.0.tgz", - "integrity": "sha512-ojIN4lrmhVFJLLJN7clDCww4ZYNLUaH6p9unp8awz9oCoYNRB2QYD5D/CAy7HiX9ULkInNAD59NeOGQY56Un6A==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.2.tgz", + "integrity": "sha512-6dk2DBzI5UGAg5Pl7b1k3a6d2/UQNO/uEJm92EEJp09fX3+HOy1Rj2BzcOxNKgLjdBV021HXgj5X/c1r1GS3jQ==", "dev": true, "dependencies": { "@typescript-eslint/eslint-plugin": "^6.21.0", @@ -11030,9 +10830,9 @@ "eslint-config-xo-space": "^0.35.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-mocha": "^10.3.0", + "eslint-plugin-mocha": "^10.4.1", "eslint-plugin-n": "^15", - "eslint-plugin-perfectionist": "^2.5.0" + "eslint-plugin-perfectionist": "^2.6.0" }, "engines": { "node": ">=18.0.0" @@ -13387,9 +13187,9 @@ } }, "node_modules/hasown": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", - "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dependencies": { "function-bind": "^1.1.2" }, @@ -14797,9 +14597,12 @@ "dev": true }, "node_modules/is-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -14962,9 +14765,12 @@ } }, "node_modules/is-set": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -21414,12 +21220,12 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/safe-array-concat": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", - "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", "dependencies": { - "call-bind": "^1.0.5", - "get-intrinsic": "^1.2.2", + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -21624,16 +21430,16 @@ "dev": true }, "node_modules/set-function-length": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", - "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dependencies": { - "define-data-property": "^1.1.2", + "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", + "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -22993,9 +22799,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", - "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, "engines": { "node": ">=16" @@ -24092,15 +23898,15 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", - "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dependencies": { - "available-typed-arrays": "^1.0.6", - "call-bind": "^1.0.5", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.1" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -25621,7 +25427,7 @@ }, "packages/contentstack": { "name": "@contentstack/cli", - "version": "1.16.0", + "version": "1.17.0", "license": "MIT", "dependencies": { "@contentstack/cli-audit": "~1.5.0", @@ -25629,12 +25435,12 @@ "@contentstack/cli-cm-bootstrap": "~1.9.0", "@contentstack/cli-cm-branches": "~1.0.23", "@contentstack/cli-cm-bulk-publish": "~1.4.3", - "@contentstack/cli-cm-clone": "~1.10.1", + "@contentstack/cli-cm-clone": "~1.10.3", "@contentstack/cli-cm-export": "~1.11.1", "@contentstack/cli-cm-export-to-csv": "~1.7.0", - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", - "@contentstack/cli-cm-seed": "~1.7.2", + "@contentstack/cli-cm-seed": "~1.7.3", "@contentstack/cli-command": "~1.2.17", "@contentstack/cli-config": "~1.6.3", "@contentstack/cli-launch": "~1.0.17", @@ -25998,7 +25804,7 @@ "version": "1.9.1", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-seed": "~1.7.0", + "@contentstack/cli-cm-seed": "~1.7.3", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "inquirer": "8.2.4", @@ -26160,12 +25966,12 @@ }, "packages/contentstack-clone": { "name": "@contentstack/cli-cm-clone", - "version": "1.10.2", + "version": "1.10.3", "license": "MIT", "dependencies": { "@colors/colors": "^1.5.0", "@contentstack/cli-cm-export": "~1.11.1", - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "async": "^3.2.4", @@ -27134,7 +26940,7 @@ }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", - "version": "1.14.2", + "version": "1.15.0", "license": "MIT", "dependencies": { "@contentstack/cli-audit": "~1.5.0", @@ -27604,10 +27410,10 @@ }, "packages/contentstack-seed": { "name": "@contentstack/cli-cm-seed", - "version": "1.7.2", + "version": "1.7.3", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "inquirer": "8.2.4", diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index 838a334359..a711066267 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -17,7 +17,7 @@ "test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\"" }, "dependencies": { - "@contentstack/cli-cm-seed": "~1.7.0", + "@contentstack/cli-cm-seed": "~1.7.3", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "inquirer": "8.2.4", diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 6e744a3f21..43bb7a9573 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -1,13 +1,13 @@ { "name": "@contentstack/cli-cm-clone", "description": "Contentstack stack clone plugin", - "version": "1.10.2", + "version": "1.10.3", "author": "Contentstack", "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues", "dependencies": { "@colors/colors": "^1.5.0", "@contentstack/cli-cm-export": "~1.11.1", - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "async": "^3.2.4", diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index 8df8244161..d1185d673f 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-import", "description": "Contentstack CLI plugin to import content into stack", - "version": "1.14.2", + "version": "1.15.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { diff --git a/packages/contentstack-import/src/import/modules/entries.ts b/packages/contentstack-import/src/import/modules/entries.ts index 4f2e1a5b0e..9db93eb2b5 100644 --- a/packages/contentstack-import/src/import/modules/entries.ts +++ b/packages/contentstack-import/src/import/modules/entries.ts @@ -56,6 +56,8 @@ export default class EntriesImport extends BaseClass { private autoCreatedEntries: Record[]; private taxonomiesPath: string; public taxonomies: Record; + public rteCTs: any; + public rteCTsWithRef: any; constructor({ importConfig, stackAPIClient }: ModuleClassParams) { super({ importConfig, stackAPIClient }); @@ -85,6 +87,8 @@ export default class EntriesImport extends BaseClass { this.envs = {}; this.autoCreatedEntries = []; this.failedEntries = []; + this.rteCTs = []; + this.rteCTsWithRef = []; } async start(): Promise { @@ -100,8 +104,8 @@ export default class EntriesImport extends BaseClass { this.assetUidMapper = (fsUtil.readFile(this.assetUidMapperPath) as Record) || {}; this.assetUrlMapper = (fsUtil.readFile(this.assetUrlMapperPath) as Record) || {}; - - this.taxonomies = (fsUtil.readFile(this.taxonomiesPath) as Record); + + this.taxonomies = fsUtil.readFile(this.taxonomiesPath) as Record; fsUtil.makeDirectory(this.entriesMapperPath); await this.disableMandatoryCTReferences(); @@ -225,6 +229,8 @@ export default class EntriesImport extends BaseClass { references: false, jsonRte: false, jsonRteEmbeddedEntries: false, + rte: false, + rteEmbeddedEntries: false, }; suppressSchemaReference(contentType.schema, flag); @@ -242,6 +248,16 @@ export default class EntriesImport extends BaseClass { } } + if (flag.rte) { + this.rteCTs.push(contentType.uid); + if (flag.rteEmbeddedEntries) { + this.rteCTsWithRef.push(contentType.uid); + if (this.refCTs.indexOf(contentType.uid) === -1) { + this.refCTs.push(contentType.uid); + } + } + } + // Check if suppress modified flag if (flag.suppressed) { this.modifiedCTs.push(find(this.cTs, { uid: contentType.uid })); @@ -415,6 +431,14 @@ export default class EntriesImport extends BaseClass { if (this.jsonRteCTsWithRef.indexOf(cTUid) > -1) { entry = removeEntryRefsFromJSONRTE(entry, contentType.schema); } + + if (this.rteCTs.indexOf(cTUid) > -1) { + entry = removeEntryRefsFromJSONRTE(entry, contentType.schema); + } + + if (this.rteCTsWithRef.indexOf(cTUid) > -1) { + entry = removeEntryRefsFromJSONRTE(entry, contentType.schema); + } //will remove term if term doesn't exists in taxonomy lookUpTerms(contentType?.schema, entry, this.taxonomies, this.importConfig); // will replace all old asset uid/urls with new ones @@ -668,7 +692,7 @@ export default class EntriesImport extends BaseClass { // Removing temp values delete entry.sourceEntryFilePath; delete entry.entryOldUid; - if (this.jsonRteCTs.indexOf(cTUid) > -1) { + if (this.jsonRteCTs.indexOf(cTUid) > -1 || this.rteCTs.indexOf(cTUid) > -1) { // the entries stored in eSuccessFilePath, have the same uids as the entries from source data entry = restoreJsonRteEntryRefs(entry, sourceEntry, contentType.schema, { uidMapper: this.entriesUidMapper, @@ -676,7 +700,16 @@ export default class EntriesImport extends BaseClass { mappedAssetUrls: this.assetUrlMapper, }); } - + entry = lookupAssets( + { + content_type: contentType, + entry: entry, + }, + this.assetUidMapper, + this.assetUrlMapper, + path.join(this.entriesPath, cTUid), + this.installedExtensions, + ); entry = lookupEntries( { content_type: contentType, diff --git a/packages/contentstack-import/src/utils/content-type-helper.ts b/packages/contentstack-import/src/utils/content-type-helper.ts index 1f6694481d..d096392229 100644 --- a/packages/contentstack-import/src/utils/content-type-helper.ts +++ b/packages/contentstack-import/src/utils/content-type-helper.ts @@ -63,6 +63,9 @@ export const suppressSchemaReference = function (schema: any, flag: any) { } else if (schema[i].data_type === 'json' && schema[i].field_metadata.rich_text_type) { flag.jsonRte = true; if (schema[i].field_metadata.embed_entry === true) flag.jsonRteEmbeddedEntries = true; + } else if (schema[i].data_type === 'text' && schema[i].field_metadata.rich_text_type) { + flag.rte = true; + if (schema[i].field_metadata.embed_entry === true) flag.rteEmbeddedEntries = true; } if ( @@ -146,8 +149,7 @@ export const removeReferenceFields = async function ( ) { flag.supressed = true; schema[i].reference_to = ['sys_assets']; - } - else if ( + } else if ( // handling entry references in rte schema[i].data_type === 'text' && schema[i].field_metadata.rich_text_type && diff --git a/packages/contentstack-import/src/utils/entries-helper.ts b/packages/contentstack-import/src/utils/entries-helper.ts index b07b6b576b..619c7e4702 100644 --- a/packages/contentstack-import/src/utils/entries-helper.ts +++ b/packages/contentstack-import/src/utils/entries-helper.ts @@ -419,6 +419,22 @@ export const removeEntryRefsFromJSONRTE = (entry: Record, ctSchema: } break; } + case 'text': { + if (entry[element.uid] && element.field_metadata.rich_text_type) { + if (element.multiple) { + let rteContent = []; + for (let i = 0; i < entry[element.uid].length; i++) { + rteContent.push('

'); + } + entry[element.uid] = rteContent; + return entry; + } else { + entry[element.uid] = '

'; + return entry; + } + } + break; + } } } return entry; @@ -534,11 +550,33 @@ export const restoreJsonRteEntryRefs = ( } break; } + case 'text': { + if (entry[element.uid] && element.field_metadata.rich_text_type) { + entry[element.uid] = sourceStackEntry[element.uid]; + const matches = Object.keys(uidMapper).filter((uid) => { + if (sourceStackEntry[element.uid].indexOf(uid) !== -1) return uid; + }); + if (element.multiple && Array.isArray(entry[element.uid])) { + for (let i = 0; i < matches.length; i++) { + entry[element.uid] = entry[element.uid].map((el: string) => updateUids(el, matches[i], uidMapper)); + } + } else { + for (let i = 0; i < matches.length; i++) { + entry[element.uid] = updateUids(entry[element.uid], matches[i], uidMapper); + } + } + } + break; + } } } return entry; }; +function updateUids(str: string, match: string, uidMapper: Record) { + return str.replace(new RegExp(match, 'g'), (match: string) => uidMapper[match]); +} + function setDirtyTrue(jsonRteChild: any) { // also removing uids in this function if (jsonRteChild.type) { @@ -656,4 +694,4 @@ function restoreReferenceInJsonRTE( } return jsonRTE; -} \ No newline at end of file +} diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index e01a346f76..dc3d35765b 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -1,11 +1,11 @@ { "name": "@contentstack/cli-cm-seed", "description": "create a Stack from existing content types, entries, assets, etc.", - "version": "1.7.2", + "version": "1.7.3", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "inquirer": "8.2.4", diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 945a156359..86d0ea7e33 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli", "description": "Command-line tool (CLI) to interact with Contentstack", - "version": "1.16.0", + "version": "1.17.0", "author": "Contentstack", "bin": { "csdx": "./bin/run" @@ -28,11 +28,11 @@ "@contentstack/cli-cm-branches": "~1.0.23", "@contentstack/cli-cm-bulk-publish": "~1.4.3", "@contentstack/cli-cm-export": "~1.11.1", - "@contentstack/cli-cm-clone": "~1.10.1", + "@contentstack/cli-cm-clone": "~1.10.3", "@contentstack/cli-cm-export-to-csv": "~1.7.0", - "@contentstack/cli-cm-import": "~1.14.2", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", - "@contentstack/cli-cm-seed": "~1.7.2", + "@contentstack/cli-cm-seed": "~1.7.3", "@contentstack/cli-command": "~1.2.17", "@contentstack/cli-config": "~1.6.3", "@contentstack/cli-launch": "~1.0.17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d44d9769c6..4d0e9f8dd9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,12 +15,12 @@ importers: '@contentstack/cli-cm-bootstrap': ~1.9.0 '@contentstack/cli-cm-branches': ~1.0.23 '@contentstack/cli-cm-bulk-publish': ~1.4.3 - '@contentstack/cli-cm-clone': ~1.10.1 + '@contentstack/cli-cm-clone': ~1.10.3 '@contentstack/cli-cm-export': ~1.11.1 '@contentstack/cli-cm-export-to-csv': ~1.7.0 - '@contentstack/cli-cm-import': ~1.14.2 + '@contentstack/cli-cm-import': ~1.15.0 '@contentstack/cli-cm-migrate-rte': ~1.4.15 - '@contentstack/cli-cm-seed': ~1.7.2 + '@contentstack/cli-cm-seed': ~1.7.3 '@contentstack/cli-command': ~1.2.17 '@contentstack/cli-config': ~1.6.3 '@contentstack/cli-launch': ~1.0.17 @@ -249,7 +249,7 @@ importers: packages/contentstack-bootstrap: specifiers: - '@contentstack/cli-cm-seed': ~1.7.0 + '@contentstack/cli-cm-seed': ~1.7.3 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.6.0 '@oclif/test': ^2.5.6 @@ -424,7 +424,7 @@ importers: specifiers: '@colors/colors': ^1.5.0 '@contentstack/cli-cm-export': ~1.11.1 - '@contentstack/cli-cm-import': ~1.14.2 + '@contentstack/cli-cm-import': ~1.15.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.6.0 '@oclif/test': ^2.5.6 @@ -990,7 +990,7 @@ importers: packages/contentstack-seed: specifiers: - '@contentstack/cli-cm-import': ~1.14.2 + '@contentstack/cli-cm-import': ~1.15.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.6.0 '@oclif/plugin-help': ^5.1.19