diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1ceabdab..02aa72788 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -990,12 +990,6 @@ importers: jsonc-parser: specifier: ^3.0.0 version: 3.3.1 - node-fetch: - specifier: ^2.6.9 - version: 2.7.0 - strip-ansi: - specifier: ^6.0.1 - version: 6.0.1 webpack: specifier: ^5.52.0 version: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) diff --git a/tests/lint-format.test.js b/tests/lint-format.test.js index e8467f517..2abcbb7a0 100644 --- a/tests/lint-format.test.js +++ b/tests/lint-format.test.js @@ -8,7 +8,7 @@ const appDirectory = path.dirname( ); const srcDirectory = path.join(appDirectory, 'src'); const testFile = (fileName) => path.join(srcDirectory, fileName); -const stripAnsi = require('strip-ansi'); +const { stripVTControlCharacters: stripAnsi } = require('node:util'); const filesToLint = { 'utils.test.ts': dedent/* ts */ ` diff --git a/tests/package.json b/tests/package.json index 5ef728707..f12656ead 100644 --- a/tests/package.json +++ b/tests/package.json @@ -35,8 +35,6 @@ "cross-spawn": "^7.0.3", "dedent": "^1.5.1", "jsonc-parser": "^3.0.0", - "node-fetch": "^2.6.9", - "strip-ansi": "^6.0.1", "webpack": "^5.52.0", "webpack-cli": "^5.0.0", "webpack-dev-server": "^5.0.2" diff --git a/tests/storybook-config.test.js b/tests/storybook-config.test.js index a9c9b0263..d9c6863a5 100644 --- a/tests/storybook-config.test.js +++ b/tests/storybook-config.test.js @@ -7,7 +7,6 @@ const { getStoryPage, getTextContentFromFrameOrPage, } = require('@sku-private/test-utils'); -const fetch = require('node-fetch'); const skuConfigFileName = 'sku.config.ts'; const appDir = path.dirname(