From 485fa2245efffa4ff79a39dba98c8f1ca04a7a0d Mon Sep 17 00:00:00 2001 From: Antony Date: Wed, 31 Jan 2024 14:46:40 +0530 Subject: [PATCH 1/5] refactor: Handle file/folder missing case --- packages/contentstack-audit/src/modules/content-types.ts | 3 ++- packages/contentstack-audit/src/modules/entries.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/contentstack-audit/src/modules/content-types.ts b/packages/contentstack-audit/src/modules/content-types.ts index 8e26bdb6f4..6ef992fb53 100644 --- a/packages/contentstack-audit/src/modules/content-types.ts +++ b/packages/contentstack-audit/src/modules/content-types.ts @@ -60,7 +60,8 @@ export default class ContentType { this.inMemoryFix = returnFixSchema; if (!existsSync(this.folderPath)) { - throw new Error($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath })); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + return returnFixSchema ? [] : {}; } this.schema = this.moduleName === 'content-types' ? this.ctSchema : this.gfSchema; diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index c21b52cdbb..e5c85064bb 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -68,7 +68,8 @@ export default class Entries { */ async run() { if (!existsSync(this.folderPath)) { - throw new Error($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath })); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + return {}; } await this.prepareEntryMetaData(); From e5463f31f81a5e2299c9d3909d4e8ba07269a9d0 Mon Sep 17 00:00:00 2001 From: Antony Date: Wed, 31 Jan 2024 15:17:47 +0530 Subject: [PATCH 2/5] Fix: missing local file/folder condition handled --- .../contentstack-audit/src/audit-base-command.ts | 13 ------------- packages/contentstack-audit/src/modules/entries.ts | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/contentstack-audit/src/audit-base-command.ts b/packages/contentstack-audit/src/audit-base-command.ts index aa6c15815c..2674927a53 100644 --- a/packages/contentstack-audit/src/audit-base-command.ts +++ b/packages/contentstack-audit/src/audit-base-command.ts @@ -164,7 +164,6 @@ export abstract class AuditBaseCommand extends BaseCommand Date: Wed, 31 Jan 2024 15:51:51 +0530 Subject: [PATCH 3/5] Log printing issue fix --- package-lock.json | 6 +++--- packages/contentstack-audit/package.json | 2 +- packages/contentstack-audit/src/modules/content-types.ts | 3 ++- packages/contentstack-audit/src/modules/entries.ts | 3 ++- packages/contentstack-import/package.json | 2 +- packages/contentstack/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 65ae62eb89..4b904aeb05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23525,7 +23525,7 @@ "version": "1.13.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.3.4", + "@contentstack/cli-audit": "~1.3.5", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.7.1", "@contentstack/cli-cm-branches": "~1.0.22", @@ -23590,7 +23590,7 @@ }, "packages/contentstack-audit": { "name": "@contentstack/cli-audit", - "version": "1.3.4", + "version": "1.3.5", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", @@ -25273,7 +25273,7 @@ "version": "1.13.2", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "^1.3.3", + "@contentstack/cli-audit": "^1.3.5", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.11", "@contentstack/management": "~1.13.0", diff --git a/packages/contentstack-audit/package.json b/packages/contentstack-audit/package.json index d7134c1f19..5784959b8d 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-audit", - "version": "1.3.4", + "version": "1.3.5", "description": "Contentstack audit plugin", "author": "Contentstack CLI", "homepage": "https://github.com/contentstack/cli", diff --git a/packages/contentstack-audit/src/modules/content-types.ts b/packages/contentstack-audit/src/modules/content-types.ts index 6ef992fb53..c40500fc63 100644 --- a/packages/contentstack-audit/src/modules/content-types.ts +++ b/packages/contentstack-audit/src/modules/content-types.ts @@ -60,7 +60,8 @@ export default class ContentType { this.inMemoryFix = returnFixSchema; if (!existsSync(this.folderPath)) { - this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + this.log(`Skipping ${this.moduleName} audit`, 'warn'); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), { color: 'yellow' }); return returnFixSchema ? [] : {}; } diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 4397b3e01d..7ca286ed28 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -68,7 +68,8 @@ export default class Entries { */ async run() { if (!existsSync(this.folderPath)) { - this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + this.log(`Skipping ${this.moduleName} audit`, 'warn'); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), { color: 'yellow' }); return {}; } diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index 22a6d0dee9..ed3816b32e 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -5,7 +5,7 @@ "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-audit": "^1.3.3", + "@contentstack/cli-audit": "^1.3.5", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.11", "@contentstack/management": "~1.13.0", diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 3cb16153d3..f29008f232 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -22,7 +22,7 @@ "prepack": "pnpm compile && oclif manifest && oclif readme" }, "dependencies": { - "@contentstack/cli-audit": "~1.3.4", + "@contentstack/cli-audit": "~1.3.5", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.7.1", "@contentstack/cli-cm-branches": "~1.0.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5dc9c63836..d0557f97b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: packages/contentstack: specifiers: - '@contentstack/cli-audit': ~1.3.4 + '@contentstack/cli-audit': ~1.3.5 '@contentstack/cli-auth': ~1.3.17 '@contentstack/cli-cm-bootstrap': ~1.7.1 '@contentstack/cli-cm-branches': ~1.0.22 @@ -730,7 +730,7 @@ importers: packages/contentstack-import: specifiers: - '@contentstack/cli-audit': ^1.3.3 + '@contentstack/cli-audit': ^1.3.5 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 '@contentstack/management': ~1.13.0 From 1857206ddbb35b7ea2c8a604a660c7d4c2c958c2 Mon Sep 17 00:00:00 2001 From: Antony Date: Wed, 31 Jan 2024 17:29:57 +0530 Subject: [PATCH 4/5] Local existence check condition added --- packages/contentstack-audit/src/modules/entries.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 7ca286ed28..56f5ff884f 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -802,7 +802,10 @@ export default class Entries { const localesPath = join(localesFolderPath, this.config.moduleConfig.locales.fileName); const masterLocalesPath = join(localesFolderPath, 'master-locale.json'); this.locales = existsSync(masterLocalesPath) ? values(JSON.parse(readFileSync(masterLocalesPath, 'utf8'))) : []; - this.locales.push(...values(JSON.parse(readFileSync(localesPath, 'utf8')))); + + if (existsSync(localesPath)) { + this.locales.push(...values(JSON.parse(readFileSync(localesPath, 'utf8')))); + } for (const { code } of this.locales) { for (const { uid } of this.ctSchema) { From 10ea8f33e52f4f77c3489f45416d0eaa385e2354 Mon Sep 17 00:00:00 2001 From: Antony Date: Wed, 31 Jan 2024 18:11:50 +0530 Subject: [PATCH 5/5] Fix: @oclif/test version updated --- package-lock.json | 518 ++---------------- packages/contentstack-audit/package.json | 2 +- packages/contentstack-auth/package.json | 2 +- packages/contentstack-bootstrap/package.json | 2 +- packages/contentstack-branches/package.json | 2 +- .../contentstack-bulk-publish/package.json | 2 +- packages/contentstack-clone/package.json | 2 +- packages/contentstack-command/package.json | 2 +- packages/contentstack-config/package.json | 2 +- .../package.json | 2 +- .../contentstack-export-to-csv/package.json | 2 +- packages/contentstack-import/package.json | 2 +- packages/contentstack-launch/package.json | 2 +- .../contentstack-migrate-rte/package.json | 2 +- packages/contentstack-migration/package.json | 4 +- packages/contentstack-utilities/package.json | 2 +- packages/contentstack/package.json | 2 +- pnpm-lock.yaml | 64 +-- 18 files changed, 95 insertions(+), 521 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b904aeb05..a12e1aa818 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2223,15 +2223,33 @@ } }, "node_modules/@oclif/test": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-1.2.9.tgz", - "integrity": "sha512-op+ak0NTyeBKqjLVH1jfPCRGWK5befIoQpCL/xwekjucUEmMfCbUpV1Sa60f9rU8X58HEqrclwWbAH+DtQR6FQ==", - "dev": true, + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", + "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", "dependencies": { - "fancy-test": "^1.4.10" + "@oclif/core": "^2.15.0", + "fancy-test": "^2.0.42" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" + } + }, + "node_modules/@oclif/test/node_modules/fancy-test": { + "version": "2.0.42", + "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", + "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", + "dependencies": { + "@types/chai": "*", + "@types/lodash": "*", + "@types/node": "*", + "@types/sinon": "*", + "lodash": "^4.17.13", + "mock-stdin": "^1.0.0", + "nock": "^13.3.3", + "stdout-stderr": "^0.1.9" + }, + "engines": { + "node": ">=12.0.0" } }, "node_modules/@octokit/auth-token": { @@ -11696,9 +11714,9 @@ } }, "node_modules/jsdoc-api": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.2.0.tgz", - "integrity": "sha512-93YDnlm/OYTlLOFeNs4qAv0RBCJ0kGj67xQaWy8wrbk97Rw1EySitoOTHsTHXPEs3uyx2IStPKGrbE7LTnZXbA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-8.0.0.tgz", + "integrity": "sha512-Rnhor0suB1Ds1abjmFkFfKeD+kSMRN9oHMTMZoJVUrmtCGDwXty+sWMA9sa4xbe4UyxuPjhC7tavZ40mDKK6QQ==", "dev": true, "dependencies": { "array-back": "^6.2.2", @@ -11733,17 +11751,17 @@ } }, "node_modules/jsdoc-to-markdown": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.1.1.tgz", - "integrity": "sha512-CI86d63xAVNO+ENumWwmJ034lYe5iGU5GwjtTA11EuphP9tpnoi4hrKgR/J8uME0D+o4KUpVfwX1fjZhc8dEtg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-8.0.0.tgz", + "integrity": "sha512-2FQvYkg491+FP6s15eFlgSSWs69CvQrpbABGYBtvAvGWy/lWo8IKKToarT283w59rQFrpcjHl3YdhHCa3l7gXg==", "dev": true, "dependencies": { "array-back": "^6.2.2", "command-line-tool": "^0.8.0", "config-master": "^3.1.0", - "dmd": "^6.1.0", - "jsdoc-api": "^7.1.1", - "jsdoc-parse": "^6.1.0", + "dmd": "^6.2.0", + "jsdoc-api": "^8.0.0", + "jsdoc-parse": "^6.2.0", "walk-back": "^5.1.0" }, "bin": { @@ -23560,7 +23578,7 @@ "csdx": "bin/run" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -23609,7 +23627,7 @@ }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^2.0.3", + "@oclif/test": "^2.5.6", "@types/chai": "^4.3.5", "@types/fs-extra": "^11.0.2", "@types/mocha": "^10.0.6", @@ -23633,58 +23651,6 @@ "node": ">=16" } }, - "packages/contentstack-audit/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "packages/contentstack-audit/node_modules/@oclif/test/node_modules/@oclif/core": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.15.0.tgz", - "integrity": "sha512-fNEMG5DzJHhYmI3MgpByTvltBOMyFcnRIUMxbiz2ai8rhaYgaTHMG3Q38HcosfIvtw9nCjxpcQtC8MN8QtVCcA==", - "dev": true, - "dependencies": { - "@types/cli-progress": "^3.11.0", - "ansi-escapes": "^4.3.2", - "ansi-styles": "^4.3.0", - "cardinal": "^2.1.1", - "chalk": "^4.1.2", - "clean-stack": "^3.0.1", - "cli-progress": "^3.12.0", - "debug": "^4.3.4", - "ejs": "^3.1.8", - "get-package-type": "^0.1.0", - "globby": "^11.1.0", - "hyperlinker": "^1.0.0", - "indent-string": "^4.0.0", - "is-wsl": "^2.2.0", - "js-yaml": "^3.14.1", - "natural-orderby": "^2.0.3", - "object-treeify": "^1.1.33", - "password-prompt": "^1.1.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "supports-color": "^8.1.1", - "supports-hyperlinks": "^2.2.0", - "ts-node": "^10.9.1", - "tslib": "^2.5.0", - "widest-line": "^3.1.0", - "wordwrap": "^1.0.0", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "packages/contentstack-audit/node_modules/@sinonjs/fake-timers": { "version": "11.2.2", "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.2.2.tgz", @@ -23726,25 +23692,6 @@ "wrap-ansi": "^7.0.0" } }, - "packages/contentstack-audit/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-audit/node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -23765,26 +23712,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/contentstack-audit/node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "packages/contentstack-audit/node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -23956,7 +23883,7 @@ "devDependencies": { "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^5.1.19", - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -23982,44 +23909,12 @@ "node": ">=14.0.0" } }, - "packages/contentstack-auth/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-auth/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", "dev": true }, - "packages/contentstack-auth/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-bootstrap": { "name": "@contentstack/cli-cm-bootstrap", "version": "1.7.1", @@ -24033,7 +23928,7 @@ "tar": "^6.1.13" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", "@types/node": "^14.14.32", @@ -24055,19 +23950,6 @@ "node": ">=14.0.0" } }, - "packages/contentstack-bootstrap/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-bootstrap/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", @@ -24083,25 +23965,6 @@ "node": ">=0.3.1" } }, - "packages/contentstack-bootstrap/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-bootstrap/node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -24166,7 +24029,7 @@ "@contentstack/cli-config": "~1.6.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "@types/flat": "^5.0.2", "assert": "^2.0.0", "chai": "^4.2.0", @@ -24203,7 +24066,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "chai": "^4.2.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", @@ -24246,7 +24109,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^1.2.7", + "@oclif/test": "^2.5.6", "chai": "^4.2.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", @@ -24284,7 +24147,7 @@ "contentstack": "^3.10.1" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/mkdirp": "^1.0.1", "@types/mocha": "^8.2.2", @@ -24305,19 +24168,6 @@ "node": ">=14.0.0" } }, - "packages/contentstack-command/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-command/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", @@ -24333,25 +24183,6 @@ "node": ">=0.3.1" } }, - "packages/contentstack-command/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-command/node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -24402,7 +24233,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -24427,51 +24258,19 @@ "node": ">=14.0.0" } }, - "packages/contentstack-config/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-config/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", "dev": true }, - "packages/contentstack-config/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-dev-dependencies": { "name": "@contentstack/cli-dev-dependencies", "version": "1.2.4", "license": "MIT", "dependencies": { "@oclif/core": "^2.9.3", - "@oclif/test": "^2.0.3", + "@oclif/test": "^2.5.6", "fancy-test": "^2.0.0", "lodash": "^4.17.21" }, @@ -24533,18 +24332,6 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, - "packages/contentstack-dev-dependencies/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-dev-dependencies/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", @@ -24800,7 +24587,7 @@ "mkdirp": "^3.0.1" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.3.6", "@types/mocha": "^10.0.1", "chai": "^4.3.8", @@ -24866,19 +24653,6 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, - "packages/contentstack-export-to-csv/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "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", @@ -25052,25 +24826,6 @@ "node": ">=4" } }, - "packages/contentstack-export-to-csv/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-export-to-csv/node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -25236,38 +24991,6 @@ "node": ">=10" } }, - "packages/contentstack-export/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "packages/contentstack-export/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-import": { "name": "@contentstack/cli-cm-import", "version": "1.13.2", @@ -25293,7 +25016,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "@types/big-json": "^3.2.0", "@types/bluebird": "^3.5.38", "@types/chai": "^4.2.18", @@ -25428,7 +25151,7 @@ "launch": "bin/run" }, "devDependencies": { - "@oclif/test": "^2.3.6", + "@oclif/test": "^2.5.6", "@types/adm-zip": "^0.5.0", "@types/chai": "^4", "@types/esm": "^3.2.0", @@ -25498,19 +25221,6 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, - "packages/contentstack-launch/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-launch/node_modules/@types/node": { "version": "16.18.71", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.71.tgz", @@ -25658,25 +25368,6 @@ "node": ">=4" } }, - "packages/contentstack-launch/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-launch/node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", @@ -25723,7 +25414,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "chai": "^4.3.4", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", @@ -25737,38 +25428,6 @@ "node": ">=14.0.0" } }, - "packages/contentstack-migrate-rte/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "packages/contentstack-migrate-rte/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-migrate-rte/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -25792,13 +25451,13 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "chai": "^4.3.4", "eslint": "^8.18.0", "globby": "^10.0.2", "husky": "^8.0.3", "jsdoc": "^4.0.0", - "jsdoc-to-markdown": "^7.0.1", + "jsdoc-to-markdown": "^8.0.0", "mkdirp": "^1.0.4", "nock": "^13.1.1", "nyc": "^15.1.0", @@ -25808,38 +25467,6 @@ "node": ">=8.3.0" } }, - "packages/contentstack-migration/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "packages/contentstack-migration/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-seed": { "name": "@contentstack/cli-cm-seed", "version": "1.7.1", @@ -25959,7 +25586,7 @@ }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", @@ -25984,19 +25611,6 @@ "typescript": "^4.9.3" } }, - "packages/contentstack-utilities/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack-utilities/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", @@ -26089,43 +25703,11 @@ "node": ">=14.0.0" } }, - "packages/contentstack/node_modules/@oclif/test": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-2.5.6.tgz", - "integrity": "sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==", - "dev": true, - "dependencies": { - "@oclif/core": "^2.15.0", - "fancy-test": "^2.0.42" - }, - "engines": { - "node": ">=12.0.0" - } - }, "packages/contentstack/node_modules/@types/node": { "version": "14.18.63", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", "dev": true - }, - "packages/contentstack/node_modules/fancy-test": { - "version": "2.0.42", - "resolved": "https://registry.npmjs.org/fancy-test/-/fancy-test-2.0.42.tgz", - "integrity": "sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==", - "dev": true, - "dependencies": { - "@types/chai": "*", - "@types/lodash": "*", - "@types/node": "*", - "@types/sinon": "*", - "lodash": "^4.17.13", - "mock-stdin": "^1.0.0", - "nock": "^13.3.3", - "stdout-stderr": "^0.1.9" - }, - "engines": { - "node": ">=12.0.0" - } } } } diff --git a/packages/contentstack-audit/package.json b/packages/contentstack-audit/package.json index 5784959b8d..45c759d203 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^2.0.3", + "@oclif/test": "^2.5.6", "@types/chai": "^4.3.5", "@types/fs-extra": "^11.0.2", "@types/mocha": "^10.0.6", diff --git a/packages/contentstack-auth/package.json b/packages/contentstack-auth/package.json index 8f707e6701..ef501312bd 100644 --- a/packages/contentstack-auth/package.json +++ b/packages/contentstack-auth/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^5.1.19", - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", diff --git a/packages/contentstack-bootstrap/package.json b/packages/contentstack-bootstrap/package.json index 94c3b2e44f..526c3517b2 100644 --- a/packages/contentstack-bootstrap/package.json +++ b/packages/contentstack-bootstrap/package.json @@ -25,7 +25,7 @@ "tar": "^6.1.13" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", "@types/node": "^14.14.32", diff --git a/packages/contentstack-branches/package.json b/packages/contentstack-branches/package.json index 833f7fd81d..656239bb74 100644 --- a/packages/contentstack-branches/package.json +++ b/packages/contentstack-branches/package.json @@ -29,7 +29,7 @@ "@contentstack/cli-config": "~1.6.0", "@contentstack/cli-dev-dependencies": "~1.2.4", "@oclif/plugin-help": "^5.1.19", - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "@types/flat": "^5.0.2", "assert": "^2.0.0", "chai": "^4.2.0", diff --git a/packages/contentstack-bulk-publish/package.json b/packages/contentstack-bulk-publish/package.json index b1ac44fad5..cf241ebbe6 100644 --- a/packages/contentstack-bulk-publish/package.json +++ b/packages/contentstack-bulk-publish/package.json @@ -17,7 +17,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "chai": "^4.2.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 6acd0631ac..f2dd08b3c0 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -23,7 +23,7 @@ "lodash": "^4.17.20" }, "devDependencies": { - "@oclif/test": "^1.2.7", + "@oclif/test": "^2.5.6", "chai": "^4.2.0", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", diff --git a/packages/contentstack-command/package.json b/packages/contentstack-command/package.json index 43f3d5e54c..a63adfb739 100644 --- a/packages/contentstack-command/package.json +++ b/packages/contentstack-command/package.json @@ -21,7 +21,7 @@ "contentstack": "^3.10.1" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/mkdirp": "^1.0.1", "@types/mocha": "^8.2.2", diff --git a/packages/contentstack-config/package.json b/packages/contentstack-config/package.json index fdb392ba37..74a31f033f 100644 --- a/packages/contentstack-config/package.json +++ b/packages/contentstack-config/package.json @@ -31,7 +31,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", diff --git a/packages/contentstack-dev-dependencies/package.json b/packages/contentstack-dev-dependencies/package.json index 4b302c79e1..5495562bcc 100644 --- a/packages/contentstack-dev-dependencies/package.json +++ b/packages/contentstack-dev-dependencies/package.json @@ -24,7 +24,7 @@ "@oclif/core": "^2.9.3", "lodash": "^4.17.21", "fancy-test": "^2.0.0", - "@oclif/test":"^2.0.3" + "@oclif/test": "^2.5.6" }, "devDependencies": { "@types/node": "^14.14.32", diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index b36bd90a42..c9c6430837 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -14,7 +14,7 @@ "mkdirp": "^3.0.1" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.3.6", "@types/mocha": "^10.0.1", "chai": "^4.3.8", diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index ed3816b32e..c2a273b72f 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -25,7 +25,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^1.2.6", + "@oclif/test": "^2.5.6", "@types/big-json": "^3.2.0", "@types/bluebird": "^3.5.38", "@types/chai": "^4.2.18", diff --git a/packages/contentstack-launch/package.json b/packages/contentstack-launch/package.json index ab69f1b873..f2f7e35f20 100755 --- a/packages/contentstack-launch/package.json +++ b/packages/contentstack-launch/package.json @@ -39,7 +39,7 @@ "winston": "^3.8.2" }, "devDependencies": { - "@oclif/test": "^2.3.6", + "@oclif/test": "^2.5.6", "@types/adm-zip": "^0.5.0", "@types/chai": "^4", "@types/esm": "^3.2.0", diff --git a/packages/contentstack-migrate-rte/package.json b/packages/contentstack-migrate-rte/package.json index 38e2e05e24..4be2853e31 100644 --- a/packages/contentstack-migrate-rte/package.json +++ b/packages/contentstack-migrate-rte/package.json @@ -19,7 +19,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "chai": "^4.3.4", "eslint": "^8.18.0", "eslint-config-oclif": "^4.0.0", diff --git a/packages/contentstack-migration/package.json b/packages/contentstack-migration/package.json index 50bc53b9b5..1971b87df1 100644 --- a/packages/contentstack-migration/package.json +++ b/packages/contentstack-migration/package.json @@ -16,13 +16,13 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "chai": "^4.3.4", "eslint": "^8.18.0", "globby": "^10.0.2", "husky": "^8.0.3", "jsdoc": "^4.0.0", - "jsdoc-to-markdown": "^7.0.1", + "jsdoc-to-markdown": "^8.0.0", "mkdirp": "^1.0.4", "nock": "^13.1.1", "nyc": "^15.1.0", diff --git a/packages/contentstack-utilities/package.json b/packages/contentstack-utilities/package.json index 4434b06712..379f17ee27 100644 --- a/packages/contentstack-utilities/package.json +++ b/packages/contentstack-utilities/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@contentstack/cli-dev-dependencies": "^1.2.4", - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index f29008f232..951045a93d 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -54,7 +54,7 @@ "winston": "^3.7.2" }, "devDependencies": { - "@oclif/test": "^2.2.10", + "@oclif/test": "^2.5.6", "@types/chai": "^4.2.18", "@types/inquirer": "^9.0.3", "@types/mkdirp": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d0557f97b1..ba063ffcc8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,7 +31,7 @@ importers: '@oclif/plugin-help': ^5 '@oclif/plugin-not-found': ^2.4.0 '@oclif/plugin-plugins': ^4.1.9 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 @@ -126,7 +126,7 @@ importers: '@contentstack/cli-utilities': ~1.5.11 '@oclif/plugin-help': ^5 '@oclif/plugin-plugins': ^4.1.9 - '@oclif/test': ^2.0.3 + '@oclif/test': ^2.5.6 '@types/chai': ^4.3.5 '@types/fs-extra': ^11.0.2 '@types/mocha': ^10.0.6 @@ -190,7 +190,7 @@ importers: '@contentstack/cli-utilities': ~1.5.11 '@fancy-test/nock': ^0.1.1 '@oclif/plugin-help': ^5.1.19 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 @@ -252,7 +252,7 @@ importers: '@contentstack/cli-cm-seed': ~1.7.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 '@types/node': ^14.14.32 @@ -307,7 +307,7 @@ importers: '@contentstack/cli-utilities': ~1.5.11 '@oclif/core': ^2.9.3 '@oclif/plugin-help': ^5.1.19 - '@oclif/test': ^1.2.6 + '@oclif/test': ^2.5.6 '@types/flat': ^5.0.2 assert: ^2.0.0 async: ^3.2.4 @@ -361,7 +361,7 @@ importers: '@contentstack/cli-config': link:../contentstack-config '@contentstack/cli-dev-dependencies': link:../contentstack-dev-dependencies '@oclif/plugin-help': 5.2.20_typescript@4.9.5 - '@oclif/test': 1.2.9 + '@oclif/test': 2.5.6_typescript@4.9.5 '@types/flat': 5.0.5 assert: 2.1.0 chai: 4.3.10 @@ -381,7 +381,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^1.2.6 + '@oclif/test': ^2.5.6 bluebird: ^3.7.2 chai: ^4.2.0 chalk: ^4.1.2 @@ -410,7 +410,7 @@ importers: nock: 13.4.0 winston: 3.11.0 devDependencies: - '@oclif/test': 1.2.9 + '@oclif/test': 2.5.6 chai: 4.3.10 eslint: 8.55.0 eslint-config-oclif: 4.0.0_eslint@8.55.0 @@ -427,7 +427,7 @@ importers: '@contentstack/cli-cm-import': ~1.13.2 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^1.2.7 + '@oclif/test': ^2.5.6 async: ^3.2.4 chai: ^4.2.0 chalk: ^4.1.0 @@ -466,7 +466,7 @@ importers: rimraf: 3.0.2 winston: 3.11.0 devDependencies: - '@oclif/test': 1.2.9 + '@oclif/test': 2.5.6 chai: 4.3.10 eslint: 8.55.0 eslint-config-oclif: 4.0.0_eslint@8.55.0 @@ -480,7 +480,7 @@ importers: packages/contentstack-command: specifiers: '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/mkdirp': ^1.0.1 '@types/mocha': ^8.2.2 @@ -522,7 +522,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 @@ -582,7 +582,7 @@ importers: packages/contentstack-dev-dependencies: specifiers: '@oclif/core': ^2.9.3 - '@oclif/test': ^2.0.3 + '@oclif/test': ^2.5.6 '@types/node': ^14.14.32 eslint: ^7.32.0 fancy-test: ^2.0.0 @@ -689,7 +689,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.3.6 '@types/mocha': ^10.0.1 chai: ^4.3.8 @@ -735,7 +735,7 @@ importers: '@contentstack/cli-utilities': ~1.5.11 '@contentstack/management': ~1.13.0 '@oclif/core': ^2.9.3 - '@oclif/test': ^1.2.6 + '@oclif/test': ^2.5.6 '@types/big-json': ^3.2.0 '@types/bluebird': ^3.5.38 '@types/chai': ^4.2.18 @@ -792,7 +792,7 @@ importers: uuid: 9.0.1 winston: 3.11.0 devDependencies: - '@oclif/test': 1.2.9 + '@oclif/test': 2.5.6_ogreqof3k35xezedraj6pnd45y '@types/big-json': 3.2.4 '@types/bluebird': 3.5.42 '@types/chai': 4.3.11 @@ -825,7 +825,7 @@ importers: '@oclif/core': ^2.9.3 '@oclif/plugin-help': ^5 '@oclif/plugin-plugins': ^4.1.9 - '@oclif/test': ^2.3.6 + '@oclif/test': ^2.5.6 '@types/adm-zip': ^0.5.0 '@types/chai': ^4 '@types/esm': ^3.2.0 @@ -899,7 +899,7 @@ importers: '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 '@contentstack/json-rte-serializer': ~2.0.4 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 chai: ^4.3.4 chalk: ^4.1.2 collapse-whitespace: ^1.1.7 @@ -945,7 +945,7 @@ importers: specifiers: '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 async: ^3.2.4 callsites: ^3.1.0 cardinal: ^2.1.1 @@ -957,7 +957,7 @@ importers: globby: ^10.0.2 husky: ^8.0.3 jsdoc: ^4.0.0 - jsdoc-to-markdown: ^7.0.1 + jsdoc-to-markdown: ^8.0.0 listr: ^0.14.3 mkdirp: ^1.0.4 nock: ^13.1.1 @@ -982,7 +982,7 @@ importers: globby: 10.0.2 husky: 8.0.3 jsdoc: 4.0.2 - jsdoc-to-markdown: 7.1.1 + jsdoc-to-markdown: 8.0.0 mkdirp: 1.0.4 nock: 13.4.0 nyc: 15.1.0 @@ -1049,7 +1049,7 @@ importers: '@contentstack/management': ~1.13.0 '@contentstack/marketplace-sdk': ^1.0.1 '@oclif/core': ^2.9.3 - '@oclif/test': ^2.2.10 + '@oclif/test': ^2.5.6 '@types/chai': ^4.2.18 '@types/inquirer': ^9.0.3 '@types/mkdirp': ^1.0.1 @@ -2973,15 +2973,6 @@ packages: - typescript dev: true - /@oclif/test/1.2.9: - resolution: {integrity: sha512-op+ak0NTyeBKqjLVH1jfPCRGWK5befIoQpCL/xwekjucUEmMfCbUpV1Sa60f9rU8X58HEqrclwWbAH+DtQR6FQ==} - engines: {node: '>=8.0.0'} - dependencies: - fancy-test: 1.4.10 - transitivePeerDependencies: - - supports-color - dev: true - /@oclif/test/2.5.6: resolution: {integrity: sha512-AcusFApdU6/akXaofhBDrY4IM9uYzlOD9bYCCM0NwUXOv1m6320hSp2DT/wkj9H1gsvKbJXZHqgtXsNGZTWLFg==} engines: {node: '>=12.0.0'} @@ -7182,6 +7173,7 @@ packages: stdout-stderr: 0.1.13 transitivePeerDependencies: - supports-color + dev: false /fancy-test/2.0.42: resolution: {integrity: sha512-TX8YTALYAmExny+f+G24MFxWry3Pk09+9uykwRjfwjibRxJ9ZjJzrnHYVBZK46XQdyli7d+rQc5U/KK7V6uLsw==} @@ -9295,8 +9287,8 @@ packages: xmlcreate: 2.0.4 dev: true - /jsdoc-api/7.2.0: - resolution: {integrity: sha512-93YDnlm/OYTlLOFeNs4qAv0RBCJ0kGj67xQaWy8wrbk97Rw1EySitoOTHsTHXPEs3uyx2IStPKGrbE7LTnZXbA==} + /jsdoc-api/8.0.0: + resolution: {integrity: sha512-Rnhor0suB1Ds1abjmFkFfKeD+kSMRN9oHMTMZoJVUrmtCGDwXty+sWMA9sa4xbe4UyxuPjhC7tavZ40mDKK6QQ==} engines: {node: '>=12.17'} dependencies: array-back: 6.2.2 @@ -9322,8 +9314,8 @@ packages: test-value: 3.0.0 dev: true - /jsdoc-to-markdown/7.1.1: - resolution: {integrity: sha512-CI86d63xAVNO+ENumWwmJ034lYe5iGU5GwjtTA11EuphP9tpnoi4hrKgR/J8uME0D+o4KUpVfwX1fjZhc8dEtg==} + /jsdoc-to-markdown/8.0.0: + resolution: {integrity: sha512-2FQvYkg491+FP6s15eFlgSSWs69CvQrpbABGYBtvAvGWy/lWo8IKKToarT283w59rQFrpcjHl3YdhHCa3l7gXg==} engines: {node: '>=12.17'} hasBin: true dependencies: @@ -9331,7 +9323,7 @@ packages: command-line-tool: 0.8.0 config-master: 3.1.0 dmd: 6.2.0 - jsdoc-api: 7.2.0 + jsdoc-api: 8.0.0 jsdoc-parse: 6.2.0 walk-back: 5.1.0 dev: true