diff --git a/package-lock.json b/package-lock.json index 2724f7b3ef..15997f4ead 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,9 +41,9 @@ } }, "node_modules/@apollo/client": { - "version": "3.9.8", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.9.8.tgz", - "integrity": "sha512-ausPftEb2xAUkZqz+VkSSIhNxKraShJXdV2/NJ7JbHAAciGsFlapGtZ++b7lF0/+3Jp/p34g/i6dvO8b4WjQig==", + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.9.9.tgz", + "integrity": "sha512-/sMecU/M0WK9knrguts1lSLV8xFKzIgOMVb4mi6MOxgJXjliDB8PvOtmXhTqh2cVMMR4TzXgOnb+af/690zlQw==", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", "@wry/caches": "^1.0.0", @@ -1998,20 +1998,19 @@ } }, "node_modules/@oclif/plugin-plugins": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-4.3.8.tgz", - "integrity": "sha512-QU0a4VFmA+Wb/kIUsBKw14KMbH4bHdz5ejwvqql89DumtsUzPOekSHgEzODC2ESZnDWx+h5pD9NPg4lAMPMbxQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.0.0.tgz", + "integrity": "sha512-7pLNMoFr8rUToEpku7AlsaRSyjQajrUABHshbY7CPcAuDtKibwbD+msM47JuLM5aa7u2MV7Lw15nX8f+oj06fA==", "hasShrinkwrap": true, "dependencies": { "@oclif/core": "^3.25.2", "chalk": "^5.3.0", "debug": "^4.3.4", - "npm": "10.2.4", - "npm-run-path": "^4.0.1", + "npm": "10.5.0", + "npm-package-arg": "^11.0.1", + "npm-run-path": "^5.2.0", "semver": "^7.6.0", - "shelljs": "^0.8.5", - "validate-npm-package-name": "^5.0.0", - "yarn": "^1.22.21" + "validate-npm-package-name": "^5.0.0" }, "engines": { "node": ">=18.0.0" @@ -2141,12 +2140,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@oclif/plugin-plugins/node_modules/@oclif/core/node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "license": "BSD-3-Clause" - }, "node_modules/@oclif/plugin-plugins/node_modules/@oclif/core/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -2325,6 +2318,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@oclif/plugin-plugins/node_modules/clean-stack/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/cli-progress": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/cli-progress/-/cli-progress-3.12.0.tgz", @@ -2398,6 +2403,12 @@ "node": ">= 8" } }, + "node_modules/@oclif/plugin-plugins/node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, "node_modules/@oclif/plugin-plugins/node_modules/cross-spawn/node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2469,18 +2480,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, - "node_modules/@oclif/plugin-plugins/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -2552,21 +2551,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "license": "ISC" - }, - "node_modules/@oclif/plugin-plugins/node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -2617,16 +2601,16 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", + "node_modules/@oclif/plugin-plugins/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "license": "ISC", "dependencies": { - "function-bind": "^1.1.2" + "lru-cache": "^10.0.1" }, "engines": { - "node": ">= 0.4" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@oclif/plugin-plugins/node_modules/hyperlinker": { @@ -2656,43 +2640,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, - "node_modules/@oclif/plugin-plugins/node_modules/interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "license": "MIT", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", @@ -2759,12 +2706,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "license": "ISC" - }, "node_modules/@oclif/plugin-plugins/node_modules/jake": { "version": "10.8.7", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", @@ -2821,6 +2762,15 @@ "node": "*" } }, + "node_modules/@oclif/plugin-plugins/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -2868,9 +2818,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", @@ -2934,7 +2884,6 @@ "semver", "spdx-expression-parse", "ssri", - "strip-ansi", "supports-color", "tar", "text-table", @@ -2959,12 +2908,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", @@ -2978,7 +2927,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", @@ -3007,15 +2956,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", @@ -3033,16 +2981,46 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/@oclif/plugin-plugins/node_modules/npm-package-arg": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", + "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==", + "license": "ISC", + "dependencies": { + "hosted-git-info": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.2.0.tgz", + "integrity": "sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==", "license": "MIT", "dependencies": { - "path-key": "^3.0.0" + "path-key": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@oclif/plugin-plugins/node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@oclif/plugin-plugins/node_modules/npm/node_modules/@colors/colors": { @@ -3070,6 +3048,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, @@ -3091,13 +3080,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": { @@ -3112,7 +3115,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": { @@ -3124,7 +3127,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", @@ -3143,7 +3146,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", @@ -3158,7 +3161,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": { @@ -3212,7 +3215,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": { @@ -3306,7 +3309,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": { @@ -3317,7 +3320,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": { @@ -3328,14 +3331,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": { @@ -3352,18 +3355,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": { @@ -3371,12 +3382,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": { @@ -3384,12 +3396,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" @@ -3423,17 +3448,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, @@ -3458,14 +3472,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": { @@ -3490,13 +3501,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" } @@ -3506,25 +3513,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, @@ -3555,29 +3543,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, @@ -3587,7 +3552,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": { @@ -3596,7 +3561,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", @@ -3672,25 +3637,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, @@ -3757,25 +3703,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, @@ -3856,13 +3783,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": { @@ -3901,22 +3823,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, @@ -3982,25 +3888,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, @@ -4033,7 +3920,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": { @@ -4060,7 +3947,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": { @@ -4072,7 +3959,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": { @@ -4095,27 +3982,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": { @@ -4166,10 +4034,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", @@ -4239,8 +4119,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": { @@ -4274,7 +4159,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": { @@ -4286,7 +4171,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": { @@ -4305,7 +4190,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": { @@ -4326,7 +4211,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": { @@ -4337,7 +4222,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": { @@ -4349,7 +4234,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": { @@ -4361,7 +4246,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": { @@ -4375,7 +4260,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": { @@ -4385,7 +4270,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": { @@ -4393,7 +4278,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": { @@ -4404,7 +4289,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": { @@ -4416,7 +4301,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": { @@ -4431,12 +4316,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" } @@ -4485,25 +4367,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": { @@ -4767,11 +4638,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" @@ -4857,7 +4728,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": { @@ -4876,7 +4747,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" }, @@ -4924,7 +4795,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": { @@ -4943,14 +4814,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, @@ -4960,7 +4823,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": { @@ -5047,21 +4910,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, @@ -5070,25 +4918,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, @@ -5096,7 +4925,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": { @@ -5156,14 +4985,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" @@ -5179,15 +5010,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" } }, @@ -5214,7 +5045,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" }, @@ -5228,7 +5059,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" }, @@ -5243,14 +5074,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, @@ -5278,34 +5101,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", @@ -5316,20 +5112,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", @@ -5342,14 +5124,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, @@ -5426,7 +5200,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": { @@ -5561,14 +5335,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, @@ -5583,15 +5349,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": { @@ -5615,6 +5381,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, @@ -5641,15 +5421,6 @@ "node": ">= 10" } }, - "node_modules/@oclif/plugin-plugins/node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/password-prompt": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/password-prompt/-/password-prompt-1.1.3.tgz", @@ -5660,15 +5431,6 @@ "cross-spawn": "^7.0.3" } }, - "node_modules/@oclif/plugin-plugins/node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -5678,12 +5440,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "license": "MIT" - }, "node_modules/@oclif/plugin-plugins/node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -5705,6 +5461,15 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/@oclif/plugin-plugins/node_modules/proc-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/@oclif/plugin-plugins/node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -5725,17 +5490,6 @@ ], "license": "MIT" }, - "node_modules/@oclif/plugin-plugins/node_modules/rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", - "dependencies": { - "resolve": "^1.1.6" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/redeyed": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", @@ -5745,23 +5499,6 @@ "esprima": "~4.0.0" } }, - "node_modules/@oclif/plugin-plugins/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "license": "MIT", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -5843,65 +5580,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/shelljs": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", - "license": "BSD-3-Clause", - "dependencies": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - }, - "bin": { - "shjs": "bin/shjs" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/shelljs/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/shelljs/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@oclif/plugin-plugins/node_modules/shelljs/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -5943,6 +5621,12 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, + "node_modules/@oclif/plugin-plugins/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, "node_modules/@oclif/plugin-plugins/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -5994,18 +5678,6 @@ "node": ">=8" } }, - "node_modules/@oclif/plugin-plugins/node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@oclif/plugin-plugins/node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -6083,32 +5755,12 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/@oclif/plugin-plugins/node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "license": "ISC" - }, "node_modules/@oclif/plugin-plugins/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" }, - "node_modules/@oclif/plugin-plugins/node_modules/yarn": { - "version": "1.22.22", - "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.22.tgz", - "integrity": "sha512-prL3kGtyG7o9Z9Sv8IPfBNrWTDmXB4Qbes8A9rEzt6wkJV8mUvoirjU0Mp3GGAU06Y0XQyA3/2/RQFVuK7MTfg==", - "hasInstallScript": true, - "license": "BSD-2-Clause", - "bin": { - "yarn": "bin/yarn.js", - "yarnpkg": "bin/yarn.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/@oclif/plugin-warn-if-update-available": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.1.1.tgz", @@ -6909,9 +6561,9 @@ } }, "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==" + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.10.tgz", + "integrity": "sha512-PiaIWIoPvO6qm6t114ropMCagj6YAF24j9OkCA2mJDXFnlionEwhsBCJ8yek4aib575BI3OkART/90WsgHgLWw==" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", @@ -7307,16 +6959,6 @@ "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", "dev": true }, - "node_modules/@types/minipass": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-3.3.5.tgz", - "integrity": "sha512-M2BLHQdEmDmH671h0GIlOQQJrgezd1vNqq7PVj1VOsHZ2uQQb4iPiQIl0SlMdhxZPUsLIfEklmeEHXg8DJRewA==", - "deprecated": "This is a stub types definition. minipass provides its own type definitions, so you do not need this installed.", - "dev": true, - "dependencies": { - "minipass": "*" - } - }, "node_modules/@types/mkdirp": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-1.0.2.tgz", @@ -8352,9 +7994,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1582.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1582.0.tgz", - "integrity": "sha512-oPSk5e1D0oegX3lC+pUIKmI5e4depLi0+9fU7C73KDq65nq8NmdehpbytPHGPqfftqfa3FTEXb2yUPA4A9wM9w==", + "version": "2.1585.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1585.0.tgz", + "integrity": "sha512-zDJ76hivdnBLH2+hXTO0F5y3Sdx5RRSDCf4EqZILZCUkPLTwaVmKmaU6XO3pyhrMTcWk58m7UBgHFyARE5SCkQ==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -9098,9 +8740,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001599", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz", - "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "dev": true, "funding": [ { @@ -10621,9 +10263,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.713", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.713.tgz", - "integrity": "sha512-vDarADhwntXiULEdmWd77g2dV6FrNGa8ecAC29MZ4TwPut2fvosD0/5sJd1qWNNe8HcJFAC+F5Lf9jW1NPtWmw==", + "version": "1.4.717", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.717.tgz", + "integrity": "sha512-6Fmg8QkkumNOwuZ/5mIbMU9WI3H2fmn5ajcVya64I5Yr5CcNmO7vcLt0Y7c96DCiMO5/9G+4sI2r6eEvdg1F7A==", "dev": true }, "node_modules/elegant-spinner": { @@ -12227,9 +11869,9 @@ "dev": true }, "node_modules/express": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.1.tgz", - "integrity": "sha512-K4w1/Bp7y8iSiVObmCrtq8Cs79XjJc/RU2YYkZQ7wpUu5ZyZ7MtPHkqoMz4pf+mgXfNvo2qft8D9OnrH2ABk9w==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -22610,13 +22252,16 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -22827,9 +22472,9 @@ } }, "node_modules/tar": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", - "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -23641,9 +23286,9 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -24184,9 +23829,9 @@ } }, "node_modules/winston": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.12.0.tgz", - "integrity": "sha512-OwbxKaOlESDi01mC9rkM0dQqQt2I8DAUMRLZ/HpbwvDXm85IryEHgoogy5fziQy38PntgZsLlhAYHz//UPHZ5w==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", + "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", @@ -25675,30 +25320,30 @@ }, "packages/contentstack": { "name": "@contentstack/cli", - "version": "1.16.1", + "version": "1.17.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.5.0", + "@contentstack/cli-audit": "~1.5.1", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.9.0", - "@contentstack/cli-cm-branches": "~1.0.23", + "@contentstack/cli-cm-branches": "~1.0.24", "@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.3", + "@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.16", - "@contentstack/cli-migration": "~1.5.0", + "@contentstack/cli-launch": "~1.0.17", + "@contentstack/cli-migration": "~1.5.2", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", "@oclif/core": "^2.9.3", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.4.0", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", "debug": "^4.1.1", "figlet": "^1.5.2", @@ -25743,13 +25388,13 @@ }, "packages/contentstack-audit": { "name": "@contentstack/cli-audit", - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "@oclif/plugin-help": "^5", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", "fast-csv": "^4.3.6", "fs-extra": "^11.1.1", @@ -26052,12 +25697,12 @@ "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", "mkdirp": "^1.0.4", - "tar": "^6.1.13" + "tar": "^6.2.1 " }, "devDependencies": { "@oclif/test": "^2.5.6", @@ -26128,7 +25773,7 @@ }, "packages/contentstack-branches": { "name": "@contentstack/cli-cm-branches", - "version": "1.0.23", + "version": "1.0.24", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", @@ -26214,12 +25859,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.3", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "async": "^3.2.4", @@ -27188,10 +26833,10 @@ }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", - "version": "1.14.3", + "version": "1.15.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.5.0", + "@contentstack/cli-audit": "~1.5.1", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", @@ -27220,7 +26865,7 @@ "@types/mocha": "^8.2.2", "@types/node": "^14.14.32", "@types/sinon": "^10.0.2", - "@types/tar": "^4.0.3", + "@types/tar": "^6.1.3", "@types/uuid": "^9.0.7", "@typescript-eslint/eslint-plugin": "^5.48.2", "chai": "^4.2.0", @@ -27269,16 +26914,6 @@ "type-detect": "^4.0.8" } }, - "packages/contentstack-import/node_modules/@types/tar": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.5.tgz", - "integrity": "sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==", - "dev": true, - "dependencies": { - "@types/minipass": "*", - "@types/node": "*" - } - }, "packages/contentstack-import/node_modules/sinon": { "version": "11.1.2", "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.2.tgz", @@ -27312,7 +26947,7 @@ }, "packages/contentstack-launch": { "name": "@contentstack/cli-launch", - "version": "1.0.16", + "version": "1.0.17", "license": "MIT", "dependencies": { "@apollo/client": "^3.7.9", @@ -27320,7 +26955,7 @@ "@contentstack/cli-utilities": "~1.6.0", "@oclif/core": "^2.9.3", "@oclif/plugin-help": "^5", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "@types/express": "^4.17.17", "@types/express-serve-static-core": "^4.17.34", "adm-zip": "^0.5.10", @@ -27625,7 +27260,7 @@ }, "packages/contentstack-migration": { "name": "@contentstack/cli-migration", - "version": "1.5.1", + "version": "1.5.2", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", @@ -27658,10 +27293,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.3", + "@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-audit/package.json b/packages/contentstack-audit/package.json index 7a49de850a..abca50ec1e 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-audit", - "version": "1.5.0", + "version": "1.5.1", "description": "Contentstack audit plugin", "author": "Contentstack CLI", "homepage": "https://github.com/contentstack/cli", @@ -21,7 +21,7 @@ "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "@oclif/plugin-help": "^5", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", "fast-csv": "^4.3.6", "fs-extra": "^11.1.1", @@ -86,4 +86,4 @@ "keywords": [ "oclif" ] -} +} \ No newline at end of file diff --git a/packages/contentstack-audit/src/audit-base-command.ts b/packages/contentstack-audit/src/audit-base-command.ts index b49eb60d6e..4fefdf67fb 100644 --- a/packages/contentstack-audit/src/audit-base-command.ts +++ b/packages/contentstack-audit/src/audit-base-command.ts @@ -13,7 +13,13 @@ import { print } from './util/log'; import { auditMsg } from './messages'; import { BaseCommand } from './base-command'; import { Entries, GlobalField, ContentType, Extensions, Workflows } from './modules'; -import { CommandNames, ContentTypeStruct, OutputColumn, RefErrorReturnType } from './types'; +import { + CommandNames, + ContentTypeStruct, + OutputColumn, + RefErrorReturnType, + WorkflowExtensionsRefErrorReturnType, +} from './types'; export abstract class AuditBaseCommand extends BaseCommand { private currentCommand!: CommandNames; @@ -113,7 +119,6 @@ export abstract class AuditBaseCommand extends BaseCommand { - if (['title', 'name', 'uid', 'content_types', 'fixStatus'].includes(key)) { + if (['title', 'name', 'uid', 'content_types', 'branches', 'fixStatus'].includes(key)) { return { [key]: { minWidth: 7, @@ -311,7 +316,7 @@ export abstract class AuditBaseCommand extends BaseCommand) => { if (key === 'fixStatus') { return chalk.green(typeof row[key] === 'object' ? JSON.stringify(row[key]) : row[key]); - } else if (key === 'content_types') { + } else if (key === 'content_types' || key === 'branches') { return chalk.red(typeof row[key] === 'object' ? JSON.stringify(row[key]) : row[key]); } else { return chalk.white(typeof row[key] === 'object' ? JSON.stringify(row[key]) : row[key]); @@ -371,14 +376,22 @@ export abstract class AuditBaseCommand extends BaseCommand !userDefinedColumns.includes(val))] : defaultColumns; if (this.sharedConfig.flags.filter) { const [column, value]: [keyof typeof OutputColumn, string] = this.sharedConfig.flags.filter.split('='); - missingRefs = missingRefs.filter((row: RefErrorReturnType) => row[OutputColumn[column]] === value); + // Filter the missingRefs array + missingRefs = missingRefs.filter((row) => { + if (OutputColumn[column] in row) { + const rowKey = OutputColumn[column] as keyof (RefErrorReturnType | WorkflowExtensionsRefErrorReturnType); + return row[rowKey] === value; + } + return false; + }); } const rowData: Record[] = []; @@ -387,7 +400,8 @@ export abstract class AuditBaseCommand extends BaseCommand; public workflowPath: string; + public isBranchFixDone: boolean; constructor({ log, @@ -41,6 +42,7 @@ export default class Workflows { this.missingCtInWorkflows = []; this.missingCts = new Set(); this.workflowPath = ''; + this.isBranchFixDone = false; } /** * Check whether the given path for the workflow exists or not @@ -64,9 +66,20 @@ export default class Workflows { for (const workflow of this.workflowSchema) { const ctNotPresent = workflow.content_types.filter((ct) => !this.ctUidSet.has(ct)); - if (ctNotPresent.length) { + const branch = workflow?.branches?.filter((branch) => branch !== this.config?.branch); + + if (ctNotPresent.length || branch?.length) { const tempwf = cloneDeep(workflow); - tempwf.content_types = ctNotPresent; + tempwf.content_types = ctNotPresent || []; + + if (workflow?.branches) { + tempwf.branches = branch; + } + + if (branch?.length) { + this.isBranchFixDone = true; + } + ctNotPresent.forEach((ct) => this.missingCts.add(ct)); this.missingCtInWorkflows.push(tempwf); } @@ -80,7 +93,7 @@ export default class Workflows { ); } - if (this.fix && this.missingCtInWorkflows.length) { + if (this.fix && (this.missingCtInWorkflows.length || this.isBranchFixDone)) { await this.fixWorkflowSchema(); this.missingCtInWorkflows.forEach((wf) => (wf.fixStatus = 'Fixed')); } @@ -96,6 +109,21 @@ export default class Workflows { if (Object.keys(newWorkflowSchema).length !== 0) { for (const workflow of this.workflowSchema) { const fixedCts = workflow.content_types.filter((ct) => !this.missingCts.has(ct)); + const fixedBranches: string[] = []; + + workflow?.branches?.forEach((branch) => { + if (branch !== this.config?.branch) { + const { uid, name } = workflow; + this.log($t(commonMsg.WF_BRANCH_REMOVAL, { uid, name, branch }), { color: 'yellow' }); + } else { + fixedBranches.push(branch); + } + }); + + if (fixedBranches.length > 0) { + newWorkflowSchema[workflow.uid].branches = fixedBranches; + } + if (fixedCts.length) { newWorkflowSchema[workflow.uid].content_types = fixedCts; } else { @@ -117,8 +145,10 @@ export default class Workflows { async writeFixContent(newWorkflowSchema: Record) { if ( this.fix && - !(this.config.flags['copy-dir'] || this.config.flags['external-config']?.skipConfirm) && - (this.config.flags.yes || (await ux.confirm(commonMsg.FIX_CONFIRMATION))) + (this.config.flags['copy-dir'] || + this.config.flags['external-config']?.skipConfirm || + this.config.flags.yes || + (await ux.confirm(commonMsg.FIX_CONFIRMATION))) ) { writeFileSync( join(this.folderPath, this.config.moduleConfig[this.moduleName].fileName), diff --git a/packages/contentstack-audit/src/types/content-types.ts b/packages/contentstack-audit/src/types/content-types.ts index 8f4d614eef..b9e23931b9 100644 --- a/packages/contentstack-audit/src/types/content-types.ts +++ b/packages/contentstack-audit/src/types/content-types.ts @@ -53,6 +53,8 @@ type RefErrorReturnType = { title?: string; }; +type WorkflowExtensionsRefErrorReturnType = RefErrorReturnType & { branches?: string[] }; + // NOTE Type 1 type ReferenceFieldDataType = CommonDataTypeStruct & { reference_to: string[]; @@ -119,6 +121,7 @@ enum OutputColumn { title = 'title', 'uid' = 'uid', 'missingCts' = 'content_types', + 'Missing Branches' = 'branches', } export { @@ -137,4 +140,5 @@ export { OutputColumn, ContentTypeSchemaType, GlobalFieldSchemaTypes, + WorkflowExtensionsRefErrorReturnType, }; diff --git a/packages/contentstack-audit/src/types/workflow.ts b/packages/contentstack-audit/src/types/workflow.ts index 9f8346b4d0..e180e2cc91 100644 --- a/packages/contentstack-audit/src/types/workflow.ts +++ b/packages/contentstack-audit/src/types/workflow.ts @@ -9,5 +9,6 @@ export interface Workflow { enabled?: boolean; deleted_at?: any; missingRefs?: any; - fixStatus?:string + fixStatus?: string; + branches?: string[]; } diff --git a/packages/contentstack-audit/test/unit/mock/contents/workflows/workflows.json b/packages/contentstack-audit/test/unit/mock/contents/workflows/workflows.json index f6f013f417..1efcdb8ee9 100644 --- a/packages/contentstack-audit/test/unit/mock/contents/workflows/workflows.json +++ b/packages/contentstack-audit/test/unit/mock/contents/workflows/workflows.json @@ -5,7 +5,9 @@ "org_uid": "org1", "api_key": "apiKey", "content_types": [ - "ct1" + "ct1", + "ct45", + "ct14" ], "enabled": false, "deleted_at": false @@ -16,7 +18,8 @@ "org_uid": "org1", "api_key": "apiKey", "content_types": [ - "ct2" + "ct2", + "ct6" ], "enabled": false, "deleted_at": false @@ -43,5 +46,21 @@ ], "enabled": false, "deleted_at": false + }, + "wf5": { + "name": "wf5", + "uid": "wf5", + "org_uid": "org1", + "api_key": "apiKey", + "content_types": [ + "ct4" + ], + "branches": [ + "main", + "development", + "stage" + ], + "enabled": false, + "deleted_at": false } } \ No newline at end of file diff --git a/packages/contentstack-audit/test/unit/modules/workflow.test.ts b/packages/contentstack-audit/test/unit/modules/workflow.test.ts index 2dc92f2d13..6d576365a1 100644 --- a/packages/contentstack-audit/test/unit/modules/workflow.test.ts +++ b/packages/contentstack-audit/test/unit/modules/workflow.test.ts @@ -46,6 +46,7 @@ describe('Workflows', () => { .it( 'should expect missingRefs equal to workflow which has missing refs, missingCts equal to missing Cts', async () => { + wf.config.branch = 'development'; const missingRefs = await wf.run(); expect(wf.workflowSchema).eql(values(JSON.parse(fs.readFileSync(wf.workflowPath, 'utf8')))); expect(missingRefs).eql([ @@ -67,33 +68,22 @@ describe('Workflows', () => { enabled: false, deleted_at: false, }, + { + api_key: 'apiKey', + branches: ['main', 'stage'], + content_types: [], + deleted_at: false, + enabled: false, + name: 'wf5', + org_uid: 'org1', + uid: 'wf5', + }, ]); expect(wf.missingCts).eql(new Set(['ct45', 'ct14', 'ct6'])); }, ); }); - describe('run method with valid path and empty ctSchema to check the missing references', () => { - const wf = new Workflows({ - log: () => {}, - moduleName: 'workflows', - ctSchema: [], - config: Object.assign(config, { - basePath: resolve(`./test/unit/mock/contents/`), - flags: {}, - }), - }); - - fancy - .stdout({ print: process.env.PRINT === 'true' || true }) - .stub(ux, 'confirm', async () => true) - .it('should expect missingRefs equal to all workflows', async () => { - const missingRefs = await wf.run(); - wf.workflowSchema.pop(); - expect(missingRefs).eql(wf.workflowSchema); - }); - }); - describe('run method with audit fix for workflows with valid path and empty ctSchema', () => { const wf = new Workflows({ log: () => {}, @@ -111,6 +101,7 @@ describe('Workflows', () => { .stub(wf, 'log', async () => {}) .stub(ux, 'confirm', async () => true) .stub(wf, 'WriteFileSync', () => {}) + .stub(wf, 'writeFixContent', () => {}) .it('the run function should run and flow should go till fixWorkflowSchema', async () => { const fixedReference = await wf.run(); expect(fixedReference).eql([ @@ -136,13 +127,14 @@ describe('Workflows', () => { }, { api_key: 'apiKey', - content_types: ['ct88'], + branches: ['main', 'stage'], + content_types: [], deleted_at: false, enabled: false, fixStatus: 'Fixed', - name: 'wf6', + name: 'wf5', org_uid: 'org1', - uid: 'wf6', + uid: 'wf5', }, ]); }); diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index 838a334359..03e7ef67bb 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -17,12 +17,12 @@ "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", "mkdirp": "^1.0.4", - "tar": "^6.1.13" + "tar": "^6.2.1 " }, "devDependencies": { "@oclif/test": "^2.5.6", @@ -73,4 +73,4 @@ } }, "repository": "contentstack/cli" -} +} \ No newline at end of file diff --git a/packages/contentstack-branches/package.json b/packages/contentstack-branches/package.json index e44875a087..d21b85f260 100644 --- a/packages/contentstack-branches/package.json +++ b/packages/contentstack-branches/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-branches", "description": "Contentstack CLI plugin to do branches operations", - "version": "1.0.23", + "version": "1.0.24", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -95,4 +95,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} +} \ No newline at end of file diff --git a/packages/contentstack-branches/src/utils/asset-folder-create-script.ts b/packages/contentstack-branches/src/utils/asset-folder-create-script.ts index 30ad3ec1fe..a0c97bfd1c 100644 --- a/packages/contentstack-branches/src/utils/asset-folder-create-script.ts +++ b/packages/contentstack-branches/src/utils/asset-folder-create-script.ts @@ -114,9 +114,9 @@ export function assetFolderCreateScript(contentType) { const createAssetTask = () => { return { - title: 'Create Assets Folder', + title: 'Check and create asset folder in base branch', successTitle: 'Assets folder Created Successfully', - failedTitle: 'Failed to create assets folder', + failedTitle: 'Failed to create assets folder in base branch', task: async () => { try { const baseAssetsFolderCount = await getAssetCount(branch, true); diff --git a/packages/contentstack-branches/src/utils/entry-create-script.ts b/packages/contentstack-branches/src/utils/entry-create-script.ts index f3388ead13..f97f3b3309 100644 --- a/packages/contentstack-branches/src/utils/entry-create-script.ts +++ b/packages/contentstack-branches/src/utils/entry-create-script.ts @@ -9,7 +9,6 @@ export function entryCreateScript(contentType) { const omit = require('lodash/omit'); const compact = require('lodash/compact') const isPlainObject = require('lodash/isPlainObject'); - const {cliux, LoggerService} = require('@contentstack/cli-utilities') module.exports = async ({ migration, stackSDKInstance, managementAPIClient, config, branch, apiKey }) => { const keysToRemove = [ 'content_type_uid', @@ -41,7 +40,6 @@ export function entryCreateScript(contentType) { let assetRefPath = {}; let downloadedAssets = []; let parent=[]; - let logger; function getValueByPath(obj, path) { return path.split('[').reduce((o, key) => o && o[key.replace(/\]$/, '')], obj); @@ -470,10 +468,6 @@ export function entryCreateScript(contentType) { successTitle: 'Entries Created Successfully', failedTitle: 'Failed to create entries', task: async () => { - //logger file - if(!fs.existsSync(path.join(filePath, 'entry-migration'))){ - logger = new LoggerService(filePath, 'entry-migration'); - } const compareBranchEntries = await managementAPIClient .stack({ api_key: stackSDKInstance.api_key, branch_uid: compareBranch }) @@ -520,17 +514,7 @@ export function entryCreateScript(contentType) { async function updateEntry(entry, entryDetails) { Object.assign(entry, { ...entryDetails }); - await entry.update().catch(err => { - let errorMsg = 'Entry update failed for uid: ' + entry?.uid + ', title: ' + entry?.title + '. '; - if(err?.errors?.title){ - errorMsg += 'title'+ err?.errors?.title; - }else if(err?.errors?.entry){ - errorMsg += err?.errors?.entry; - }else{ - errorMsg += (err?.entry?.errorMessage || err?.errorMessage || err?.message) ?? 'Something went wrong!'; - } - logger.error(errorMsg) - }); + await entry.update() } async function updateReferences(entryDetails, baseEntry, references) { @@ -558,29 +542,21 @@ export function entryCreateScript(contentType) { } try { - compareFilteredProperties.length !== 0 && - compareFilteredProperties.forEach(async (entryDetails) => { - if(entryDetails !== undefined){ + if (compareFilteredProperties.length !== 0) { + for (let i = 0; i < compareFilteredProperties.length; i++) { + let entryDetails = compareFilteredProperties[i]; + if (entryDetails !== undefined) { entryDetails = updateAssetDetailsInEntries(entryDetails); - let createdEntry = await stackSDKInstance.contentType('${contentType}').entry().create({ entry: entryDetails }).catch(err => { - let errorMsg = 'Entry creation failed for contentType: ' + contentType + ', title: ' + entryDetails?.title + '. '; - if(err?.errors?.title){ - errorMsg += err?.errors?.title; - }else if(err?.errors?.entry){ - errorMsg += err?.errors?.entry; - }else{ - errorMsg += (err?.entry?.errorMessage || err?.errorMessage || err?.message) ?? 'Something went wrong!'; - } - logger.error(errorMsg) - }); - if(createdEntry){ + let createdEntry = await stackSDKInstance.contentType('${contentType}').entry().create({ entry: entryDetails }) + if (createdEntry) { if (flag.references) { await updateReferences(entryDetails, createdEntry, references); } - await updateEntry(createdEntry, entryDetails); + await updateEntry(createdEntry, entryDetails) } } - }); + } + } } catch (error) { throw error; } diff --git a/packages/contentstack-branches/src/utils/entry-create-update-script.ts b/packages/contentstack-branches/src/utils/entry-create-update-script.ts index fe52aaedac..564ad5c776 100644 --- a/packages/contentstack-branches/src/utils/entry-create-update-script.ts +++ b/packages/contentstack-branches/src/utils/entry-create-update-script.ts @@ -9,7 +9,6 @@ export function entryCreateUpdateScript(contentType) { const omit = require('lodash/omit'); const compact = require('lodash/compact') const isPlainObject = require('lodash/isPlainObject'); - const {cliux, LoggerService} = require('@contentstack/cli-utilities') module.exports = async ({ migration, stackSDKInstance, managementAPIClient, config, branch, apiKey }) => { const keysToRemove = [ 'content_type_uid', @@ -42,7 +41,6 @@ export function entryCreateUpdateScript(contentType) { let assetUrlMapper = {}; let assetRefPath = {}; let parent=[]; - let logger; function converter(data) { let arr = []; @@ -485,10 +483,6 @@ export function entryCreateUpdateScript(contentType) { successMessage: 'Entries Updated Successfully', failedMessage: 'Failed to update entries', task: async () => { - //logger file - if(!fs.existsSync(path.join(filePath, 'entry-migration'))){ - logger = new LoggerService(filePath, 'entry-migration'); - } let compareBranchEntries = await managementAPIClient .stack({ api_key: stackSDKInstance.api_key, branch_uid: compareBranch }) .contentType('${contentType}') @@ -539,17 +533,7 @@ export function entryCreateUpdateScript(contentType) { async function updateEntry(entry, entryDetails) { if (entry) { Object.assign(entry, { ...entryDetails }); - await entry.update().catch(err => { - let errorMsg = 'Entry update failed for uid: ' + entry?.uid + ', title: ' + entry?.title + '.'; - if(err?.errors?.title){ - errorMsg += err?.errors?.title; - }else if(err?.errors?.entry){ - errorMsg += err?.errors?.entry; - }else{ - errorMsg += (err?.entry?.errorMessage || err?.errorMessage || err?.message) ?? 'Something went wrong!'; - } - logger.error(errorMsg) - }); + await entry.update(); } } @@ -622,9 +606,6 @@ export function entryCreateUpdateScript(contentType) { .contentType('${contentType}') .entry() .create({ entry: entryDetails }) - .catch(err => { - (err?.errorMessage || err?.message) ? err?.errorMessage || err?.message : 'Something went wrong!' - }) if(createdEntry){ if (flag.references) { diff --git a/packages/contentstack-branches/src/utils/entry-update-script.ts b/packages/contentstack-branches/src/utils/entry-update-script.ts index 59222ac58d..d99f5c79d3 100644 --- a/packages/contentstack-branches/src/utils/entry-update-script.ts +++ b/packages/contentstack-branches/src/utils/entry-update-script.ts @@ -9,7 +9,6 @@ export function entryUpdateScript(contentType) { const omit = require('lodash/omit'); const compact = require('lodash/compact') const isPlainObject = require('lodash/isPlainObject'); - const {cliux, LoggerService} = require('@contentstack/cli-utilities') module.exports = async ({ migration, stackSDKInstance, managementAPIClient, config, branch, apiKey }) => { const keysToRemove = [ 'content_type_uid', @@ -42,7 +41,6 @@ export function entryUpdateScript(contentType) { let assetUrlMapper = {}; let assetRefPath = {}; let parent=[]; - let logger; function converter(data) { let arr = []; @@ -484,10 +482,6 @@ export function entryUpdateScript(contentType) { successMessage: 'Entries Updated Successfully', failedMessage: 'Failed to update entries', task: async () => { - //logger file - if(!fs.existsSync(path.join(filePath, 'entry-migration'))){ - logger = new LoggerService(filePath, 'entry-migration'); - } let compareBranchEntries = await managementAPIClient .stack({ api_key: stackSDKInstance.api_key, branch_uid: compareBranch }) @@ -538,17 +532,7 @@ export function entryUpdateScript(contentType) { async function updateEntry(entry, entryDetails) { Object.assign(entry, { ...entryDetails }); - await entry.update().catch(err => { - let errorMsg = 'Entry update failed for uid: ' + entry?.uid + ', title: ' + entry?.title + '.'; - if(err?.errors?.title){ - errorMsg += err?.errors?.title; - }else if(err?.errors?.entry){ - errorMsg += err?.errors?.entry; - }else{ - errorMsg += (err?.entry?.errorMessage || err?.errorMessage || err?.message) ?? 'Something went wrong!'; - } - logger.error(errorMsg) - }); + await entry.update(); } async function updateReferences(entryDetails, baseEntry, references) { @@ -619,9 +603,6 @@ export function entryUpdateScript(contentType) { .contentType('${contentType}') .entry() .create({ entry: entryDetails }) - .catch(err => { - (err?.errorMessage || err?.message) ? err?.errorMessage || err?.message : 'Something went wrong!' - }) if(createdEntry){ if (flag.references) { diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 42d659f9d1..0c9a3302ad 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.3", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "async": "^3.2.4", @@ -72,4 +72,4 @@ "cm:stack-clone": "O-CLN" } } -} +} \ No newline at end of file diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index e671462286..771c835b22 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -1,11 +1,11 @@ { "name": "@contentstack/cli-cm-import", "description": "Contentstack CLI plugin to import content into stack", - "version": "1.14.3", + "version": "1.15.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-audit": "~1.5.0", + "@contentstack/cli-audit": "~1.5.1", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", @@ -34,7 +34,7 @@ "@types/mocha": "^8.2.2", "@types/node": "^14.14.32", "@types/sinon": "^10.0.2", - "@types/tar": "^4.0.3", + "@types/tar": "^6.1.3", "@types/uuid": "^9.0.7", "@typescript-eslint/eslint-plugin": "^5.48.2", "chai": "^4.2.0", @@ -99,4 +99,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} +} \ No newline at end of file diff --git a/packages/contentstack-import/src/import/module-importer.ts b/packages/contentstack-import/src/import/module-importer.ts index 675489e18e..6970d7d8dd 100755 --- a/packages/contentstack-import/src/import/module-importer.ts +++ b/packages/contentstack-import/src/import/module-importer.ts @@ -117,7 +117,7 @@ class ModuleImporter { const basePath = resolve(this.importConfig.backupDir, 'logs', 'audit'); const auditConfig = this.importConfig.auditConfig; auditConfig.config.basePath = basePath; - + auditConfig.config.branch = this.importConfig.branchName; try { const args = [ '--data-dir', 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/types/default-config.ts b/packages/contentstack-import/src/types/default-config.ts index 17a7168a23..4700b2aa1c 100644 --- a/packages/contentstack-import/src/types/default-config.ts +++ b/packages/contentstack-import/src/types/default-config.ts @@ -153,7 +153,8 @@ export default interface DefaultConfig { returnResponse?: boolean; // On process completion should return config used in the command noTerminalOutput?: boolean; // Skip final audit table output on terminal config?: { - basePath?: string + basePath?: string; + branch?: string; } & Record; // To overwrite any build-in config. And this config is equal to --config flag. }; } 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..1cf6e84581 100644 --- a/packages/contentstack-import/src/utils/entries-helper.ts +++ b/packages/contentstack-import/src/utils/entries-helper.ts @@ -419,6 +419,20 @@ 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; + } else { + entry[element.uid] = '

'; + } + } + break; + } } } return entry; @@ -534,11 +548,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 +692,4 @@ function restoreReferenceInJsonRTE( } return jsonRTE; -} \ No newline at end of file +} diff --git a/packages/contentstack-launch/README.md b/packages/contentstack-launch/README.md index dbef306de9..a2eb1cf1ac 100755 --- a/packages/contentstack-launch/README.md +++ b/packages/contentstack-launch/README.md @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-launch $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli-launch/1.0.16 darwin-arm64 node-v20.8.0 +@contentstack/cli-launch/1.0.17 darwin-arm64 node-v20.8.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-launch/package.json b/packages/contentstack-launch/package.json index 46a37b1f6f..c1dd09d9e7 100755 --- a/packages/contentstack-launch/package.json +++ b/packages/contentstack-launch/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-launch", - "version": "1.0.16", + "version": "1.0.17", "description": "Launch related operations", "author": "Contentstack CLI", "bin": { @@ -22,7 +22,7 @@ "@contentstack/cli-utilities": "~1.6.0", "@oclif/core": "^2.9.3", "@oclif/plugin-help": "^5", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "@types/express": "^4.17.17", "@types/express-serve-static-core": "^4.17.34", "adm-zip": "^0.5.10", @@ -105,4 +105,4 @@ "launch:deployments": "LNCH-DPLMNT" } } -} +} \ No newline at end of file diff --git a/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts b/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts index 9740982d5e..169fba928c 100755 --- a/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts +++ b/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts @@ -77,7 +77,8 @@ export class CloudFunctions { const handler = loadAsESM( `${cloudFunctionResource.cloudFunctionFilePath}` ).default; - + app.use(express.json()); + app.use(express.urlencoded({ extended: true })); app.all( cloudFunctionResource.apiResourceURI, async (request: Request, response: Response) => { diff --git a/packages/contentstack-migration/package.json b/packages/contentstack-migration/package.json index aae748882a..a1ccf29819 100644 --- a/packages/contentstack-migration/package.json +++ b/packages/contentstack-migration/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-migration", - "version": "1.5.1", + "version": "1.5.2", "author": "@contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -66,4 +66,4 @@ "cm:migration": "O-MGRTN" } } -} +} \ No newline at end of file diff --git a/packages/contentstack-migration/src/commands/cm/stacks/migration.js b/packages/contentstack-migration/src/commands/cm/stacks/migration.js index 293a110512..cf591102bb 100644 --- a/packages/contentstack-migration/src/commands/cm/stacks/migration.js +++ b/packages/contentstack-migration/src/commands/cm/stacks/migration.js @@ -12,6 +12,7 @@ const { Parser } = require('../../../modules'); const { ActionList } = require('../../../actions'); const fs = require('fs'); const chalk = require('chalk'); +const isEmpty = require('lodash/isEmpty'); const { printFlagDeprecation, managementSDKClient, @@ -24,8 +25,6 @@ const { ApiError, SchemaValidator, MigrationError, FieldValidator } = require('. // Utils const { map: _map, constants, safePromise, errorHelper } = require('../../../utils'); -const { success } = require('../../../utils/logger'); - // Properties const { get, set, getMapInstance, resetMapInstance } = _map; const { @@ -134,6 +133,10 @@ class MigrationCommand extends Command { } else { await this.execSingleFile(filePath, mapInstance); } + const errLogPath = `${process.cwd()}/migration-logs`; + if (fs.existsSync(errLogPath)) { + this.log(`The log has been stored at: `, errLogPath); + } } async execSingleFile(filePath, mapInstance) { @@ -160,21 +163,11 @@ class MigrationCommand extends Command { const listr = new Listr(tasks); - await listr.run().catch((error) => { - this.handleErrors(error); - // When the process is child, send error message to parent - if (process.send) process.send({ errorOccurred: true }); - }); + await listr.run(); requests.splice(0, requests.length); } catch (error) { - // errorHandler(null, null, null, error) - if (error.message) { - this.log(error.message); - } else if (error.errorMessage) { - this.log(error.errorMessage); - } else { - this.log(error); - } + errorHelper(error, filePath); + if (process.send) process.send({ errorOccurred: true }); } } @@ -186,7 +179,6 @@ class MigrationCommand extends Command { for (const element of files) { const file = element; if (extname(file) === '.js') { - success(chalk`{white Executing file:} {grey {bold ${file}}}`); // eslint-disable-next-line no-await-in-loop await this.execSingleFile(pathValidator(resolve(filePath, file)), mapInstance); } diff --git a/packages/contentstack-migration/src/services/content-types.js b/packages/contentstack-migration/src/services/content-types.js index dc8a0d4e8a..089b161608 100644 --- a/packages/contentstack-migration/src/services/content-types.js +++ b/packages/contentstack-migration/src/services/content-types.js @@ -4,7 +4,7 @@ const Base = require('../modules/base'); // Utils -const { map: _map, safePromise, successHandler, errorHandler, constants } = require('../utils'); +const { map: _map, safePromise, successHandler, errorHandler, constants, errorHelper } = require('../utils'); // Map methods const { get, getMapInstance, getDataWithAction } = _map; const mapInstance = getMapInstance(); @@ -23,7 +23,7 @@ class ContentTypeService { const [err, result] = await safePromise(this.stackSDKInstance.contentType(id).fetch()); if (err) { - errorHandler(id, ContentType, method, err); + errorHelper(err); this.base.dispatch(callsite, id, err, 'apiError'); throw err; } @@ -36,7 +36,7 @@ class ContentTypeService { const data = getDataWithAction(id, mapInstance, action); const [err, result] = await safePromise(this.stackSDKInstance.contentType().create(data)); if (err) { - errorHandler(id, ContentType, 'POST', err); + errorHelper(err); this.base.dispatch(callsite, id, err, 'apiError'); throw err; } @@ -51,7 +51,7 @@ class ContentTypeService { const method = 'PUT'; const [err, result] = await safePromise(data.update()); if (err) { - errorHandler(data.uid, ContentType, method, err); + errorHelper(err); this.base.dispatch(callsite, data.uid, err, 'apiError'); throw err; } @@ -66,7 +66,7 @@ class ContentTypeService { const [err, result] = await safePromise(this.stackSDKInstance.contentType(id).delete()); if (err) { - errorHandler(id, ContentType, method, err); + errorHelper(err); this.base.dispatch(callsite, id, err, 'apiError'); throw err; } @@ -306,7 +306,7 @@ class ContentTypeService { } // Handling both the scenarios - if ((found === 0) || (against && (found === 1))) { + if (found === 0 || (against && found === 1)) { isValid = false; } diff --git a/packages/contentstack-migration/src/utils/error-handler.js b/packages/contentstack-migration/src/utils/error-handler.js deleted file mode 100644 index e79710354e..0000000000 --- a/packages/contentstack-migration/src/utils/error-handler.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -const { error } = require('./logger'); -const { errorMessageHandler } = require('./constants'); - -module.exports = (data, type, method, err) => { - if (data && type && method) { - error(`Error occurred while ${errorMessageHandler[method]} ${type}: ${data}.`); - } - - if (err.errorMessage) { - error(err.errorMessage); - } - if (err instanceof Error && err && err.message && err.stack) { - error(err.message); - // error(err.stack) - } else { - error(err); - } - // throw new Error(err); -}; diff --git a/packages/contentstack-migration/src/utils/error-helper.js b/packages/contentstack-migration/src/utils/error-helper.js index f1048eb743..0ed05d4166 100644 --- a/packages/contentstack-migration/src/utils/error-helper.js +++ b/packages/contentstack-migration/src/utils/error-helper.js @@ -1,8 +1,9 @@ const { highlight } = require('cardinal'); const { keys } = Object; const chalk = require('chalk'); -const isEmpty = require('lodash/isEmpty') - +const isEmpty = require('lodash/isEmpty'); +const MigrationLogger = require('./migration-logger'); +const fs = require('fs'); const { readFile } = require('./fs-helper'); const groupBy = require('./group-by'); @@ -19,43 +20,86 @@ const getLineWithContext = (lines, lineNumber, context) => { }; }; -module.exports = (errors) => { +function removeSpecialCharacter(str) { + return str.replace(/\u001b\[\d+m/g, ''); +} + +module.exports = (errors, filePath) => { + const logger = new MigrationLogger(process.cwd()); + const errorsByFile = groupBy(errors, 'file'); const messages = []; - for (const file of keys(errorsByFile)) { - const fileContents = readFile(file); - const highlightedCode = highlight(fileContents, { linenos: true }); - const lines = highlightedCode.split('\n'); - - const fileErrorsMessage = chalk`{red Errors in ${file}}\n\n`; - const errorMessages = errorsByFile[file] - .map((error) => { - const callsite = error.meta.callsite; - const context = 2; - const { before, line, after } = getLineWithContext(lines, callsite.line, context); - - const beforeLines = before.map((_line) => chalk`${_line}\n`); - const afterLines = after.map((_line) => chalk`${_line}\n`); - const highlightedLine = chalk`{bold ${line}}\n`; - - const formattedCode = beforeLines + highlightedLine + afterLines; - if (error.payload.apiError) { - return chalk`{red Line ${String(callsite.line)}:} {bold ${error.payload.apiError.message}}\n${formattedCode}`; - } - if (error.message) { - return chalk`{red Line ${String(callsite.line)}:} {bold ${error.message}}\n${formattedCode}`; - } - return chalk`{red Line ${String(callsite.line)}:} {bold something went wrong here.}\n${formattedCode}`; - }) - .join('\n'); - - messages.push(`${fileErrorsMessage}${errorMessages}`); - } - if (isEmpty(messages) && errors !== undefined && isEmpty(errorsByFile)) { - console.error('Migration error---', errors); + if (filePath) { + if (errors.request) { + errors.data = errors.request?.data; + delete errors.request; + } + if (errors.message) { + delete errors.message; + } + logger.log('error', { [filePath]: errors }); } else { - console.log(messages.join('\n')); + for (const file of keys(errorsByFile)) { + const errorLogs = {}; + errorLogs[file] = {}; + const fileContents = readFile(file); + const highlightedCode = highlight(fileContents, { linenos: true }); + const lines = highlightedCode.split('\n'); + + const fileErrorsMessage = chalk`{red Errors in ${file}}\n\n`; + errorLogs[file].fileErrorsMessage = fileErrorsMessage.replace(/\u001b\[\d+m/g, ''); + const errorMessages = errorsByFile[file] + .map((error) => { + const callsite = error.meta.callsite; + const context = 2; + let { before, line, after } = getLineWithContext(lines, callsite.line, context); + + const beforeLines = before.map((_line) => chalk`${_line}\n`); + const afterLines = after.map((_line) => chalk`${_line}\n`); + const highlightedLine = chalk`{bold ${line}}\n`; + + before = removeSpecialCharacter(before.join('\n')); + after = removeSpecialCharacter(after.join('\n')); + line = removeSpecialCharacter(line); + errorLogs[file].lines = { before, line, after }; + if (error.request) { + error.data = error.request?.data; + delete error.request; + } + if (error.message) { + delete error.message; + } + const formattedCode = beforeLines + highlightedLine + afterLines; + if (error.payload?.apiError) { + errorLogs[file].apiError = true; + errorLogs[file].errorCode = error.payload.apiError.errorCode; + errorLogs[file].errors = error.payload.apiError.errors; + errorLogs[file].data = error.data; + } + if (error.message && !error.payload.apiError) { + errorLogs[file].apiError = false; + errorLogs[file].error = error.message; + } + }) + .join('\n'); + + messages.push(`${fileErrorsMessage}${errorMessages}`); + logger.log('error', errorLogs); + } + if (errors?.request) { + errors.data = errors.request?.data; + delete errors.request; + } + if (errors?.message) { + delete errors.message; + } + if (isEmpty(messages) && errors !== undefined && isEmpty(errorsByFile)) { + logger.log('error', { errors: errors }); + console.log(chalk`{bold.red Migration unsuccessful}`); + } else { + logger.log('error', { error: messages.join('\n') }); + } } // eslint-disable-next-line - console.log(chalk`{bold.red Migration unsuccessful}`); + // console.log(chalk`{bold.red Migration unsuccessful}`); }; diff --git a/packages/contentstack-migration/src/utils/index.js b/packages/contentstack-migration/src/utils/index.js index dd3ea9763a..18553758e4 100644 --- a/packages/contentstack-migration/src/utils/index.js +++ b/packages/contentstack-migration/src/utils/index.js @@ -11,7 +11,6 @@ module.exports = { safePromise: require('./safe-promise'), getConfig: require('./get-config'), successHandler: require('./success-handler'), - errorHandler: require('./error-handler'), getCallsite: require('./callsite'), errorHelper: require('./error-helper'), groupBy: require('./group-by'), diff --git a/packages/contentstack-migration/src/utils/logger.js b/packages/contentstack-migration/src/utils/logger.js index f2c1ea57dc..d6f96953c1 100644 --- a/packages/contentstack-migration/src/utils/logger.js +++ b/packages/contentstack-migration/src/utils/logger.js @@ -36,7 +36,7 @@ function init(logFileName) { const logPath = pathValidator(join(logsDir, logFileName + '.log')); const logger = createLogger({ format: combine(colorize(), label({ label: 'Migration' }), customFormat), - transports: [new transports.File({ filename: logPath }), new transports.Console()], + transports: [new transports.File({ filename: logPath })], }); let args; @@ -54,9 +54,9 @@ function init(logFileName) { logString && logger.log('warn', logString); }, error: function () { - args = slice.call(arguments); - logString = getString(args); - logString && logger.log('error', logString); + // args = slice.call(arguments); + // logString = getString(args); + // logString && logger.log('error', logString); }, debug: function () { args = slice.call(arguments); diff --git a/packages/contentstack-migration/src/utils/migration-logger.js b/packages/contentstack-migration/src/utils/migration-logger.js new file mode 100644 index 0000000000..0417f1e637 --- /dev/null +++ b/packages/contentstack-migration/src/utils/migration-logger.js @@ -0,0 +1,20 @@ +const winston = require('winston'); +const path = require('path'); +module.exports = class MigrationLogger { + constructor(filePath) { + this.filePath = path.join(filePath, 'migration-logs'); + this.logger = winston.createLogger({ + levels: { error: 1 }, + transports: [ + new winston.transports.File({ + level: 'error', + filename: path.join(this.filePath, 'error.logs'), + format: winston.format.combine(winston.format.timestamp(), winston.format.json()), + }), + ], + }); + } + log(level, message) { + this.logger.log('error', message); + } +}; diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index 1e2909f3b6..3055cdd812 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.3", + "@contentstack/cli-cm-import": "~1.15.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.6.0", "inquirer": "8.2.4", @@ -73,4 +73,4 @@ "version": "oclif readme && git add README.md", "clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo" } -} +} \ No newline at end of file diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index ff5a803002..ea37096f22 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.1", + "version": "1.17.0", "author": "Contentstack", "bin": { "csdx": "./bin/run" @@ -22,27 +22,27 @@ "prepack": "pnpm compile && oclif manifest && oclif readme" }, "dependencies": { - "@contentstack/cli-audit": "~1.5.0", + "@contentstack/cli-audit": "~1.5.1", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.9.0", - "@contentstack/cli-cm-branches": "~1.0.23", + "@contentstack/cli-cm-branches": "~1.0.24", "@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.3", + "@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.16", - "@contentstack/cli-migration": "~1.5.0", + "@contentstack/cli-launch": "~1.0.17", + "@contentstack/cli-migration": "~1.5.2", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", "@oclif/core": "^2.9.3", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.4.0", - "@oclif/plugin-plugins": "^4.1.9", + "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", "debug": "^4.1.1", "figlet": "^1.5.2", @@ -160,4 +160,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7a77d15088..40adc2b418 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,27 +10,27 @@ importers: packages/contentstack: specifiers: - '@contentstack/cli-audit': ~1.5.0 + '@contentstack/cli-audit': ~1.5.1 '@contentstack/cli-auth': ~1.3.17 '@contentstack/cli-cm-bootstrap': ~1.9.0 - '@contentstack/cli-cm-branches': ~1.0.23 + '@contentstack/cli-cm-branches': ~1.0.24 '@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.3 + '@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.16 - '@contentstack/cli-migration': ~1.5.0 + '@contentstack/cli-launch': ~1.0.17 + '@contentstack/cli-migration': ~1.5.2 '@contentstack/cli-utilities': ~1.6.0 '@contentstack/management': ~1.15.3 '@oclif/core': ^2.9.3 '@oclif/plugin-help': ^5 '@oclif/plugin-not-found': ^2.4.0 - '@oclif/plugin-plugins': ^4.1.9 + '@oclif/plugin-plugins': ^5.0.0 '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 @@ -84,7 +84,7 @@ importers: '@oclif/core': 2.15.0_ogreqof3k35xezedraj6pnd45y '@oclif/plugin-help': 5.2.20_ogreqof3k35xezedraj6pnd45y '@oclif/plugin-not-found': 2.4.3_ogreqof3k35xezedraj6pnd45y - '@oclif/plugin-plugins': 4.2.5 + '@oclif/plugin-plugins': 5.0.0 chalk: 4.1.2 debug: 4.3.4 figlet: 1.7.0 @@ -125,7 +125,7 @@ importers: '@contentstack/cli-dev-dependencies': ^1.2.4 '@contentstack/cli-utilities': ~1.6.0 '@oclif/plugin-help': ^5 - '@oclif/plugin-plugins': ^4.1.9 + '@oclif/plugin-plugins': ^5.0.0 '@oclif/test': ^2.5.6 '@types/chai': ^4.3.5 '@types/fs-extra': ^11.0.2 @@ -155,7 +155,7 @@ importers: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities '@oclif/plugin-help': 5.2.20_aehgi7jjmmj3bt4higstlibq6i - '@oclif/plugin-plugins': 4.2.5 + '@oclif/plugin-plugins': 5.0.0 chalk: 4.1.2 fast-csv: 4.3.6 fs-extra: 11.2.0 @@ -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 @@ -268,7 +268,7 @@ importers: nyc: ^15.1.0 oclif: ^3.8.1 rimraf: ^2.7.1 - tar: ^6.1.13 + tar: '^6.2.1 ' tmp: ^0.2.2 ts-node: ^8.10.2 typescript: ^4.9.3 @@ -278,7 +278,7 @@ importers: '@contentstack/cli-utilities': link:../contentstack-utilities inquirer: 8.2.4 mkdirp: 1.0.4 - tar: 6.2.0 + tar: 6.2.1 devDependencies: '@oclif/test': 2.5.6_ogreqof3k35xezedraj6pnd45y '@types/inquirer': 9.0.7 @@ -424,7 +424,7 @@ importers: specifiers: '@colors/colors': ^1.5.0 '@contentstack/cli-cm-export': ~1.11.1 - '@contentstack/cli-cm-import': ~1.14.3 + '@contentstack/cli-cm-import': ~1.15.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.6.0 '@oclif/test': ^2.5.6 @@ -730,7 +730,7 @@ importers: packages/contentstack-import: specifiers: - '@contentstack/cli-audit': ~1.5.0 + '@contentstack/cli-audit': ~1.5.1 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.6.0 '@contentstack/management': ~1.15.3 @@ -744,7 +744,7 @@ importers: '@types/mocha': ^8.2.2 '@types/node': ^14.14.32 '@types/sinon': ^10.0.2 - '@types/tar': ^4.0.3 + '@types/tar': ^6.1.3 '@types/uuid': ^9.0.7 '@typescript-eslint/eslint-plugin': ^5.48.2 big-json: ^3.2.0 @@ -801,7 +801,7 @@ importers: '@types/mocha': 8.2.3 '@types/node': 14.18.63 '@types/sinon': 10.0.20 - '@types/tar': 4.0.5 + '@types/tar': 6.1.11 '@types/uuid': 9.0.8 '@typescript-eslint/eslint-plugin': 5.62.0_7sjm5uif3lrlodkmlzqsvrpzla chai: 4.4.1 @@ -824,7 +824,7 @@ importers: '@contentstack/cli-utilities': ~1.6.0 '@oclif/core': ^2.9.3 '@oclif/plugin-help': ^5 - '@oclif/plugin-plugins': ^4.1.9 + '@oclif/plugin-plugins': ^5.0.0 '@oclif/test': ^2.5.6 '@types/adm-zip': ^0.5.0 '@types/chai': ^4 @@ -861,7 +861,7 @@ importers: '@contentstack/cli-utilities': link:../contentstack-utilities '@oclif/core': 2.15.0_tbzrbt2nhw7xmxhsqkafp6cliu '@oclif/plugin-help': 5.2.20_tbzrbt2nhw7xmxhsqkafp6cliu - '@oclif/plugin-plugins': 4.2.5 + '@oclif/plugin-plugins': 5.0.0 '@types/express': 4.17.21 '@types/express-serve-static-core': 4.17.43 adm-zip: 0.5.10 @@ -990,7 +990,7 @@ importers: packages/contentstack-seed: specifiers: - '@contentstack/cli-cm-import': ~1.14.3 + '@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 @@ -2651,8 +2651,8 @@ packages: - '@types/node' - typescript - /@oclif/core/3.19.5: - resolution: {integrity: sha512-banrxfcaWo0/xEk9LfDLt+jV+4+tR7bUBFRFXPIA9AAjikRWGV+mpSN5M3UvoaZM6aj4q5mZN7bhegxTzQcDtQ==} + /@oclif/core/3.26.0: + resolution: {integrity: sha512-TpMdfD4tfA2tVVbd4l0PrP02o5KoUXYmudBbTC7CeguDo/GLoprw4uL8cMsaVA26+cbcy7WYtOEydQiHVtJixA==} engines: {node: '>=18.0.0'} dependencies: '@types/cli-progress': 3.11.5 @@ -2671,6 +2671,7 @@ packages: indent-string: 4.0.0 is-wsl: 2.2.0 js-yaml: 3.14.1 + minimatch: 9.0.3 natural-orderby: 2.0.3 object-treeify: 1.1.33 password-prompt: 1.1.3 @@ -2810,19 +2811,18 @@ packages: - typescript dev: true - /@oclif/plugin-plugins/4.2.5: - resolution: {integrity: sha512-BnTXuoqG519WIhBd1y+GERq4LdB75cjiD+mN2/xS8mhnQbMxcPahnTWB8l5dhk+CXTkRv6q5nL/ovdRqHkZJHg==} + /@oclif/plugin-plugins/5.0.0: + resolution: {integrity: sha512-7pLNMoFr8rUToEpku7AlsaRSyjQajrUABHshbY7CPcAuDtKibwbD+msM47JuLM5aa7u2MV7Lw15nX8f+oj06fA==} engines: {node: '>=18.0.0'} dependencies: - '@oclif/core': 3.19.5 + '@oclif/core': 3.26.0 chalk: 5.3.0 debug: 4.3.4 - npm: 10.2.4 - npm-run-path: 4.0.1 + npm: 10.5.0 + npm-package-arg: 11.0.1 + npm-run-path: 5.3.0 semver: 7.6.0 - shelljs: 0.8.5 validate-npm-package-name: 5.0.0 - yarn: 1.22.21 transitivePeerDependencies: - supports-color dev: false @@ -3583,13 +3583,6 @@ packages: resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} dev: true - /@types/minipass/3.3.5: - resolution: {integrity: sha512-M2BLHQdEmDmH671h0GIlOQQJrgezd1vNqq7PVj1VOsHZ2uQQb4iPiQIl0SlMdhxZPUsLIfEklmeEHXg8DJRewA==} - deprecated: This is a stub types definition. minipass provides its own type definitions, so you do not need this installed. - dependencies: - minipass: 7.0.4 - dev: true - /@types/mkdirp/1.0.2: resolution: {integrity: sha512-o0K1tSO0Dx5X6xlU5F1D6625FawhC3dU3iqr25lluNv/+/QIVH8RLNEiVokgIZo+mz+87w/3Mkg/VvQS+J51fQ==} dependencies: @@ -3686,13 +3679,6 @@ packages: resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} dev: true - /@types/tar/4.0.5: - resolution: {integrity: sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==} - dependencies: - '@types/minipass': 3.3.5 - '@types/node': 20.11.20 - dev: true - /@types/tar/6.1.11: resolution: {integrity: sha512-ThA1WD8aDdVU4VLuyq5NEqriwXErF5gEIJeyT6gHBWU7JtSmW2a5qjNv3/vR82O20mW+1vhmeZJfBQPT3HCugg==} dependencies: @@ -5003,7 +4989,7 @@ packages: promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 8.0.1 - tar: 6.2.0 + tar: 6.2.1 unique-filename: 1.1.1 transitivePeerDependencies: - bluebird @@ -5029,7 +5015,7 @@ packages: promise-inflight: 1.0.1_bluebird@3.7.2 rimraf: 3.0.2 ssri: 8.0.1 - tar: 6.2.0 + tar: 6.2.1 unique-filename: 1.1.1 transitivePeerDependencies: - bluebird @@ -5055,7 +5041,7 @@ packages: promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 9.0.1 - tar: 6.2.0 + tar: 6.2.1 unique-filename: 2.0.1 transitivePeerDependencies: - bluebird @@ -5081,7 +5067,7 @@ packages: promise-inflight: 1.0.1_bluebird@3.7.2 rimraf: 3.0.2 ssri: 9.0.1 - tar: 6.2.0 + tar: 6.2.1 unique-filename: 2.0.1 transitivePeerDependencies: - bluebird @@ -5101,7 +5087,7 @@ packages: minipass-pipeline: 1.2.4 p-map: 4.0.0 ssri: 10.0.5 - tar: 6.2.0 + tar: 6.2.1 unique-filename: 3.0.0 dev: true @@ -8026,6 +8012,13 @@ packages: lru-cache: 7.18.3 dev: true + /hosted-git-info/7.0.1: + resolution: {integrity: sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + lru-cache: 10.2.0 + dev: false + /html-encoding-sniffer/3.0.0: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} @@ -8316,6 +8309,7 @@ packages: /interpret/1.4.0: resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} engines: {node: '>= 0.10'} + dev: true /into-stream/5.1.1: resolution: {integrity: sha512-krrAJ7McQxGGmvaYbB7Q1mcA+cRwg9Ij2RfWIeVesNBgVDZmzY/Fa4IpZUT3bmdRzMzdf/mzltCG2Dq99IZGBA==} @@ -10600,7 +10594,7 @@ packages: npmlog: 6.0.2 rimraf: 3.0.2 semver: 7.6.0 - tar: 6.2.0 + tar: 6.2.1 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -10620,7 +10614,7 @@ packages: npmlog: 6.0.2 rimraf: 3.0.2 semver: 7.6.0 - tar: 6.2.0 + tar: 6.2.1 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -10641,7 +10635,7 @@ packages: npmlog: 6.0.2 rimraf: 3.0.2 semver: 7.6.0 - tar: 6.2.0 + tar: 6.2.1 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -10662,7 +10656,7 @@ packages: npmlog: 6.0.2 rimraf: 3.0.2 semver: 7.6.0 - tar: 6.2.0 + tar: 6.2.1 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -10794,6 +10788,16 @@ packages: validate-npm-package-name: 5.0.0 dev: true + /npm-package-arg/11.0.1: + resolution: {integrity: sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + hosted-git-info: 7.0.1 + proc-log: 3.0.0 + semver: 7.6.0 + validate-npm-package-name: 5.0.0 + dev: false + /npm-package-arg/8.1.5: resolution: {integrity: sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==} engines: {node: '>=10'} @@ -10890,9 +10894,17 @@ packages: engines: {node: '>=8'} dependencies: path-key: 3.1.1 + dev: true - /npm/10.2.4: - resolution: {integrity: sha512-umEuYneVEYO9KoEEI8n2sSGmNQeqco/3BSeacRlqIkCzw4E7XGtYSWMeJobxzr6hZ2n9cM+u5TsMTcC5bAgoWA==} + /npm-run-path/5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + path-key: 4.0.0 + dev: false + + /npm/10.5.0: + resolution: {integrity: sha512-Ejxwvfh9YnWVU2yA5FzoYLTW52vxHCz+MHrOFg9Cc8IFgF/6f5AGPAvb5WTay5DIUP1NIfN3VBZ0cLlGO0Ys+A==} engines: {node: ^18.17.0 || >=20.5.0} hasBin: true dev: false @@ -10959,7 +10971,6 @@ packages: - semver - spdx-expression-parse - ssri - - strip-ansi - supports-color - tar - text-table @@ -11578,7 +11589,7 @@ packages: read-package-json-fast: 2.0.3 rimraf: 3.0.2 ssri: 8.0.1 - tar: 6.2.0 + tar: 6.2.1 transitivePeerDependencies: - bluebird - supports-color @@ -11607,7 +11618,7 @@ packages: read-package-json-fast: 2.0.3 rimraf: 3.0.2 ssri: 8.0.1 - tar: 6.2.0 + tar: 6.2.1 transitivePeerDependencies: - bluebird - supports-color @@ -11635,7 +11646,7 @@ packages: read-package-json-fast: 3.0.2 sigstore: 1.9.0 ssri: 10.0.5 - tar: 6.2.0 + tar: 6.2.1 transitivePeerDependencies: - bluebird - supports-color @@ -11663,7 +11674,7 @@ packages: read-package-json-fast: 3.0.2 sigstore: 1.9.0 ssri: 10.0.5 - tar: 6.2.0 + tar: 6.2.1 transitivePeerDependencies: - bluebird - supports-color @@ -11738,6 +11749,11 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + /path-key/4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + dev: false + /path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -11874,7 +11890,6 @@ packages: /proc-log/3.0.0: resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true /process-nextick-args/2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} @@ -12219,6 +12234,7 @@ packages: engines: {node: '>= 0.10'} dependencies: resolve: 1.22.8 + dev: true /redeyed/2.1.1: resolution: {integrity: sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==} @@ -12633,6 +12649,7 @@ packages: glob: 7.2.3 interpret: 1.4.0 rechoir: 0.6.2 + dev: true /short-uuid/4.2.2: resolution: {integrity: sha512-IE7hDSGV2U/VZoCsjctKX6l5t5ak2jE0+aeGJi3KtvjIUNuZVmHVYUjNBhmo369FIWGDtaieRaO8A83Lvwfpqw==} @@ -13155,6 +13172,18 @@ packages: minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 + dev: false + + /tar/6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} + engines: {node: '>=10'} + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 5.0.0 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 /temp-path/1.0.0: resolution: {integrity: sha512-TvmyH7kC6ZVTYkqCODjJIbgvu0FKiwQpZ4D1aknE7xpcDf/qEOB8KZEK5ef2pfbVoiBhNWs3yx4y+ESMtNYmlg==} @@ -14322,13 +14351,6 @@ packages: yargs-parser: 21.1.1 dev: true - /yarn/1.22.21: - resolution: {integrity: sha512-ynXaJsADJ9JiZ84zU25XkPGOvVMmZ5b7tmTSpKURYwgELdjucAOydqIOrOfTxVYcNXe91xvLZwcRh68SR3liCg==} - engines: {node: '>=4.0.0'} - hasBin: true - requiresBuild: true - dev: false - /yeoman-environment/3.19.3: resolution: {integrity: sha512-/+ODrTUHtlDPRH9qIC0JREH8+7nsRcjDl3Bxn2Xo/rvAaVvixH5275jHwg0C85g4QsF4P6M2ojfScPPAl+pLAg==} engines: {node: '>=12.10.0'}