@cumulus/checksum
Advanced tools
Comparing version 9.7.0 to 9.8.0
@@ -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" | ||
} |
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
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
19075
122