@parcel/utils
Advanced tools
Comparing version 2.0.0-nightly.166 to 2.0.0-nightly.167
@@ -23,5 +23,10 @@ "use strict"; | ||
return new Promise((resolve, reject) => { | ||
stream.on('error', err => { | ||
reject(err); | ||
}); | ||
stream.pipe(_crypto.default.createHash('md5').setEncoding('hex')).on('finish', function () { | ||
resolve(this.read()); | ||
}).on('error', reject); | ||
}).on('error', err => { | ||
reject(err); | ||
}); | ||
}); | ||
@@ -28,0 +33,0 @@ } |
{ | ||
"name": "@parcel/utils", | ||
"version": "2.0.0-nightly.166+76c5ac6c", | ||
"version": "2.0.0-nightly.167+b9e4105c", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -20,6 +20,6 @@ "license": "MIT", | ||
"@iarna/toml": "^2.2.0", | ||
"@parcel/codeframe": "2.0.0-nightly.166+76c5ac6c", | ||
"@parcel/diagnostic": "2.0.0-nightly.166+76c5ac6c", | ||
"@parcel/logger": "2.0.0-nightly.166+76c5ac6c", | ||
"@parcel/markdown-ansi": "2.0.0-nightly.166+76c5ac6c", | ||
"@parcel/codeframe": "2.0.0-nightly.167+b9e4105c", | ||
"@parcel/diagnostic": "2.0.0-nightly.167+b9e4105c", | ||
"@parcel/logger": "2.0.0-nightly.167+b9e4105c", | ||
"@parcel/markdown-ansi": "2.0.0-nightly.167+b9e4105c", | ||
"ansi-html": "^0.0.7", | ||
@@ -44,3 +44,3 @@ "chalk": "^2.4.2", | ||
}, | ||
"gitHead": "76c5ac6c8dad3158dd0bd6f2a7879a73a80b1979" | ||
"gitHead": "b9e4105c50576ed22a99860e08e65491d4659a43" | ||
} |
@@ -23,2 +23,5 @@ // @flow strict-local | ||
return new Promise((resolve, reject) => { | ||
stream.on('error', err => { | ||
reject(err); | ||
}); | ||
stream | ||
@@ -29,3 +32,5 @@ .pipe(crypto.createHash('md5').setEncoding('hex')) | ||
}) | ||
.on('error', reject); | ||
.on('error', err => { | ||
reject(err); | ||
}); | ||
}); | ||
@@ -32,0 +37,0 @@ } |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
131129
4098