diff --git a/package-lock.json b/package-lock.json index 96fcaad2e7..31835dcd31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,9 +33,9 @@ } }, "node_modules/@apollo/client": { - "version": "3.11.8", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.8.tgz", - "integrity": "sha512-CgG1wbtMjsV2pRGe/eYITmV5B8lXUCYljB2gB/6jWTFQcrvirUVvKg7qtFdjYkQSFbIffU1IDyxgeaN81eTjbA==", + "version": "3.11.9", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.9.tgz", + "integrity": "sha512-aQ6VL+CPO1G4DLS/3FelfA+nl+ZQCP5qeN1NS6J8xh9wumUM/2W1ccneqCYmbTMDtoSunxE1BV2W6u0FF4axwQ==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -852,9 +852,9 @@ } }, "node_modules/@contentstack/management": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.18.2.tgz", - "integrity": "sha512-1mu7Rhk072x4Js8RWaqnCZhdiWB7T4IGtID6kHoMSBbGaAUhlGYPoZUyTGjQjW7gQWYltpl1yGXJPRn1UmsLvg==", + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.18.3.tgz", + "integrity": "sha512-HXGH7EeK8ANasIJJhHK6qzeK0ozj64tT6RVwoFEKMeUhfAmhXOn5xQuiaipAJHzkHJSsxuWZNkPOql7I3J5rIw==", "license": "MIT", "dependencies": { "axios": "^1.7.4", @@ -881,18 +881,18 @@ } }, "node_modules/@contentstack/marketplace-sdk": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@contentstack/marketplace-sdk/-/marketplace-sdk-1.2.3.tgz", - "integrity": "sha512-6JEDEKkHfbKJttH0lBZcf+NnPzdk3PMcfxtsxV/wVq9zvD9Z+UPIXaLmrDX7XpDuMaqnqjdSxfBBB439nimCvQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@contentstack/marketplace-sdk/-/marketplace-sdk-1.2.4.tgz", + "integrity": "sha512-vD5GwbeMlrXmkIYfBaPeoM2umE9LCA3Cx+Jgv6V7EL4XEwvHIh4AsD8OYX+zVy++HLO0HFqwSMQPTrM0KKyd1g==", "license": "MIT", "dependencies": { "axios": "^1.7.4" } }, "node_modules/@contentstack/utils": { - "version": "1.3.12", - "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.12.tgz", - "integrity": "sha512-5aTE13faSPPToGHkRwQF3bGanOaNH3nxWnSsPXWCnItIwsIqPVIwdR4cd0NyZpMTajv+IYrrIVAeibGEgAyQrg==", + "version": "1.3.13", + "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.13.tgz", + "integrity": "sha512-Lp4UIHMdSxMjCmcK93L987Kxa/wnucRlR7CjVBMd1bD8auJSPFh7E3aP9fnvzjzSWockBRYbXkOq6KLojgXlPA==", "license": "MIT" }, "node_modules/@cspotcode/source-map-support": { @@ -3539,6 +3539,12 @@ "@types/node": "*" } }, + "node_modules/@types/glob-to-regexp": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@types/glob-to-regexp/-/glob-to-regexp-0.4.4.tgz", + "integrity": "sha512-nDKoaKJYbnn1MZxUY0cA1bPmmgZbg0cTq7Rh13d0KWYNOiKbqoR+2d89SnRPszGh7ROzSwZ/GOjZ4jPbmmZ6Eg==", + "license": "MIT" + }, "node_modules/@types/graceful-fs": { "version": "4.1.9", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", @@ -4185,6 +4191,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, "license": "MIT", "dependencies": { "event-target-shim": "^5.0.0" @@ -5567,9 +5574,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001678", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001678.tgz", - "integrity": "sha512-RR+4U/05gNtps58PEBDZcPWTgEO2MBeoPZ96aQcjmfkBWRIDfN451fW2qyDA9/+HohLLIL5GqiMwA+IB1pWarw==", + "version": "1.0.30001680", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", + "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", "dev": true, "funding": [ { @@ -6524,14 +6531,15 @@ } }, "node_modules/contentstack": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.22.0.tgz", - "integrity": "sha512-PpuWikNtmnhMxqM4aqunBy4z474N6050DQNC8S7lmQl0s1eU2UIvlyVgZHYhvgr5C5b/l9rGF7AS3h7IlhTDxA==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/contentstack/-/contentstack-3.22.1.tgz", + "integrity": "sha512-E2WiBbTw5vzHXy9KwxL4rcw2LrFaNl2KcvlPC3Tn4KEQoRsoKFx+/bFoq5tKwpuAcuch6M6IhA2Qkt1JS52gcA==", "license": "MIT", "dependencies": { "@contentstack/utils": "^1.3.12", "cheerio": "^1.0.0", - "es6-promise": "^4.1.1", + "es6-promise": "^4.2.8", + "fetch-mock": "^11.1.5", "isomorphic-fetch": "^3.0.0", "localStorage": "1.0.4", "qs": "^6.13.0" @@ -6606,9 +6614,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.4.tgz", - "integrity": "sha512-9KdyVPPtLHjPAD7tcuzSFs64UfHlLJt7U6qP4/bFVLyjLceyizj6s6jO6YBaV5d0G7g/9KnY/dOpLR4Rcg8YDg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", + "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", "license": "MIT", "dependencies": { "path-key": "^3.1.0", @@ -7065,6 +7073,15 @@ "dev": true, "license": "ISC" }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/destroy": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", @@ -7311,9 +7328,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.52", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.52.tgz", - "integrity": "sha512-xtoijJTZ+qeucLBDNztDOuQBE1ksqjvNjvqFoST3nGC7fSpqJ+X6BdTBaY5BHG+IhWWmpc6b/KfpeuEDupEPOQ==", + "version": "1.5.55", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.55.tgz", + "integrity": "sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==", "dev": true, "license": "ISC" }, @@ -8972,6 +8989,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -9290,6 +9308,27 @@ "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", "license": "MIT" }, + "node_modules/fetch-mock": { + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-11.1.5.tgz", + "integrity": "sha512-KHmZDnZ1ry0pCTrX4YG5DtThHi0MH+GNI9caESnzX/nMJBrvppUHMvLx47M0WY9oAtKOMiPfZDRpxhlHg89BOA==", + "license": "MIT", + "dependencies": { + "@types/glob-to-regexp": "^0.4.4", + "dequal": "^2.0.3", + "glob-to-regexp": "^0.4.1", + "is-subset": "^0.1.1", + "regexparam": "^3.0.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependenciesMeta": { + "node-fetch": { + "optional": true + } + } + }, "node_modules/figlet": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.8.0.tgz", @@ -10090,6 +10129,12 @@ "node": ">=10.13.0" } }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "license": "BSD-2-Clause" + }, "node_modules/glob/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -11983,6 +12028,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha512-6Ybun0IkarhmEqxXCNw/C0bna6Zb/TkfUX9UbwJtK6ObwAVCxmAP308WWTHviM/zAqXk05cdhYsUsZeGQh99iw==", + "license": "MIT" + }, "node_modules/is-symbol": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", @@ -14454,9 +14505,9 @@ } }, "node_modules/logform": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", - "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", "license": "MIT", "dependencies": { "@colors/colors": "1.6.0", @@ -15214,9 +15265,9 @@ "license": "MIT" }, "node_modules/mocha": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", - "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", "dev": true, "license": "MIT", "dependencies": { @@ -15517,9 +15568,9 @@ } }, "node_modules/nock": { - "version": "13.5.5", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", - "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.6.tgz", + "integrity": "sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==", "license": "MIT", "dependencies": { "debug": "^4.1.0", @@ -19566,9 +19617,9 @@ "license": "MIT" }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -21083,10 +21134,13 @@ } }, "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", - "license": "MIT" + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.10.0.tgz", + "integrity": "sha512-KSKHEbjAnpUuAUserOq0FxGXCUrzC3WniuSJhvdbs102rL55266ZcHBqLWOsG30spQMlPdpy7icATiAQehg/iA==", + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + } }, "node_modules/pump": { "version": "3.0.2", @@ -21796,6 +21850,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/regexparam": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-3.0.0.tgz", + "integrity": "sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/regexpp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", @@ -25116,110 +25179,41 @@ } }, "node_modules/winston": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.16.0.tgz", - "integrity": "sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz", + "integrity": "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==", "license": "MIT", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.6.0", + "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.7.0" + "winston-transport": "^4.9.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.8.0.tgz", - "integrity": "sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "license": "MIT", "dependencies": { - "logform": "^2.6.1", - "readable-stream": "^4.5.2", + "logform": "^2.7.0", + "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" }, "engines": { "node": ">= 12.0.0" } }, - "node_modules/winston-transport/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/winston-transport/node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/winston-transport/node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", - "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", - "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/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -26717,11 +26711,11 @@ "version": "1.29.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.7.2", + "@contentstack/cli-audit": "~1.7.3", "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-cm-bootstrap": "~1.13.0", "@contentstack/cli-cm-branches": "~1.2.0", - "@contentstack/cli-cm-bulk-publish": "~1.6.0", + "@contentstack/cli-cm-bulk-publish": "~1.7.0", "@contentstack/cli-cm-clone": "~1.13.0", "@contentstack/cli-cm-export": "~1.14.1", "@contentstack/cli-cm-export-to-csv": "~1.7.3", @@ -26734,7 +26728,7 @@ "@contentstack/cli-migration": "~1.6.3", "@contentstack/cli-utilities": "~1.8.0", "@contentstack/cli-variants": "~1.1.2", - "@contentstack/management": "~1.18.2", + "@contentstack/management": "~1.18.3", "@oclif/core": "^3.27.0", "@oclif/plugin-help": "^5", "@oclif/plugin-not-found": "^2.4.3", @@ -26747,13 +26741,13 @@ "open": "^8.4.2", "short-uuid": "^4.2.2", "uuid": "^9.0.1", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "bin": { "csdx": "bin/run.js" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", @@ -26765,8 +26759,8 @@ "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", - "mocha": "10.7.3", - "nock": "^13.5.5", + "mocha": "10.8.2", + "nock": "^13.5.6", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", @@ -26774,7 +26768,7 @@ "sinon": "^19.0.2", "tmp": "^0.2.3", "ts-node": "^10.9.2", - "tslib": "^2.8.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" }, "engines": { @@ -26783,43 +26777,43 @@ }, "packages/contentstack-audit": { "name": "@contentstack/cli-audit", - "version": "1.7.2", + "version": "1.7.3", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", - "@oclif/plugin-help": "^5", + "@oclif/plugin-help": "^5.2.20", "@oclif/plugin-plugins": "^5.4.15", "chalk": "^4.1.2", "fast-csv": "^4.3.6", "fs-extra": "^11.2.0", "lodash": "^4.17.21", "uuid": "^9.0.1", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "bin": { "audit": "bin/run.js" }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.9", - "@types/node": "^20.16.14", + "@types/node": "^20.17.6", "@types/uuid": "^9.0.8", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.1.12", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", - "oclif": "^3", + "oclif": "^3.17.2", "shx": "^0.3.4", "sinon": "^19.0.2", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", - "tslib": "^2.8.0", + "tslib": "^2.8.1", "typescript": "^5.6.3" }, "engines": { @@ -26867,12 +26861,12 @@ "chalk": "^4.1.2", "debug": "^4.3.7", "inquirer": "8.2.6", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "devDependencies": { "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.8", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", @@ -26898,6 +26892,25 @@ "node": ">=14.0.0" } }, + "packages/contentstack-auth/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "packages/contentstack-auth/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, "packages/contentstack-auth/node_modules/confusing-browser-globals": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", @@ -27010,96 +27023,215 @@ "eslint": ">=8.44.0" } }, - "packages/contentstack-bootstrap": { - "name": "@contentstack/cli-cm-bootstrap", - "version": "1.13.0", - "license": "MIT", + "packages/contentstack-auth/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", "dependencies": { - "@contentstack/cli-cm-seed": "~1.10.0", - "@contentstack/cli-command": "~1.3.2", - "@contentstack/cli-utilities": "~1.8.0", - "inquirer": "8.2.6", - "mkdirp": "^1.0.4", - "tar": "^6.2.1 " - }, - "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/inquirer": "^9.0.7", - "@types/mkdirp": "^1.0.2", - "@types/node": "^14.18.63", - "@types/tar": "^6.1.13", - "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.12", - "globby": "^10.0.2", - "mocha": "10.7.3", - "nyc": "^15.1.0", - "oclif": "^3.17.2", - "rimraf": "^2.7.1", - "tmp": "^0.2.3", - "ts-node": "^8.10.2", - "typescript": "^4.9.5" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "packages/contentstack-bootstrap/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "packages/contentstack-auth/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "packages/contentstack-bootstrap/node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "packages/contentstack-auth/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, "license": "MIT", "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/contentstack-bootstrap/node_modules/ts-node": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz", - "integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==", + "packages/contentstack-auth/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "arg": "^4.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=6.0.0" - }, - "peerDependencies": { - "typescript": ">=2.7" + "node": ">=10" } }, - "packages/contentstack-branches": { - "name": "@contentstack/cli-cm-branches", - "version": "1.2.0", + "packages/contentstack-auth/node_modules/mocha": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", + "dev": true, "license": "MIT", "dependencies": { - "@contentstack/cli-command": "~1.3.2", - "@contentstack/cli-utilities": "~1.8.0", - "@oclif/core": "^3.27.0", + "ansi-colors": "^4.1.3", + "browser-stdout": "^1.3.1", + "chokidar": "^3.5.3", + "debug": "^4.3.5", + "diff": "^5.2.0", + "escape-string-regexp": "^4.0.0", + "find-up": "^5.0.0", + "glob": "^8.1.0", + "he": "^1.2.0", + "js-yaml": "^4.1.0", + "log-symbols": "^4.1.0", + "minimatch": "^5.1.6", + "ms": "^2.1.3", + "serialize-javascript": "^6.0.2", + "strip-json-comments": "^3.1.1", + "supports-color": "^8.1.1", + "workerpool": "^6.5.1", + "yargs": "^16.2.0", + "yargs-parser": "^20.2.9", + "yargs-unparser": "^2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "packages/contentstack-auth/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/contentstack-bootstrap": { + "name": "@contentstack/cli-cm-bootstrap", + "version": "1.13.0", + "license": "MIT", + "dependencies": { + "@contentstack/cli-cm-seed": "~1.10.0", + "@contentstack/cli-command": "~1.3.2", + "@contentstack/cli-utilities": "~1.8.0", + "inquirer": "8.2.6", + "mkdirp": "^1.0.4", + "tar": "^6.2.1 " + }, + "devDependencies": { + "@oclif/test": "^4.1.0", + "@types/inquirer": "^9.0.7", + "@types/mkdirp": "^1.0.2", + "@types/node": "^14.18.63", + "@types/tar": "^6.1.13", + "chai": "^4.5.0", + "eslint": "^8.57.1", + "eslint-config-oclif": "^4.0.0", + "eslint-config-oclif-typescript": "^3.1.12", + "globby": "^10.0.2", + "mocha": "10.8.2", + "nyc": "^15.1.0", + "oclif": "^3.17.2", + "rimraf": "^2.7.1", + "tmp": "^0.2.3", + "ts-node": "^8.10.2", + "typescript": "^4.9.5" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/contentstack-bootstrap/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "packages/contentstack-bootstrap/node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "packages/contentstack-bootstrap/node_modules/ts-node": { + "version": "8.10.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz", + "integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "packages/contentstack-branches": { + "name": "@contentstack/cli-cm-branches", + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "@contentstack/cli-command": "~1.3.2", + "@contentstack/cli-utilities": "~1.8.0", + "@oclif/core": "^3.27.0", "async": "^3.2.6", "big-json": "^3.2.0", "bluebird": "^3.7.2", @@ -27113,15 +27245,15 @@ "progress-stream": "^2.0.0", "promise-limit": "^2.7.0", "proxyquire": "^2.1.3", - "tslib": "^2.8.0", - "winston": "^3.15.0" + "tslib": "^2.8.1", + "winston": "^3.16.0" }, "devDependencies": { "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-config": "~1.8.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/flat": "^5.0.5", "assert": "^2.1.0", "chai": "^4.5.0", @@ -27141,9 +27273,147 @@ "node": ">=14.0.0" } }, + "packages/contentstack-branches/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "packages/contentstack-branches/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "packages/contentstack-branches/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/contentstack-branches/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/contentstack-branches/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/contentstack-branches/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/contentstack-branches/node_modules/mocha": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "^4.1.3", + "browser-stdout": "^1.3.1", + "chokidar": "^3.5.3", + "debug": "^4.3.5", + "diff": "^5.2.0", + "escape-string-regexp": "^4.0.0", + "find-up": "^5.0.0", + "glob": "^8.1.0", + "he": "^1.2.0", + "js-yaml": "^4.1.0", + "log-symbols": "^4.1.0", + "minimatch": "^5.1.6", + "ms": "^2.1.3", + "serialize-javascript": "^6.0.2", + "strip-json-comments": "^3.1.1", + "supports-color": "^8.1.1", + "workerpool": "^6.5.1", + "yargs": "^16.2.0", + "yargs-parser": "^20.2.9", + "yargs-unparser": "^2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "packages/contentstack-branches/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, "packages/contentstack-bulk-publish": { "name": "@contentstack/cli-cm-bulk-publish", - "version": "1.6.0", + "version": "1.7.0", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.3.2", @@ -27155,15 +27425,15 @@ "lodash": "^4.17.21", "mkdirp": "^1.0.4", "nock": "^13.5.5", - "winston": "^3.15.0" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "tslib": "^1.14.1" @@ -27190,7 +27460,7 @@ "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", "async": "^3.2.6", - "chalk": "^4.1.0", + "chalk": "^4.1.2", "child_process": "^1.0.2", "fancy-test": "^1.4.10", "inquirer": "8.2.6", @@ -27199,16 +27469,16 @@ "ora": "^5.4.1", "prompt": "^1.3.0", "rimraf": "^5.0.10", - "winston": "^3.14.2" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", "jest": "^29.7.0", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "sinon": "^19.0.2" @@ -27271,297 +27541,62 @@ "glob": "^10.3.7" }, "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "packages/contentstack-clone/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "packages/contentstack-command": { - "name": "@contentstack/cli-command", - "version": "1.3.2", - "license": "MIT", - "dependencies": { - "@contentstack/cli-utilities": "~1.8.0", - "contentstack": "^3.21.0" - }, - "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/chai": "^4.3.20", - "@types/mkdirp": "^1.0.2", - "@types/mocha": "^8.2.3", - "@types/node": "^14.18.63", - "@types/sinon": "^10.0.20", - "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", - "mocha": "10.1.0", - "nyc": "^15.1.0", - "rimraf": "^2.7.1", - "sinon": "^19.0.2", - "ts-node": "^8.10.2", - "typescript": "^4.9.5" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "packages/contentstack-command/node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "packages/contentstack-command/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "license": "Python-2.0" - }, - "packages/contentstack-command/node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "packages/contentstack-command/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "packages/contentstack-command/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "packages/contentstack-command/node_modules/debug/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true, - "license": "MIT" - }, - "packages/contentstack-command/node_modules/diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "packages/contentstack-command/node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "packages/contentstack-command/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "packages/contentstack-command/node_modules/glob/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==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "packages/contentstack-command/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "packages/contentstack-command/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "packages/contentstack-command/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" + "rimraf": "dist/esm/bin.mjs" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "packages/contentstack-command/node_modules/minimatch": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", - "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", - "dev": true, + "packages/contentstack-clone/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "packages/contentstack-command/node_modules/mocha": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz", - "integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==", - "dev": true, + "packages/contentstack-command": { + "name": "@contentstack/cli-command", + "version": "1.3.2", "license": "MIT", "dependencies": { - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.3", - "debug": "4.3.4", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.2.0", - "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "5.0.1", - "ms": "2.1.3", - "nanoid": "3.3.3", - "serialize-javascript": "6.0.0", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "workerpool": "6.2.1", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" + "@contentstack/cli-utilities": "~1.8.0", + "contentstack": "^3.22.1" }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha.js" + "devDependencies": { + "@oclif/test": "^4.1.0", + "@types/chai": "^4.3.20", + "@types/mkdirp": "^1.0.2", + "@types/mocha": "^8.2.3", + "@types/node": "^14.18.63", + "@types/sinon": "^10.0.20", + "chai": "^4.5.0", + "eslint": "^8.57.1", + "eslint-config-oclif": "^4.0.0", + "eslint-config-oclif-typescript": "^3.1.12", + "mocha": "10.8.2", + "nyc": "^15.1.0", + "rimraf": "^2.7.1", + "sinon": "^19.0.2", + "ts-node": "^8.10.2", + "typescript": "^4.9.5" }, "engines": { - "node": ">= 14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" + "node": ">=14.0.0" } }, - "packages/contentstack-command/node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "packages/contentstack-command/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, "license": "BSD-3-Clause", - "dependencies": { - "randombytes": "^2.1.0" + "engines": { + "node": ">=0.3.1" } }, "packages/contentstack-command/node_modules/source-map-support": { @@ -27601,52 +27636,6 @@ "typescript": ">=2.7" } }, - "packages/contentstack-command/node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "packages/contentstack-command/node_modules/workerpool": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", - "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", - "dev": true, - "license": "Apache-2.0" - }, - "packages/contentstack-command/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "packages/contentstack-command/node_modules/yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "packages/contentstack-config": { "name": "@contentstack/cli-config", "version": "1.8.0", @@ -27659,10 +27648,10 @@ "inquirer": "8.2.6", "lodash": "^4.17.21", "mkdirp": "^1.0.4", - "winston": "^3.14.2" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", @@ -27672,9 +27661,9 @@ "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", + "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", - "mocha": "10.7.3", + "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", @@ -27693,16 +27682,16 @@ "license": "MIT", "dependencies": { "@oclif/core": "^3.27.0", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "fancy-test": "^2.0.42", "lodash": "^4.17.21" }, "devDependencies": { "@types/node": "^14.18.63", "eslint": "^7.32.0", - "mocha": "10.7.3", + "mocha": "10.8.2", "ts-node": "^10.9.2", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" } }, @@ -28006,16 +27995,16 @@ "progress-stream": "^2.0.0", "promise-limit": "^2.7.0", "proxyquire": "^2.1.3", - "tslib": "^2.7.0", - "winston": "^3.14.2" + "tslib": "^2.8.1", + "winston": "^3.16.0" }, "devDependencies": { "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-config": "~1.8.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.9", - "@types/big-json": "^3.2.4", + "@oclif/test": "^4.1.0", + "@types/big-json": "^3.2.5", "@types/mkdirp": "^1.0.2", "@types/progress-stream": "^2.0.5", "assert": "^2.1.0", @@ -28025,7 +28014,7 @@ "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "10.7.3", + "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "sinon": "^19.0.2", @@ -28050,16 +28039,16 @@ "mkdirp": "^3.0.1" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", - "@types/mocha": "^10.0.8", + "@types/mocha": "^10.0.9", "chai": "^4.5.0", "debug": "^4.3.7", "dotenv": "^16.4.5", "eslint": "^7.32.0", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2" }, @@ -28353,11 +28342,11 @@ "version": "1.19.2", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.7.2", + "@contentstack/cli-audit": "~1.7.3", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", "@contentstack/cli-variants": "~1.1.2", - "@contentstack/management": "~1.18.1", + "@contentstack/management": "~1.18.3", "@oclif/core": "^3.27.0", "big-json": "^3.2.0", "bluebird": "^3.7.2", @@ -28369,13 +28358,13 @@ "merge": "^2.1.1", "mkdirp": "^1.0.4", "promise-limit": "^2.7.0", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "uuid": "^9.0.1", - "winston": "^3.14.2" + "winston": "^3.17.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/big-json": "^3.2.4", + "@oclif/test": "^4.1.0", + "@types/big-json": "^3.2.5", "@types/bluebird": "^3.5.42", "@types/chai": "^4.3.20", "@types/fs-extra": "^11.0.4", @@ -28390,7 +28379,7 @@ "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", @@ -28408,14 +28397,14 @@ "version": "1.2.3", "license": "MIT", "dependencies": { - "@apollo/client": "^3.11.8", + "@apollo/client": "^3.11.9", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", "@oclif/core": "^3.27.0", "@oclif/plugin-help": "^5.2.20", - "@oclif/plugin-plugins": "^5.4.14", + "@oclif/plugin-plugins": "^5.4.15", "@types/express": "^4.17.21", - "@types/express-serve-static-core": "^4.17.34", + "@types/express-serve-static-core": "^4.19.6", "adm-zip": "^0.5.16", "chalk": "^4.1.2", "cross-fetch": "^3.1.8", @@ -28427,27 +28416,27 @@ "ini": "^3.0.1", "lodash": "^4.17.21", "open": "^8.4.2", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "bin": { "launch": "bin/run.js" }, "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/adm-zip": "^0.5.5", + "@oclif/test": "^4.1.0", + "@types/adm-zip": "^0.5.6", "@types/chai": "^4.3.20", "@types/esm": "^3.2.2", "@types/ini": "^1.3.34", - "@types/lodash": "^4.17.10", - "@types/node": "^16.18.113", + "@types/lodash": "^4.17.13", + "@types/node": "^16.18.119", "chai": "^4.5.0", - "eslint": "^9.11.1", + "eslint": "^9.14.0", "eslint-config-oclif": "^4", "eslint-config-oclif-typescript": "^3.1.12", "oclif": "^3.17.2", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" }, "engines": { @@ -28743,135 +28732,16 @@ "devDependencies": { "@oclif/test": "^4.1.0", "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^4.0.0", - "globby": "^10.0.2", - "mocha": "^10.8.1", - "nyc": "^15.1.0", - "oclif": "^3.17.2", - "tslib": "^1.14.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "packages/contentstack-migrate-rte/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "license": "Python-2.0" - }, - "packages/contentstack-migrate-rte/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "packages/contentstack-migrate-rte/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "packages/contentstack-migrate-rte/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "packages/contentstack-migrate-rte/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/contentstack-migrate-rte/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "packages/contentstack-migrate-rte/node_modules/mocha": { - "version": "10.8.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", - "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-colors": "^4.1.3", - "browser-stdout": "^1.3.1", - "chokidar": "^3.5.3", - "debug": "^4.3.5", - "diff": "^5.2.0", - "escape-string-regexp": "^4.0.0", - "find-up": "^5.0.0", - "glob": "^8.1.0", - "he": "^1.2.0", - "js-yaml": "^4.1.0", - "log-symbols": "^4.1.0", - "minimatch": "^5.1.6", - "ms": "^2.1.3", - "serialize-javascript": "^6.0.2", - "strip-json-comments": "^3.1.1", - "supports-color": "^8.1.1", - "workerpool": "^6.5.1", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.9", - "yargs-unparser": "^2.0.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha.js" + "eslint": "^8.57.1", + "eslint-config-oclif": "^4.0.0", + "globby": "^10.0.2", + "mocha": "^10.8.2", + "nyc": "^15.1.0", + "oclif": "^3.17.2", + "tslib": "^1.14.1" }, "engines": { - "node": ">= 14.0.0" + "node": ">=14.0.0" } }, "packages/contentstack-migrate-rte/node_modules/tslib": { @@ -28881,25 +28751,6 @@ "dev": true, "license": "0BSD" }, - "packages/contentstack-migrate-rte/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, "packages/contentstack-migration": { "name": "@contentstack/cli-migration", "version": "1.6.3", @@ -28915,7 +28766,7 @@ "dot-object": "^2.1.5", "dotenv": "^16.4.5", "listr": "^0.14.3", - "winston": "^3.15.0" + "winston": "^3.16.0" }, "devDependencies": { "@oclif/test": "^4.1.0", @@ -28942,11 +28793,12 @@ "@contentstack/cli-cm-import": "~1.19.2", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", - "inquirer": "8.2.4", + "@contentstack/management": "~1.18.3", + "inquirer": "8.2.6", "mkdirp": "^1.0.4", "tar": "^6.2.1", "tmp": "^0.2.3", - "tslib": "^2.7.0" + "tslib": "^2.8.1" }, "devDependencies": { "@oclif/plugin-help": "^5.2.20", @@ -28959,7 +28811,7 @@ "axios": "^1.7.7", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", + "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", "jest": "^29.7.0", "oclif": "^3.17.2", @@ -28981,156 +28833,366 @@ "node": ">=0.3.1" } }, - "packages/contentstack-seed/node_modules/inquirer": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", - "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", + "packages/contentstack-seed/node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "packages/contentstack-seed/node_modules/ts-node": { + "version": "8.10.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz", + "integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==", + "dev": true, "license": "MIT", "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "packages/contentstack-utilities": { + "name": "@contentstack/cli-utilities", + "version": "1.8.0", + "license": "MIT", + "dependencies": { + "@contentstack/management": "~1.18.0", + "@contentstack/marketplace-sdk": "^1.2.1", + "@oclif/core": "^3.26.5", + "axios": "^1.7.4", + "chalk": "^4.0.0", "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", + "cli-table": "^0.3.11", + "conf": "^10.2.0", + "debug": "^4.3.7", + "dotenv": "^16.4.5", + "figures": "^3.2.0", + "inquirer": "8.2.6", + "inquirer-search-checkbox": "^1.0.0", + "inquirer-search-list": "^1.2.6", + "klona": "^2.0.6", "lodash": "^4.17.21", - "mute-stream": "0.0.8", + "mkdirp": "^1.0.4", + "open": "^8.4.2", "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", + "recheck": "^4.4.5", + "rxjs": "^6.6.7", + "traverse": "^0.6.10", + "unique-string": "^2.0.0", + "uuid": "^9.0.1", + "winston": "^3.14.2", + "xdg-basedir": "^4.0.0" + }, + "devDependencies": { + "@contentstack/cli-dev-dependencies": "^1.2.4", + "@oclif/test": "^4.1.0", + "@types/chai": "^4.3.20", + "@types/inquirer": "^9.0.7", + "@types/mkdirp": "^1.0.2", + "@types/mocha": "^8.2.3", + "@types/node": "^14.18.63", + "@types/sinon": "^10.0.20", + "@types/traverse": "^0.6.37", + "chai": "^4.5.0", + "eslint": "^8.57.1", + "eslint-config-oclif": "^4.0.0", + "eslint-config-oclif-typescript": "^3.1.12", + "fancy-test": "^2.0.42", + "globby": "^10.0.2", + "mocha": "10.1.0", + "nock": "^13.5.6", + "nyc": "^15.1.0", + "rimraf": "^2.7.1", + "sinon": "^19.0.2", + "tmp": "^0.2.3", + "ts-node": "^10.9.2", + "tslib": "^1.14.1", + "typescript": "^4.9.5" + } + }, + "packages/contentstack-utilities/node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/contentstack-utilities/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "packages/contentstack-utilities/node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "packages/contentstack-utilities/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", "strip-ansi": "^6.0.0", - "through": "^2.3.6", "wrap-ansi": "^7.0.0" + } + }, + "packages/contentstack-utilities/node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "packages/contentstack-utilities/node_modules/fancy-test": { + "version": "2.0.42", + "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", + "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "*", + "@types/lodash": "*", + "@types/node": "*", + "@types/sinon": "*", + "lodash": "^4.17.13", + "mock-stdin": "^1.0.0", + "nock": "^13.3.3", + "stdout-stderr": "^0.1.9" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/contentstack-utilities/node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/contentstack-utilities/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/contentstack-utilities/node_modules/glob/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "packages/contentstack-utilities/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=12.0.0" + "node": "*" } }, - "packages/contentstack-seed/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "license": "Apache-2.0", + "packages/contentstack-utilities/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", "dependencies": { - "tslib": "^2.1.0" + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "packages/contentstack-seed/node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "packages/contentstack-utilities/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, "license": "MIT", "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/contentstack-seed/node_modules/ts-node": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz", - "integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==", + "packages/contentstack-utilities/node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/contentstack-utilities/node_modules/mocha": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz", + "integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==", "dev": true, "license": "MIT", "dependencies": { - "arg": "^4.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" }, "bin": { - "ts-node": "dist/bin.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" }, "engines": { - "node": ">=6.0.0" + "node": ">= 14.0.0" }, - "peerDependencies": { - "typescript": ">=2.7" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" } }, - "packages/contentstack-utilities": { - "name": "@contentstack/cli-utilities", - "version": "1.8.0", + "packages/contentstack-utilities/node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "license": "MIT", "dependencies": { - "@contentstack/management": "~1.18.1", - "@contentstack/marketplace-sdk": "^1.2.3", - "@oclif/core": "^3.27.0", - "axios": "^1.7.7", - "chalk": "^4.1.2", - "cli-cursor": "^3.1.0", - "cli-table": "^0.3.11", - "conf": "^10.2.0", - "debug": "^4.1.1", - "dotenv": "^16.4.5", - "figures": "^3.2.0", - "inquirer": "8.2.6", - "inquirer-search-checkbox": "^1.0.0", - "inquirer-search-list": "^1.2.6", - "klona": "^2.0.6", - "lodash": "^4.17.21", - "mkdirp": "^1.0.4", - "open": "^8.4.2", - "ora": "^5.4.1", - "recheck": "^4.4.5", - "rxjs": "^6.6.7", - "traverse": "^0.6.10", - "unique-string": "^2.0.0", - "uuid": "^9.0.1", - "winston": "^3.14.2", - "xdg-basedir": "^4.0.0" + "ms": "2.1.2" }, - "devDependencies": { - "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", - "@types/chai": "^4.2.18", - "@types/inquirer": "^9.0.7", - "@types/mkdirp": "^1.0.2", - "@types/mocha": "^8.2.3", - "@types/node": "^14.18.63", - "@types/sinon": "^10.0.20", - "@types/traverse": "^0.6.37", - "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", - "fancy-test": "^2.0.42", - "globby": "^10.0.2", - "mocha": "10.7.3", - "nock": "^13.5.5", - "nyc": "^15.1.0", - "rimraf": "^2.7.1", - "sinon": "^19.0.2", - "tmp": "^0.2.3", - "ts-node": "^10.9.2", - "tslib": "^1.14.1", - "typescript": "^4.9.5" + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "packages/contentstack-utilities/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "packages/contentstack-utilities/node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true, - "license": "MIT", + "license": "MIT" + }, + "packages/contentstack-utilities/node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "license": "BSD-3-Clause", "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" + "randombytes": "^2.1.0" } }, "packages/contentstack-utilities/node_modules/tslib": { @@ -29140,6 +29202,42 @@ "dev": true, "license": "0BSD" }, + "packages/contentstack-utilities/node_modules/workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true, + "license": "Apache-2.0" + }, + "packages/contentstack-utilities/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/contentstack-utilities/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, "packages/contentstack-variants": { "name": "@contentstack/cli-variants", "version": "1.1.2", @@ -29148,20 +29246,30 @@ "@contentstack/cli-utilities": "^1.8.0", "lodash": "^4.17.21", "mkdirp": "^1.0.4", - "winston": "^3.14.2" + "winston": "^3.17.0" }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", - "@types/node": "^20.16.10", + "@types/node": "^20.17.6", "chai": "^4.5.0", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", - "sinon": "^19.0.2", + "sinon": "^17.0.2", "ts-node": "^10.9.2", - "tslib": "^2.7.0", - "typescript": "^5.6.2" + "tslib": "^2.8.1", + "typescript": "^5.6.3" + } + }, + "packages/contentstack-variants/node_modules/@sinonjs/fake-timers": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.3.1.tgz", + "integrity": "sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1" } }, "packages/contentstack-variants/node_modules/@types/node": { @@ -29174,6 +29282,60 @@ "undici-types": "~6.19.2" } }, + "packages/contentstack-variants/node_modules/nise": { + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz", + "integrity": "sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^11.2.2", + "@sinonjs/text-encoding": "^0.7.2", + "just-extend": "^6.2.0", + "path-to-regexp": "^6.2.1" + } + }, + "packages/contentstack-variants/node_modules/path-to-regexp": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "dev": true, + "license": "MIT" + }, + "packages/contentstack-variants/node_modules/sinon": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.2.tgz", + "integrity": "sha512-uihLiaB9FhzesElPDFZA7hDcNABzsVHwr3YfmM9sBllVwab3l0ltGlRV1XhpNfIacNDLGD1QRZNLs5nU5+hTuA==", + "deprecated": "There", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^11.2.2", + "@sinonjs/samsam": "^8.0.0", + "diff": "^5.2.0", + "nise": "^5.1.9", + "supports-color": "^7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/sinon" + } + }, + "packages/contentstack-variants/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "packages/contentstack-variants/node_modules/typescript": { "version": "5.6.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", diff --git a/packages/contentstack-audit/README.md b/packages/contentstack-audit/README.md index 4a256efa79..17d77cf659 100644 --- a/packages/contentstack-audit/README.md +++ b/packages/contentstack-audit/README.md @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli-audit/1.7.2 darwin-arm64 node-v22.2.0 +@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.8.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-audit/package.json b/packages/contentstack-audit/package.json index c96783cb5c..72173a89cc 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-audit", - "version": "1.7.2", + "version": "1.7.3", "description": "Contentstack audit plugin", "author": "Contentstack CLI", "homepage": "https://github.com/contentstack/cli", @@ -20,35 +20,35 @@ "dependencies": { "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", - "@oclif/plugin-help": "^5", + "@oclif/plugin-help": "^5.2.20", "@oclif/plugin-plugins": "^5.4.15", "chalk": "^4.1.2", "fast-csv": "^4.3.6", "fs-extra": "^11.2.0", "lodash": "^4.17.21", "uuid": "^9.0.1", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.9", - "@types/node": "^20.16.14", + "@types/node": "^20.17.6", "@types/uuid": "^9.0.8", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.1.12", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", - "oclif": "^3", + "oclif": "^3.17.2", "shx": "^0.3.4", "sinon": "^19.0.2", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", - "tslib": "^2.8.0", + "tslib": "^2.8.1", "typescript": "^5.6.3" }, "oclif": { diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 27b7f27631..f0f41bd6dc 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -890,24 +890,27 @@ export default class Entries { } /** - * + * this is called in case the select field has multiple optins to chose from * @param field It contains the value to be searched * @param selectOptions It contains the options that were added in CT * @returns An Array of entry containing only the values that were present in CT, An array of not present entries */ findNotPresentSelectField(field: any, selectOptions: any) { + if(!field){ + field = [] + } let present = []; let notPresent = []; const choicesMap = new Map(selectOptions.choices.map((choice: { value: any }) => [choice.value, choice])); - for (const value of field) { - const choice: any = choicesMap.get(value); - - if (choice) { - present.push(choice.value); - } else { - notPresent.push(value); + for (const value of field) { + const choice: any = choicesMap.get(value); + + if (choice) { + present.push(choice.value); + } else { + notPresent.push(value); + } } - } return { filteredFeild: present, notPresent }; } diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index 9d8f413c92..00b23c4123 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -27,12 +27,12 @@ "chalk": "^4.1.2", "debug": "^4.3.7", "inquirer": "8.2.6", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "devDependencies": { "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.8", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index bdb049b0b1..47c1cd991f 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -25,7 +25,7 @@ "tar": "^6.2.1 " }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", "@types/node": "^14.18.63", @@ -35,7 +35,7 @@ "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", - "mocha": "10.7.3", + "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", diff --git a/packages/contentstack-branches/package.json b/packages/contentstack-branches/package.json index 9f2f1a534f..2574524b51 100644 --- a/packages/contentstack-branches/package.json +++ b/packages/contentstack-branches/package.json @@ -21,15 +21,15 @@ "progress-stream": "^2.0.0", "promise-limit": "^2.7.0", "proxyquire": "^2.1.3", - "tslib": "^2.8.0", - "winston": "^3.15.0" + "tslib": "^2.8.1", + "winston": "^3.16.0" }, "devDependencies": { "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-config": "~1.8.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/flat": "^5.0.5", "assert": "^2.1.0", "chai": "^4.5.0", diff --git a/packages/contentstack-bulk-publish/README.md b/packages/contentstack-bulk-publish/README.md index 42be050662..3f834b2766 100644 --- a/packages/contentstack-bulk-publish/README.md +++ b/packages/contentstack-bulk-publish/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-bulk-publish/1.6.0 darwin-arm64 node-v22.2.0 +@contentstack/cli-cm-bulk-publish/1.7.0 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -36,14 +36,14 @@ USAGE * [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value-1) * [`csdx cm:bulk-publish:clear`](#csdx-cmbulk-publishclear) * [`csdx cm:bulk-publish:configure`](#csdx-cmbulk-publishconfigure) -* [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries) -* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value) +* [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries---include-variants) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value---entry-uid-value---include-variants) * [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) * [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value) * [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert) * [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) * [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) -* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value-1) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value---entry-uid-value---include-variants-1) * [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) * [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value-1) * [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) @@ -455,7 +455,7 @@ EXAMPLES $ csdx cm:stacks:publish-configure --stack-api-key ``` -## `csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]` +## `csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants]` Publish entries and assets from one environment to other environments @@ -463,7 +463,7 @@ Publish entries and assets from one environment to other environments USAGE $ csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] - [-y] [--branch ] [--onlyAssets] [--onlyEntries] + [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants] FLAGS -B, --branch= [default: main] Specify the branch to fetch the content (by default the main branch is @@ -478,6 +478,7 @@ FLAGS --content-type=... The Contenttypes from which entries will be published --delivery-token= The delivery token of the source environment. --environments=... Destination Environments + --include-variants Include Variants flag will publish all associated variant entries. --locales= Source locale --onlyAssets Unpublish only assets --onlyEntries Unpublish only entries @@ -528,11 +529,17 @@ EXAMPLES Using --stack-api-key flag $ csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants flag + + $ csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] [--include-variants] ``` _See code: [src/commands/cm/bulk-publish/cross-publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js)_ -## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]` +## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]` Publish entries from multiple contenttypes to multiple environments and locales @@ -540,7 +547,7 @@ Publish entries from multiple contenttypes to multiple environments and locales USAGE $ csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch - ] [--delivery-token ] [--source-env ] + ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants] FLAGS -B, --branch= [default: main] The name of the branch where you want to perform the bulk publish @@ -563,6 +570,8 @@ FLAGS --content-types=... The UID of the content type(s) whose entries you want to publish in bulk. In case of multiple content types, specify the IDs separated by spaces. --delivery-token= The delivery token of the source environment. + --entry-uid= Entry Uid for publish all associated variant entries. + --include-variants Include Variants flag will publish all associated variant entries with base entry. --publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the --content-types option is already used, then you cannot use this option. --retry-failed= (optional) Use this option to retry publishing the failed entries/ assets from the @@ -622,6 +631,18 @@ EXAMPLES Using --stack-api-key $ csdx cm:entries:publish -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] [--include-variants] + + + + Using --entry-uid and --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] --entry-uid [ENTRY UID] [--include-variants] ``` ## `csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]` @@ -998,7 +1019,7 @@ EXAMPLES $ csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] --stack-api-key [STACK API KEY] -source-env [SOURCE ENV] ``` -## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]` +## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]` Publish entries from multiple contenttypes to multiple environments and locales @@ -1006,7 +1027,7 @@ Publish entries from multiple contenttypes to multiple environments and locales USAGE $ csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch - ] [--delivery-token ] [--source-env ] + ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants] FLAGS -B, --branch= [default: main] The name of the branch where you want to perform the bulk publish @@ -1029,6 +1050,8 @@ FLAGS --content-types=... The UID of the content type(s) whose entries you want to publish in bulk. In case of multiple content types, specify the IDs separated by spaces. --delivery-token= The delivery token of the source environment. + --entry-uid= Entry Uid for publish all associated variant entries. + --include-variants Include Variants flag will publish all associated variant entries with base entry. --publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the --content-types option is already used, then you cannot use this option. --retry-failed= (optional) Use this option to retry publishing the failed entries/ assets from the @@ -1088,6 +1111,18 @@ EXAMPLES Using --stack-api-key $ csdx cm:entries:publish -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] [--include-variants] + + + + Using --entry-uid and --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] --entry-uid [ENTRY UID] [--include-variants] ``` _See code: [src/commands/cm/entries/publish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js)_ @@ -1348,7 +1383,7 @@ Unpublish entries from the given environment USAGE $ csdx cm:entries:unpublish [-a ] [-k ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--api-version ] [--content-type ] - [--delivery-token ] + [--delivery-token ] [--include-variants] FLAGS -a, --alias= Alias (name) for the management token. You must use either the --alias flag or the @@ -1366,6 +1401,7 @@ FLAGS Bulk Publish APIs will be used to unpublish the entries. --content-type= The UID of the content type whose entries you want to unpublish in bulk. --delivery-token= The delivery token of the source environment. + --include-variants Include Variants flag will unpublish all associated variant entries. --locale= Locale from which entries/assets will be unpublished, e.g., en-us. --retry-failed= (optional) Use this option to retry unpublishing the failed entries from the logfile. Specify the name of the logfile that lists failed unpublish calls. If used, this option @@ -1410,6 +1446,12 @@ EXAMPLES Using --stack-api-key flag $ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants flag + + $ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] --include-variants ``` _See code: [src/commands/cm/entries/unpublish.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js)_ diff --git a/packages/contentstack-bulk-publish/package.json b/packages/contentstack-bulk-publish/package.json index 1c84b5d778..21f87a7143 100644 --- a/packages/contentstack-bulk-publish/package.json +++ b/packages/contentstack-bulk-publish/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-bulk-publish", "description": "Contentstack CLI plugin for bulk publish actions", - "version": "1.6.0", + "version": "1.7.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -14,15 +14,15 @@ "lodash": "^4.17.21", "mkdirp": "^1.0.4", "nock": "^13.5.5", - "winston": "^3.15.0" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "tslib": "^1.14.1" diff --git a/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js b/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js index d8c32f34f4..4765f2d8f6 100644 --- a/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js +++ b/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js @@ -46,7 +46,7 @@ class CrossPublishCommand extends Command { updatedFlags.deliveryToken = await cliux.prompt('Enter delivery token of your source environment'); } updatedFlags.bulkPublish = updatedFlags.bulkPublish === 'false' ? false : true; - + updatedFlags.includeVariants = updatedFlags.includeVariants === false ? false : true; stack = await getStack(config); } @@ -155,6 +155,10 @@ class CrossPublishCommand extends Command { _flags.deliveryToken = _flags['delivery-token']; delete _flags['delivery-token']; } + if ('include-variants' in _flags) { + _flags.includeVariants = _flags['include-variants']; + delete _flags['include-variants']; + } return _flags; } } @@ -257,6 +261,10 @@ CrossPublishCommand.flags = { }), onlyAssets: flags.boolean({ description: 'Unpublish only assets', default: false }), onlyEntries: flags.boolean({ description: 'Unpublish only entries', default: false }), + 'include-variants': flags.boolean({ + description: 'Include Variants flag will publish all associated variant entries.', + default: false, + }), }; CrossPublishCommand.examples = [ @@ -278,8 +286,11 @@ CrossPublishCommand.examples = [ 'Using --stack-api-key flag', 'csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN]', '', + 'Using --include-variants flag', + 'csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] [--include-variants]', + '', ]; -CrossPublishCommand.usage = `cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]`; +CrossPublishCommand.usage = `cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants]`; module.exports = CrossPublishCommand; diff --git a/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js b/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js index 7e700eb13b..60796a8028 100644 --- a/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js +++ b/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js @@ -21,11 +21,19 @@ class PublishEntriesCommand extends Command { entriesFlags.publishAllContentTypes = entriesFlags['publish-all-content-types'] || entriesFlags.publishAllContentTypes || false; entriesFlags.apiVersion = entriesFlags['api-version'] || '3'; + entriesFlags.includeVariants = entriesFlags['include-variants'] || entriesFlags.includeVariants || false; + entriesFlags.entryUid = entriesFlags['entry-uid'] || entriesFlags.entryUid; + + if (entriesFlags.entryUid === undefined) { + delete entriesFlags['entryUid']; + } delete entriesFlags['api-version']; delete entriesFlags['retry-failed']; delete entriesFlags['content-types']; delete entriesFlags['bulk-publish']; delete entriesFlags['publish-all-content-types']; + delete entriesFlags['include-variants']; + delete entriesFlags['entry-uid']; let updatedFlags; try { @@ -243,6 +251,11 @@ PublishEntriesCommand.flags = { }), 'delivery-token': flags.string({ description: 'The delivery token of the source environment.' }), 'source-env': flags.string({ description: 'Source environment' }), + 'entry-uid': flags.string({ description: 'Entry Uid for publish all associated variant entries.' }), + 'include-variants': flags.boolean({ + default: false, // set the default value to false + description: 'Include Variants flag will publish all associated variant entries with base entry.', + }), }; PublishEntriesCommand.examples = [ @@ -266,11 +279,17 @@ PublishEntriesCommand.examples = [ '', 'Using --stack-api-key', 'csdx cm:entries:publish -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN]', + '', + 'Using --include-variants', + 'csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] [--include-variants]', + '', + 'Using --entry-uid and --include-variants', + 'csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] --entry-uid [ENTRY UID] [--include-variants]', ]; PublishEntriesCommand.aliases = ['cm:bulk-publish:entries']; PublishEntriesCommand.usage = - 'cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]'; + 'cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]'; module.exports = PublishEntriesCommand; diff --git a/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js b/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js index 523ea2c1bd..16428596f8 100644 --- a/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js +++ b/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js @@ -19,11 +19,13 @@ class UnpublishCommand extends Command { unpublishFlags.onlyAssets = false; unpublishFlags.onlyEntries = true; unpublishFlags.apiVersion = unpublishFlags['api-version'] || '3'; + unpublishFlags.includeVariants = unpublishFlags['include-variants'] || false; delete unpublishFlags['api-version']; delete unpublishFlags['retry-failed']; delete unpublishFlags['bulk-unpublish']; delete unpublishFlags['content-type']; delete unpublishFlags['delivery-token']; + delete unpublishFlags['include-variants']; let updatedFlags; try { @@ -59,7 +61,6 @@ class UnpublishCommand extends Command { updatedFlags.deliveryToken = await cliux.prompt('Enter delivery token of your source environment'); } updatedFlags.bulkUnpublish = updatedFlags.bulkUnpublish === 'false' ? false : true; - stack = await getStack(config); } if (!updatedFlags.deliveryToken && updatedFlags.deliveryToken.length === 0) { @@ -176,6 +177,10 @@ UnpublishCommand.flags = { 'delivery-token': flags.string({ description: 'The delivery token of the source environment.', }), + 'include-variants': flags.boolean({ + default: false, // set the default value to false + description: 'Include Variants flag will unpublish all associated variant entries.' + }), }; UnpublishCommand.examples = [ @@ -195,6 +200,9 @@ UnpublishCommand.examples = [ '', 'Using --stack-api-key flag', 'csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN]', + '', + 'Using --include-variants flag', + 'csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] --include-variants', ]; module.exports = UnpublishCommand; diff --git a/packages/contentstack-bulk-publish/src/producer/cross-publish.js b/packages/contentstack-bulk-publish/src/producer/cross-publish.js index 5778374ea1..2fbf2223e7 100644 --- a/packages/contentstack-bulk-publish/src/producer/cross-publish.js +++ b/packages/contentstack-bulk-publish/src/producer/cross-publish.js @@ -16,6 +16,7 @@ const { Command } = require('@contentstack/cli-command'); const command = new Command(); const { isEmpty } = require('../util'); const { fetchBulkPublishLimit } = require('../util/common-utility'); +const VARIANTS_PUBLISH_API_VERSION = '3.2'; let bulkPublishSet = []; let bulkPublishAssetSet = []; @@ -34,20 +35,30 @@ function getQueryParams(filter) { return queryString; } -async function bulkAction(stack, items, bulkPublish, filter, destEnv, apiVersion, bulkPublishLimit) { +async function bulkAction(stack, items, bulkPublish, filter, destEnv, apiVersion, bulkPublishLimit, variantsFlag = false) { return new Promise(async (resolve) => { for (let index = 0; index < items.length; index++) { changedFlag = true; if (bulkPublish) { if (bulkPublishSet.length < bulkPublishLimit && items[index].type === 'entry_published') { - bulkPublishSet.push({ + const entry = { uid: items[index].data.uid, content_type: items[index].content_type_uid, locale: items[index].data.locale || 'en-us', version: items[index].data._version, publish_details: [items[index].data.publish_details] || [], - }); + }; + + if (variantsFlag && Array.isArray(items[index].data.variants) && items[index].data.variants.length > 0) { + entry.variants = items[index].data.variants || []; + entry.variant_rules = { + publish_latest_base: false, + publish_latest_base_conditionally: true + }; + } + + bulkPublishSet.push(JSON.parse(JSON.stringify(entry))); } if (bulkPublishAssetSet.length < bulkPublishLimit && items[index].type === 'asset_published') { @@ -145,6 +156,7 @@ async function getSyncEntries( destEnv, apiVersion, bulkPublishLimit, + variantsFlag = false, paginationToken = null, ) { return new Promise(async (resolve, reject) => { @@ -200,8 +212,19 @@ async function getSyncEntries( ); } + if (variantsFlag) { + for (let index = 0; index < entriesResponse?.items?.length; index++) { + let variants = []; + const entries = entriesResponse.items[index]; + variants = await getVariantEntries(stack, entries.content_type_uid, entriesResponse, index, queryParamsObj); + if (variants.length > 0) { + entriesResponse.items[index].data.variants = variants; + } + } + } + if (entriesResponse.items.length > 0) { - await bulkAction(stack, entriesResponse.items, bulkPublish, filter, destEnv, apiVersion, bulkPublishLimit); + await bulkAction(stack, entriesResponse.items, bulkPublish, filter, destEnv, apiVersion, bulkPublishLimit, variantsFlag); } if (!entriesResponse.pagination_token) { if (!changedFlag) console.log('No Entries/Assets Found published on specified environment'); @@ -244,6 +267,48 @@ function setConfig(conf, bp) { filePath = initializeLogger(logFileName); } +async function getVariantEntries(stack, contentType, entries, index, queryParams, skip = 0) { + try { + let variantQueryParams = { + locale: queryParams.locale || 'en-us', + include_count: true, + skip: skip, // Adding skip parameter for pagination + limit: 100, // Set a limit to fetch up to 100 entries per request + }; + const entryUid = entries.items[index].data.uid + const variantsEntriesResponse = await stack + .contentType(contentType) + .entry(entryUid) + .variants() + .query(variantQueryParams) + .find(); + + const variants = variantsEntriesResponse.items.map((entry) => ({ + uid: entry.variants._variant._uid, + })); + + if (variantsEntriesResponse.items.length === variantQueryParams.limit) { + const nextVariants = await getVariantEntries( + stack, + contentType, + entries, + index, + queryParams, + skip + variantQueryParams.limit, + ); + return Array.isArray(nextVariants) ? variants.concat(nextVariants) : variants; + } + return variants; + } catch (error) { + const errorMessage = + error?.errorMessage || + error?.message || + error?.errors || + 'Falied to fetch the variant entries, Please contact the admin for support.'; + throw new Error(`Error fetching variants: ${errorMessage}`); + } +} + async function start( { retryFailed, @@ -258,6 +323,7 @@ async function start( destEnv, f_types, apiVersion, + includeVariants, }, stack, config, @@ -310,7 +376,20 @@ async function start( // filter.type = (f_types) ? f_types : types // types mentioned in the config file (f_types) are given preference const queryParams = getQueryParams(filter); const bulkPublishLimit = fetchBulkPublishLimit(stack?.org_uid); - await getSyncEntries(stack, config, queryParams, bulkPublish, filter, deliveryToken, destEnv, apiVersion, bulkPublishLimit); + if (includeVariants) { + apiVersion = VARIANTS_PUBLISH_API_VERSION; + } + await getSyncEntries( + stack, + config, + queryParams, + bulkPublish, + filter, + deliveryToken, + destEnv, + apiVersion, bulkPublishLimit, + includeVariants, + ); } } diff --git a/packages/contentstack-bulk-publish/src/producer/publish-entries.js b/packages/contentstack-bulk-publish/src/producer/publish-entries.js index 0f6cce121f..607b731696 100644 --- a/packages/contentstack-bulk-publish/src/producer/publish-entries.js +++ b/packages/contentstack-bulk-publish/src/producer/publish-entries.js @@ -9,6 +9,7 @@ const retryFailedLogs = require('../util/retryfailed'); const { validateFile } = require('../util/fs'); const { isEmpty } = require('../util'); const { fetchBulkPublishLimit } = require('../util/common-utility'); +const VARIANTS_PUBLISH_API_VERSION = '3.2'; const queue = getQueue(); @@ -27,6 +28,8 @@ async function getEntries( environments, apiVersion, bulkPublishLimit, + variantsFlag = false, + entry_uid = undefined, skip = 0, ) { return new Promise((resolve, reject) => { @@ -39,6 +42,13 @@ async function getEntries( include_publish_details: true, }; + if (variantsFlag) { + queryParams.apiVersion = VARIANTS_PUBLISH_API_VERSION; + } + if (entry_uid) { + queryParams.uid = entry_uid; + } + stack .contentType(contentType) .entry() @@ -47,16 +57,31 @@ async function getEntries( .then(async (entriesResponse) => { skipCount += entriesResponse.items.length; let entries = entriesResponse.items; - for (let index = 0; index < entriesResponse.items.length; index++) { + + for (let index = 0; index < entries.length; index++) { + let variants = []; if (bulkPublish) { + let entry; if (bulkPublishSet.length < bulkPublishLimit) { - bulkPublishSet.push({ + entry = { uid: entries[index].uid, content_type: contentType, locale, publish_details: entries[index].publish_details || [], - }); + }; + + if (variantsFlag) { + variants = await getVariantEntries(stack, contentType, entries, index, queryParams); + if (variants.length > 0) { + entry.variant_rules = { + publish_latest_base: false, + publish_latest_base_conditionally: true, + }; + entry.variants = variants; + } + } } + bulkPublishSet.push(entry); if (bulkPublishSet.length === bulkPublishLimit) { await queue.Enqueue({ @@ -71,7 +96,7 @@ async function getEntries( } if ( - index === entriesResponse.items.length - 1 && + index === entries.length - 1 && bulkPublishSet.length <= bulkPublishLimit && bulkPublishSet.length > 0 ) { @@ -84,7 +109,7 @@ async function getEntries( apiVersion, }); bulkPublishSet = []; - } // bulkPublish + } } else { await queue.Enqueue({ content_type: contentType, @@ -110,6 +135,8 @@ async function getEntries( environments, apiVersion, bulkPublishLimit, + variantsFlag, + entry_uid, skipCount, ); return resolve(); @@ -118,6 +145,56 @@ async function getEntries( }); } +async function getVariantEntries(stack, contentType, entries, index, queryParams, skip = 0) { + try { + let variantQueryParams = { + locale: queryParams.locale || 'en-us', + include_count: true, + skip: skip, // Adding skip parameter for pagination + limit: 100, // Set a limit to fetch up to 100 entries per request + include_publish_details: true, + }; + + const variantsEntriesResponse = await stack + .contentType(contentType) + .entry(entries[index].uid) + .variants() + .query(variantQueryParams) + .find(); + + // Map the response items to extract variant UIDs + const variants = variantsEntriesResponse.items.map((entry) => ({ + uid: entry.variants._variant._uid, + })); + + // Check if there are more entries to fetch + if (variantsEntriesResponse.items.length === variantQueryParams.limit) { + // Recursively fetch the next set of variants with updated skip value + const nextVariants = await getVariantEntries( + stack, + contentType, + entries, + index, + queryParams, + skip + variantQueryParams.limit, + ); + + // Ensure nextVariants is an array before concatenation + return Array.isArray(nextVariants) ? variants.concat(nextVariants) : variants; + } + + return variants; + } catch (error) { + // Handle error message retrieval from different properties + const errorMessage = + error?.errorMessage || + error?.message || + error?.errors || + 'Falied to fetch the variant entries, Please contact the admin for support.'; + throw new Error(`Error fetching variants: ${errorMessage}`); + } +} + async function getContentTypes(stack, skip = 0, contentTypes = []) { return new Promise((resolve, reject) => { skipCount = skip; @@ -154,7 +231,17 @@ function setConfig(conf, bp) { } async function start( - { retryFailed, bulkPublish, publishAllContentTypes, contentTypes, locales, environments, apiVersion }, + { + retryFailed, + bulkPublish, + publishAllContentTypes, + contentTypes, + locales, + environments, + apiVersion, + includeVariants, + entryUid, + }, stack, config, ) { @@ -168,12 +255,16 @@ async function start( } process.exit(0); }); + + if (includeVariants) { + apiVersion = VARIANTS_PUBLISH_API_VERSION; + } + if (retryFailed) { if (typeof retryFailed === 'string') { if (!validateFile(retryFailed, ['publish-entries', 'bulk-publish-entries'])) { return false; } - bulkPublish = retryFailed.match(new RegExp('bulk')) ? true : false; setConfig(config, bulkPublish); if (bulkPublish) { @@ -201,6 +292,8 @@ async function start( environments, apiVersion, bulkPublishLimit, + includeVariants, + entryUid, ); /* eslint-enable no-await-in-loop */ } diff --git a/packages/contentstack-bulk-publish/src/producer/unpublish.js b/packages/contentstack-bulk-publish/src/producer/unpublish.js index 94bea5d850..2d750545cd 100644 --- a/packages/contentstack-bulk-publish/src/producer/unpublish.js +++ b/packages/contentstack-bulk-publish/src/producer/unpublish.js @@ -16,6 +16,7 @@ const { Command } = require('@contentstack/cli-command'); const command = new Command(); const { isEmpty } = require('../util'); const { fetchBulkPublishLimit } = require('../util/common-utility'); +const VARIANTS_UNPUBLISH_API_VERSION = '3.2'; let bulkUnPublishSet = []; let bulkUnPulishAssetSet = []; @@ -51,19 +52,26 @@ function getQueryParams(filter) { return queryString; } -function bulkAction(stack, items, bulkUnpublish, environment, locale, apiVersion, bulkPublishLimit) { +function bulkAction(stack, items, bulkUnpublish, environment, locale, apiVersion, bulkPublishLimit, variantsFlag = false) { return new Promise(async (resolve) => { for (let index = 0; index < items.length; index++) { changedFlag = true; if (bulkUnpublish) { if (bulkUnPublishSet.length < bulkPublishLimit && items[index].type === 'entry_published') { - bulkUnPublishSet.push({ + const entryData = { uid: items[index].data.uid, content_type: items[index].content_type_uid, locale: items[index].data.locale || 'en-us', - publish_details: [items[index].data.publish_details] || [], - }); + publish_details: items[index].data.publish_details || [], + }; + + if (variantsFlag && Array.isArray(items[index].data.variants) && items[index].data.variants.length > 0) { + const entryWithVariants = { ...entryData, variants: items[index].data.variants }; + bulkUnPublishSet.push(entryWithVariants); + } else { + bulkUnPublishSet.push(entryData); + } } if (bulkUnPulishAssetSet.length < bulkPublishLimit && items[index].type === 'asset_published') { @@ -122,7 +130,7 @@ function bulkAction(stack, items, bulkUnpublish, environment, locale, apiVersion } } else { if (items[index].type === 'entry_published') { - await entryQueue.Enqueue({ + await entryQueue.Enqueue({ content_type: items[index].content_type_uid, publish_details: [items[index].data.publish_details], environments: [environment], @@ -130,6 +138,7 @@ function bulkAction(stack, items, bulkUnpublish, environment, locale, apiVersion locale: items[index].data.locale || 'en-us', Type: 'entry', stack: stack, + apiVersion, }); } if (items[index].type === 'asset_published') { @@ -157,6 +166,7 @@ async function getSyncEntries( deliveryToken, apiVersion, bulkPublishLimit, + variantsFlag, paginationToken = null, ) { return new Promise(async (resolve, reject) => { @@ -205,10 +215,17 @@ async function getSyncEntries( } const entriesResponse = await Stack.sync(syncData); - if (entriesResponse.items.length > 0) { - await bulkAction(stack, entriesResponse.items, bulkUnpublish, environment, locale, apiVersion, bulkPublishLimit); + if (variantsFlag) { + queryParamsObj.apiVersion = VARIANTS_UNPUBLISH_API_VERSION; + const itemsWithVariants = await attachVariantsToItems(stack, entriesResponse.items, queryParamsObj); + // Call bulkAction for entries with variants + await bulkAction(stack, itemsWithVariants, bulkUnpublish, environment, locale, apiVersion, bulkPublishLimit, variantsFlag); + } + // Call bulkAction for entries without variants + await bulkAction(stack, entriesResponse.items, bulkUnpublish, environment, locale, apiVersion, bulkPublishLimit, false); } + if (entriesResponse.items.length === 0) { if (!changedFlag) console.log('No Entries/Assets Found published on specified environment'); return resolve(); @@ -224,6 +241,7 @@ async function getSyncEntries( deliveryToken, apiVersion, bulkPublishLimit, + variantsFlag, null, ); }, 3000); @@ -232,6 +250,52 @@ async function getSyncEntries( } }); } +async function attachVariantsToItems(stack, items, queryParams) { + for (const item of items) { + const { content_type_uid, data } = item; + const variantEntries = await getVariantEntries(stack, content_type_uid, item, queryParams); // Fetch the variants using fetchVariants method + item.data.variants = variantEntries; // Attach the fetched variants to the data object in the item + } + return items; +} + +async function getVariantEntries(stack, contentType, entries, queryParams, skip = 0) { + try { + let variantQueryParams = { + locale: queryParams.locale || 'en-us', + include_count: true, + skip: skip, // Adding skip parameter for pagination + limit: 100, // Set a limit to fetch up to 100 entries per request + }; + + const variantsEntriesResponse = await stack + .contentType(contentType) + .entry(entries.data.uid) + .variants() + .query(variantQueryParams) + .find(); + + // Map the response items to extract variant UIDs + const variants = variantsEntriesResponse.items.map(entry => ({ + uid: entry.variants._variant._uid, + })); + + // Check if there are more entries to fetch + if (variantsEntriesResponse.items.length === variantQueryParams.limit) { + // Recursively fetch the next set of variants with updated skip value + const nextVariants = await getVariantEntries(stack, contentType, entries, queryParams, skip + variantQueryParams.limit); + + // Ensure nextVariants is an array before concatenation + return Array.isArray(nextVariants) ? variants.concat(nextVariants) : variants; + } + + return variants; + } catch (error) { + // Handle error message retrieval from different properties + const errorMessage = error?.errorMessage || error?.message || error?.errors || 'Falied to fetch the variant entries, Please contact the admin for support.'; + throw new Error(`Error fetching variants: ${errorMessage}`); + } +} async function start( { @@ -245,6 +309,7 @@ async function start( onlyEntries, f_types, apiVersion, + includeVariants, }, stack, config, @@ -259,7 +324,9 @@ async function start( } process.exit(0); }); - + if (includeVariants) { + apiVersion = VARIANTS_UNPUBLISH_API_VERSION; + } if (retryFailed) { if (typeof retryFailed === 'string' && retryFailed.length > 0) { if (!validateFile(retryFailed, ['unpublish', 'bulk-unpublish'])) { @@ -298,7 +365,7 @@ async function start( setConfig(config, bulkUnpublish); const queryParams = getQueryParams(filter); const bulkPublishLimit = fetchBulkPublishLimit(stack?.org_uid); - await getSyncEntries(stack, config, locale, queryParams, bulkUnpublish, environment, deliveryToken, apiVersion, bulkPublishLimit); + await getSyncEntries(stack, config, locale, queryParams, bulkUnpublish, environment, deliveryToken, apiVersion, bulkPublishLimit, includeVariants); } } @@ -309,4 +376,4 @@ module.exports = { setConfig, getQueryParams, start, -}; +}; \ No newline at end of file diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 7e7018a974..318fc0f736 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -11,7 +11,7 @@ "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", "async": "^3.2.6", - "chalk": "^4.1.0", + "chalk": "^4.1.2", "child_process": "^1.0.2", "fancy-test": "^1.4.10", "inquirer": "8.2.6", @@ -20,16 +20,16 @@ "ora": "^5.4.1", "prompt": "^1.3.0", "rimraf": "^5.0.10", - "winston": "^3.14.2" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", "jest": "^29.7.0", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "sinon": "^19.0.2" diff --git a/packages/contentstack-command/package.json b/packages/contentstack-command/package.json index 23ce5638ec..e013b725ed 100644 --- a/packages/contentstack-command/package.json +++ b/packages/contentstack-command/package.json @@ -18,10 +18,10 @@ }, "dependencies": { "@contentstack/cli-utilities": "~1.8.0", - "contentstack": "^3.21.0" + "contentstack": "^3.22.1" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/mkdirp": "^1.0.2", "@types/mocha": "^8.2.3", @@ -30,8 +30,8 @@ "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", - "mocha": "10.1.0", + "eslint-config-oclif-typescript": "^3.1.12", + "mocha": "10.8.2", "nyc": "^15.1.0", "rimraf": "^2.7.1", "sinon": "^19.0.2", diff --git a/packages/contentstack-config/package.json b/packages/contentstack-config/package.json index 2dee43e8f7..6c3d1e6643 100644 --- a/packages/contentstack-config/package.json +++ b/packages/contentstack-config/package.json @@ -28,10 +28,10 @@ "inquirer": "8.2.6", "lodash": "^4.17.21", "mkdirp": "^1.0.4", - "winston": "^3.14.2" + "winston": "^3.16.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", @@ -41,9 +41,9 @@ "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", + "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", - "mocha": "10.7.3", + "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", diff --git a/packages/contentstack-dev-dependencies/package.json b/packages/contentstack-dev-dependencies/package.json index 48aa267ac7..08e25a12c8 100644 --- a/packages/contentstack-dev-dependencies/package.json +++ b/packages/contentstack-dev-dependencies/package.json @@ -24,14 +24,14 @@ "@oclif/core": "^3.27.0", "lodash": "^4.17.21", "fancy-test": "^2.0.42", - "@oclif/test": "^4.0.9" + "@oclif/test": "^4.1.0" }, "devDependencies": { "@types/node": "^14.18.63", "eslint": "^7.32.0", - "mocha": "10.7.3", + "mocha": "10.8.2", "ts-node": "^10.9.2", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" }, "files": [ diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index f3d4014c03..bdbeb73b93 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -14,16 +14,16 @@ "mkdirp": "^3.0.1" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", - "@types/mocha": "^10.0.8", + "@types/mocha": "^10.0.9", "chai": "^4.5.0", "debug": "^4.3.7", "dotenv": "^16.4.5", "eslint": "^7.32.0", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2" }, diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index 0fe2bc6854..dfe035f112 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -21,16 +21,16 @@ "progress-stream": "^2.0.0", "promise-limit": "^2.7.0", "proxyquire": "^2.1.3", - "tslib": "^2.7.0", - "winston": "^3.14.2" + "tslib": "^2.8.1", + "winston": "^3.16.0" }, "devDependencies": { "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-config": "~1.8.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.2.20", - "@oclif/test": "^4.0.9", - "@types/big-json": "^3.2.4", + "@oclif/test": "^4.1.0", + "@types/big-json": "^3.2.5", "@types/mkdirp": "^1.0.2", "@types/progress-stream": "^2.0.5", "assert": "^2.1.0", @@ -40,7 +40,7 @@ "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "10.7.3", + "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "sinon": "^19.0.2", diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index c2d59a4d7b..4a1cc74040 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -5,10 +5,10 @@ "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-audit": "~1.7.2", + "@contentstack/cli-audit": "~1.7.3", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", - "@contentstack/management": "~1.18.1", + "@contentstack/management": "~1.18.3", "@contentstack/cli-variants": "~1.1.2", "@oclif/core": "^3.27.0", "big-json": "^3.2.0", @@ -21,13 +21,13 @@ "merge": "^2.1.1", "mkdirp": "^1.0.4", "promise-limit": "^2.7.0", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "uuid": "^9.0.1", - "winston": "^3.14.2" + "winston": "^3.17.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/big-json": "^3.2.4", + "@oclif/test": "^4.1.0", + "@types/big-json": "^3.2.5", "@types/bluebird": "^3.5.42", "@types/chai": "^4.3.20", "@types/fs-extra": "^11.0.4", @@ -42,7 +42,7 @@ "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", diff --git a/packages/contentstack-launch/package.json b/packages/contentstack-launch/package.json index e152294e0d..a58d5a7251 100755 --- a/packages/contentstack-launch/package.json +++ b/packages/contentstack-launch/package.json @@ -17,14 +17,14 @@ "/oclif.manifest.json" ], "dependencies": { - "@apollo/client": "^3.11.8", + "@apollo/client": "^3.11.9", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", "@oclif/core": "^3.27.0", "@oclif/plugin-help": "^5.2.20", - "@oclif/plugin-plugins": "^5.4.14", + "@oclif/plugin-plugins": "^5.4.15", "@types/express": "^4.17.21", - "@types/express-serve-static-core": "^4.17.34", + "@types/express-serve-static-core": "^4.19.6", "adm-zip": "^0.5.16", "chalk": "^4.1.2", "cross-fetch": "^3.1.8", @@ -36,24 +36,24 @@ "ini": "^3.0.1", "lodash": "^4.17.21", "open": "^8.4.2", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", - "@types/adm-zip": "^0.5.5", + "@oclif/test": "^4.1.0", + "@types/adm-zip": "^0.5.6", "@types/chai": "^4.3.20", "@types/esm": "^3.2.2", "@types/ini": "^1.3.34", - "@types/lodash": "^4.17.10", - "@types/node": "^16.18.113", + "@types/lodash": "^4.17.13", + "@types/node": "^16.18.119", "chai": "^4.5.0", - "eslint": "^9.11.1", + "eslint": "^9.14.0", "eslint-config-oclif": "^4", "eslint-config-oclif-typescript": "^3.1.12", "oclif": "^3.17.2", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.7.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" }, "oclif": { diff --git a/packages/contentstack-migrate-rte/package.json b/packages/contentstack-migrate-rte/package.json index 8c4e545448..f28e4f52e5 100644 --- a/packages/contentstack-migrate-rte/package.json +++ b/packages/contentstack-migrate-rte/package.json @@ -24,7 +24,7 @@ "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", "globby": "^10.0.2", - "mocha": "^10.8.1", + "mocha": "^10.8.2", "nyc": "^15.1.0", "oclif": "^3.17.2", "tslib": "^1.14.1" diff --git a/packages/contentstack-migration/package.json b/packages/contentstack-migration/package.json index be247f5b32..31d60e2cda 100644 --- a/packages/contentstack-migration/package.json +++ b/packages/contentstack-migration/package.json @@ -14,7 +14,7 @@ "dot-object": "^2.1.5", "dotenv": "^16.4.5", "listr": "^0.14.3", - "winston": "^3.15.0" + "winston": "^3.16.0" }, "devDependencies": { "@oclif/test": "^4.1.0", diff --git a/packages/contentstack-seed/package.json b/packages/contentstack-seed/package.json index ceddb9d0cf..23d61eae2c 100644 --- a/packages/contentstack-seed/package.json +++ b/packages/contentstack-seed/package.json @@ -8,11 +8,12 @@ "@contentstack/cli-cm-import": "~1.19.2", "@contentstack/cli-command": "~1.3.2", "@contentstack/cli-utilities": "~1.8.0", - "inquirer": "8.2.4", + "@contentstack/management": "~1.18.3", + "inquirer": "8.2.6", "mkdirp": "^1.0.4", "tar": "^6.2.1", "tmp": "^0.2.3", - "tslib": "^2.7.0" + "tslib": "^2.8.1" }, "devDependencies": { "@oclif/plugin-help": "^5.2.20", @@ -25,7 +26,7 @@ "axios": "^1.7.7", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", + "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", "jest": "^29.7.0", "oclif": "^3.17.2", diff --git a/packages/contentstack-utilities/package.json b/packages/contentstack-utilities/package.json index 6c26cea16e..7d753cb2ce 100644 --- a/packages/contentstack-utilities/package.json +++ b/packages/contentstack-utilities/package.json @@ -32,15 +32,15 @@ "author": "contentstack", "license": "MIT", "dependencies": { - "@contentstack/management": "~1.18.1", - "@contentstack/marketplace-sdk": "^1.2.3", - "@oclif/core": "^3.27.0", - "axios": "^1.7.7", - "chalk": "^4.1.2", + "@contentstack/management": "~1.18.0", + "@contentstack/marketplace-sdk": "^1.2.1", + "@oclif/core": "^3.26.5", + "axios": "^1.7.4", + "chalk": "^4.0.0", "cli-cursor": "^3.1.0", "cli-table": "^0.3.11", "conf": "^10.2.0", - "debug": "^4.1.1", + "debug": "^4.3.7", "dotenv": "^16.4.5", "figures": "^3.2.0", "inquirer": "8.2.6", @@ -61,8 +61,8 @@ }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", - "@types/chai": "^4.2.18", + "@oclif/test": "^4.1.0", + "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", "@types/mocha": "^8.2.3", @@ -72,11 +72,11 @@ "chai": "^4.5.0", "eslint": "^8.57.1", "eslint-config-oclif": "^4.0.0", - "eslint-config-oclif-typescript": "^3.1.11", + "eslint-config-oclif-typescript": "^3.1.12", "fancy-test": "^2.0.42", "globby": "^10.0.2", - "mocha": "10.7.3", - "nock": "^13.5.5", + "mocha": "10.1.0", + "nock": "^13.5.6", "nyc": "^15.1.0", "rimraf": "^2.7.1", "sinon": "^19.0.2", diff --git a/packages/contentstack-utilities/src/logger.ts b/packages/contentstack-utilities/src/logger.ts index a5eba73772..a38ca510ac 100644 --- a/packages/contentstack-utilities/src/logger.ts +++ b/packages/contentstack-utilities/src/logger.ts @@ -32,7 +32,7 @@ export class LoggerService { console.log('warning: failed to log the result'); } // parse message - info.message = messageHandler.parse(info.message); + info.message = messageHandler.parse(info.message as string); let message = `${LoggerService.dateFormat()} : ${name}: ${info.level} : ${info.message}`; message = info.obj ? message + `:${stringifiedParam}` : message; message = this.data ? message + `:${JSON.stringify(this.data)}` : message; diff --git a/packages/contentstack-variants/package.json b/packages/contentstack-variants/package.json index f5811e7976..c283965da6 100644 --- a/packages/contentstack-variants/package.json +++ b/packages/contentstack-variants/package.json @@ -18,21 +18,21 @@ "license": "MIT", "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", - "@types/node": "^20.16.10", + "@types/node": "^20.17.6", "chai": "^4.5.0", - "mocha": "^10.7.3", + "mocha": "^10.8.2", "nyc": "^15.1.0", - "sinon": "^19.0.2", + "sinon": "^17.0.2", "ts-node": "^10.9.2", - "tslib": "^2.7.0", - "typescript": "^5.6.2" + "tslib": "^2.8.1", + "typescript": "^5.6.3" }, "dependencies": { "@contentstack/cli-utilities": "^1.8.0", "lodash": "^4.17.21", "mkdirp": "^1.0.4", - "winston": "^3.14.2" + "winston": "^3.17.0" } } diff --git a/packages/contentstack-variants/tsconfig.tsbuildinfo b/packages/contentstack-variants/tsconfig.tsbuildinfo deleted file mode 100644 index d2b5f2c97d..0000000000 --- a/packages/contentstack-variants/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"root":["./src/index.ts"],"version":"5.6.2"} \ No newline at end of file diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 0b309861df..7ae7cd9993 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli/1.29.0 darwin-arm64 node-v22.8.0 +@contentstack/cli/1.29.0 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -50,15 +50,15 @@ USAGE * [`csdx cm:assets:publish [-a ] [--retry-failed ] [-e ] [--folder-uid ] [--bulk-publish ] [-c ] [-y] [--locales ] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmassetspublish--a-value---retry-failed-value--e-value---folder-uid-value---bulk-publish-value--c-value--y---locales-value---branch-value---delivery-token-value---source-env-value-1) * [`csdx cm:bulk-publish:clear`](#csdx-cmbulk-publishclear) * [`csdx cm:bulk-publish:configure`](#csdx-cmbulk-publishconfigure) -* [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries) -* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value) +* [`csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants]`](#csdx-cmbulk-publishcross-publish--a-value---retry-failed-value---bulk-publish-value---content-type-value---locales-value---source-env-value---environments-value---delivery-token-value--c-value--y---branch-value---onlyassets---onlyentries---include-variants) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value---entry-uid-value---include-variants) * [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) * [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value) * [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert) * [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) * [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) * [`csdx cm:entries:migrate-html-rte`](#csdx-cmentriesmigrate-html-rte) -* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value-1) +* [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value---entry-uid-value---include-variants-1) * [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) * [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value-1) * [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value-1) @@ -997,7 +997,7 @@ EXAMPLES $ csdx cm:stacks:publish-configure --stack-api-key ``` -## `csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries]` +## `csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants]` Publish entries and assets from one environment to other environments @@ -1005,7 +1005,7 @@ Publish entries and assets from one environment to other environments USAGE $ csdx cm:bulk-publish:cross-publish [-a ] [--retry-failed ] [--bulk-publish ] [--content-type ] [--locales ] [--source-env ] [--environments ] [--delivery-token ] [-c ] [-y] - [--branch ] [--onlyAssets] [--onlyEntries] + [--branch ] [--onlyAssets] [--onlyEntries] [--include-variants] FLAGS -B, --branch= [default: main] Specify the branch to fetch the content (by default the main branch is @@ -1020,6 +1020,7 @@ FLAGS --content-type=... The Contenttypes from which entries will be published --delivery-token= The delivery token of the source environment. --environments=... Destination Environments + --include-variants Include Variants flag will publish all associated variant entries. --locales= Source locale --onlyAssets Unpublish only assets --onlyEntries Unpublish only entries @@ -1070,11 +1071,17 @@ EXAMPLES Using --stack-api-key flag $ csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants flag + + $ csdx cm:bulk-publish:cross-publish --content-type [CONTENT TYPE] --source-env [SOURCE ENV] --environments [DESTINATION ENVIRONMENT] --locales [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] [--include-variants] ``` _See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/bulk-publish/cross-publish.js)_ -## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]` +## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]` Publish entries from multiple contenttypes to multiple environments and locales @@ -1082,7 +1089,7 @@ Publish entries from multiple contenttypes to multiple environments and locales USAGE $ csdx cm:bulk-publish:entries cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch - ] [--delivery-token ] [--source-env ] + ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants] FLAGS -B, --branch= [default: main] The name of the branch where you want to perform the bulk publish @@ -1106,6 +1113,8 @@ FLAGS --content-types=... The UID of the content type(s) whose entries you want to publish in bulk. In case of multiple content types, specify the IDs separated by spaces. --delivery-token= The delivery token of the source environment. + --entry-uid= Entry Uid for publish all associated variant entries. + --include-variants Include Variants flag will publish all associated variant entries with base entry. --publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the --content-types option is already used, then you cannot use this option. --retry-failed= (optional) Use this option to retry publishing the failed entries/ assets from the @@ -1165,6 +1174,18 @@ EXAMPLES Using --stack-api-key $ csdx cm:entries:publish -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] [--include-variants] + + + + Using --entry-uid and --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] --entry-uid [ENTRY UID] [--include-variants] ``` ## `csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]` @@ -1607,7 +1628,7 @@ EXAMPLES _See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/main/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js)_ -## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ]` +## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]` Publish entries from multiple contenttypes to multiple environments and locales @@ -1615,7 +1636,7 @@ Publish entries from multiple contenttypes to multiple environments and locales USAGE $ csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token - ] [--source-env ] + ] [--source-env ] [--entry-uid ] [--include-variants] FLAGS -B, --branch= [default: main] The name of the branch where you want to perform the bulk publish @@ -1639,6 +1660,8 @@ FLAGS --content-types=... The UID of the content type(s) whose entries you want to publish in bulk. In case of multiple content types, specify the IDs separated by spaces. --delivery-token= The delivery token of the source environment. + --entry-uid= Entry Uid for publish all associated variant entries. + --include-variants Include Variants flag will publish all associated variant entries with base entry. --publish-all-content-types (optional) Set it to true to bulk publish entries from all content types. If the --content-types option is already used, then you cannot use this option. --retry-failed= (optional) Use this option to retry publishing the failed entries/ assets from the @@ -1698,6 +1721,18 @@ EXAMPLES Using --stack-api-key $ csdx cm:entries:publish -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] [--include-variants] + + + + Using --entry-uid and --include-variants + + $ csdx cm:entries:publish --content-types [CONTENT TYPE 1] [CONTENT TYPE 2] -e [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE 1] [LOCALE 2] --stack-api-key [STACK API KEY] --source-env [SOURCE ENVIRONMENT] --delivery-token [DELIVERY TOKEN] --entry-uid [ENTRY UID] [--include-variants] ``` _See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/publish.js)_ @@ -1958,7 +1993,7 @@ Unpublish entries from the given environment USAGE $ csdx cm:entries:unpublish [-a ] [-k ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--api-version ] [--content-type ] - [--delivery-token ] + [--delivery-token ] [--include-variants] FLAGS -a, --alias= Alias (name) for the management token. You must use either the --alias flag or the @@ -1976,6 +2011,7 @@ FLAGS Bulk Publish APIs will be used to unpublish the entries. --content-type= The UID of the content type whose entries you want to unpublish in bulk. --delivery-token= The delivery token of the source environment. + --include-variants Include Variants flag will unpublish all associated variant entries. --locale= Locale from which entries/assets will be unpublished, e.g., en-us. --retry-failed= (optional) Use this option to retry unpublishing the failed entries from the logfile. Specify the name of the logfile that lists failed unpublish calls. If used, this option @@ -2020,6 +2056,12 @@ EXAMPLES Using --stack-api-key flag $ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] + + + + Using --include-variants flag + + $ csdx cm:stacks:unpublish --bulk-unpublish --content-type [CONTENT TYPE] --environment [SOURCE ENV] --locale [LOCALE] --stack-api-key [STACK API KEY] --delivery-token [DELIVERY TOKEN] --include-variants ``` _See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/entries/unpublish.js)_ diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index f1a56263a5..c10ac986fa 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -22,11 +22,11 @@ "prepack": "pnpm compile && oclif manifest && oclif readme" }, "dependencies": { - "@contentstack/cli-audit": "~1.7.2", + "@contentstack/cli-audit": "~1.7.3", "@contentstack/cli-auth": "~1.3.22", "@contentstack/cli-cm-bootstrap": "~1.13.0", "@contentstack/cli-cm-branches": "~1.2.0", - "@contentstack/cli-cm-bulk-publish": "~1.6.0", + "@contentstack/cli-cm-bulk-publish": "~1.7.0", "@contentstack/cli-cm-export": "~1.14.1", "@contentstack/cli-cm-clone": "~1.13.0", "@contentstack/cli-cm-export-to-csv": "~1.7.3", @@ -38,7 +38,7 @@ "@contentstack/cli-launch": "~1.2.3", "@contentstack/cli-migration": "~1.6.3", "@contentstack/cli-utilities": "~1.8.0", - "@contentstack/management": "~1.18.2", + "@contentstack/management": "~1.18.3", "@contentstack/cli-variants": "~1.1.2", "@oclif/core": "^3.27.0", "@oclif/plugin-help": "^5", @@ -52,10 +52,10 @@ "open": "^8.4.2", "short-uuid": "^4.2.2", "uuid": "^9.0.1", - "winston": "^3.15.0" + "winston": "^3.17.0" }, "devDependencies": { - "@oclif/test": "^4.0.9", + "@oclif/test": "^4.1.0", "@types/chai": "^4.3.20", "@types/inquirer": "^9.0.7", "@types/mkdirp": "^1.0.2", @@ -67,8 +67,8 @@ "eslint-config-oclif": "^4.0.0", "eslint-config-oclif-typescript": "^3.1.12", "globby": "^10.0.2", - "mocha": "10.7.3", - "nock": "^13.5.5", + "mocha": "10.8.2", + "nock": "^13.5.6", "nyc": "^15.1.0", "oclif": "^3.17.2", "rimraf": "^2.7.1", @@ -76,7 +76,7 @@ "sinon": "^19.0.2", "tmp": "^0.2.3", "ts-node": "^10.9.2", - "tslib": "^2.8.0", + "tslib": "^2.8.1", "typescript": "^4.9.5" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 43f76c9e23..6258196018 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,11 +10,11 @@ importers: packages/contentstack: specifiers: - '@contentstack/cli-audit': ~1.7.2 + '@contentstack/cli-audit': ~1.7.3 '@contentstack/cli-auth': ~1.3.22 '@contentstack/cli-cm-bootstrap': ~1.13.0 '@contentstack/cli-cm-branches': ~1.2.0 - '@contentstack/cli-cm-bulk-publish': ~1.6.0 + '@contentstack/cli-cm-bulk-publish': ~1.7.0 '@contentstack/cli-cm-clone': ~1.13.0 '@contentstack/cli-cm-export': ~1.14.1 '@contentstack/cli-cm-export-to-csv': ~1.7.3 @@ -27,12 +27,12 @@ importers: '@contentstack/cli-migration': ~1.6.3 '@contentstack/cli-utilities': ~1.8.0 '@contentstack/cli-variants': ~1.1.2 - '@contentstack/management': ~1.18.2 + '@contentstack/management': ~1.18.3 '@oclif/core': ^3.27.0 '@oclif/plugin-help': ^5 '@oclif/plugin-not-found': ^2.4.3 '@oclif/plugin-plugins': ^5.4.15 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 '@types/inquirer': ^9.0.7 '@types/mkdirp': ^1.0.2 @@ -48,8 +48,8 @@ importers: figlet: ^1.8.0 globby: ^10.0.2 inquirer: 8.2.6 - mocha: 10.7.3 - nock: ^13.5.5 + mocha: 10.8.2 + nock: ^13.5.6 node-machine-id: ^1.1.12 nyc: ^15.1.0 oclif: ^3.17.2 @@ -60,10 +60,10 @@ importers: sinon: ^19.0.2 tmp: ^0.2.3 ts-node: ^10.9.2 - tslib: ^2.8.0 + tslib: ^2.8.1 typescript: ^4.9.5 uuid: ^9.0.1 - winston: ^3.15.0 + winston: ^3.17.0 dependencies: '@contentstack/cli-audit': link:../contentstack-audit '@contentstack/cli-auth': link:../contentstack-auth @@ -82,7 +82,7 @@ importers: '@contentstack/cli-migration': link:../contentstack-migration '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/cli-variants': link:../contentstack-variants - '@contentstack/management': 1.18.2_debug@4.3.7 + '@contentstack/management': 1.18.3_debug@4.3.7 '@oclif/core': 3.27.0 '@oclif/plugin-help': 5.2.20_ogreqof3k35xezedraj6pnd45y '@oclif/plugin-not-found': 2.4.3_ogreqof3k35xezedraj6pnd45y @@ -95,7 +95,7 @@ importers: open: 8.4.2 short-uuid: 4.2.2 uuid: 9.0.1 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0_@oclif+core@3.27.0 '@types/chai': 4.3.20 @@ -109,8 +109,8 @@ importers: eslint-config-oclif: 4.0.0_eslint@8.57.1 eslint-config-oclif-typescript: 3.1.12_avq3eyf5kaj6ssrwo7fvkrwnji globby: 10.0.2 - mocha: 10.7.3 - nock: 13.5.5 + mocha: 10.8.2 + nock: 13.5.6 nyc: 15.1.0 oclif: 3.17.2_ogreqof3k35xezedraj6pnd45y rimraf: 2.7.1 @@ -126,13 +126,13 @@ importers: '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-dev-dependencies': ^1.2.4 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/plugin-help': ^5 + '@oclif/plugin-help': ^5.2.20 '@oclif/plugin-plugins': ^5.4.15 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 '@types/fs-extra': ^11.0.4 '@types/mocha': ^10.0.9 - '@types/node': ^20.16.14 + '@types/node': ^20.17.6 '@types/uuid': ^9.0.8 chai: ^4.5.0 chalk: ^4.1.2 @@ -142,17 +142,17 @@ importers: fast-csv: ^4.3.6 fs-extra: ^11.2.0 lodash: ^4.17.21 - mocha: ^10.7.3 + mocha: ^10.8.2 nyc: ^15.1.0 - oclif: ^3 + oclif: ^3.17.2 shx: ^0.3.4 sinon: ^19.0.2 ts-jest: ^29.2.5 ts-node: ^10.9.2 - tslib: ^2.8.0 + tslib: ^2.8.1 typescript: ^5.6.3 uuid: ^9.0.1 - winston: ^3.15.0 + winston: ^3.17.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -163,7 +163,7 @@ importers: fs-extra: 11.2.0 lodash: 4.17.21 uuid: 9.0.1 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@contentstack/cli-dev-dependencies': link:../contentstack-dev-dependencies '@oclif/test': 4.1.0 @@ -192,7 +192,7 @@ importers: '@contentstack/cli-utilities': ~1.8.0 '@fancy-test/nock': ^0.1.1 '@oclif/plugin-help': ^5.2.20 - '@oclif/test': ^4.0.8 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 '@types/inquirer': ^9.0.7 '@types/mkdirp': ^1.0.2 @@ -216,14 +216,14 @@ importers: tmp: ^0.2.3 ts-node: ^10.9.2 typescript: ^4.9.5 - winston: ^3.15.0 + winston: ^3.17.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities chalk: 4.1.2 debug: 4.3.7 inquirer: 8.2.6 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@fancy-test/nock': 0.1.1 '@oclif/plugin-help': 5.2.20_ogreqof3k35xezedraj6pnd45y @@ -254,7 +254,7 @@ importers: '@contentstack/cli-cm-seed': ~1.10.0 '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/inquirer': ^9.0.7 '@types/mkdirp': ^1.0.2 '@types/node': ^14.18.63 @@ -266,7 +266,7 @@ importers: globby: ^10.0.2 inquirer: 8.2.6 mkdirp: ^1.0.4 - mocha: 10.7.3 + mocha: 10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 rimraf: ^2.7.1 @@ -292,7 +292,7 @@ importers: eslint-config-oclif: 4.0.0_eslint@8.57.1 eslint-config-oclif-typescript: 3.1.12_avq3eyf5kaj6ssrwo7fvkrwnji globby: 10.0.2 - mocha: 10.7.3 + mocha: 10.8.2 nyc: 15.1.0 oclif: 3.17.2_ogreqof3k35xezedraj6pnd45y rimraf: 2.7.1 @@ -309,7 +309,7 @@ importers: '@contentstack/cli-utilities': ~1.8.0 '@oclif/core': ^3.27.0 '@oclif/plugin-help': ^5.2.20 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/flat': ^5.0.5 assert: ^2.1.0 async: ^3.2.6 @@ -336,9 +336,9 @@ importers: proxyquire: ^2.1.3 sinon: ^19.0.2 ts-node: ^10.9.2 - tslib: ^2.8.0 + tslib: ^2.8.1 typescript: ^4.9.5 - winston: ^3.15.0 + winston: ^3.16.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -357,7 +357,7 @@ importers: promise-limit: 2.7.0 proxyquire: 2.1.3 tslib: 2.8.1 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@contentstack/cli-auth': link:../contentstack-auth '@contentstack/cli-config': link:../contentstack-config @@ -383,7 +383,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 bluebird: ^3.7.2 chai: ^4.5.0 chalk: ^4.1.2 @@ -394,12 +394,12 @@ importers: inquirer: 8.2.6 lodash: ^4.17.21 mkdirp: ^1.0.4 - mocha: ^10.7.3 + mocha: ^10.8.2 nock: ^13.5.5 nyc: ^15.1.0 oclif: ^3.17.2 tslib: ^1.14.1 - winston: ^3.15.0 + winston: ^3.16.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -409,8 +409,8 @@ importers: inquirer: 8.2.6 lodash: 4.17.21 mkdirp: 1.0.4 - nock: 13.5.5 - winston: 3.16.0 + nock: 13.5.6 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0 chai: 4.5.0 @@ -429,10 +429,10 @@ importers: '@contentstack/cli-cm-import': ~1.19.2 '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 async: ^3.2.6 chai: ^4.5.0 - chalk: ^4.1.0 + chalk: ^4.1.2 child_process: ^1.0.2 eslint: ^8.57.1 eslint-config-oclif: ^4.0.0 @@ -442,14 +442,14 @@ importers: jest: ^29.7.0 lodash: ^4.17.21 merge: ^2.1.1 - mocha: ^10.7.3 + mocha: ^10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 ora: ^5.4.1 prompt: ^1.3.0 rimraf: ^5.0.10 sinon: ^19.0.2 - winston: ^3.14.2 + winston: ^3.16.0 dependencies: '@colors/colors': 1.6.0 '@contentstack/cli-cm-export': link:../contentstack-export @@ -466,7 +466,7 @@ importers: ora: 5.4.1 prompt: 1.3.0 rimraf: 5.0.10 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0 chai: 4.5.0 @@ -482,18 +482,18 @@ importers: packages/contentstack-command: specifiers: '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 '@types/mkdirp': ^1.0.2 '@types/mocha': ^8.2.3 '@types/node': ^14.18.63 '@types/sinon': ^10.0.20 chai: ^4.5.0 - contentstack: ^3.21.0 + contentstack: ^3.22.1 eslint: ^8.57.1 eslint-config-oclif: ^4.0.0 - eslint-config-oclif-typescript: ^3.1.11 - mocha: 10.1.0 + eslint-config-oclif-typescript: ^3.1.12 + mocha: 10.8.2 nyc: ^15.1.0 rimraf: ^2.7.1 sinon: ^19.0.2 @@ -501,7 +501,7 @@ importers: typescript: ^4.9.5 dependencies: '@contentstack/cli-utilities': link:../contentstack-utilities - contentstack: 3.22.0 + contentstack: 3.22.1 devDependencies: '@oclif/test': 4.1.0 '@types/chai': 4.3.20 @@ -513,7 +513,7 @@ importers: eslint: 8.57.1 eslint-config-oclif: 4.0.0_eslint@8.57.1 eslint-config-oclif-typescript: 3.1.12_avq3eyf5kaj6ssrwo7fvkrwnji - mocha: 10.1.0 + mocha: 10.8.2 nyc: 15.1.0 rimraf: 2.7.1 sinon: 19.0.2 @@ -524,7 +524,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 '@types/inquirer': ^9.0.7 '@types/mkdirp': ^1.0.2 @@ -536,12 +536,12 @@ importers: debug: ^4.3.7 eslint: ^8.57.1 eslint-config-oclif: ^4.0.0 - eslint-config-oclif-typescript: ^3.1.11 + eslint-config-oclif-typescript: ^3.1.12 globby: ^10.0.2 inquirer: 8.2.6 lodash: ^4.17.21 mkdirp: ^1.0.4 - mocha: 10.7.3 + mocha: 10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 rimraf: ^2.7.1 @@ -549,7 +549,7 @@ importers: tmp: ^0.2.3 ts-node: ^10.9.2 typescript: ^4.9.5 - winston: ^3.14.2 + winston: ^3.16.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -558,7 +558,7 @@ importers: inquirer: 8.2.6 lodash: 4.17.21 mkdirp: 1.0.4 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0 '@types/chai': 4.3.20 @@ -572,7 +572,7 @@ importers: eslint-config-oclif: 4.0.0_eslint@8.57.1 eslint-config-oclif-typescript: 3.1.12_avq3eyf5kaj6ssrwo7fvkrwnji globby: 10.0.2 - mocha: 10.7.3 + mocha: 10.8.2 nyc: 15.1.0 oclif: 3.17.2_ogreqof3k35xezedraj6pnd45y rimraf: 2.7.1 @@ -584,14 +584,14 @@ importers: packages/contentstack-dev-dependencies: specifiers: '@oclif/core': ^3.27.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/node': ^14.18.63 eslint: ^7.32.0 fancy-test: ^2.0.42 lodash: ^4.17.21 - mocha: 10.7.3 + mocha: 10.8.2 ts-node: ^10.9.2 - tslib: ^2.7.0 + tslib: ^2.8.1 typescript: ^4.9.5 dependencies: '@oclif/core': 3.27.0 @@ -601,7 +601,7 @@ importers: devDependencies: '@types/node': 14.18.63 eslint: 7.32.0 - mocha: 10.7.3 + mocha: 10.8.2 ts-node: 10.9.2_ogreqof3k35xezedraj6pnd45y tslib: 2.8.1 typescript: 4.9.5 @@ -616,8 +616,8 @@ importers: '@contentstack/cli-variants': ~1.1.2 '@oclif/core': ^3.27.0 '@oclif/plugin-help': ^5.2.20 - '@oclif/test': ^4.0.9 - '@types/big-json': ^3.2.4 + '@oclif/test': ^4.1.0 + '@types/big-json': ^3.2.5 '@types/mkdirp': ^1.0.2 '@types/progress-stream': ^2.0.5 assert: ^2.1.0 @@ -635,7 +635,7 @@ importers: lodash: ^4.17.21 merge: ^2.1.1 mkdirp: ^1.0.4 - mocha: 10.7.3 + mocha: 10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 path: ^0.12.7 @@ -644,9 +644,9 @@ importers: proxyquire: ^2.1.3 sinon: ^19.0.2 ts-node: ^10.9.2 - tslib: ^2.7.0 + tslib: ^2.8.1 typescript: ^4.9.5 - winston: ^3.14.2 + winston: ^3.16.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -665,7 +665,7 @@ importers: promise-limit: 2.7.0 proxyquire: 2.1.3 tslib: 2.8.1 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@contentstack/cli-auth': link:../contentstack-auth '@contentstack/cli-config': link:../contentstack-config @@ -682,7 +682,7 @@ importers: eslint: 8.57.1 eslint-config-oclif: 4.0.0_eslint@8.57.1 globby: 10.0.2 - mocha: 10.7.3 + mocha: 10.8.2 nyc: 15.1.0 oclif: 3.17.2_fxnscsehfcewpnie2ltbcrhxa4 sinon: 19.0.2 @@ -693,9 +693,9 @@ importers: specifiers: '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 - '@types/mocha': ^10.0.8 + '@types/mocha': ^10.0.9 chai: ^4.5.0 chalk: ^4.1.2 debug: ^4.3.7 @@ -707,7 +707,7 @@ importers: inquirer: 8.2.6 inquirer-checkbox-plus-prompt: 1.4.2 mkdirp: ^3.0.1 - mocha: ^10.7.3 + mocha: ^10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 dependencies: @@ -734,14 +734,14 @@ importers: packages/contentstack-import: specifiers: - '@contentstack/cli-audit': ~1.7.2 + '@contentstack/cli-audit': ~1.7.3 '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 '@contentstack/cli-variants': ~1.1.2 - '@contentstack/management': ~1.18.1 + '@contentstack/management': ~1.18.3 '@oclif/core': ^3.27.0 - '@oclif/test': ^4.0.9 - '@types/big-json': ^3.2.4 + '@oclif/test': ^4.1.0 + '@types/big-json': ^3.2.5 '@types/bluebird': ^3.5.42 '@types/chai': ^4.3.20 '@types/fs-extra': ^11.0.4 @@ -765,7 +765,7 @@ importers: marked: ^4.3.0 merge: ^2.1.1 mkdirp: ^1.0.4 - mocha: ^10.7.3 + mocha: ^10.8.2 nyc: ^15.1.0 oclif: ^3.17.2 promise-limit: ^2.7.0 @@ -773,16 +773,16 @@ importers: sinon: ^19.0.2 tmp: ^0.2.3 ts-node: ^10.9.2 - tslib: ^2.7.0 + tslib: ^2.8.1 typescript: ^4.9.5 uuid: ^9.0.1 - winston: ^3.14.2 + winston: ^3.17.0 dependencies: '@contentstack/cli-audit': link:../contentstack-audit '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities '@contentstack/cli-variants': link:../contentstack-variants - '@contentstack/management': 1.18.2_debug@4.3.7 + '@contentstack/management': 1.18.3_debug@4.3.7 '@oclif/core': 3.27.0 big-json: 3.2.0 bluebird: 3.7.2 @@ -796,7 +796,7 @@ importers: promise-limit: 2.7.0 tslib: 2.8.1 uuid: 9.0.1 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0_@oclif+core@3.27.0 '@types/big-json': 3.2.5 @@ -825,27 +825,27 @@ importers: packages/contentstack-launch: specifiers: - '@apollo/client': ^3.11.8 + '@apollo/client': ^3.11.9 '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 '@oclif/core': ^3.27.0 '@oclif/plugin-help': ^5.2.20 - '@oclif/plugin-plugins': ^5.4.14 - '@oclif/test': ^4.0.9 - '@types/adm-zip': ^0.5.5 + '@oclif/plugin-plugins': ^5.4.15 + '@oclif/test': ^4.1.0 + '@types/adm-zip': ^0.5.6 '@types/chai': ^4.3.20 '@types/esm': ^3.2.2 '@types/express': ^4.17.21 - '@types/express-serve-static-core': ^4.17.34 + '@types/express-serve-static-core': ^4.19.6 '@types/ini': ^1.3.34 - '@types/lodash': ^4.17.10 - '@types/node': ^16.18.113 + '@types/lodash': ^4.17.13 + '@types/node': ^16.18.119 adm-zip: ^0.5.16 chai: ^4.5.0 chalk: ^4.1.2 cross-fetch: ^3.1.8 dotenv: ^16.4.5 - eslint: ^9.11.1 + eslint: ^9.14.0 eslint-config-oclif: ^4 eslint-config-oclif-typescript: ^3.1.12 esm: ^3.2.25 @@ -858,11 +858,11 @@ importers: open: ^8.4.2 shx: ^0.3.4 ts-node: ^10.9.2 - tslib: ^2.7.0 + tslib: ^2.8.1 typescript: ^4.9.5 - winston: ^3.15.0 + winston: ^3.17.0 dependencies: - '@apollo/client': 3.11.8_graphql@16.9.0 + '@apollo/client': 3.11.9_graphql@16.9.0 '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities '@oclif/core': 3.27.0 @@ -881,7 +881,7 @@ importers: ini: 3.0.1 lodash: 4.17.21 open: 8.4.2 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0_@oclif+core@3.27.0 '@types/adm-zip': 0.5.6 @@ -915,7 +915,7 @@ importers: jsdom: ^20.0.3 jsonschema: ^1.4.1 lodash: ^4.17.21 - mocha: ^10.8.1 + mocha: ^10.8.2 nock: ^13.5.5 nyc: ^15.1.0 oclif: ^3.17.2 @@ -932,7 +932,7 @@ importers: jsdom: 20.0.3 jsonschema: 1.4.1 lodash: 4.17.21 - nock: 13.5.5 + nock: 13.5.6 omit-deep-lodash: 1.1.7 sinon: 19.0.2 uuid: 9.0.1 @@ -970,7 +970,7 @@ importers: nock: ^13.5.5 nyc: ^15.1.0 oclif: ^3.17.2 - winston: ^3.15.0 + winston: ^3.16.0 dependencies: '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities @@ -982,7 +982,7 @@ importers: dot-object: 2.1.5 dotenv: 16.4.5 listr: 0.14.3 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@oclif/test': 4.1.0 chai: 4.5.0 @@ -992,7 +992,7 @@ importers: jsdoc: 4.0.4 jsdoc-to-markdown: 8.0.3 mkdirp: 1.0.4 - nock: 13.5.5 + nock: 13.5.6 nyc: 15.1.0 oclif: 3.17.2 @@ -1001,6 +1001,7 @@ importers: '@contentstack/cli-cm-import': ~1.19.2 '@contentstack/cli-command': ~1.3.2 '@contentstack/cli-utilities': ~1.8.0 + '@contentstack/management': ~1.18.3 '@oclif/plugin-help': ^5.2.20 '@types/inquirer': ^9.0.7 '@types/jest': ^26.0.24 @@ -1011,9 +1012,9 @@ importers: axios: ^1.7.7 eslint: ^8.57.1 eslint-config-oclif: ^4.0.0 - eslint-config-oclif-typescript: ^3.1.11 + eslint-config-oclif-typescript: ^3.1.12 globby: ^10.0.2 - inquirer: 8.2.4 + inquirer: 8.2.6 jest: ^29.7.0 mkdirp: ^1.0.4 oclif: ^3.17.2 @@ -1021,13 +1022,14 @@ importers: tmp: ^0.2.3 ts-jest: ^29.2.5 ts-node: ^8.10.2 - tslib: ^2.7.0 + tslib: ^2.8.1 typescript: ^4.9.5 dependencies: '@contentstack/cli-cm-import': link:../contentstack-import '@contentstack/cli-command': link:../contentstack-command '@contentstack/cli-utilities': link:../contentstack-utilities - inquirer: 8.2.4 + '@contentstack/management': 1.18.3 + inquirer: 8.2.6 mkdirp: 1.0.4 tar: 6.2.1 tmp: 0.2.3 @@ -1054,28 +1056,28 @@ importers: packages/contentstack-utilities: specifiers: '@contentstack/cli-dev-dependencies': ^1.2.4 - '@contentstack/management': ~1.18.1 - '@contentstack/marketplace-sdk': ^1.2.3 - '@oclif/core': ^3.27.0 - '@oclif/test': ^4.0.9 - '@types/chai': ^4.2.18 + '@contentstack/management': ~1.18.0 + '@contentstack/marketplace-sdk': ^1.2.1 + '@oclif/core': ^3.26.5 + '@oclif/test': ^4.1.0 + '@types/chai': ^4.3.20 '@types/inquirer': ^9.0.7 '@types/mkdirp': ^1.0.2 '@types/mocha': ^8.2.3 '@types/node': ^14.18.63 '@types/sinon': ^10.0.20 '@types/traverse': ^0.6.37 - axios: ^1.7.7 + axios: ^1.7.4 chai: ^4.5.0 - chalk: ^4.1.2 + chalk: ^4.0.0 cli-cursor: ^3.1.0 cli-table: ^0.3.11 conf: ^10.2.0 - debug: ^4.1.1 + debug: ^4.3.7 dotenv: ^16.4.5 eslint: ^8.57.1 eslint-config-oclif: ^4.0.0 - eslint-config-oclif-typescript: ^3.1.11 + eslint-config-oclif-typescript: ^3.1.12 fancy-test: ^2.0.42 figures: ^3.2.0 globby: ^10.0.2 @@ -1085,8 +1087,8 @@ importers: klona: ^2.0.6 lodash: ^4.17.21 mkdirp: ^1.0.4 - mocha: 10.7.3 - nock: ^13.5.5 + mocha: 10.1.0 + nock: ^13.5.6 nyc: ^15.1.0 open: ^8.4.2 ora: ^5.4.1 @@ -1104,8 +1106,8 @@ importers: winston: ^3.14.2 xdg-basedir: ^4.0.0 dependencies: - '@contentstack/management': 1.18.2_debug@4.3.7 - '@contentstack/marketplace-sdk': 1.2.3_debug@4.3.7 + '@contentstack/management': 1.18.3_debug@4.3.7 + '@contentstack/marketplace-sdk': 1.2.4_debug@4.3.7 '@oclif/core': 3.27.0 axios: 1.7.7_debug@4.3.7 chalk: 4.1.2 @@ -1128,7 +1130,7 @@ importers: traverse: 0.6.10 unique-string: 2.0.0 uuid: 9.0.1 - winston: 3.16.0 + winston: 3.17.0 xdg-basedir: 4.0.0 devDependencies: '@contentstack/cli-dev-dependencies': link:../contentstack-dev-dependencies @@ -1146,8 +1148,8 @@ importers: eslint-config-oclif-typescript: 3.1.12_avq3eyf5kaj6ssrwo7fvkrwnji fancy-test: 2.0.42 globby: 10.0.2 - mocha: 10.7.3 - nock: 13.5.5 + mocha: 10.1.0 + nock: 13.5.6 nyc: 15.1.0 rimraf: 2.7.1 sinon: 19.0.2 @@ -1160,24 +1162,24 @@ importers: specifiers: '@contentstack/cli-dev-dependencies': ^1.2.4 '@contentstack/cli-utilities': ^1.8.0 - '@oclif/test': ^4.0.9 + '@oclif/test': ^4.1.0 '@types/chai': ^4.3.20 - '@types/node': ^20.16.10 + '@types/node': ^20.17.6 chai: ^4.5.0 lodash: ^4.17.21 mkdirp: ^1.0.4 - mocha: ^10.7.3 + mocha: ^10.8.2 nyc: ^15.1.0 - sinon: ^19.0.2 + sinon: ^17.0.2 ts-node: ^10.9.2 - tslib: ^2.7.0 - typescript: ^5.6.2 - winston: ^3.14.2 + tslib: ^2.8.1 + typescript: ^5.6.3 + winston: ^3.17.0 dependencies: '@contentstack/cli-utilities': link:../contentstack-utilities lodash: 4.17.21 mkdirp: 1.0.4 - winston: 3.16.0 + winston: 3.17.0 devDependencies: '@contentstack/cli-dev-dependencies': link:../contentstack-dev-dependencies '@oclif/test': 4.1.0 @@ -1186,7 +1188,7 @@ importers: chai: 4.5.0 mocha: 10.8.2 nyc: 15.1.0 - sinon: 19.0.2 + sinon: 17.0.2 ts-node: 10.9.2_qh5aoajehayk656fvrs5ardgyy tslib: 2.8.1 typescript: 5.6.3 @@ -1201,8 +1203,8 @@ packages: '@jridgewell/trace-mapping': 0.3.25 dev: true - /@apollo/client/3.11.8_graphql@16.9.0: - resolution: {integrity: sha512-CgG1wbtMjsV2pRGe/eYITmV5B8lXUCYljB2gB/6jWTFQcrvirUVvKg7qtFdjYkQSFbIffU1IDyxgeaN81eTjbA==} + /@apollo/client/3.11.9_graphql@16.9.0: + resolution: {integrity: sha512-aQ6VL+CPO1G4DLS/3FelfA+nl+ZQCP5qeN1NS6J8xh9wumUM/2W1ccneqCYmbTMDtoSunxE1BV2W6u0FF4axwQ==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 graphql-ws: ^5.5.5 @@ -1644,8 +1646,20 @@ packages: uuid: 8.3.2 dev: false - /@contentstack/management/1.18.2_debug@4.3.7: - resolution: {integrity: sha512-1mu7Rhk072x4Js8RWaqnCZhdiWB7T4IGtID6kHoMSBbGaAUhlGYPoZUyTGjQjW7gQWYltpl1yGXJPRn1UmsLvg==} + /@contentstack/management/1.18.3: + resolution: {integrity: sha512-HXGH7EeK8ANasIJJhHK6qzeK0ozj64tT6RVwoFEKMeUhfAmhXOn5xQuiaipAJHzkHJSsxuWZNkPOql7I3J5rIw==} + engines: {node: '>=8.0.0'} + dependencies: + axios: 1.7.7 + form-data: 3.0.2 + lodash: 4.17.21 + qs: 6.13.0 + transitivePeerDependencies: + - debug + dev: false + + /@contentstack/management/1.18.3_debug@4.3.7: + resolution: {integrity: sha512-HXGH7EeK8ANasIJJhHK6qzeK0ozj64tT6RVwoFEKMeUhfAmhXOn5xQuiaipAJHzkHJSsxuWZNkPOql7I3J5rIw==} engines: {node: '>=8.0.0'} dependencies: axios: 1.7.7_debug@4.3.7 @@ -1656,16 +1670,16 @@ packages: - debug dev: false - /@contentstack/marketplace-sdk/1.2.3_debug@4.3.7: - resolution: {integrity: sha512-6JEDEKkHfbKJttH0lBZcf+NnPzdk3PMcfxtsxV/wVq9zvD9Z+UPIXaLmrDX7XpDuMaqnqjdSxfBBB439nimCvQ==} + /@contentstack/marketplace-sdk/1.2.4_debug@4.3.7: + resolution: {integrity: sha512-vD5GwbeMlrXmkIYfBaPeoM2umE9LCA3Cx+Jgv6V7EL4XEwvHIh4AsD8OYX+zVy++HLO0HFqwSMQPTrM0KKyd1g==} dependencies: axios: 1.7.7_debug@4.3.7 transitivePeerDependencies: - debug dev: false - /@contentstack/utils/1.3.12: - resolution: {integrity: sha512-5aTE13faSPPToGHkRwQF3bGanOaNH3nxWnSsPXWCnItIwsIqPVIwdR4cd0NyZpMTajv+IYrrIVAeibGEgAyQrg==} + /@contentstack/utils/1.3.13: + resolution: {integrity: sha512-Lp4UIHMdSxMjCmcK93L987Kxa/wnucRlR7CjVBMd1bD8auJSPFh7E3aP9fnvzjzSWockBRYbXkOq6KLojgXlPA==} dev: false /@cspotcode/source-map-support/0.8.1: @@ -3287,6 +3301,12 @@ packages: '@sinonjs/commons': 3.0.1 dev: true + /@sinonjs/fake-timers/11.3.1: + resolution: {integrity: sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA==} + dependencies: + '@sinonjs/commons': 3.0.1 + dev: true + /@sinonjs/fake-timers/13.0.5: resolution: {integrity: sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==} dependencies: @@ -3461,6 +3481,10 @@ packages: '@types/node': 20.17.6 dev: true + /@types/glob-to-regexp/0.4.4: + resolution: {integrity: sha512-nDKoaKJYbnn1MZxUY0cA1bPmmgZbg0cTq7Rh13d0KWYNOiKbqoR+2d89SnRPszGh7ROzSwZ/GOjZ4jPbmmZ6Eg==} + dev: false + /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: @@ -3569,7 +3593,7 @@ packages: /@types/mkdirp/1.0.2: resolution: {integrity: sha512-o0K1tSO0Dx5X6xlU5F1D6625FawhC3dU3iqr25lluNv/+/QIVH8RLNEiVokgIZo+mz+87w/3Mkg/VvQS+J51fQ==} dependencies: - '@types/node': 20.17.6 + '@types/node': 14.18.63 dev: true /@types/mocha/10.0.9: @@ -4317,6 +4341,7 @@ packages: engines: {node: '>=6.5'} dependencies: event-target-shim: 5.0.1 + dev: true /accepts/1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} @@ -4777,7 +4802,6 @@ packages: proxy-from-env: 1.1.0 transitivePeerDependencies: - debug - dev: true /axios/1.7.7_debug@4.3.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} @@ -4971,8 +4995,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001678 - electron-to-chromium: 1.5.52 + caniuse-lite: 1.0.30001680 + electron-to-chromium: 1.5.55 node-releases: 2.0.18 update-browserslist-db: 1.1.1_browserslist@4.24.2 dev: true @@ -5012,6 +5036,7 @@ packages: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 + dev: true /builtin-modules/3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} @@ -5216,8 +5241,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite/1.0.30001678: - resolution: {integrity: sha512-RR+4U/05gNtps58PEBDZcPWTgEO2MBeoPZ96aQcjmfkBWRIDfN451fW2qyDA9/+HohLLIL5GqiMwA+IB1pWarw==} + /caniuse-lite/1.0.30001680: + resolution: {integrity: sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==} dev: true /cardinal/2.1.1: @@ -5709,18 +5734,20 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} - /contentstack/3.22.0: - resolution: {integrity: sha512-PpuWikNtmnhMxqM4aqunBy4z474N6050DQNC8S7lmQl0s1eU2UIvlyVgZHYhvgr5C5b/l9rGF7AS3h7IlhTDxA==} + /contentstack/3.22.1: + resolution: {integrity: sha512-E2WiBbTw5vzHXy9KwxL4rcw2LrFaNl2KcvlPC3Tn4KEQoRsoKFx+/bFoq5tKwpuAcuch6M6IhA2Qkt1JS52gcA==} engines: {node: '>= 10.14.2'} dependencies: - '@contentstack/utils': 1.3.12 + '@contentstack/utils': 1.3.13 cheerio: 1.0.0 es6-promise: 4.2.8 + fetch-mock: 11.1.5 isomorphic-fetch: 3.0.0 localStorage: 1.0.4 qs: 6.13.0 transitivePeerDependencies: - encoding + - node-fetch dev: false /convert-source-map/1.9.0: @@ -5792,8 +5819,8 @@ packages: - encoding dev: false - /cross-spawn/7.0.4: - resolution: {integrity: sha512-9KdyVPPtLHjPAD7tcuzSFs64UfHlLJt7U6qP4/bFVLyjLceyizj6s6jO6YBaV5d0G7g/9KnY/dOpLR4Rcg8YDg==} + /cross-spawn/7.0.5: + resolution: {integrity: sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==} engines: {node: '>= 8'} dependencies: path-key: 3.1.1 @@ -6069,6 +6096,11 @@ packages: resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} dev: true + /dequal/2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + dev: false + /destroy/1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} @@ -6225,8 +6257,8 @@ packages: dependencies: jake: 10.9.2 - /electron-to-chromium/1.5.52: - resolution: {integrity: sha512-xtoijJTZ+qeucLBDNztDOuQBE1ksqjvNjvqFoST3nGC7fSpqJ+X6BdTBaY5BHG+IhWWmpc6b/KfpeuEDupEPOQ==} + /electron-to-chromium/1.5.55: + resolution: {integrity: sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==} dev: true /elegant-spinner/1.0.1: @@ -6353,7 +6385,7 @@ packages: is-string: 1.0.7 is-typed-array: 1.1.13 is-weakref: 1.0.2 - object-inspect: 1.13.2 + object-inspect: 1.13.3 object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.3 @@ -7439,7 +7471,7 @@ packages: '@humanwhocodes/config-array': 0.5.0 ajv: 6.12.6 chalk: 4.1.2 - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 debug: 4.3.7 doctrine: 3.0.0 enquirer: 2.4.1 @@ -7494,7 +7526,7 @@ packages: '@ungap/structured-clone': 1.2.0 ajv: 6.12.6 chalk: 4.1.2 - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 debug: 4.3.7 doctrine: 3.0.0 escape-string-regexp: 4.0.0 @@ -7550,7 +7582,7 @@ packages: '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 debug: 4.3.7 escape-string-regexp: 4.0.0 eslint-scope: 8.2.0 @@ -7647,6 +7679,7 @@ packages: /event-target-shim/5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} + dev: true /eventemitter3/4.0.7: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} @@ -7660,12 +7693,13 @@ packages: /events/3.3.0: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} + dev: true /execa/5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} dependencies: - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 get-stream: 6.0.1 human-signals: 2.1.0 is-stream: 2.0.1 @@ -7768,7 +7802,7 @@ packages: '@types/sinon': 10.0.20 lodash: 4.17.21 mock-stdin: 1.0.0 - nock: 13.5.5 + nock: 13.5.6 stdout-stderr: 0.1.13 transitivePeerDependencies: - supports-color @@ -7785,7 +7819,7 @@ packages: '@types/sinon': 10.0.20 lodash: 4.17.21 mock-stdin: 1.0.0 - nock: 13.5.5 + nock: 13.5.6 stdout-stderr: 0.1.13 transitivePeerDependencies: - supports-color @@ -7846,6 +7880,22 @@ packages: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} dev: false + /fetch-mock/11.1.5: + resolution: {integrity: sha512-KHmZDnZ1ry0pCTrX4YG5DtThHi0MH+GNI9caESnzX/nMJBrvppUHMvLx47M0WY9oAtKOMiPfZDRpxhlHg89BOA==} + engines: {node: '>=8.0.0'} + peerDependencies: + node-fetch: '*' + peerDependenciesMeta: + node-fetch: + optional: true + dependencies: + '@types/glob-to-regexp': 0.4.4 + dequal: 2.0.3 + glob-to-regexp: 0.4.1 + is-subset: 0.1.1 + regexparam: 3.0.0 + dev: false + /figlet/1.8.0: resolution: {integrity: sha512-chzvGjd+Sp7KUvPHZv6EXV5Ir3Q7kYNpCr4aHrRW79qFtTefmQZNny+W1pW9kf5zeE6dikku2W50W/wAH2xWgw==} engines: {node: '>= 0.4.0'} @@ -8036,7 +8086,6 @@ packages: peerDependenciesMeta: debug: optional: true - dev: true /follow-redirects/1.15.9_debug@4.3.7: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} @@ -8059,7 +8108,7 @@ packages: resolution: {integrity: sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==} engines: {node: '>=8.0.0'} dependencies: - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 signal-exit: 3.0.7 dev: true @@ -8067,7 +8116,7 @@ packages: resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} engines: {node: '>=14'} dependencies: - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 signal-exit: 4.1.0 /form-data/3.0.2: @@ -8290,6 +8339,10 @@ packages: is-glob: 4.0.3 dev: true + /glob-to-regexp/0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + dev: false + /glob/10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true @@ -8796,27 +8849,6 @@ packages: through: 2.3.8 dev: false - /inquirer/8.2.4: - resolution: {integrity: sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==} - engines: {node: '>=12.0.0'} - dependencies: - ansi-escapes: 4.3.2 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-width: 3.0.0 - external-editor: 3.1.0 - figures: 3.2.0 - lodash: 4.17.21 - mute-stream: 0.0.8 - ora: 5.4.1 - run-async: 2.4.1 - rxjs: 7.8.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - through: 2.3.8 - wrap-ansi: 7.0.0 - dev: false - /inquirer/8.2.6: resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==} engines: {node: '>=12.0.0'} @@ -9117,6 +9149,10 @@ packages: dependencies: has-tostringtag: 1.0.2 + /is-subset/0.1.1: + resolution: {integrity: sha512-6Ybun0IkarhmEqxXCNw/C0bna6Zb/TkfUX9UbwJtK6ObwAVCxmAP308WWTHviM/zAqXk05cdhYsUsZeGQh99iw==} + dev: false + /is-symbol/1.0.4: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} @@ -9256,7 +9292,7 @@ packages: engines: {node: '>=8'} dependencies: archy: 1.0.0 - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 istanbul-lib-coverage: 3.2.2 p-map: 3.0.0 rimraf: 3.0.2 @@ -10416,8 +10452,8 @@ packages: wrap-ansi: 3.0.1 dev: false - /logform/2.6.1: - resolution: {integrity: sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==} + /logform/2.7.0: + resolution: {integrity: sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==} engines: {node: '>= 12.0.0'} dependencies: '@colors/colors': 1.6.0 @@ -11088,6 +11124,16 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true + /nise/5.1.9: + resolution: {integrity: sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==} + dependencies: + '@sinonjs/commons': 3.0.1 + '@sinonjs/fake-timers': 11.3.1 + '@sinonjs/text-encoding': 0.7.3 + just-extend: 6.2.0 + path-to-regexp: 6.3.0 + dev: true + /nise/6.1.1: resolution: {integrity: sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==} dependencies: @@ -11097,8 +11143,8 @@ packages: just-extend: 6.2.0 path-to-regexp: 8.2.0 - /nock/13.5.5: - resolution: {integrity: sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==} + /nock/13.5.6: + resolution: {integrity: sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==} engines: {node: '>= 10.13'} dependencies: debug: 4.3.7 @@ -11595,8 +11641,8 @@ packages: resolution: {integrity: sha512-7n4IpLMzGGcLEMiQKsNR7vCe+N5E9LORFrtNUVy4sO3dj9a3HedZCxEL2T7QuLhcHN1NBuBsMOKaOsAYI9IIvg==} dev: true - /object-inspect/1.13.2: - resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} + /object-inspect/1.13.3: + resolution: {integrity: sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==} engines: {node: '>= 0.4'} /object-is/1.1.6: @@ -12279,7 +12325,7 @@ packages: resolution: {integrity: sha512-HkrjG2aJlvF0t2BMH0e2LB/EHf3Lcq3fNMzy4GYHcQblAvOl+QQji1Lx7WRBMqpVK8p+KR7bCg7oqAMXtdgqyw==} dependencies: ansi-escapes: 4.3.2 - cross-spawn: 7.0.4 + cross-spawn: 7.0.5 /path-exists/3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} @@ -12318,6 +12364,10 @@ packages: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} dev: false + /path-to-regexp/6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} + dev: true + /path-to-regexp/8.2.0: resolution: {integrity: sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==} engines: {node: '>=16'} @@ -12558,8 +12608,10 @@ packages: resolve: 1.22.8 dev: false - /psl/1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + /psl/1.10.0: + resolution: {integrity: sha512-KSKHEbjAnpUuAUserOq0FxGXCUrzC3WniuSJhvdbs102rL55266ZcHBqLWOsG30spQMlPdpy7icATiAQehg/iA==} + dependencies: + punycode: 2.3.1 dev: false /pump/3.0.2: @@ -12738,6 +12790,7 @@ packages: events: 3.3.0 process: 0.11.10 string_decoder: 1.3.0 + dev: true /readdir-scoped-modules/1.1.0: resolution: {integrity: sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==} @@ -12848,6 +12901,11 @@ packages: es-errors: 1.3.0 set-function-name: 2.0.2 + /regexparam/3.0.0: + resolution: {integrity: sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==} + engines: {node: '>=8'} + dev: false + /regexpp/3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} engines: {node: '>=8'} @@ -13237,7 +13295,7 @@ packages: call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 - object-inspect: 1.13.2 + object-inspect: 1.13.3 /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -13265,6 +13323,18 @@ packages: dependencies: is-arrayish: 0.3.2 + /sinon/17.0.2: + resolution: {integrity: sha512-uihLiaB9FhzesElPDFZA7hDcNABzsVHwr3YfmM9sBllVwab3l0ltGlRV1XhpNfIacNDLGD1QRZNLs5nU5+hTuA==} + deprecated: There + dependencies: + '@sinonjs/commons': 3.0.1 + '@sinonjs/fake-timers': 11.3.1 + '@sinonjs/samsam': 8.0.2 + diff: 5.2.0 + nise: 5.1.9 + supports-color: 7.2.0 + dev: true + /sinon/19.0.2: resolution: {integrity: sha512-euuToqM+PjO4UgXeLETsfQiuoyPXlqFezr6YZDFwHR3t4qaX0fZUe1MfPMznTL5f8BWrVS89KduLdMUsxFCO6g==} dependencies: @@ -13813,7 +13883,7 @@ packages: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} dependencies: - psl: 1.9.0 + psl: 1.10.0 punycode: 2.3.1 universalify: 0.2.0 url-parse: 1.5.10 @@ -14675,12 +14745,12 @@ packages: dependencies: string-width: 4.2.3 - /winston-transport/4.8.0: - resolution: {integrity: sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA==} + /winston-transport/4.9.0: + resolution: {integrity: sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==} engines: {node: '>= 12.0.0'} dependencies: - logform: 2.6.1 - readable-stream: 4.5.2 + logform: 2.7.0 + readable-stream: 3.6.2 triple-beam: 1.4.1 dev: false @@ -14696,21 +14766,21 @@ packages: stack-trace: 0.0.10 dev: false - /winston/3.16.0: - resolution: {integrity: sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==} + /winston/3.17.0: + resolution: {integrity: sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==} engines: {node: '>= 12.0.0'} dependencies: '@colors/colors': 1.6.0 '@dabh/diagnostics': 2.0.3 async: 3.2.6 is-stream: 2.0.1 - logform: 2.6.1 + logform: 2.7.0 one-time: 1.0.0 readable-stream: 3.6.2 safe-stable-stringify: 2.5.0 stack-trace: 0.0.10 triple-beam: 1.4.1 - winston-transport: 4.8.0 + winston-transport: 4.9.0 dev: false /word-wrap/1.2.5: