Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-import-resolver-typescript

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-import-resolver-typescript - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

20

lib/index.js

@@ -169,3 +169,21 @@ import fs from 'node:fs';

.flat(2)
.filter(mappedPath => isFile(mappedPath) || isModule(mappedPath));
.filter(mappedPath => {
if (mappedPath === undefined) {
return false;
}
try {
const stat = fs.statSync(mappedPath, { throwIfNoEntry: false });
if (stat === undefined)
return false;
if (stat.isFile())
return true;
if (stat.isDirectory()) {
return isModule(mappedPath);
}
}
catch {
return false;
}
return false;
});
}

@@ -172,0 +190,0 @@ if (retry && paths.length === 0) {

10

package.json
{
"name": "eslint-import-resolver-typescript",
"version": "3.5.2",
"version": "3.5.3",
"type": "module",

@@ -59,5 +59,5 @@ "description": "This plugin adds `TypeScript` support to `eslint-plugin-import`",

"@1stg/lib-config": "^10.3.0",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.4",
"@mozilla/glean": "^1.1.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.25.2",
"@mozilla/glean": "^1.3.0",
"@types/debug": "^4.1.7",

@@ -67,3 +67,3 @@ "@types/enhanced-resolve": "^3.0.7",

"@types/is-glob": "^4.0.2",
"@types/node": "^18.7.18",
"@types/node": "^18.11.18",
"@types/unist": "^2.0.6",

@@ -70,0 +70,0 @@ "dummy.js": "link:dummy.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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