Comments (1)
I've recategorized this one as a suggestion because it's a little sketchy to use packages from npm or jsr with --eval-file
since --eval-file
featches the content of the module and executes it as-is.
What should maybe happen with npm or jsr specifiers is that instead of executing the contents of the entrypoint inline (as --eval-file
does), it should maybe instead do a dynamic import to the specifier, then create local variables of the exports of the module. In hindsight, I wish this is what --eval-file
did all the time.
from deno.
Related Issues (20)
- Panic when deno coverage called with --include regex that returns no matches.
- Unexpected type checking fail with jsr
- Deno running typescript error Module not found file:///var/lib/snapd/void/file.ts
- vsCode language server/service breaks
- deno run: panic sometimes when using --allow-read
- thread 'main' panicked at runtime/permissions/lib.rs:695:19 HOT 8
- `docusaurus build` exists early HOT 2
- Panic using `Deno.UnsafeWindowSurface` HOT 1
- Node FileHandle#stat() not implemented
- WeakRef benchmark cause deno panic: Fatal JavaScript out of memory: Reached heap limit HOT 2
- bug: `deno doc --lint yaml/mod.ts` panics HOT 2
- Socket equivalent class is not implemented in FakeSocket class
- X509Certificate publicKey
- cargo install fails HOT 6
- Remapping dependencies of npm dependencies not working as expected HOT 8
- `DENO_TLS_CA_STORE=system` does not read `/etc/ssl/certs/ca-certificates.crt`
- Strip ANSI escape codes when writing test reports to non-tty HOT 1
- Incorrect resolution when using `nodeModulesDir: true` and no BYONM HOT 2
- `compileOptions` in `deno.json` donesn't support `types`, however the documentation says, `types` is supported
- Deno subhosting: module not found
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.