Skip to content

Commit be5e535

Browse files
authored
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 sindresorhus/import-fresh#18
1 parent 397139b commit be5e535

File tree

3 files changed

+3
-34
lines changed

3 files changed

+3
-34
lines changed

packages/svelte-check/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"dependencies": {
2626
"@jridgewell/trace-mapping": "^0.3.17",
2727
"chokidar": "^3.4.1",
28-
"import-fresh": "^3.2.1",
2928
"picocolors": "^1.0.0",
3029
"sade": "^1.7.4",
3130
"svelte-preprocess": "^5.1.3",

packages/svelte-check/rollup.config.mjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ export default [
6666
'svelte',
6767
'svelte/compiler',
6868
'svelte-preprocess',
69-
'import-fresh', // because of https://github.com/sindresorhus/import-fresh/issues/18
7069
'@jridgewell/trace-mapping'
70+
// import-fresh removed some time ago, no dependency uses it anymore.
71+
// if it creeps back in check if the dependency uses a version that
72+
// fixed https://github.com/sindresorhus/import-fresh/issues/18
7173
]
7274
}
7375
];

pnpm-lock.yaml

-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)