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)
- Proposal: add `origin` global HOT 3
- `crypto.createPublicKey({ format: "jwk" })` throws a `TypeError`
- Links in cli documentation for deno run command need to be updated HOT 1
- Analyzable dynamic import created before being imported throws "Module not found"
- Invalid root certificates cause Deno to panic HOT 1
- crypto.subtle.importKey with verify raises "Invalid key usages" HOT 1
- Resolving `npm:express` and `npm:express-openid-connect` results with `Deno has panicked.` HOT 1
- Node:http localAddress not supported in compat
- parser-ts fails to work in deno HOT 1
- npm @gutenye/ocr-node doesn't work correctly
- Will the `curl -fsSL https://deno.land/install.sh | sh` URL install Deno 2.0 (i.e. breaking changes) once 2.0 is released? HOT 2
- [node] deasync package doesn't work in Deno CLI HOT 1
- workspaces: Always walk up to the root of the file system unless you encounter a deno.json(c) file with "workspace" key
- workspaces: Do not allow to use two different workspaces in subcommands that accept multiple entrypoints
- workspaces: Lockfile should be placed next to the workspace config file
- workspaces: Specify behavior of `deno install` when in a workspace context
- workspaces: Specify behavior of `package.json` in context of Deno workspace
- Doc tests don't play nice with blockquotes in markdown
- `mkdir()` incorrectly returns `undefined` and produces unexpected subsequent results
- Deprecate / Remove `--lock-write` 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.