@pnpm/config
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -16,2 +16,3 @@ "use strict"; | ||
const whichcb = require("which"); | ||
const npmDefaults = loadNpmConf.defaults; | ||
function which(cmd) { | ||
@@ -73,3 +74,8 @@ return new Promise((resolve, reject) => { | ||
catch (err) { } // tslint:disable-line:no-empty | ||
const npmConfig = loadNpmConf(null, exports.types); | ||
const npmConfig = loadNpmConf(null, exports.types, { | ||
'package-lock': npmDefaults['package-lock'], | ||
'prefix': npmDefaults.prefix, | ||
'registry': npmDefaults.registry, | ||
'shrinkwrap': npmDefaults.shrinkwrap, | ||
}); | ||
process.execPath = originalExecPath; | ||
@@ -76,0 +82,0 @@ if (!cliArgs['user-agent']) { |
{ | ||
"name": "@pnpm/config", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Gets configs for pnpm", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
"@types/which": "^1.3.1", | ||
"@zkochan/npm-conf": "^1.0.0", | ||
"@zkochan/npm-conf": "^1.1.0", | ||
"camelcase": "^5.0.0", | ||
@@ -38,0 +38,0 @@ "which": "^1.3.0" |
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
12730
131
Updated@zkochan/npm-conf@^1.1.0