@pnpm/pnpmfile
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -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]) { |
@@ -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({ |
{ | ||
"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
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
17893
208