Comments (3)
I think this should be enabled with a separate flag or with custom loaders, e.g. some flags like --experimental-network-imports
. This would allow network access through JavaScript comments (magic source map comments) and introduce differences in application stability and security concerns.
File URL as source mapping url is already supported at the moment. Additionally, the current security model defines that user scripts on the file system are trusted so I don't think this issue is related to the requested feature.
from node.
similar https://issues.chromium.org/issues/40060207
from node.
I think this can be integrated with the flag --experimental-network-imports
because with that flag, the sources are generally loaded from the network and their source maps need to be loaded from the network as well.
Quick prototyping with a custom loader: https://github.com/legendecas/network-source-maps-loader. Ultimately, I think a new optional phase can be introduced to load source maps with V8 parsed source map magic comments to avoid regexp matching and string concatenation in the loaders.
from node.
Related Issues (20)
- nro dame hight
- Node js is executing files with wrong and different extensions. HOT 2
- c-ares update script broken by c-ares 1.30.0 HOT 1
- Clear kResourceStore in timers and intervals HOT 4
- Intl.DateTimeFormat range error when passing UTC offset to timeZone option HOT 2
- `deepStrictEqual` fails for Sets that contain both object references and equivalent object values HOT 8
- NodeJS unconditionally uses AVX512 instructions even if they are disabled HOT 3
- Allow parseArgs options to have an optional value HOT 4
- fetch timeouts when fetching any substack page (ConnectTimeoutError) HOT 3
- v22.3.0 compilation failure on Windows HOT 1
- ESLint Error [ERR_INTERNAL_ASSERTION]: Code: ERR_MODULE_NOT_FOUND HOT 2
- Node command doesn't work on MacOS Sequoia HOT 6
- node_mksnapshot debug build segfault
- [Bug]: use pm2 and --experimental-permission, throw Error: Access to this API has been restricted HOT 8
- t.assert is not a function HOT 5
- polyfillDispose Bug HOT 2
- Link anchor issue on Process page HOT 5
- import order causes an ERR_INTERNAL_ASSERTION error HOT 5
- HTTP agent timeout overridden by previous keep-alive:timeout value
- [--env-file] Space between = and " will cause the value to be parsed as an unquoted string HOT 10
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 node.