dependency-check-team / dependency-check

checks which modules you have used in your code and then makes sure they are listed as dependencies in your package.json
https://npmjs.org/dependency-check
545 stars 38 forks source link

Move to ESM? #161

Closed voxpelli closed 2 years ago

voxpelli commented 3 years ago

Our dependency read-pkg has moved to ESM in its 6.0.0 release: https://github.com/dependency-check-team/dependency-check/pull/144

The Node.js ecosystem as a whole is moving in that direction. To be able to consume those, we probably should be moving to ESM as well eventually. (Though we can do const foo = await import('foo'); in the meanwhile).

Thoughts @blakeembrey?