@begin/chunker
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -13,3 +13,3 @@ const { readdir, readFile, writeFile } = require('fs/promises') | ||
let raw = data || await readFile(src) | ||
let shasum = crypto.createHash('sha1').update(raw.toString('base64')) | ||
let shasum = crypto.createHash('sha256').update(raw) | ||
let guid = shasum.digest('hex') | ||
@@ -16,0 +16,0 @@ let chunks = {} |
{ | ||
"name": "@begin/chunker", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Chunk binary files into smaller pieces", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
3898