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
2
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 Compare versions

Comparing version 9.0.0 to 9.0.1

7

CHANGELOG.md

@@ -0,2 +1,9 @@

## [9.0.1] - 4 Jan 2023
### Changed
- Fix for index files that end with .js or .cjs or .mjs.
## [9.0.0] - 26 Dec 2022
### Added

@@ -3,0 +10,0 @@

2

lib/parser/common.js

@@ -7,3 +7,3 @@ "use strict";

exports.getFromText = function (moduleSpecifier) {
return moduleSpecifier.replace(TRIM_QUOTES, '$1').replace(/\/index$/, '');
return moduleSpecifier.replace(TRIM_QUOTES, '$1').replace(/\/index(.[mc]?js)?$/, '');
};

@@ -10,0 +10,0 @@ exports.getFrom = function (moduleSpecifier) {

{
"name": "ts-unused-exports",
"version": "9.0.0",
"version": "9.0.1",
"description": "ts-unused-exports finds unused exported symbols in your Typescript project",

@@ -5,0 +5,0 @@ "main": "lib/app.js",

Sorry, the diff of this file is not supported yet

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