v2.1.0
-
Allow disabling treating native NodeJS modules as dependencies.
Set
disable-native-nodejs-moduleson a given matching rule to activate. -
Fix handling leading import declaration comments. They will no longer be duplicated when using the
auto-fix. -
Performance improvements.
Node positions will no longer be recalculated upon encountering new nodes.
-
Support for reading dependencies and devDependencies from
package.jsoninstead of reading the
contents ofnode_modules. This is configured by settingfrom-package.jsonon a specific
matching-rule.