New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/hooks.read-package-hook

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/hooks.read-package-hook - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

12

lib/createReadPackageHook.js

@@ -25,2 +25,8 @@ "use strict";

}
if (Array.isArray(readPackageHook)) {
hooks.push(...readPackageHook);
}
else if (readPackageHook) {
hooks.push(readPackageHook);
}
if (peerDependencyRules != null &&

@@ -32,8 +38,2 @@ (!(0, isEmpty_1.default)(peerDependencyRules.ignoreMissing) ||

}
if (Array.isArray(readPackageHook)) {
hooks.push(...readPackageHook);
}
else if (readPackageHook) {
hooks.push(readPackageHook);
}
if (hooks.length === 0) {

@@ -40,0 +40,0 @@ return undefined;

{
"name": "@pnpm/hooks.read-package-hook",
"version": "2.0.1",
"version": "2.0.2",
"description": "Creates the default package reader hook used by pnpm",

@@ -34,3 +34,3 @@ "main": "lib/index.js",

"devDependencies": {
"@pnpm/hooks.read-package-hook": "2.0.1",
"@pnpm/hooks.read-package-hook": "2.0.2",
"@types/normalize-path": "^3.0.0",

@@ -37,0 +37,0 @@ "@types/ramda": "0.28.15",

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