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 ab990cc commit 7900338Copy full SHA for 7900338
.gitignore
@@ -4,3 +4,4 @@
4
node_modules
5
coverage
6
.nyc_output
7
+package-lock.json
index.js
@@ -26,6 +26,7 @@ module.exports = function(opts) {
26
try {
27
const val = String((manifest[str] && manifest[str][prop]) || str);
28
if (prop === 'path') return opts.prepend + val;
29
+ if (prop === 'integrity') return val === str ? false : val;
30
output = PROD ? val : false;
31
} catch (err) {}
32
0 commit comments