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

@pnpm/pnpmfile

Package Overview
Dependencies
Maintainers
2
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/pnpmfile - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

7

lib/requireHooks.js

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

const core_loggers_1 = require("@pnpm/core-loggers");
const logger_1 = __importDefault(require("@pnpm/logger"));
const path_absolute_1 = __importDefault(require("path-absolute"));

@@ -23,8 +22,2 @@ const requirePnpmfile_1 = __importDefault(require("./requirePnpmfile"));

const cookedHooks = {};
if ((globalHooks.readPackage != null) || (hooks.readPackage != null)) {
logger_1.default.info({
message: 'readPackage hook is declared. Manifests of dependencies might get overridden',
prefix,
});
}
for (const hookName of ['readPackage', 'afterAllResolved']) {

@@ -31,0 +24,0 @@ if (globalHooks[hookName] && hooks[hookName]) {

4

lib/requirePnpmfile.js

@@ -29,6 +29,2 @@ "use strict";

const pnpmfile = require(pnpmFilePath); // eslint-disable-line
logger_1.default.info({
message: `Using hooks from: ${pnpmFilePath}`,
prefix,
});
if (typeof pnpmfile === 'undefined') {

@@ -35,0 +31,0 @@ logger_1.default.warn({

4

package.json
{
"name": "@pnpm/pnpmfile",
"version": "1.2.7",
"version": "1.2.8",
"description": "Reading a .pnpmfile.cjs",

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

"@pnpm/logger": "^4.0.0",
"@pnpm/pnpmfile": "1.2.7"
"@pnpm/pnpmfile": "1.2.8"
},

@@ -29,0 +29,0 @@ "dependencies": {

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