duplicates in deno.lock
Every time I specify the version, change it, a new module gets added in deno.lock. Example when I change in the vite.config.mjs file the import import 'npm:preact to npm:preact@^10.11, then in the deno.lock file I have the following:
"npm": { "specifiers": { "preact": "[email protected]", "preac": "[email protected]" } }
and same under npm packages:
"[email protected]": { "integrity": "sha512-skAwGDFmgxhq1DCBHke/9e12ewkhc7WYwjuhHB8HHS8zkdtITXLRmUMTeol2ldxvLwYtwbFeifZ9uDDWuyL4Iw==", "dependencies": {} }, "[email protected]": { "integrity": "sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==", "dependencies": {} },
Is this a bug or am I doing something wrong? And why is there also react package when I created a preact project?