Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cumulus/checksum

Package Overview
Dependencies
Maintainers
12
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cumulus/checksum - npm Package Compare versions

Comparing version 9.9.0 to 10.0.0-beta.0

2

dist/checksum.js

@@ -28,3 +28,3 @@ "use strict";

return await new Promise((resolve, reject) => stream
.pipe(cksum.stream((value) => resolve(value.readUInt32BE(0))))
.pipe(cksum.stream((value) => resolve(value.readUInt32BE(0).toString())))
.on('error', reject));

@@ -31,0 +31,0 @@ }

@@ -19,5 +19,5 @@ "use strict";

const calculatedSum = await (0, checksum_1.generateChecksumFromStream)(algorithm, stream, options);
return expectedSum === calculatedSum;
return expectedSum.toString() === calculatedSum.toString();
}
exports.validateChecksumFromStream = validateChecksumFromStream;
//# sourceMappingURL=validate.js.map
{
"name": "@cumulus/checksum",
"version": "9.9.0",
"version": "10.0.0-beta.0",
"description": "Cumulus checksum utilities",

@@ -42,3 +42,3 @@ "engines": {

},
"gitHead": "ac89218dfaa5ba8cc228db95321e1371d3e46e88"
"gitHead": "bc283986be627ba06a4084cabd4e01d1540d14c7"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc