Check your npm module for unused dependencies
Full Changelog: https://github.com/depcheck/depcheck/compare/v1.4.6...v1.4.7
Closed issues:
Merged pull requests:
See changes in 1.4.4
Fixed bugs:
satisfies
operator in TypeScript #768
next.config.js
in a ESM package #762
Closed issues:
isModule
check #711
Merged pull requests:
.cts
, .mts
file extensions #817 (derekcicerone)import
instead of require
#786 (cprussin)Fixed bugs:
Closed issues:
Merged pull requests:
Fixed bugs:
next.config.js
#583
Closed issues:
Merged pull requests:
BREAKING CHANGE
If you use depcheck as a library or have a configuration file please note that the parsers configuration changes slightly:
Before:
parsers: {
// the target parsers
'*.js': depcheck.parser.jsx,
'*.jsx': depcheck.parser.jsx,
},
After:
parsers: {
// the target parsers
'**/*.js': depcheck.parser.jsx,
'**/*.jsx': depcheck.parser.jsx,
},
Merged pull requests:
BREAKING CHANGE
If you use depcheck as a library or have a configuration file please note that the parsers configuration changes slightly:
Before:
parsers: {
// the target parsers
'*.js': depcheck.parser.jsx,
'*.jsx': depcheck.parser.jsx,
},
After:
parsers: {
// the target parsers
'**/*.js': depcheck.parser.jsx,
'**/*.jsx': depcheck.parser.jsx,
},
Fixed bugs:
Closed issues:
Merged pull requests:
oneOf
in rules #598 (rumpl)