eslint-import-resolver-typescript
Advanced tools
Comparing version 3.5.1 to 3.5.2
@@ -149,2 +149,5 @@ import fs from 'node:fs'; | ||
}; | ||
const isModule = (modulePath) => { | ||
return !!modulePath && isFile(path.resolve(modulePath, 'package.json')); | ||
}; | ||
function getMappedPath(source, file, extensions = defaultExtensions, retry) { | ||
@@ -167,3 +170,3 @@ const originalExtensions = extensions; | ||
.flat(2) | ||
.filter(isFile); | ||
.filter(mappedPath => isFile(mappedPath) || isModule(mappedPath)); | ||
} | ||
@@ -170,0 +173,0 @@ if (retry && paths.length === 0) { |
{ | ||
"name": "eslint-import-resolver-typescript", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"type": "module", | ||
@@ -11,38 +11,7 @@ "description": "This plugin adds `TypeScript` support to `eslint-plugin-import`", | ||
], | ||
"donate": { | ||
"recipients": [ | ||
{ | ||
"name": "unts", | ||
"platform": "opencollective", | ||
"address": "https://opencollective.com/unts", | ||
"weight": 60 | ||
}, | ||
{ | ||
"name": "rxts", | ||
"platform": "opencollective", | ||
"address": "https://opencollective.com/rxts", | ||
"weight": 20 | ||
}, | ||
{ | ||
"name": "1stG", | ||
"email": "i@1stg.me", | ||
"weight": 20, | ||
"platforms": [ | ||
{ | ||
"platform": "opencollective", | ||
"address": "https://opencollective.com/1stG" | ||
}, | ||
{ | ||
"platform": "patreon", | ||
"address": "https://www.patreon.com/1stG" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"funding": "https://opencollective.com/unts", | ||
"funding": "https://opencollective.com/unts/projects/eslint-import-resolver-ts", | ||
"license": "ISC", | ||
"packageManager": "pnpm@7.9.5", | ||
"packageManager": "pnpm@7.12.2", | ||
"engines": { | ||
"node": "^12.20.0 || ^14.18.0 || >=16.0.0" | ||
"node": "^14.18.0 || >=16.0.0" | ||
}, | ||
@@ -87,6 +56,6 @@ "main": "lib/index.cjs", | ||
"is-glob": "^4.0.3", | ||
"synckit": "^0.8.3" | ||
"synckit": "^0.8.4" | ||
}, | ||
"devDependencies": { | ||
"@1stg/lib-config": "^10.1.1", | ||
"@1stg/lib-config": "^10.3.0", | ||
"@changesets/changelog-github": "^0.4.6", | ||
@@ -99,10 +68,10 @@ "@changesets/cli": "^2.24.4", | ||
"@types/is-glob": "^4.0.2", | ||
"@types/node": "^18.7.9", | ||
"@types/node": "^18.7.18", | ||
"@types/unist": "^2.0.6", | ||
"dummy.js": "link:dummy.js", | ||
"react": "^18.2.0", | ||
"size-limit": "^8.0.1", | ||
"size-limit": "^8.1.0", | ||
"size-limit-preset-node-lib": "^0.1.0", | ||
"type-coverage": "^2.22.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^4.8.4" | ||
}, | ||
@@ -109,0 +78,0 @@ "resolutions": { |
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
47969
845
Updatedsynckit@^0.8.4