Depcheck Versions Save

Check your npm module for unused dependencies

1.2.0

3 years ago

1.2.0 (2020-08-12)

Full Changelog

Closed issues:

  • Sass 'use' syntax not working #576
  • depcheck should ignore depcheck by default #565
  • False unused dev dependencies report #560
  • False alert for eslint packages #554
  • Bug: specials are not working #551
  • depcheck should ignore hidden folders and files #543
  • ignore-patterns option from readme description is not supported in latest release #537
  • Option to exit without error code (when running via "npm run depcheck") #533
  • babelrc format #527
  • Support Gatsby plugins with resolve #525

Merged pull requests:

  • fix: now supports multi ignore in ignorePattern #578 (YonatanKra)
  • feat(sass parser): support @use and namespace syntax #577 (YonatanKra)
  • Add resolve and nested dependency check for Gatsby #573 (nagygergo)
  • fix: support eslint config that needs to be required #561 (znarf)
  • Feat: Special for serverless config #559 (mzl-md)
  • Add node 14.x to the matrix #557 (rumpl)
  • Try to parse JSON5 babelrc files #556 (rumpl)
  • chore: update all dependencies (July 2020) #555 (znarf)

1.0.0

3 years ago

1.0.0 (2020-05-14)

Full Changelog

Closed issues:

  • Error when running from script #531
  • Missing Changelog for 0.9.2 #521
  • Depcheck should only process files that are relevant to depcheck #420
  • False positive when using inline Webpack loader #236
  • Dependencies out of date #273
  • Add support for @types declaration packages #163
  • Improvements for CI use #162

Merged pull requests:

0.9.2

4 years ago

Full Changelog

Closed issues:

  • Use Cosmiconfig #516
  • Feature: add special parser for Istanbul.js #508
  • New mocha configuration file not seen #507
  • False positive with @types/mocha #504
  • Error: ENFILE: file table overflow (macOS) #501
  • eslint: dependency wrongly mark as unused #500
  • special/eslint: bad calculation of preset dependencies #476
  • Load ignore rules from a lines separated file #409
  • Improvements for CI use #162

Merged pull requests:

  • Review special documentation #515 (sveyret)
  • Add Istanbul special parser #514 (sveyret)
  • Refactor: read content only when needed #513 (znarf)
  • Add debug package and messages to the project #512 (znarf)
  • Support for more decorators #511 (micky2be)
  • Improve recursive work of eslint configuration check #506 (sveyret)
  • Improvements for mocha #505 (sveyret)
  • Support webpack styleguidist configuration #503 (znarf)
  • Use a single promise to read a given file #502 (znarf)
  • Support for next.js webpack configuration #496 (znarf)
  • Rename 'linters' and fix babel config file detection #495 (znarf)
  • Suppress unnecessary fileContent #494 (znarf)
  • Update travis commands and reference #493 (znarf)
  • Add eslint-plugin-mocha and lint test directory #492 (znarf)
  • Better prettier configuration #490 (znarf)
  • Remove remaining dev option #489 (znarf)
  • chore: remove editorconfig file #488 (rumpl)
  • Update babel target to node 10, use prettier plugin #487 (rumpl)
  • chore(deps): Update all dependencies to latest #486 (rumpl)
  • Do not calculate expensive dep differences when skipMissing is active #485 (dword-design)
  • Adjust babel special to eslint implementation #484 (dword-design)
  • Add deps parameter to detectors #482 (dword-design)
  • Activating Open Collective #481 (monkeywithacupcake)
  • Document and provide types for the API's package option #479 (edsrzf)
  • Try to load eslint.js modules without a module.exports wrapper #478 (rjatkins)
  • special/eslint: corrections on dependencies resolver #477 (sveyret)
  • chore: add changelog file #475 (rumpl)
  • Support loading configuration from a config file. #408 (Urik)

0.9.1

4 years ago

Features

  • better support for workspaces #473
  • support for prettier shared configuration #474
  • support for typescript webpack configuration #459
  • added support for ttypescript #469
  • typescript types! #458
  • added support for lint-staged #456
  • added support for husky #453
  • added support for babel.config.js

Bugfixes

  • consitent exit code #465
  • fixed false positive when using plugin:prettier/recommended #464
  • fixed false positive when using tslint-plugin-prettier #457

Big thanks to @VincentLanglet and @sveyret

I almost made this 1.0.0 but it will be for the next.

0.9.0

4 years ago

Features

  • depcheck will output paths for files that are using a missing dependency (depcheck is now 12x more useful) #428

Bugfixes

  • webpack entries are scanned for better dependency detection #446
  • babel-loader options are scanned for better dependency detection #448
  • TypeScript type imports (import('module').Type) are now taken into account #438
  • binary module detection is going up the directory tree (for better detection in yarn or lerna workspaces) #436
  • TypeScript node-buildint types are no longer detected as unused #444

Breaking changes

  • The deprecated --dev flag was removed #450

Misc

Support for node 8 is dropped

Big thanks to @sveyret and @twk-b for this release.

0.8.4

4 years ago

Another small release, in no particular order here are the

Features

  • Dropped node 6 support, added node 12 support
  • Added support for babel 7 scoped plugins
  • Better typescript support, still not perfect but it’s better
  • Updated dependencies for better security
  • Fix for eslint:all

0.8.3

4 years ago

Small update that adds support for flow!

Thanks to @jrnail23

0.8.2

4 years ago

This is a small release containing a quick fix for the vue integration

0.8.1

4 years ago

Features

  • added support for Jest #285
  • better webpack support

Bugfixes

  • depcheck will follow symlinks now #256

Big thanks to @GarrettGeorge for his work on this release Also thank you Artur da Nova Franco for reminding me to release this ;)

0.8.0

4 years ago

Features

  • added support for gatsbyjs
  • added support for eslint package.json configuration

Bugfixes

  • false alert on mocha-jenkins-reporter #287
  • False positive when using vuegister with mocha #241

And surely many more

Big thanks to @KaboomFox @43081j @newsroomdev and Sebastian Landwehr.

We need a more automated way of creating releases...