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.7.0 to 9.8.0

2

dist/checksum.js

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

var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);

@@ -20,0 +20,0 @@ return result;

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateChecksumFromStream = exports.generateChecksumFromStream = void 0;
var checksum_1 = require("./checksum");

@@ -8,0 +9,0 @@ Object.defineProperty(exports, "generateChecksumFromStream", { enumerable: true, get: function () { return checksum_1.generateChecksumFromStream; } });

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

async function validateChecksumFromStream(algorithm, stream, expectedSum, options = {}) {
const calculatedSum = await checksum_1.generateChecksumFromStream(algorithm, stream, options);
const calculatedSum = await (0, checksum_1.generateChecksumFromStream)(algorithm, stream, options);
return expectedSum === calculatedSum;

@@ -21,0 +21,0 @@ }

{
"name": "@cumulus/checksum",
"version": "9.7.0",
"version": "9.8.0",
"description": "Cumulus checksum utilities",

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

},
"gitHead": "08fb2c1d9113e7be465316f950d4ac9272bd3141"
"gitHead": "913034ba6814e562b7f3d58bb39cf086255a6efd"
}
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