Depcheck Versions Save

Check your npm module for unused dependencies

v1.4.7

5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/depcheck/depcheck/compare/v1.4.6...v1.4.7

v1.4.6

6 months ago

v1.4.6 (2023-09-11)

Full Changelog

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)

v1.4.5

7 months ago

See changes in 1.4.4

v1.4.4

7 months ago

v1.4.4 (2023-08-21)

Full Changelog

Fixed bugs:

  • Next.js webpack configuration detection failed #805
  • Missing = Using #794
  • 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:

1.4.3

2 years ago

1.4.3 (2022-01-09)

Full Changelog

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:

1.4.2

2 years ago

1.4.2 (2021-06-08)

Full Changelog

Fixed bugs:

  • Fails to parse serverless.yml if it contains certain CloudFormation syntax #639

Closed issues:

  • False positive: eslint overrides #570

Merged pull requests:

1.4.1

2 years ago

1.4.1 (2021-05-11)

Full Changelog

Fixed bugs:

  • punycode being listed as unused, although the built in version is deprecated #628
  • Not working with Vue3 #610

Merged pull requests:

1.4.0

3 years ago

1.4.0 (2021-02-16)

Full Changelog

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

3 years ago

1.3.1 (2020-11-09)

Full Changelog

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:

  • Fix extracting dependencies from webpack #602 (rumpl)

1.3.0

3 years ago

1.3.0 (2020-11-09)

Full Changelog

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)