- Add windows testing to CI
- Update how listed dependency executables are found to reading the
package.json
files of yourdependencies
anddevDependecies
. Thus it is no longer possible to find missing modules via executable usage.
- Republish as 7.0.0 release artifacts are incomplete
- Drop support for Node 8, 10
- Update how listed dependency executables are found (NOTE: this was changed again in 7.1.0)
- BEFORE: Search
node_modules/*/package.json
andnode_modules/*/*/package.json
files for executable configuration - AFTER: Search the executables in
node_modules/.bin
and follow the symbolic links to determine the package
- BEFORE: Search
- Drop support for Node 6
- fix published package
- add formatters: minimal (the new default), json, summary (the previous default)
- do not auto correct ignored errors
- fix transpiler support to only use on files matching the extension
- fix installed module validation when module is listed as dependency and devDependency
- extend transpiler configuration to support babel
- fix
--auto-correct
indentation ofpackage.json
- fix missing built in modules by using npm package:
builtin-modules
- update dependencies
- Add CLI option
--auto-correct
to automatically remove unused dependencies and move mislabeled dependencies.
- respect word boundaries when searching scripts for use of a module's executables
- find module executables by parsing
package.json
files
- update dependencies
- report dependency-lint as used when listed as a devDependency and unused
BREAKING CHANGES
- add
ignoreErrors
configuration option- moved
allowUnused
toignoreErrors.unused
- moved
- update configuration structure, see the configuration documentation for the new structure
devFilePatterns
->requiredModules.files.dev
devScripts
->executedModules.npmScripts.dev
filePattern
->requiredModules.files.root
ignoreFilePatterns
->requiredModules.files.ignore
stripLoaders
->requiredModules.stripLoaders
transpilers
->requiredModules.transpilers
Updates
- add
version
as to defaultdevScripts
- expand
devFilePatterns
- when validating the versions of installed modules,
ignore modules not installed from an
npm
registry - add support for searching for module executables in shell scripts, see the configuration documentation
- move configuration documentation from default configuration file to docs folder
- move configuration documentation from README to default configuration file
- check that each module listed in
package.json
is installed with the correct semantic version
- remove support for configuration files with extensions: cson, coffee, js, json, yaml
- please convert to dependency-lint.yml
- remove built in support for coffee-script
- add
transpilers
configuration option - add
filePattern
configuration option
- add option to ignore webpack loaders in requires
- add filename to javascript syntax error messages
- update documentation
- add support for config as
.yaml
,.yml
- add error if module is listed as a dependency and a devDependency
- update dependencies
- add support for config as
.coffee
,.cson
,.js
- update
devFiles
todevFilePatterns
using glob patterns instead of regular expressions - update
ignoreFiles
toignoreFilePatterns
using glob patterns instead of regular expressions node_modules
is no longer ignored by default
- update dependencies
- more informative message when modules are not installed
- add support for scoped modules
- update dependencies
- ignore
node_modules
folder by default
- update
npm
errors- list as unused when executable used
- act like normal module when required as globally installed modules cannot be required
- expect
npm
to be globally installed- always require removing it from your package
- update dependencies
- print where a module is used when it has an error
- expose executable
- add
.npmignore
- update documentation
- catch coffeescript compilation errors
- rename
ignoreUnused
toallowUnused
- initial implementation