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
Version: Deno 1.46.3
deno.json
{ "tasks": { "dev": "deno run --allow-read=./ --watch main.ts" }, "imports": { "@std/assert": "jsr:@std/assert@1" } }
main.ts
new Worker(import.meta.resolve("./worker.ts"), { type: "module" })
worker.ts
import {} from "@std/assert"
Expected result: no access requests Actual result:
Deno requests net access to "jsr.io:443". Requested by `import()` API.
It does not seem to depend on what is cached or imported.
The text was updated successfully, but these errors were encountered:
This is working as intended and documented: https://docs.deno.com/runtime/reference/web_platform_apis/#instantiation-permissions.
You may be interested in #8266
Sorry, something went wrong.
No branches or pull requests
Version: Deno 1.46.3
deno.json
main.ts
worker.ts
Expected result: no access requests
Actual result:
It does not seem to depend on what is cached or imported.
The text was updated successfully, but these errors were encountered: