We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello.
I've created a project and run deno run -A -r https://esm.sh init. import_map.json looks like:
deno run -A -r https://esm.sh init
{ "imports": {}, "scopes": {} }
Then I add some dependencies deno task esm:add react react-dom. import_map.json looks like:
deno task esm:add react react-dom
{ "imports": { "react-dom": "https://esm.sh/v110/*[email protected]", "react-dom/": "https://esm.sh/v110/*[email protected]/", "react": "https://esm.sh/v110/[email protected]", "react/": "https://esm.sh/v110/[email protected]/" }, "scopes": { "https://esm.sh/v110/": { "loose-envify": "https://esm.sh/v110/[email protected]", "scheduler": "https://esm.sh/v110/[email protected]" } } }
Then I update all dependencies deno task esm:update. Now the import_map.json has strange dependencies "react-dom/@18.2" and "react/@18.2":
deno task esm:update
"react-dom/@18.2"
"react/@18.2"
{ "imports": { "react-dom": "https://esm.sh/v110/*[email protected]", "react-dom/": "https://esm.sh/v110/*[email protected]/", "react-dom/@18.2": "https://esm.sh/v110/*[email protected]/@18.2", "react": "https://esm.sh/v110/[email protected]", "react/": "https://esm.sh/v110/[email protected]/", "react/@18.2": "https://esm.sh/v110/[email protected]/@18.2" }, "scopes": { "https://esm.sh/v110/": { "loose-envify": "https://esm.sh/v110/[email protected]", "scheduler": "https://esm.sh/v110/[email protected]" } } }
If I try to run update again deno task esm:update, it adds @18.2 again.
@18.2
{ "imports": { "react-dom": "https://esm.sh/v110/*[email protected]", "react-dom/": "https://esm.sh/v110/*[email protected]/", "react-dom/@18.2": "https://esm.sh/v110/*[email protected]/@18.2", "react-dom/@[email protected]": "https://esm.sh/v110/*[email protected]/@[email protected]", "react": "https://esm.sh/v110/[email protected]", "react/": "https://esm.sh/v110/[email protected]/", "react/@18.2": "https://esm.sh/v110/[email protected]/@18.2", "react/@[email protected]": "https://esm.sh/v110/[email protected]/@[email protected]" }, "scopes": { "https://esm.sh/v110/": { "loose-envify": "https://esm.sh/v110/[email protected]", "scheduler": "https://esm.sh/v110/[email protected]" } } }
The text was updated successfully, but these errors were encountered:
8e12fd4
No branches or pull requests
Hello.
I've created a project and run
deno run -A -r https://esm.sh init
. import_map.json looks like:Then I add some dependencies
deno task esm:add react react-dom
. import_map.json looks like:Then I update all dependencies
deno task esm:update
. Now the import_map.json has strange dependencies"react-dom/@18.2"
and"react/@18.2"
:If I try to run update again
deno task esm:update
, it adds@18.2
again.The text was updated successfully, but these errors were encountered: