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)
- `Windows` platform Deno.command `cwd` does not take effect HOT 3
- Relative import path not prefixed with
- suggestion: `parallel: boolean` option for `Deno.serve()` HOT 1
- Bug: `detect-port` throwing address in use error
- Bug: `deno fmt` panics with `--unstable-yaml` and `--use-tabs` HOT 3
- Suggestion: Add TLS option to `deno serve` command
- Perf: `structuredClone` runs slow compared to `bun` and `node`
- Feat: Add a way to detect if a file is run by `deno serve` or `deno run`
- deno fmt (v1.46+): Ignore front matter in HTML files HOT 1
- Running a docusaurus site causes a port in use error
- Running "create-next-app" without permissions flags causes terminal to crash HOT 12
- 'deno doc --lint' nondeterministically reports spurious 'private type' errors
- `require` doesn't resolve in the global cache dir if referrer is not in DENODIR
- deno publish fails with 'unresolvable 'jsr:' dependency', for a package with self references HOT 3
- Segmentation fault (core dumped) error at startup on v1.46+ HOT 3
- Playwright test runner hangs when using the `webServer` option HOT 2
- ffi: nonblocking symbol with result "u64" returns `number` instead of `bigint`
- deno serve --parallel=X [script] is not work? HOT 3
- Disallow JSR dependency importing itself in `deno publish --dry-run` HOT 2
- SLSA provenance generated does not conform to the in-toto specification
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.