Releases: depcheck/depcheck
Releases · depcheck/depcheck
1.4.7
What's Changed
- chore: bump dependencies by @legobeat in #801
- --quiet: don't print an empty line if nothing to report by @seansfkelley in #835
- Support package.json subpath imports by @dobesv in #836
- Update babel packages to latest by @legobeat in #843
New Contributors
- @legobeat made their first contribution in #801
- @seansfkelley made their first contribution in #835
Full Changelog: v1.4.6...v1.4.7
1.4.6
v1.4.6 (2023-09-11)
Closed issues:
- Add explicitResourceManagement to default TS babel config #833
- Flag to make logs readable and less verbose #759
Merged pull requests:
- Add explicitResourceManagement to TypeScript babel settings #834 (jtbandes)
- Support projects field in jest configuration #831 (dobesv)
- Handle scoped package bin with default name #830 (dobesv)
- feat: add --quiet flag to suppress No depcheck issue messages #829 (openam)
- fix(sass): don't detect transitive dependencies #827 (miluoshi)
- feat(tsconfig): support tsconfig.json files with comments #826 (miluoshi)
- fix(storybook): parse package names out of addons array #825 (miluoshi)
v.1.4.5
1.4.4
v1.4.4 (2023-08-21)
Fixed bugs:
- Next.js webpack configuration detection failed #805
- Breaks when using
satisfies
operator in TypeScript #768 - Unable to analyze
next.config.js
in a ESM package #762 - Suddenly stopped working #750
- mjs and cjs extensions not detected by default #733
- Unexpected token '.' #715
- Depcheck started returning incorrect unused dependencies without any changes #687
- [false positives] SCSS variables are tracked as packages, while they are not #633
Closed issues:
- Upcoming releases #799
- Add an option to clear the cache #755
- Support babel config that exports a function #723
- Support graphql imports #722
- Support typescript "extends" and "types" fields #720
- Support babel preset scope shorthand #719
- Allow marking a directory to pass the
isModule
check #711 - Support React 17 #697
Merged pull requests:
- fix: typescript parser add importAssertions #823 (simllll)
- feat(jest): add support for jest.config.mjs and jest.config.ts #820 (miluoshi)
- Fix badges #819 (dnicolson)
- Add support for
.cts
,.mts
file extensions #817 (derekcicerone) - Webpack special: add a fakePath as dir in fakeContext for next.js #816 (znarf)
- Fix dynamic import with a template literal #779 #810 (ArtskydJ)
- feat: Clear content at end. #809 (regseb)
- Support Babel presets/plugins from scoped packages #808 (miluoshi)
- add node 20 to test matrix #804 (a-rothwell)
- Convert travis to github actions #803 (a-rothwell)
- Upgrade Babel parser to support Typescript 5.0 #788 (Karfroth)
- Load next config with
import
instead ofrequire
#786 (cprussin) - Fix parsing of scoped package names in jest dependencies #785 (jtbandes)
- Fix parsing Vue 3 files with Composition API and TypeScript #778 (vlad-psh)
- Add parsers for mjs and cjs extensions #773 (augustobmoura)
- add esm support for bin packages #760 (dword-design)
- feat: ignore url imports #756 (rexxars)
- Adds Vue3 setup support #749 (devan1011)
- convert object to array for babel support #745 (Robbilie)
- Fix typos #741 (friederbluemle)
- Parse storybook configuration for dependencies #727 (dobesv)
- Add support for graphql imports #726 (dobesv)
- Add support for some tsconfig.json fields #725 (dobesv)
- If babel config is a function, call it to get config #724 (dobesv)
- Tweak Parser typescript definition #718 (dobesv)
- feat: use current sass package to parse scss files #710 (miluoshi)
- feat(jest): add support for jest.config.cjs #682 (shian15810)
1.4.3
1.4.3 (2022-01-09)
Fixed bugs:
- Different results when running depcheck from npm install -g vs npx #689
- Fails with Top-Level Await #671
Closed issues:
- false alert on file src/server.js #655
- Svelte Support #650
- False positive: types-only dependencies #568
Merged pull requests:
- feat(eslint): add support for .eslintrc.cjs #681 (shian15810)
- feat(types): improve typings #680 (shian15810)
- cli: --oneline option #679 (webdevium)
- fix: allow using @types-module for typescript type-only imports #670 (rexxars)
- Support next.config.js with next-transpile-modules #660 (crossjs)
- Fix scss parsing for non-import '@' keywords #658 (Dylanlan)
- feat: detect deps used with -r in package.json #657 (Dylanlan)
- Support babel.config.js(on) files #656 (crossjs)
1.4.2
1.4.1
1.4.0
1.4.0 (2021-02-16)
Fixed bugs:
- Not working with Vue3 #610
- updating from 1.2.0 to 1.3.1 parsers glob stopped working #606
- 非常差劲 导致我项目启动不了了!!!!误报非常的多 提issue 都不可能提的过来 #604
- False positive: eslint-import-resolver-typescript #603
- Depcheck Fails Incorrectly at "=" sign starting v1.3.0 #601
- False positive in Next.js Config file:
next.config.js
#583
Closed issues:
- Different output when invoking from shell script #617
- How to disable a special when using the API? #614
Merged pull requests:
1.3.1
1.3.1 (2020-11-09)
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:
1.3.0
1.3.0 (2020-11-09)
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:
- False positive: eslint import resolvers #571
Closed issues:
- false alert for React 17 #591
- false alert with typescript path aliases #590
- Allow to define patterns against absolute file path (again) #589
- Can't read property 'name' of undefined #579
- Support .*ignore files #497
Merged pull requests:
- Update dependencies #599 (rumpl)
- Support webpack's
oneOf
in rules #598 (rumpl) - Fix eslint when eslint-plugin-import is used #597 (rumpl)
- The error thrown is not always a YAML error #596 (rumpl)
- Support parser patterns based on file paths #595 (rumpl)
- Support react >= 17.0.0 that doesn't need to be imported #594 (rumpl)
- Use the promise version of the api in the example #593 (rumpl)
- Add option to run depcheck through npx #586 (elrumordelaluz)
- fix(sass-parser): ignore local import in scss #581 (YonatanKra)
- Improved webpack support #580 (cwillisf)