modules icon indicating copy to clipboard operation
modules copied to clipboard

Node.js Modules Team

Results 52 modules issues
Sort by recently updated
recently updated
newest added

Has it been considered to add expandable `History` panels to some of the major features in `esm.md`? Perfect example is [conditional exports](https://nodejs.org/dist/latest-v14.x/docs/api/esm.html#esm_conditional_exports): when was this feature added, unflagged and warning...

https://github.com/istanbuljs/nyc/pull/1320 will add rudimentary support for `nyc --all` including ES modules. I think to complete support I need the ability to retrieve the source which would eventually be executed for...

Hiya! 👋 This might very well be on purpose, and if so feel free to close this issue. For background, I'm currently working on ESM support in Jest. We implement...

For one to be able to visualize a module graph, one would need to know of parent-child relationships. ### Details This issue intends to explore how to best achieve this....

I'm trying to determine the best user experience of nyc supporting ES module loader hooks and I'm troubled by node.js not supporting multiple hooks. A substantial number of our users...

I'm think we all must have considered this at some point, but cannot recall. **Q:** Is there a safe way for code to test if it is `module` or not...

cjs
esm
discussion

I recently experimented with setting up loading modules in a separate context. I found the abstraction offered by `vm.SourceTextModule` fairly lacking, at least for this use case. The most practical...

`"type"` in `package.json` has a few affects: * when loading the main entrypoint of the process or a worker thread it can determine which loader to use: ESM loader (if...

Help Wanted

I have tried to update my library that depends on other cjs libraries. But I encountered a problem, that `import * as foo from 'foo'` treats it as ```{default: {bar,...

I've just opened the PR in https://github.com/nodejs/node/pull/31032 for `import.meta.resolve` support. This is something there have been browser discussions around for quite a while, so I've reached out to those working...

interoperability
esm
web-platform
discussion
features