We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0b3c7 commit 7124cf3Copy full SHA for 7124cf3
test/packages/npm-test-missing-bindir/package.json
@@ -0,0 +1,4 @@
1
+{ "name":"npm-test-missing-bindir"
2
+, "version" : "0.0.0"
3
+, "scripts" : { "test" : "node test.js" }
4
+, "directories": { "bin" : "./not-found" } }
test/packages/npm-test-missing-bindir/test.js
@@ -0,0 +1,5 @@
+
+var assert = require("assert")
+assert.equal(undefined, process.env.npm_config__password, "password exposed!")
+assert.equal(undefined, process.env.npm_config__auth, "auth exposed!")
5
+assert.equal(undefined, process.env.npm_config__authCrypt, "authCrypt exposed!")
0 commit comments