diff --git a/package-lock.json b/package-lock.json index d44785f30d..f6f337e759 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,9 +32,9 @@ } }, "node_modules/@apollo/client": { - "version": "3.10.4", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.10.4.tgz", - "integrity": "sha512-51gk0xOwN6Ls1EbTG5svFva1kdm2APHYTzmFhaAdvUQoJFDxfc0UwQgDxGptzH84vkPlo1qunY1FuboyF9LI3Q==", + "version": "3.10.8", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.10.8.tgz", + "integrity": "sha512-UaaFEitRrPRWV836wY2L7bd3HRCfbMie1jlYMcmazFAK23MVhz/Uq7VG1nwbotPb5xzFsw5RF4Wnp2G3dWPM3g==", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", "@wry/caches": "^1.0.0", @@ -77,6 +77,7 @@ "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", + "dev": true, "dependencies": { "@babel/highlight": "^7.24.7", "picocolors": "^1.0.0" @@ -325,6 +326,7 @@ "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "dev": true, "engines": { "node": ">=6.9.0" } @@ -355,6 +357,7 @@ "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", + "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", @@ -369,6 +372,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -380,6 +384,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -393,6 +398,7 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -400,12 +406,14 @@ "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true }, "node_modules/@babel/highlight/node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, "engines": { "node": ">=0.8.0" } @@ -414,6 +422,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, "engines": { "node": ">=4" } @@ -422,6 +431,7 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -775,11 +785,12 @@ "link": true }, "node_modules/@contentstack/json-rte-serializer": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@contentstack/json-rte-serializer/-/json-rte-serializer-2.0.6.tgz", - "integrity": "sha512-qf5svRxtJ/hQj+vAayLgLLF7wFezKvYEE3xve2ihFhilT+ndLO9vWLpmNQ8gsq+CQEdujJEPgPin4LjqubA8kg==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@contentstack/json-rte-serializer/-/json-rte-serializer-2.0.7.tgz", + "integrity": "sha512-TJfODrZozhTEvDsrlac27c/Oct8KdeNRTsjMYmD1U3GSg9BtuQPbgKJQW4D0/nKEiyQtGoCFvzUBUwBDBQcYyA==", "dependencies": { "array-flat-polyfill": "^1.0.1", + "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.isempty": "^4.4.0", @@ -788,6 +799,7 @@ "lodash.isplainobject": "^4.0.6", "lodash.isundefined": "^3.0.1", "lodash.kebabcase": "^4.1.1", + "slate": "^0.103.0", "uuid": "^8.3.2" } }, @@ -828,21 +840,17 @@ } }, "node_modules/@contentstack/marketplace-sdk": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@contentstack/marketplace-sdk/-/marketplace-sdk-1.1.0.tgz", - "integrity": "sha512-ZaBI/toKllCq/9RPH1hs3d3lNkc8ElZGO1RMHWagOm8/uCrLXDg+cvhOy6hoXoeKAiUK3pJkrMJZHpBU1TOcQg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@contentstack/marketplace-sdk/-/marketplace-sdk-1.2.0.tgz", + "integrity": "sha512-NnNVDT3HomEWZcJ0Mz7N6M9DtUIlNY3fSI7EnyT9Yxv6e5S3E9jXwMgdCQ2/apySfYZKQ31byIy7Er1HMhL6Ig==", "dependencies": { "axios": "^1.6.5" } }, "node_modules/@contentstack/utils": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.6.tgz", - "integrity": "sha512-fHXkd2e4yi8nx1ERISwQ9wW8NfTqzHbt0w0KfKmK4AeI7JIU+hezhki07SQPhevj9WlUkFCncRqfYrX9v1ej7w==", - "dependencies": { - "cheerio": "^1.0.0-rc.12", - "dompurify": "^3.1.1" - } + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/@contentstack/utils/-/utils-1.3.8.tgz", + "integrity": "sha512-BKZcZs2/odh9nmugLmiNVBEbz34gjfgibZOsRlYV9ux7t+GkfjbELDjWJpKenL6G5Mb270VXVuDbNqkDLK96Zw==" }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", @@ -890,9 +898,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz", - "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -1046,6 +1054,7 @@ "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", @@ -1095,6 +1104,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "node_modules/@isaacs/cliui": { @@ -2225,14 +2235,14 @@ } }, "node_modules/@oclif/plugin-plugins": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.2.3.tgz", - "integrity": "sha512-MvC2rbGXyIpX8lLaIP4FwZbUwrGFvIvKiHjd5L1MNKyaQfX+P5fJilYkOwmciYWmVCeXLhTmC+9Av+lJhk4m4A==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.3.3.tgz", + "integrity": "sha512-W071oAdmdMpHwI1q9kGcuKijP6zwuZXi2rQvzEGivjwg/Uj51B1RNKvOYy/O7pd0lCZu+1s6LAZmb8wCwii6yQ==", "dependencies": { "@oclif/core": "^4", "ansis": "^3.2.0", "debug": "^4.3.4", - "npm": "^10.8.0", + "npm": "^10.8.1", "npm-package-arg": "^11.0.2", "npm-run-path": "^5.3.0", "object-treeify": "^4.0.1", @@ -2246,21 +2256,21 @@ } }, "node_modules/@oclif/plugin-plugins/node_modules/@oclif/core": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.0.3.tgz", - "integrity": "sha512-yM8R/M2WfSNfL9eF8clS/SbQvanvHZJgoij5bLs3ro7uAFCkL/LYcagyj0UVGbysx5AI+SNIof6OHQUXYZpOZw==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.0.7.tgz", + "integrity": "sha512-sU4Dx+RXCWAkrMw8tQFYAL6VfcHYKLPxVC9iKfgTXr4aDhcCssDwrbgpx0Di1dnNxvQlDGUhuCEInZuIY/nNfw==", "dependencies": { "ansi-escapes": "^4.3.2", "ansis": "^3.1.1", "clean-stack": "^3.0.1", "cli-spinners": "^2.9.2", - "cosmiconfig": "^9.0.0", "debug": "^4.3.5", "ejs": "^3.1.10", "get-package-type": "^0.1.0", "globby": "^11.1.0", "indent-string": "^4.0.0", "is-wsl": "^2.2.0", + "lilconfig": "^3.1.2", "minimatch": "^9.0.4", "string-width": "^4.2.3", "supports-color": "^8", @@ -2703,9 +2713,9 @@ } }, "node_modules/@sigstore/sign/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -2740,15 +2750,16 @@ } }, "node_modules/@sigstore/sign/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -2997,9 +3008,9 @@ "integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==" }, "node_modules/@slack/bolt": { - "version": "3.18.0", - "resolved": "https://registry.npmjs.org/@slack/bolt/-/bolt-3.18.0.tgz", - "integrity": "sha512-A7bDi5kY50fS6/nsmURkQdO3iMxD8aX/rA+m1UXEM2ue2z4KijeQtx2sOZ4YkJQ/h7BsgTQM0CYh3qqmo+m5sQ==", + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/@slack/bolt/-/bolt-3.19.0.tgz", + "integrity": "sha512-P5Yup/PbO8sE5xsuqkBkpSPkxEkfWZ6yo5ZlmBGxRhhoU1usUSU2w0bgZoiDX4WFm7ZX+3x2Dyf4VMa9kzfmVQ==", "dependencies": { "@slack/logger": "^4.0.0", "@slack/oauth": "^2.6.2", @@ -3035,9 +3046,9 @@ } }, "node_modules/@slack/logger/node_modules/@types/node": { - "version": "20.14.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", - "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dependencies": { "undici-types": "~5.26.4" } @@ -3358,9 +3369,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.3.tgz", - "integrity": "sha512-KOzM7MhcBFlmnlr/fzISFF5vGWVSvN6fTd4T+ExOt08bA/dA5kpSzY52nMsI1KDFmUREpJelPYyuslLRSjjgCg==", + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -3526,9 +3537,9 @@ "dev": true }, "node_modules/@types/lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ==" + "version": "4.17.6", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.6.tgz", + "integrity": "sha512-OpXEVoCKSS3lQqjx9GGGOapBeuW5eUboYHRlHP9urXPX25IKZ6AnP5ZRxtVf63iieUbsHxLn8NQ5Nlftc6yzAA==" }, "node_modules/@types/markdown-it": { "version": "14.1.1", @@ -3691,9 +3702,9 @@ "dev": true }, "node_modules/@types/traverse": { - "version": "0.6.36", - "resolved": "https://registry.npmjs.org/@types/traverse/-/traverse-0.6.36.tgz", - "integrity": "sha512-0ko4fZgKQf2J/2FvDJHua9KZ19zJkfI5FxG1ZeEUhezEwuq6UL+4T0IxcBfmHilBeAj7OSUTwrm/lPnh8EB1/Q==", + "version": "0.6.37", + "resolved": "https://registry.npmjs.org/@types/traverse/-/traverse-0.6.37.tgz", + "integrity": "sha512-c90MVeDiUI1FhOZ6rLQ3kDWr50YE8+paDpM+5zbHjbmsqEp2DlMYkqnZnwbK9oI+NvDe8yRajup4jFwnVX6xsA==", "dev": true }, "node_modules/@types/triple-beam": { @@ -4041,9 +4052,9 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", + "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", "bin": { "acorn": "bin/acorn" }, @@ -4070,9 +4081,12 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -4596,9 +4610,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1636.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1636.0.tgz", - "integrity": "sha512-0w/jOCYnwewLYjH4UCh3GTBjR/NMdvEKNrd1pnM4FvfJSmjfzCinDvmf5Qc6xeIrqPfrdYOoQh7NJhYeJScCIQ==", + "version": "2.1651.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1651.0.tgz", + "integrity": "sha512-MZjQvvOPkKcx1N428ejUjqSfhm4TAIcgPIgpniiDMw1LjB1yA8JBZvrWer6J6MACAXQ99v0uKE4BSvtYn+AT3g==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -4998,9 +5012,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", - "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.1.tgz", + "integrity": "sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==", "dev": true, "funding": [ { @@ -5017,10 +5031,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001587", - "electron-to-chromium": "^1.4.668", + "caniuse-lite": "^1.0.30001629", + "electron-to-chromium": "^1.4.796", "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "update-browserslist-db": "^1.0.16" }, "bin": { "browserslist": "cli.js" @@ -5343,9 +5357,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001629", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001629.tgz", - "integrity": "sha512-c3dl911slnQhmxUIT4HhYzT7wnBK/XYpGnYLOj4nJBaRiw52Ibe7YxlDaAeRECvA786zCuExhxIUJ2K7nHMrBw==", + "version": "1.0.30001639", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001639.tgz", + "integrity": "sha512-eFHflNTBIlFwP2AIKaYuBQN/apnUoKNhBdza8ZnW/h2di4LCZ4xFqYlxUxo+LQ76KFI1PGcC1QDxMbxTZpSCAg==", "dev": true, "funding": [ { @@ -6215,47 +6229,6 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, - "node_modules/cosmiconfig": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", - "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", - "dependencies": { - "env-paths": "^2.2.1", - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/cosmiconfig/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==" - }, - "node_modules/cosmiconfig/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==", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/create-jest": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", @@ -6845,11 +6818,6 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/dompurify": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz", - "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==" - }, "node_modules/domutils": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", @@ -6942,9 +6910,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.794", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.794.tgz", - "integrity": "sha512-6FApLtsYhDCY0Vglq3AptsdxQ+PJLc6AxlAM0HjEihUAiOPPbkASEsq9gtxUeZY9o0sJIEa3WnF0vVH4VT4iug==", + "version": "1.4.815", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.815.tgz", + "integrity": "sha512-OvpTT2ItpOXJL7IGcYakRjHCt8L5GrrN/wHCQsRB4PQa1X9fe+X9oen245mIId7s14xvArCGSTIq644yPUKKLg==", "dev": true }, "node_modules/elegant-spinner": { @@ -7076,6 +7044,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, "dependencies": { "is-arrayish": "^0.2.1" } @@ -7371,9 +7340,9 @@ } }, "node_modules/eslint-config-oclif-typescript": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.7.tgz", - "integrity": "sha512-5q6Q1NjQt6WrAANGO9Go3uuxZTzf7ywmecRNW7e+bTnlkTk0/ClPd6SogH+qkwOkFJaMHmBp45ZmzvwGzy/Txg==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.8.tgz", + "integrity": "sha512-nxEKt95XesuRA+5R1L4weQvmr1U0io+qzRJ8xoRb9C9OXrQTVNgcLJMDxt8XsPsr6z6ZcB3cY8kR8BuF7nBbHQ==", "dev": true, "dependencies": { "@typescript-eslint/eslint-plugin": "^6.21.0", @@ -7383,7 +7352,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-n": "^15", - "eslint-plugin-perfectionist": "^2.10.0" + "eslint-plugin-perfectionist": "^2.11.0" }, "engines": { "node": ">=18.0.0" @@ -8064,9 +8033,9 @@ } }, "node_modules/eslint-plugin-perfectionist": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-2.10.0.tgz", - "integrity": "sha512-P+tdrkHeMWBc55+DZsoDOAftV1WCsEoHaKm6JC7zajFus/syfT4vUPBFb3atGFSuyaVnGQGHlcKpP9X3Q0gH/w==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-2.11.0.tgz", + "integrity": "sha512-XrtBtiu5rbQv88gl+1e2RQud9te9luYNvKIgM9emttQ2zutHPzY/AQUucwxscDKV4qlTkvLTxjOFvxqeDpPorw==", "dev": true, "dependencies": { "@typescript-eslint/utils": "^6.13.0 || ^7.0.0", @@ -8074,10 +8043,10 @@ "natural-compare-lite": "^1.4.0" }, "peerDependencies": { - "astro-eslint-parser": "^0.16.0", + "astro-eslint-parser": "^1.0.2", "eslint": ">=8.0.0", "svelte": ">=3.0.0", - "svelte-eslint-parser": "^0.33.0", + "svelte-eslint-parser": "^0.37.0", "vue-eslint-parser": ">=9.0.0" }, "peerDependenciesMeta": { @@ -8096,13 +8065,13 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/scope-manager": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.12.0.tgz", - "integrity": "sha512-itF1pTnN6F3unPak+kutH9raIkL3lhH1YRPGgt7QQOh43DQKVJXmWkpb+vpc/TiDHs6RSd9CTbDsc/Y+Ygq7kg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.12.0", - "@typescript-eslint/visitor-keys": "7.12.0" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -8113,9 +8082,9 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/types": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.12.0.tgz", - "integrity": "sha512-o+0Te6eWp2ppKY3mLCU+YA9pVJxhUJE15FV7kxuD9jgwIAa+w/ycGJBMrYDTpVGUM/tgpa9SeMOugSabWFq7bg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", "dev": true, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -8126,13 +8095,13 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/typescript-estree": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.12.0.tgz", - "integrity": "sha512-5bwqLsWBULv1h6pn7cMW5dXX/Y2amRqLaKqsASVwbBHMZSnHqE/HN4vT4fE0aFsiwxYvr98kqOWh1a8ZKXalCQ==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.12.0", - "@typescript-eslint/visitor-keys": "7.12.0", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -8154,15 +8123,15 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/utils": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.12.0.tgz", - "integrity": "sha512-Y6hhwxwDx41HNpjuYswYp6gDbkiZ8Hin9Bf5aJQn1bpTs3afYY4GX+MPYxma8jtoIV2GRwTM/UJm/2uGCVv+DQ==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.14.1.tgz", + "integrity": "sha512-CMmVVELns3nak3cpJhZosDkm63n+DwBlDX8g0k4QUa9BMnF+lH2lr3d130M1Zt1xxmB3LLk3NV7KQCq86ZBBhQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.12.0", - "@typescript-eslint/types": "7.12.0", - "@typescript-eslint/typescript-estree": "7.12.0" + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -8176,12 +8145,12 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/visitor-keys": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.12.0.tgz", - "integrity": "sha512-uZk7DevrQLL3vSnfFl5bj4sL75qC9D6EdjemIdbtkuUmIheWpuiiylSY01JxJE7+zGrOWDZrp1WxOuDntvKrHQ==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.12.0", + "@typescript-eslint/types": "7.14.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -9633,9 +9602,9 @@ "dev": true }, "node_modules/graphql": { - "version": "16.8.1", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.8.1.tgz", - "integrity": "sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==", + "version": "16.9.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.9.0.tgz", + "integrity": "sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==", "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } @@ -9849,9 +9818,9 @@ } }, "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", + "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", "engines": { "node": "14 || >=16.14" } @@ -10091,10 +10060,20 @@ "node": "*" } }, + "node_modules/immer": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -11024,7 +11003,8 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true }, "node_modules/is-bigint": { "version": "1.0.4", @@ -11091,11 +11071,14 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -11360,7 +11343,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -11612,9 +11594,9 @@ } }, "node_modules/istanbul-lib-instrument": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", - "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, "dependencies": { "@babel/core": "^7.23.9", @@ -12842,9 +12824,9 @@ } }, "node_modules/jsdom/node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, @@ -12888,7 +12870,8 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "node_modules/json-schema-traverse": { "version": "1.0.0", @@ -13097,10 +13080,22 @@ "node": ">= 0.8.0" } }, + "node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true }, "node_modules/linkify-it": { "version": "5.0.0", @@ -14189,9 +14184,9 @@ } }, "node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -15148,13 +15143,6 @@ "which", "write-file-atomic" ], - "workspaces": [ - "docs", - "smoke-tests", - "mock-globals", - "mock-registry", - "workspaces/*" - ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^7.5.3", @@ -18276,9 +18264,12 @@ "dev": true }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -18822,6 +18813,11 @@ "node": ">=8" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" + }, "node_modules/pacote": { "version": "12.0.3", "resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.3.tgz", @@ -18946,6 +18942,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "dependencies": { "callsites": "^3.0.0" }, @@ -18977,6 +18974,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -19085,9 +19083,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", + "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", "engines": { "node": "14 || >=16.14" } @@ -19138,7 +19136,8 @@ "node_modules/picocolors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -19869,9 +19868,9 @@ } }, "node_modules/read-package-json/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -19885,15 +19884,16 @@ } }, "node_modules/read-package-json/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -20494,6 +20494,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, "engines": { "node": ">=4" } @@ -21038,9 +21039,9 @@ } }, "node_modules/sigstore/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -21075,15 +21076,16 @@ } }, "node_modules/sigstore/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -21325,6 +21327,16 @@ "node": ">=8" } }, + "node_modules/slate": { + "version": "0.103.0", + "resolved": "https://registry.npmjs.org/slate/-/slate-0.103.0.tgz", + "integrity": "sha512-eCUOVqUpADYMZ59O37QQvUdnFG+8rin0OGQAXNHvHbQeVJ67Bu0spQbcy621vtf8GQUXTEQBlk6OP9atwwob4w==", + "dependencies": { + "immer": "^10.0.3", + "is-plain-object": "^5.0.0", + "tiny-warning": "^1.0.3" + } + }, "node_modules/slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", @@ -22129,6 +22141,11 @@ "readable-stream": "2 || 3" } }, + "node_modules/tiny-warning": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" + }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -22267,9 +22284,9 @@ } }, "node_modules/ts-jest": { - "version": "29.1.4", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.4.tgz", - "integrity": "sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q==", + "version": "29.1.5", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.5.tgz", + "integrity": "sha512-UuClSYxM7byvvYfyWdFI+/2UxMmwNyJb0NPkZPQE2hew3RurV7l7zURgOHAd/1I1ZdPpe3GUsXNXAcN8TFKSIg==", "dev": true, "dependencies": { "bs-logger": "0.x", @@ -22498,9 +22515,9 @@ } }, "node_modules/tuf-js/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -22535,15 +22552,16 @@ } }, "node_modules/tuf-js/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -22898,9 +22916,9 @@ "dev": true }, "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.18.0.tgz", + "integrity": "sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==", "dev": true, "optional": true, "bin": { @@ -23108,9 +23126,9 @@ "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" }, "node_modules/v8-to-istanbul": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", - "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", @@ -23546,9 +23564,9 @@ } }, "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "engines": { "node": ">=8.3.0" }, @@ -24094,15 +24112,16 @@ } }, "node_modules/yeoman-generator/node_modules/cacache/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -24125,9 +24144,9 @@ } }, "node_modules/yeoman-generator/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -24870,25 +24889,25 @@ }, "packages/contentstack": { "name": "@contentstack/cli", - "version": "1.19.1", + "version": "1.20.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.6.2", - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-audit": "~1.6.3", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-cm-bootstrap": "~1.9.3", - "@contentstack/cli-cm-branches": "~1.1.0", + "@contentstack/cli-cm-branches": "~1.1.1", "@contentstack/cli-cm-bulk-publish": "~1.4.7", - "@contentstack/cli-cm-clone": "~1.10.5", - "@contentstack/cli-cm-export": "~1.11.4", + "@contentstack/cli-cm-clone": "~1.10.6", + "@contentstack/cli-cm-export": "~1.11.5", "@contentstack/cli-cm-export-to-csv": "~1.7.1", - "@contentstack/cli-cm-import": "~1.15.8", + "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-cm-migrate-rte": "~1.4.17", - "@contentstack/cli-cm-seed": "~1.7.5", + "@contentstack/cli-cm-seed": "~1.7.6", "@contentstack/cli-command": "~1.2.18", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-launch": "~1.0.18", "@contentstack/cli-migration": "~1.5.6", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@contentstack/management": "~1.15.3", "@oclif/core": "^3.26.5", "@oclif/plugin-help": "^5", @@ -24938,11 +24957,11 @@ }, "packages/contentstack-audit": { "name": "@contentstack/cli-audit", - "version": "1.6.2", + "version": "1.6.3", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/plugin-help": "^5", "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", @@ -24991,15 +25010,15 @@ } }, "packages/contentstack-audit/node_modules/@types/mocha": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", - "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==", "dev": true }, "packages/contentstack-audit/node_modules/@types/node": { - "version": "20.14.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", - "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -25100,14 +25119,14 @@ } }, "packages/contentstack-audit/node_modules/mocha": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz", - "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==", + "version": "10.5.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.2.tgz", + "integrity": "sha512-9btlN3JKCefPf+vKd/kcKz2SXxi12z6JswkGfaAF0saQvnsqLJk504ZmbxhSoENge08E9dsymozKgFMTl5PQsA==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", + "chokidar": "^3.5.3", "debug": "4.3.4", "diff": "5.0.0", "escape-string-regexp": "4.0.0", @@ -25180,9 +25199,9 @@ } }, "packages/contentstack-audit/node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -25212,11 +25231,11 @@ }, "packages/contentstack-auth": { "name": "@contentstack/cli-auth", - "version": "1.3.18", + "version": "1.3.19", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", @@ -25256,9 +25275,9 @@ "version": "1.9.3", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-seed": "~1.7.5", + "@contentstack/cli-cm-seed": "~1.7.6", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.2.1 " @@ -25332,11 +25351,11 @@ }, "packages/contentstack-branches": { "name": "@contentstack/cli-cm-branches", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/core": "^3.26.5", "async": "^3.2.4", "big-json": "^3.2.0", @@ -25355,7 +25374,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", @@ -25385,7 +25404,7 @@ "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "bluebird": "^3.7.2", "chalk": "^4.1.2", "dotenv": "^16.1.4", @@ -25418,14 +25437,14 @@ }, "packages/contentstack-clone": { "name": "@contentstack/cli-cm-clone", - "version": "1.10.5", + "version": "1.10.6", "license": "MIT", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.11.4", - "@contentstack/cli-cm-import": "~1.15.8", + "@contentstack/cli-cm-export": "~1.11.5", + "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", @@ -25455,9 +25474,9 @@ } }, "packages/contentstack-clone/node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -25470,14 +25489,15 @@ } }, "packages/contentstack-clone/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -25531,7 +25551,7 @@ "version": "1.2.18", "license": "MIT", "dependencies": { - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "contentstack": "^3.10.1" }, "devDependencies": { @@ -25606,7 +25626,7 @@ "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", @@ -25701,6 +25721,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.0", @@ -25715,6 +25736,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "packages/contentstack-dev-dependencies/node_modules/@oclif/core": { @@ -25985,11 +26007,11 @@ }, "packages/contentstack-export": { "name": "@contentstack/cli-cm-export", - "version": "1.11.4", + "version": "1.11.5", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/core": "^3.26.5", "async": "^3.2.4", "big-json": "^3.2.0", @@ -26007,7 +26029,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", @@ -26039,7 +26061,7 @@ "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.1.0", "fast-csv": "^4.3.6", "inquirer": "8.2.4", @@ -26097,6 +26119,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.0", @@ -26111,12 +26134,13 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "packages/contentstack-export-to-csv/node_modules/@types/mocha": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", - "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==", "dev": true }, "packages/contentstack-export-to-csv/node_modules/acorn": { @@ -26415,14 +26439,14 @@ } }, "packages/contentstack-export-to-csv/node_modules/mocha": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz", - "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==", + "version": "10.5.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.2.tgz", + "integrity": "sha512-9btlN3JKCefPf+vKd/kcKz2SXxi12z6JswkGfaAF0saQvnsqLJk504ZmbxhSoENge08E9dsymozKgFMTl5PQsA==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", + "chokidar": "^3.5.3", "debug": "4.3.4", "diff": "5.0.0", "escape-string-regexp": "4.0.0", @@ -26508,12 +26532,12 @@ }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", - "version": "1.15.8", + "version": "1.16.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.6.2", + "@contentstack/cli-audit": "~1.6.3", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@contentstack/management": "~1.15.3", "@oclif/core": "^3.26.5", "big-json": "^3.2.0", @@ -26627,7 +26651,7 @@ "dependencies": { "@apollo/client": "^3.7.9", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/core": "^3.26.5", "@oclif/plugin-help": "^5", "@oclif/plugin-plugins": "^5.0.0", @@ -26704,6 +26728,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.0", @@ -26718,12 +26743,13 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "packages/contentstack-launch/node_modules/@types/node": { - "version": "16.18.98", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.98.tgz", - "integrity": "sha512-fpiC20NvLpTLAzo3oVBKIqBGR6Fx/8oAK/SSf7G+fydnXMY1x4x9RZ6sBXhqKlCU21g2QapUsbLlhv3+a7wS+Q==", + "version": "16.18.101", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.101.tgz", + "integrity": "sha512-AAsx9Rgz2IzG8KJ6tXd6ndNkVcu+GYB6U/SnFAaokSPNx2N7dcIIfnighYUNumvj6YS2q39Dejz5tT0NCV7CWA==", "dev": true }, "packages/contentstack-launch/node_modules/acorn": { @@ -26922,7 +26948,7 @@ "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@contentstack/json-rte-serializer": "~2.0.4", "chalk": "^4.1.2", "collapse-whitespace": "^1.1.7", @@ -26961,7 +26987,7 @@ "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "async": "^3.2.4", "callsites": "^3.1.0", "cardinal": "^2.1.1", @@ -26990,12 +27016,12 @@ }, "packages/contentstack-seed": { "name": "@contentstack/cli-cm-seed", - "version": "1.7.5", + "version": "1.7.6", "license": "MIT", "dependencies": { - "@contentstack/cli-cm-import": "~1.15.8", + "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.1.13", @@ -27071,11 +27097,11 @@ }, "packages/contentstack-utilities": { "name": "@contentstack/cli-utilities", - "version": "1.6.2", + "version": "1.6.3", "license": "MIT", "dependencies": { "@contentstack/management": "~1.15.3", - "@contentstack/marketplace-sdk": "^1.0.1", + "@contentstack/marketplace-sdk": "^1.2.0", "@oclif/core": "^3.26.5", "axios": "^1.6.4", "chalk": "^4.0.0", diff --git a/packages/contentstack-audit/README.md b/packages/contentstack-audit/README.md index 1932a32b69..4bf303665c 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.6.2 darwin-arm64 node-v21.6.2 +@contentstack/cli-audit/1.6.3 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -267,7 +267,7 @@ EXAMPLES $ csdx plugins ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/index.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/index.ts)_ ## `csdx plugins:add PLUGIN` @@ -292,7 +292,7 @@ GLOBAL FLAGS DESCRIPTION Installs a plugin into csdx. - Uses bundled npm executable to install plugins into /Users/raj.pandey/.local/share/@contentstack/cli-audit + Uses npm to install plugins. Installation of a user-installed plugin will override a core plugin. @@ -341,7 +341,7 @@ EXAMPLES $ csdx plugins:inspect myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/inspect.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/inspect.ts)_ ## `csdx plugins:install PLUGIN` @@ -366,7 +366,7 @@ GLOBAL FLAGS DESCRIPTION Installs a plugin into csdx. - Uses bundled npm executable to install plugins into /Users/raj.pandey/.local/share/@contentstack/cli-audit + Uses npm to install plugins. Installation of a user-installed plugin will override a core plugin. @@ -390,7 +390,7 @@ EXAMPLES $ csdx plugins:install someuser/someplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/install.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/install.ts)_ ## `csdx plugins:link PATH` @@ -420,7 +420,7 @@ EXAMPLES $ csdx plugins:link myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/link.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/link.ts)_ ## `csdx plugins:remove [PLUGIN]` @@ -461,7 +461,7 @@ FLAGS --reinstall Reinstall all plugins after uninstalling. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/reset.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/reset.ts)_ ## `csdx plugins:uninstall [PLUGIN]` @@ -489,7 +489,7 @@ EXAMPLES $ csdx plugins:uninstall myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/uninstall.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/uninstall.ts)_ ## `csdx plugins:unlink [PLUGIN]` @@ -533,5 +533,5 @@ DESCRIPTION Update installed plugins. ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/update.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.3/src/commands/plugins/update.ts)_ diff --git a/packages/contentstack-audit/package.json b/packages/contentstack-audit/package.json index 05aca4ed19..a9efc50bb6 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-audit", - "version": "1.6.2", + "version": "1.6.3", "description": "Contentstack audit plugin", "author": "Contentstack CLI", "homepage": "https://github.com/contentstack/cli", @@ -19,7 +19,7 @@ ], "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/plugin-help": "^5", "@oclif/plugin-plugins": "^5.0.0", "chalk": "^4.1.2", diff --git a/packages/contentstack-audit/src/messages/index.ts b/packages/contentstack-audit/src/messages/index.ts index ea3ffb15b2..61e1e0d827 100644 --- a/packages/contentstack-audit/src/messages/index.ts +++ b/packages/contentstack-audit/src/messages/index.ts @@ -46,8 +46,8 @@ const auditFixMsg = { EMPTY_FIX_MSG: 'Successfully removed the empty field/block found at {path} from the schema.', AUDIT_FIX_CMD_DESCRIPTION: 'Perform audits and fix possible errors in the exported Contentstack data.', WF_FIX_MSG: 'Successfully removed the workflow {uid} named {name}.', - ENTRY_MANDATORY_FIELD_FIX: `Removing the publish details from entry uid '{uid}' from locale '{locale}'`, - ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in select field of uid '{uid}'` + ENTRY_MANDATORY_FIELD_FIX: `Removing the publish details from the entry with UID '{uid}' in Locale '{locale}'...`, + ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in the select field of entry UID '{uid}'...` }; const messages: typeof errors & diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 16ad893fe6..e534f7569e 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -59,7 +59,6 @@ export default class Entries { protected missingMandatoryFields: Record = {}; public entryMetaData: Record[] = []; public moduleName: keyof typeof auditConfig.moduleConfig = 'entries'; - public isEntryWithoutTitleField: boolean = false; constructor({ log, fix, config, moduleName, ctSchema, gfSchema }: ModuleConstructorParam & CtConstructorParam) { this.log = log; @@ -128,7 +127,7 @@ export default class Entries { this.lookForReference([{ locale: code, uid, name: title }], ctSchema, this.entries[entryUid]); const fields = this.missingMandatoryFields[uid]; - const isPublished = entry.publish_details.length > 0; + const isPublished = entry.publish_details?.length > 0; if ((this.fix && fields.length && isPublished) || (!this.fix && fields)) { const fixStatus = this.fix ? 'Fixed' : ''; fields?.forEach((field: { isPublished: boolean; fixStatus?: string }) => { @@ -1262,15 +1261,13 @@ export default class Entries { let { title } = entries[entryUid]; if (entries[entryUid].hasOwnProperty('title') && !title) { - this.isEntryWithoutTitleField = true; this.log( `The 'title' field in Entry with UID '${entryUid}' of Content Type '${uid}' in Locale '${code}' is empty.`, `error`, ); } else if (!title) { - this.isEntryWithoutTitleField = true; this.log( - `Entry with UID '${entryUid}' of Content Type '${uid}' in Locale '${code}' does not have a 'title' field.`, + `The 'title' field in Entry with UID '${entryUid}' of Content Type '${uid}' in Locale '${code}' is empty.`, `error`, ); } @@ -1279,8 +1276,5 @@ export default class Entries { } } } - if (this.isEntryWithoutTitleField) { - // throw Error(`Entries found with missing 'title' field! Please make the data corrections and re-run the audit.`); - } } } diff --git a/packages/contentstack-audit/src/modules/extensions.ts b/packages/contentstack-audit/src/modules/extensions.ts index d48dd4f5a5..496ea1e62b 100644 --- a/packages/contentstack-audit/src/modules/extensions.ts +++ b/packages/contentstack-audit/src/modules/extensions.ts @@ -68,8 +68,8 @@ export default class Extensions { if (ctNotPresent?.length && ext.scope) { ext.content_types = ctNotPresent; - ctNotPresent.forEach((ct) => this.missingCts.add(ct)); - this.missingCtInExtensions.push(cloneDeep(ext)); + ctNotPresent.forEach((ct) => this.missingCts?.add(ct)); + this.missingCtInExtensions?.push(cloneDeep(ext)); } this.log( diff --git a/packages/contentstack-auth/README.md b/packages/contentstack-auth/README.md index 08da7006f0..e2a9630df0 100644 --- a/packages/contentstack-auth/README.md +++ b/packages/contentstack-auth/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-auth/1.3.18 darwin-arm64 node-v21.6.2 +@contentstack/cli-auth/1.3.19 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index 0e329ab6fb..ae2d91c4f3 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-auth", "description": "Contentstack CLI plugin for authentication activities", - "version": "1.3.18", + "version": "1.3.19", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { @@ -23,7 +23,7 @@ }, "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", diff --git a/packages/contentstack-auth/test/config.json b/packages/contentstack-auth/test/config.json index c7dbf55074..3ff208ec06 100644 --- a/packages/contentstack-auth/test/config.json +++ b/packages/contentstack-auth/test/config.json @@ -1,5 +1,8 @@ { "IS_TS": true, "UNIT_EXECUTION_ORDER": [], - "INTEGRATION_EXECUTION_ORDER": [] + "INTEGRATION_EXECUTION_ORDER": [], + "password": "testpassword", + "invalidPassowrd": "invalidpassword", + "validAPIKey": "adasdfagsf" } \ No newline at end of file diff --git a/packages/contentstack-auth/test/integration/auth.test.ts b/packages/contentstack-auth/test/integration/auth.test.ts index 410f69636d..cc5fa2b821 100644 --- a/packages/contentstack-auth/test/integration/auth.test.ts +++ b/packages/contentstack-auth/test/integration/auth.test.ts @@ -3,14 +3,14 @@ import { expect, test } from '@oclif/test'; // @ts-ignore import { Helper } from './helper'; // @ts-ignore -import { PRINT_LOGS } from './config.json'; +import { PRINT_LOGS, encryptionKey } from './config.json'; import { cliux as CliUx, messageHandler, NodeCrypto } from '@contentstack/cli-utilities'; const messageFilePath = path.join(__dirname, '..', '..', '..', 'contentstack-utilities', 'messages/auth.json'); const crypto = new NodeCrypto({ typeIdentifier: 'â—ˆ', algorithm: 'aes-192-cbc', - encryptionKey: process.env.ENCRYPTION_KEY || '***REMOVED***' + encryptionKey: process.env.ENCRYPTION_KEY || encryptionKey }); const username = process.env.ENCRYPTION_KEY ? crypto.decrypt(process.env.USERNAME) : process.env.USERNAME const password = process.env.ENCRYPTION_KEY ? crypto.decrypt(process.env.PASSWORD) : process.env.PASSWORD diff --git a/packages/contentstack-auth/test/integration/config.json b/packages/contentstack-auth/test/integration/config.json index 8f526f9fc8..a83644de5e 100644 --- a/packages/contentstack-auth/test/integration/config.json +++ b/packages/contentstack-auth/test/integration/config.json @@ -1,3 +1,4 @@ { - "PRINT_LOGS": false + "PRINT_LOGS": false, + "encryptionKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-auth/test/unit/auth-handler.test.ts b/packages/contentstack-auth/test/unit/auth-handler.test.ts index ead258f36f..a200ff0f71 100644 --- a/packages/contentstack-auth/test/unit/auth-handler.test.ts +++ b/packages/contentstack-auth/test/unit/auth-handler.test.ts @@ -3,10 +3,11 @@ import * as sinon from 'sinon'; import { authHandler, interactive } from '../../src/utils'; import { CLIError, cliux } from '@contentstack/cli-utilities'; import { User } from '../../src/interfaces'; +import * as config from '../config.json'; const user: User = { email: '***REMOVED***', authtoken: 'testtoken' }; -const credentials = { email: '***REMOVED***', password: 'testpassword' }; -const invalidCredentials = { email: '***REMOVED***', password: 'invalidpassword' }; +const credentials = { email: '***REMOVED***', password: config.password }; +const invalidCredentials = { email: '***REMOVED***', password: config.invalidPassowrd }; let TFAEnabled = false; let TFAChannel = 'authy'; const TFATestToken = '24563992'; diff --git a/packages/contentstack-auth/test/unit/commands/login.test.ts b/packages/contentstack-auth/test/unit/commands/login.test.ts index c91a4d106f..21ed79e743 100644 --- a/packages/contentstack-auth/test/unit/commands/login.test.ts +++ b/packages/contentstack-auth/test/unit/commands/login.test.ts @@ -3,12 +3,13 @@ import * as sinon from 'sinon'; import LoginCommand from '../../../src/commands/auth/login'; import { authHandler, interactive } from '../../../src/utils'; import { configHandler, cliux } from '@contentstack/cli-utilities'; +import * as conf from '../../config.json'; const config = configHandler; const user = { email: '***REMOVED***', authtoken: 'testtoken' }; -const credentials = { email: '***REMOVED***', password: 'testpassword' }; -const invalidCredentials = { email: '***REMOVED***', password: 'invalidpassword' }; +const credentials = { email: '***REMOVED***', password: conf.password }; +const invalidCredentials = { email: '***REMOVED***', password: conf.invalidPassowrd }; const TFATestToken = '24563992'; describe('Login Command', () => { diff --git a/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts b/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts index 091d4806f8..d7003bfa23 100644 --- a/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts +++ b/packages/contentstack-auth/test/unit/commands/tokens-add.test.ts @@ -5,6 +5,7 @@ import TokensAddCommand from '../../../src/commands/auth/tokens/add'; import { tokenValidation } from '../../../src/utils'; import { stub, assert } from 'sinon'; import { config as dotenvConfig } from 'dotenv'; +import * as conf from '../../config.json'; dotenvConfig(); @@ -24,7 +25,7 @@ describe('Tokens Add Command', () => { let managementTokenValidationStub; let environmentTokenValidationStub; let printStub; - const validAPIKey = 'adasdfagsf'; + const validAPIKey = conf.validAPIKey; const validDeliveryToken = '***REMOVED***'; const validmanagementToken = 'cmajhsd98939482'; const validEnvironment = 'textenv'; diff --git a/packages/contentstack-auth/test/unit/interactive.test.ts b/packages/contentstack-auth/test/unit/interactive.test.ts index c6012112d0..4e39338e1a 100644 --- a/packages/contentstack-auth/test/unit/interactive.test.ts +++ b/packages/contentstack-auth/test/unit/interactive.test.ts @@ -2,6 +2,7 @@ import { expect } from 'chai'; import * as sinon from 'sinon'; import { interactive } from '../../src/utils'; import { cliux } from '@contentstack/cli-utilities'; +import * as config from '../config.json' describe('Interactive', () => { let inquireStub; @@ -31,7 +32,7 @@ describe('Interactive', () => { }); it('ask password', async function () { - const password = 'testpassword'; + const password = config.password inquireStub.callsFake(function () { return Promise.resolve(password); }); diff --git a/packages/contentstack-bootstrap/README.md b/packages/contentstack-bootstrap/README.md index 056b54340e..0df151fa40 100644 --- a/packages/contentstack-bootstrap/README.md +++ b/packages/contentstack-bootstrap/README.md @@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-bootstrap/1.9.3 darwin-arm64 node-v21.6.2 +@contentstack/cli-cm-bootstrap/1.9.3 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index 23aef0ed30..6062e11816 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -17,9 +17,9 @@ "test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\"" }, "dependencies": { - "@contentstack/cli-cm-seed": "~1.7.5", + "@contentstack/cli-cm-seed": "~1.7.6", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "inquirer": "8.2.4", "mkdirp": "^1.0.4", "tar": "^6.2.1 " diff --git a/packages/contentstack-branches/README.md b/packages/contentstack-branches/README.md index 66fd355950..d03133d56f 100755 --- a/packages/contentstack-branches/README.md +++ b/packages/contentstack-branches/README.md @@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-branches/1.0.26 darwin-arm64 node-v21.6.2 +@contentstack/cli-cm-branches/1.1.1 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-branches/package.json b/packages/contentstack-branches/package.json index 6bd75a403a..108557efc5 100644 --- a/packages/contentstack-branches/package.json +++ b/packages/contentstack-branches/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-branches", "description": "Contentstack CLI plugin to do branches operations", - "version": "1.1.0", + "version": "1.1.1", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/core": "^3.26.5", "async": "^3.2.4", "big-json": "^3.2.0", @@ -25,7 +25,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", diff --git a/packages/contentstack-branches/src/utils/create-merge-scripts.ts b/packages/contentstack-branches/src/utils/create-merge-scripts.ts index 7b86b04358..bc1c7c3b31 100644 --- a/packages/contentstack-branches/src/utils/create-merge-scripts.ts +++ b/packages/contentstack-branches/src/utils/create-merge-scripts.ts @@ -7,8 +7,9 @@ import { assetFolderCreateScript } from './asset-folder-create-script'; type CreateMergeScriptsProps = { uid: string; - entry_merge_strategy: string; + entry_merge_strategy?: string; type?: string; + status?: string; }; export function generateMergeScripts(mergeSummary, mergeJobUID) { @@ -43,11 +44,8 @@ export function generateMergeScripts(mergeSummary, mergeJobUID) { cliux.print(`Info: Entries of ${messageType} content types selected for the migration`, { color: 'blue' }); } }; - - processContentType( - { type: 'assets', uid: '', entry_merge_strategy: '' }, - mergeStrategies['asset_create_folder'], - ); + + processContentType({ type: 'assets', uid: '', entry_merge_strategy: '' }, mergeStrategies['asset_create_folder']); processContentTypes(mergeSummary.modified, 'Modified'); processContentTypes(mergeSummary.added, 'New'); @@ -92,13 +90,13 @@ export function createMergeScripts(contentType: CreateMergeScriptsProps, mergeJo fs.mkdirSync(fullPath); } let filePath: string; - let milliSeconds = date.getMilliseconds().toString().padStart(3, '0') + let milliSeconds = date.getMilliseconds().toString().padStart(3, '0'); if (contentType.type === 'assets') { filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_create_assets_folder.js`; } else { - filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_${getContentTypeMergeStatus(contentType.entry_merge_strategy)}_${ - contentType.uid - }.js`; + filePath = `${fullPath}/${fileCreatedAt}${milliSeconds}_${getContentTypeMergeStatus( + contentType.entry_merge_strategy, + )}_${contentType.uid}.js`; } fs.writeFileSync(filePath, content, 'utf-8'); } diff --git a/packages/contentstack-branches/test/config.json b/packages/contentstack-branches/test/config.json index 8b9e929db3..30afc5d01d 100644 --- a/packages/contentstack-branches/test/config.json +++ b/packages/contentstack-branches/test/config.json @@ -1,5 +1,9 @@ { "IS_TS": false, "UNIT_EXECUTION_ORDER": [], - "INTEGRATION_EXECUTION_ORDER": [] + "INTEGRATION_EXECUTION_ORDER": [], + "stackAPIKey": "***REMOVED***", + "apiKey": "afdgaffsdg", + "stackAPIKey2": "abcdscdxx", + "api_key": "testString" } \ No newline at end of file diff --git a/packages/contentstack-branches/test/unit/mock/data.ts b/packages/contentstack-branches/test/unit/mock/data.ts index b4bfd53914..cf6fdbcec8 100644 --- a/packages/contentstack-branches/test/unit/mock/data.ts +++ b/packages/contentstack-branches/test/unit/mock/data.ts @@ -1,23 +1,24 @@ +const config = require('../../config.json'); const mockData = { flags: { baseBranch: 'main', compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', }, withoutBaseFlag: { compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', }, withoutCompareFlag: { baseBranch: 'main', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, module: 'content-types', format: 'compactfield', - compareBranch:'' + compareBranch: '', }, withoutAPIKeyFlag: { baseBranch: 'main', @@ -29,9 +30,9 @@ const mockData = { withoutModuleFlag: { baseBranch: 'main', compareBranch: 'dev', - stackAPIKey: '***REMOVED***', + stackAPIKey: config.stackAPIKey, format: 'compactfield', - module:'' + module: '', }, data: { base: 'main', @@ -142,7 +143,7 @@ const mockData = { }, branchDiffPayload: { module: 'content_type', - apiKey: 'afdgaffsdg', + apiKey: config.apiKey, baseBranch: 'main', compareBranch: 'dev', }, @@ -406,7 +407,7 @@ const mockData = { strategy: 'merge_prefer_base', strategySubOption: 'merge_new_only', branchCompareData: '', - stackAPIKey: 'abcdscdxx', + stackAPIKey: config.stackAPIKey2, baseBranch: 'main', host: '', enableEntryExp: false, @@ -416,7 +417,7 @@ const mockData = { strategy: '', strategySubOption: '', branchCompareData: {}, - stackAPIKey: 'abcdscdxx', + stackAPIKey: config.stackAPIKey2, baseBranch: 'main', host: '', enableEntryExp: false, @@ -533,13 +534,13 @@ const branchMockData = { items: [ { stackHeaders: { - api_key: '***REMOVED***', + api_key: config.api_key, }, urlPath: '/stacks/branches/new_branch', uid: 'new_branch', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-03-02T12:53:18.809Z', updated_at: '2023-03-02T12:53:19.208Z', deleted_at: false, @@ -547,13 +548,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/test_branch', uid: 'test_branch', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-03-01T09:36:18.174Z', updated_at: '2023-03-01T09:36:18.538Z', deleted_at: false, @@ -561,13 +562,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/new', uid: 'new', source: 'main', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2023-01-11T08:55:51.556Z', updated_at: '2023-01-11T08:55:51.869Z', deleted_at: false, @@ -575,13 +576,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/main', uid: 'main', source: '', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2022-09-27T06:11:29.016Z', updated_at: '2022-11-18T09:54:41.671Z', deleted_at: false, @@ -589,13 +590,13 @@ const branchMockData = { }, { stackHeaders: { - api_key: '***REMOVED***xxx', + api_key: config.api_key, }, urlPath: '/stacks/branches/release', uid: 'release', source: 'develop', - created_by: '***REMOVED***xxx', - updated_by: '***REMOVED***xxx', + created_by: 'testStringxxx', + updated_by: 'testStringxxx', created_at: '2022-10-30T18:37:05.875Z', updated_at: '2022-11-18T09:42:22.266Z', deleted_at: false, @@ -805,8 +806,8 @@ const baseAndCompareChanges = { path: 'social', uid: 'social', displayName: 'Social', - fieldType: 'group' - } + fieldType: 'group', + }, }, added: {}, deleted: { @@ -814,9 +815,9 @@ const baseAndCompareChanges = { path: 'social.social_share', uid: 'social_share', displayName: 'Social Share', - fieldType: 'group' - } - } + fieldType: 'group', + }, + }, }, compareHavingSchema: { modified: { @@ -824,45 +825,45 @@ const baseAndCompareChanges = { path: 'social', uid: 'social', displayName: 'Social', - fieldType: 'group' - } + fieldType: 'group', + }, }, added: { 'social.social_share': { path: 'social.social_share', uid: 'social_share', displayName: 'Social Share', - fieldType: 'group' - } + fieldType: 'group', + }, }, - deleted: {} + deleted: {}, }, - modifiedFieldRes:{ + modifiedFieldRes: { listOfAddedFields: [ { path: undefined, displayName: undefined, uid: undefined, - field: undefined - } + field: undefined, + }, ], listOfDeletedFields: [ { path: 'single_line_fieldbox33', displayName: 'Single Line fieldbox33', uid: 'single_line_fieldbox33', - field: 'compactfield' - } + field: 'compactfield', + }, ], listOfModifiedFields: [ { path: 'title', displayName: 'Name', uid: 'title', - field: 'metadata' - } - ] - } + field: 'metadata', + }, + ], + }, }; export { @@ -874,5 +875,5 @@ export { compareBranchDiff, compareBranchNoSchema, baseBranchNoSchema, - baseAndCompareChanges + baseAndCompareChanges, }; diff --git a/packages/contentstack-bulk-publish/README.md b/packages/contentstack-bulk-publish/README.md index 4535acb855..a178ed7202 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.4.7 darwin-arm64 node-v21.6.2 +@contentstack/cli-cm-bulk-publish/1.4.7 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-bulk-publish/package.json b/packages/contentstack-bulk-publish/package.json index 8a09c9f1be..16467001eb 100644 --- a/packages/contentstack-bulk-publish/package.json +++ b/packages/contentstack-bulk-publish/package.json @@ -6,7 +6,7 @@ "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "bluebird": "^3.7.2", "chalk": "^4.1.2", "dotenv": "^16.1.4", diff --git a/packages/contentstack-clone/README.md b/packages/contentstack-clone/README.md index 1a9f7681df..0cb79450e2 100644 --- a/packages/contentstack-clone/README.md +++ b/packages/contentstack-clone/README.md @@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-clone/1.10.5 darwin-arm64 node-v21.6.2 +@contentstack/cli-cm-clone/1.10.6 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index dd7b05af0a..5152a90b71 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -1,15 +1,15 @@ { "name": "@contentstack/cli-cm-clone", "description": "Contentstack stack clone plugin", - "version": "1.10.5", + "version": "1.10.6", "author": "Contentstack", "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.11.4", - "@contentstack/cli-cm-import": "~1.15.8", + "@contentstack/cli-cm-export": "~1.11.5", + "@contentstack/cli-cm-import": "~1.16.0", "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "async": "^3.2.4", "chalk": "^4.1.0", "child_process": "^1.0.2", diff --git a/packages/contentstack-clone/test/dummyConfig/config.json b/packages/contentstack-clone/test/dummyConfig/config.json new file mode 100644 index 0000000000..b3a42c91f9 --- /dev/null +++ b/packages/contentstack-clone/test/dummyConfig/config.json @@ -0,0 +1,3 @@ +{ + "auth_token": "dummyToken" +} \ No newline at end of file diff --git a/packages/contentstack-clone/test/dummyConfig/index.js b/packages/contentstack-clone/test/dummyConfig/index.js index 588dfd6ba5..7f72842c0c 100644 --- a/packages/contentstack-clone/test/dummyConfig/index.js +++ b/packages/contentstack-clone/test/dummyConfig/index.js @@ -1,8 +1,10 @@ +import * as config from './config.json'; + module.exports = { versioning: false, host: 'https://app.contentstack.com', source_stack: 'dummyKey', - auth_token: 'dummyToken', + auth_token: config.auth_token, modules: { types: [ 'stack', diff --git a/packages/contentstack-command/package.json b/packages/contentstack-command/package.json index e5bc4bc526..bb2cdb4dac 100644 --- a/packages/contentstack-command/package.json +++ b/packages/contentstack-command/package.json @@ -17,7 +17,7 @@ "format": "eslint src/**/*.ts --fix" }, "dependencies": { - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "contentstack": "^3.10.1" }, "devDependencies": { diff --git a/packages/contentstack-config/README.md b/packages/contentstack-config/README.md index 7f1644b164..ccb077eca8 100644 --- a/packages/contentstack-config/README.md +++ b/packages/contentstack-config/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-config $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-config/1.6.4 darwin-arm64 node-v21.6.2 +@contentstack/cli-config/1.6.4 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-config/package.json b/packages/contentstack-config/package.json index 1220d1e8ac..5512e1c03d 100644 --- a/packages/contentstack-config/package.json +++ b/packages/contentstack-config/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.0.0", "debug": "^4.1.1", "inquirer": "8.2.4", diff --git a/packages/contentstack-dev-dependencies/.snyk b/packages/contentstack-dev-dependencies/.snyk new file mode 100644 index 0000000000..69b495d0ee --- /dev/null +++ b/packages/contentstack-dev-dependencies/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +# ignores vulnerabilities until expiry date; change duration by modifying expiry date +ignore: + SNYK-JS-ASYNC-7414156: + - '*': + reason: 'https://contentstack.atlassian.net/browse/CLOUD-6762' + expires: 2024-08-02T13:54:17.307Z + created: 2024-07-03T13:54:17.314Z +patch: {} diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index 0db9e82fb7..5003086004 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -6,7 +6,7 @@ "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "chalk": "^4.1.0", "fast-csv": "^4.3.6", "inquirer": "8.2.4", diff --git a/packages/contentstack-export/README.md b/packages/contentstack-export/README.md index 3a44d34a01..1e649d5e37 100755 --- a/packages/contentstack-export/README.md +++ b/packages/contentstack-export/README.md @@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-export/1.11.4 darwin-arm64 node-v21.6.2 +@contentstack/cli-cm-export/1.11.5 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index b5531b2be7..e5ff711403 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-cm-export", "description": "Contentstack CLI plugin to export content from stack", - "version": "1.11.4", + "version": "1.11.5", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { "@contentstack/cli-command": "~1.2.18", - "@contentstack/cli-utilities": "~1.6.2", + "@contentstack/cli-utilities": "~1.6.3", "@oclif/core": "^3.26.5", "async": "^3.2.4", "big-json": "^3.2.0", @@ -24,7 +24,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@contentstack/cli-auth": "~1.3.18", + "@contentstack/cli-auth": "~1.3.19", "@contentstack/cli-config": "~1.6.4", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", diff --git a/packages/contentstack-export/test/config.json b/packages/contentstack-export/test/config.json index d8f338c54e..c1dc5e49e0 100644 --- a/packages/contentstack-export/test/config.json +++ b/packages/contentstack-export/test/config.json @@ -3,5 +3,6 @@ "UNIT_EXECUTION_ORDER": [], "INTEGRATION_EXECUTION_ORDER": [], "ENABLE_PREREQUISITES": true, - "REGIONS": ["NA", "EU", "AZURE-NA", "AZURE-EU"] + "REGIONS": ["NA", "EU", "AZURE-NA", "AZURE-EU"], + "apiKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-export/test/integration/config.json b/packages/contentstack-export/test/integration/config.json index 81218da0fa..397e05a2c7 100644 --- a/packages/contentstack-export/test/integration/config.json +++ b/packages/contentstack-export/test/integration/config.json @@ -3,5 +3,6 @@ "REGION_NAME": "NA", "DEFAULT_TIMEOUT": 600000, "EXPORT_PATH": "./contents", - "ALIAS_NAME": "marketplace_api" + "ALIAS_NAME": "marketplace_api", + "encryptionKey": "***REMOVED***" } \ No newline at end of file diff --git a/packages/contentstack-export/test/integration/init.test.js b/packages/contentstack-export/test/integration/init.test.js index 105e507ce8..aeca54047d 100644 --- a/packages/contentstack-export/test/integration/init.test.js +++ b/packages/contentstack-export/test/integration/init.test.js @@ -6,7 +6,7 @@ const { getEnvData, getStackDetailsByRegion } = require('./utils/helper') const LoginCommand = require('@contentstack/cli-auth/lib/commands/auth/login').default const AddTokenCommand = require('@contentstack/cli-auth/lib/commands/auth/tokens/add').default const RegionSetCommand = require('@contentstack/cli-config/lib/commands/config/set/region').default -const { DEFAULT_TIMEOUT, PRINT_LOGS, ALIAS_NAME } = require("./config.json") +const { DEFAULT_TIMEOUT, PRINT_LOGS, ALIAS_NAME, encryptionKey } = require("./config.json") const { ENCRYPTION_KEY, USERNAME, PASSWORD } = getEnvData() const { APP_ENV, DELIMITER, KEY_VAL_DELIMITER } = process.env @@ -14,7 +14,7 @@ const { APP_ENV, DELIMITER, KEY_VAL_DELIMITER } = process.env const crypto = new NodeCrypto({ typeIdentifier: 'â—ˆ', algorithm: 'aes-192-cbc', - encryptionKey: ENCRYPTION_KEY || '***REMOVED***' + encryptionKey: ENCRYPTION_KEY || encryptionKey }); module.exports = (region) => { diff --git a/packages/contentstack-export/test/tsconfig.json b/packages/contentstack-export/test/tsconfig.json index a0f0f6893f..f6994c93ce 100644 --- a/packages/contentstack-export/test/tsconfig.json +++ b/packages/contentstack-export/test/tsconfig.json @@ -5,6 +5,6 @@ "resolveJsonModule": true }, "references": [ - {"path": ".."} + {"path": "../"} ] } diff --git a/packages/contentstack-export/test/unit/mock/assets.ts b/packages/contentstack-export/test/unit/mock/assets.ts index 99a5c37642..d9daee1365 100644 --- a/packages/contentstack-export/test/unit/mock/assets.ts +++ b/packages/contentstack-export/test/unit/mock/assets.ts @@ -1,10 +1,12 @@ +import * as config from '../../config.json'; + const mockData = { findOneData: {}, countData: { assets: 5 }, findData: { items: [ { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', @@ -15,7 +17,7 @@ const mockData = { _version: 1, }, { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', @@ -26,7 +28,7 @@ const mockData = { _version: 2, }, { - stackHeaders: { api_key: '***REMOVED***' }, + stackHeaders: { api_key: config.apiKey }, urlPath: '/assets/scd', uid: 'hbjdjcy83kjxc', content_type: 'image/jpeg', diff --git a/packages/contentstack-import/README.md b/packages/contentstack-import/README.md index 195b856b92..8097e79d47 100644 --- a/packages/contentstack-import/README.md +++ b/packages/contentstack-import/README.md @@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import $ csdx COMMAND running command... $ csdx (--version) -@contentstack/cli-cm-import/1.15.8 darwin-arm64 node-v18.20.2 +@contentstack/cli-cm-import/1.16.0 darwin-arm64 node-v22.2.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -79,6 +79,7 @@ FLAGS -k, --stack-api-key= API key of the target stack -m, --module= [optional] specific module name -y, --yes [optional] Override marketplace prompts + --exclude-global-modules Excludes the branch-independent module from the import operation --import-webhook-status=