Michael Short
Michael Short
@kamilmysliwiec https://github.com/mr-short/nestjs-esm-test
+1 Starting to see this in the npm audit security report: ``` ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │...
Two years later and this is still the blocker for converting all of our projects to esm, which is a requirement for a lot of newer tooling.
We are seeing this issue too. Migrating from `momentjs`, where we already had unit tests for date conversions across daylight savings. Our tests are now showing off by 1 hour...
I am also running into this issue. Running with sourcemaps also gives `ReferenceError: __dirname is not defined in ES module scope`. It seems it is still using the global `__dirname`...