standard-things / esm

Tomorrow's ECMAScript modules today!
Other
5.26k stars 146 forks source link

use huskyrc #802

Closed dnalborczyk closed 5 years ago

dnalborczyk commented 5 years ago

keeps package.json clean ...

dnalborczyk commented 5 years ago

I believe the failures are related to the recent release of node v12.2.0: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#12.2.0

Throw on require('./path.mjs'). This is technically a breaking change that should have landed with Node.js 12.0.0. It is necessary to have this to keep the possibility for a future minor version to load ES Modules with the require function.

jdalton commented 5 years ago

Merged as https://github.com/standard-things/esm/commit/44d10d0500a9aedc5df71b03f109421e0e22790a.