diff --git a/package-lock.json b/package-lock.json index 8d12b089a7..54be44d642 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4348,9 +4348,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1668.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1668.0.tgz", - "integrity": "sha512-4Vcg3KjNZDHbvG4DI6jusN0DUPpRy3E/tBb6CA6ojlS2V1X5zljU9tkspICtbxXdY1gPFmKUe5COPc34XHG1RA==", + "version": "2.1669.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1669.0.tgz", + "integrity": "sha512-ua3AfvS2rUiOpf9choxNXLKE3T70yY6klGovdekXd5ZTwzDXQoYw1dokfArIub/2BM9Dmgi/bFq/crnz83tX0w==", "dev": true, "hasInstallScript": true, "dependencies": { diff --git a/packages/contentstack-audit/src/messages/index.ts b/packages/contentstack-audit/src/messages/index.ts index c6058e5622..20298f66d4 100644 --- a/packages/contentstack-audit/src/messages/index.ts +++ b/packages/contentstack-audit/src/messages/index.ts @@ -1,5 +1,4 @@ import memoize from 'lodash/memoize'; -import { escapeRegExp, validateRegex } from '@contentstack/cli-utilities'; const errors = {}; @@ -47,7 +46,7 @@ const auditFixMsg = { 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 the entry with UID '{uid}' in Locale '{locale}'...`, - ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in the select field of entry UID '{uid}'...` + ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in the select field of entry UID '{uid}'...`, }; const messages: typeof errors & @@ -76,7 +75,7 @@ function $t(msg: string, args: Record): string { if (!msg) return ''; for (const key of Object.keys(args)) { - const escapedKey = key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + const escapedKey = key.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); const placeholder = `{${escapedKey}}`; msg = msg.split(placeholder).join(args[key]); } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2ff65dc3dc..2311b41997 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4658,8 +4658,8 @@ packages: dependencies: possible-typed-array-names: 1.0.0 - /aws-sdk/2.1668.0: - resolution: {integrity: sha512-4Vcg3KjNZDHbvG4DI6jusN0DUPpRy3E/tBb6CA6ojlS2V1X5zljU9tkspICtbxXdY1gPFmKUe5COPc34XHG1RA==} + /aws-sdk/2.1669.0: + resolution: {integrity: sha512-ua3AfvS2rUiOpf9choxNXLKE3T70yY6klGovdekXd5ZTwzDXQoYw1dokfArIub/2BM9Dmgi/bFq/crnz83tX0w==} engines: {node: '>= 10.0.0'} requiresBuild: true dependencies: @@ -11218,7 +11218,7 @@ packages: '@oclif/plugin-not-found': 2.4.3 '@oclif/plugin-warn-if-update-available': 2.1.1 async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11253,7 +11253,7 @@ packages: '@oclif/plugin-not-found': 2.4.3_4j7van2hzdd6hrxfrj2mlmuwxm '@oclif/plugin-warn-if-update-available': 2.1.1_4j7van2hzdd6hrxfrj2mlmuwxm async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11288,7 +11288,7 @@ packages: '@oclif/plugin-not-found': 2.4.3 '@oclif/plugin-warn-if-update-available': 2.1.1 async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11323,7 +11323,7 @@ packages: '@oclif/plugin-not-found': 2.4.3_typescript@4.9.5 '@oclif/plugin-warn-if-update-available': 2.1.1_typescript@4.9.5 async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11358,7 +11358,7 @@ packages: '@oclif/plugin-not-found': 2.4.3_kb3eoetozq7tj3ldxanlv4btym '@oclif/plugin-warn-if-update-available': 2.1.1_kb3eoetozq7tj3ldxanlv4btym async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11393,7 +11393,7 @@ packages: '@oclif/plugin-not-found': 2.4.3_ogreqof3k35xezedraj6pnd45y '@oclif/plugin-warn-if-update-available': 2.1.1_ogreqof3k35xezedraj6pnd45y async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0 @@ -11428,7 +11428,7 @@ packages: '@oclif/plugin-not-found': 2.4.3_ogreqof3k35xezedraj6pnd45y '@oclif/plugin-warn-if-update-available': 2.1.1_ogreqof3k35xezedraj6pnd45y async-retry: 1.3.3 - aws-sdk: 2.1668.0 + aws-sdk: 2.1669.0 concurrently: 7.6.0 debug: 4.3.6 find-yarn-workspace-root: 2.0.0