From be5e535c47de37a219e9a29397829a6abf349ab7 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:22:47 +0200 Subject: [PATCH] chore: remove import-fresh dependency (#2413) No dependency inside svelte-check uses it anymore. If it creeps back in check if the dependency uses a version that fixed https://github.com/sindresorhus/import-fresh/issues/18 --- packages/svelte-check/package.json | 1 - packages/svelte-check/rollup.config.mjs | 4 +++- pnpm-lock.yaml | 32 ------------------------- 3 files changed, 3 insertions(+), 34 deletions(-) diff --git a/packages/svelte-check/package.json b/packages/svelte-check/package.json index 47607e5d0..9d8309c46 100644 --- a/packages/svelte-check/package.json +++ b/packages/svelte-check/package.json @@ -25,7 +25,6 @@ "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", "chokidar": "^3.4.1", - "import-fresh": "^3.2.1", "picocolors": "^1.0.0", "sade": "^1.7.4", "svelte-preprocess": "^5.1.3", diff --git a/packages/svelte-check/rollup.config.mjs b/packages/svelte-check/rollup.config.mjs index 1f5194f6e..2488f2bae 100644 --- a/packages/svelte-check/rollup.config.mjs +++ b/packages/svelte-check/rollup.config.mjs @@ -66,8 +66,10 @@ export default [ 'svelte', 'svelte/compiler', 'svelte-preprocess', - 'import-fresh', // because of https://github.com/sindresorhus/import-fresh/issues/18 '@jridgewell/trace-mapping' + // import-fresh removed some time ago, no dependency uses it anymore. + // if it creeps back in check if the dependency uses a version that + // fixed https://github.com/sindresorhus/import-fresh/issues/18 ] } ]; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 532c96fe7..d610ebc40 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -121,9 +121,6 @@ importers: chokidar: specifier: ^3.4.1 version: 3.5.3 - import-fresh: - specifier: ^3.2.1 - version: 3.3.0 picocolors: specifier: ^1.0.0 version: 1.0.0 @@ -605,10 +602,6 @@ packages: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} @@ -838,10 +831,6 @@ packages: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} - import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - indent-string@4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} @@ -1042,10 +1031,6 @@ packages: resolution: {integrity: sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==} engines: {node: '>=8'} - parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - pascal-case@3.1.2: resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} @@ -1110,10 +1095,6 @@ packages: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - resolve@1.22.2: resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} hasBin: true @@ -1690,8 +1671,6 @@ snapshots: builtin-modules@3.3.0: {} - callsites@3.1.0: {} - camelcase@6.3.0: {} chalk@2.4.2: @@ -1923,11 +1902,6 @@ snapshots: ignore@5.2.4: {} - import-fresh@3.3.0: - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - indent-string@4.0.0: {} inflight@1.0.6: @@ -2130,10 +2104,6 @@ snapshots: dependencies: aggregate-error: 3.1.0 - parent-module@1.0.1: - dependencies: - callsites: 3.1.0 - pascal-case@3.1.2: dependencies: no-case: 3.0.4 @@ -2183,8 +2153,6 @@ snapshots: require-directory@2.1.1: {} - resolve-from@4.0.0: {} - resolve@1.22.2: dependencies: is-core-module: 2.12.1