esm icon indicating copy to clipboard operation
esm copied to clipboard

Tomorrow's ECMAScript modules today!

Results 93 esm issues
Sort by recently updated
recently updated
newest added

I've created the file `index.mjs` with: ```js const test = "test"; export default test; ``` and run the following: ``` $ node -r esm > import test1 from '.'; >...

Hi! Documentation mentions `cjs: { "dedefault": false }` option. What is the purpose of it? I couldn't quite figure out what `A boolean for requiring ES modules without the dangling ...

I created the following gist to simulate my problem. https://gist.github.com/mike-rivera/5838b9c2d25d14e234648349ed0c1ee2 I created an npm package using ESM that comes from a local npm registry and I have the following: package...

In Atom packages I use a quasi-singleton pattern of returning a new instance of my plugin class. The plugin class has an 'activate()' method that atom invokes after loading the...

I'm using a NodeJs backend with ESM package enabled mode to use es6+ import modules system when I'm trying to access a file in my test, even if I use...

I'm hoping to get some help here from the experts although it's technically not a std/esm issue. I am attempting move away from std/esm and use the "native" esm in...

Hello! I am trying to enable ESM with mocha in my setup file: **setup.js** ```js require('esm'); ``` And then I am running mocha as `mocha --require setup.js test/**/*.test.js`. This fails...

I am consuming packages which have a ESM-powered commonjs main module. Problem is that when I update to a new version, the cache is not cleared and ESM stubbornly runs...

Using esm with NodeJS 9.11 compiled against OpenSSL FIPS-140 Module causes this error: ``` Error: error:060A80A3:digital envelope routines:FIPS_DIGESTINIT:disabled for fips at new Hash (internal/crypto/hash.js:28:18) ``` This can be fixed by...

How can I use this with Azure Functions version 2? v2 supports Node v8 and Node v10 only. Their file structure is the following (from [the documentation](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node)): ``` FunctionsProject |...