New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-unused-exports

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-unused-exports - npm Package Versions

1
6

7.0.0

Diff

Changelog

Source

[7.0.0] - 11 Nov 2020

Changed

  • BREAKING CHANGE: Makes TypeScript a peer dependency (Issue #159)
    Migration path: If you already have a version of the TypeScript compiler installed in the same spot as ts-unused-exports no migration steps are necessary (it will work out of the box). Otherwise you'll have to install the TypeScript compiler there yourself (e.g. with npm i -D typescript).
  • Fixed false positive with path aliases and sub-folders (Issue #154)
  • Improved support for export * as (Issue #160)
pzavolinsky
published 6.3.0 •

Changelog

Source

[6.3.0] - 11 Nov 2020

Added

  • Add option 'exitWithUnusedTypesCount' to exit with a number indicating the total count of unused types. (Issue #172)
  • Add option 'allowUnusedEnums' to skip unused enums. (Issue #165). Also fixes bug where option 'allowUnusedTypes' also turned on option 'excludeDeclarationFiles'.

Changed

  • if 0 issues (0 modules with unused exports) then use the default color. (Issue #164)
  • Add an option to stop writing to stdout on success: --silent
pzavolinsky
published 6.2.4 •

Changelog

Source

[6.2.4] - 14 Sep 2020

Changed

  • Dependency: update node-fetch.
pzavolinsky
published 6.2.3 •

Changelog

Source

[6.2.3] - 27 Aug 2020

Changed

  • Fix: false positives if importing from a d.ts file, and tsconfig is set to use aliases (paths).
pzavolinsky
published 6.2.2 •

Changelog

Source

[6.2.2] - 25 Aug 2020

Changed

  • Fix: when dynamic import has curly braces around parameter
  • Fix: false positives if importing from a d.ts file, and tsconfig is set to use either absolute paths (baseUrl) or aliases (paths).
pzavolinsky
published 6.2.1 •

Changelog

Source

[6.2.1] - 1 Jun 2020

Changed

  • Fix: Dynamically import with destructuring and less whitespace
  • Fix: Dynamically import to a promise (Issue #139)
  • Fix: Dynamically import with lambda inside div (Issue #140)
  • (Internal) Add dynamic import tests involving ternary operator
pzavolinsky
published 6.2.0 •

Changelog

Source

[6.2.0] - 11 May 2020

Changed

  • (Internal) Using TypeScript 3.8

Added

  • Handle dynamic imports within a TSX div or fragment
  • Add basic support for export * as namespace.
pzavolinsky
published 6.1.2 •

Changelog

Source

[6.1.2] - 1 Apr 2020

Changed

  • Fix to make the exports analyzer more robust
pzavolinsky
published 6.1.1 •

Changelog

Source

[6.1.1] - 22 Mar 2020

Changed

  • Fix to support destructured exports with renaming, like 'export const { a: a2 }'
  • Fix: Dynamic import with destructuring and renaming
  • Fix: Do not classify other lambdas as using a dynamic import
  • Fix: Include methods when searching for dynamic imports
pzavolinsky
published 6.1.0 •

Changelog

Source

[6.1.0] - 4 Mar 2020

Added

  • Add an option to allow maximum number of issues: --maxIssues

Changed

  • Fix to support destructuerd exports like 'export const { a, b }'
  • Handle dynamic imports that use dereferencing
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc