Comments (3)
You can do it yourself without a flag by calling delete globalThis.Deno
before importing user code.
from deno.
I agree with Bartek, you can run delete globalThis.Deno
. Adding flags for this doesn't make sense - someone will then ask us to add --no-fetch
, --no-worker
, and --no-websocket
flag :)
from deno.
I guess that's a workaround indeed.
I still think it's a different case that other flags taken as example in the sense that technically Deno
namespace is not standard (as in not in the web spec) and if I'm not mistaken that's why all "non-standard" features are stored in this namespace
Maybe the flag I suggested was misnamed and should be something more like --standard-only
from deno.
Related Issues (20)
- Subscription to an empty stream with the watch([]) method often causes a panic
- Incompatible dynamic import in npm:* commonjs context HOT 2
- Deno cache database errors when on a shared drive HOT 1
- Add comments for documentation to types that don't have them
- deno coverage: exclude comment HOT 1
- suggestion: add `Deno.lutimes[Sync]()`
- bug: shebang line causes module docs to be omitted HOT 1
- bug: script within workspace throws on last inter-workspace import
- React helmet async breaking in 1.44.3 HOT 6
- Bug: TS "Infer return type" inserts file specifier HOT 1
- 💡 Can executing 'Deno. cwd()' in the worker return an independent directory? HOT 2
- bug: panic from invalid `host` values for `net` permission HOT 2
- Deno runtime stuck in endless loop while running `Array.prototype[0]=0;`
- Issue from 1.43 to 1.44: expected error to be instance of "NotFound", but was "PermissionDenied" HOT 3
- workflow is failing with Deno HOT 5
- Cargo install deno locked warns about yanked crates HOT 1
- AsyncLocalStorage behaves differently from node
- Deno task "sh -c" doesn't pass args to command HOT 1
- A better way to handle __$f undefined HOT 1
- deno called from quarto breaks on one machine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.