@pnpm/read-modules-dir
Advanced tools
Comparing version 6.0.1 to 7.0.0
@@ -15,4 +15,4 @@ "use strict"; | ||
} | ||
catch (err) { // eslint-disable-line | ||
if (err['code'] === 'ENOENT') | ||
catch (err) { | ||
if (util_1.default.types.isNativeError(err) && 'code' in err && err.code === 'ENOENT') | ||
return null; | ||
@@ -19,0 +19,0 @@ throw err; |
{ | ||
"name": "@pnpm/read-modules-dir", | ||
"version": "6.0.1", | ||
"version": "7.0.0", | ||
"description": "Finds all direct packages in node_modules", | ||
@@ -12,7 +12,7 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm8" | ||
"pnpm9" | ||
], | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=16.14" | ||
"node": ">=18.12" | ||
}, | ||
@@ -29,4 +29,4 @@ "repository": "https://github.com/pnpm/pnpm/blob/main/fs/read-modules-dir", | ||
"devDependencies": { | ||
"@types/graceful-fs": "^4.1.6", | ||
"@pnpm/read-modules-dir": "6.0.1" | ||
"@types/graceful-fs": "^4.1.9", | ||
"@pnpm/read-modules-dir": "7.0.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5025