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

@pnpm/read-modules-dir

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/read-modules-dir - npm Package Compare versions

Comparing version 6.0.1 to 7.0.0

4

lib/index.js

@@ -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

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