crc32-stream
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,3 +11,3 @@ /** | ||
var crc32 = require('buffer-crc32'); | ||
var crc32 = require('crc').crc32; | ||
@@ -34,3 +34,3 @@ var CRC32Stream = module.exports = function CRC32Stream(options) { | ||
CRC32Stream.prototype.digest = function() { | ||
return crc32.unsigned(0, this.checksum); | ||
return this.checksum >>> 0; | ||
}; | ||
@@ -37,0 +37,0 @@ |
@@ -11,3 +11,3 @@ /** | ||
var crc32 = require('buffer-crc32'); | ||
var crc32 = require('crc').crc32; | ||
@@ -53,3 +53,3 @@ var DeflateCRC32Stream = module.exports = function (options) { | ||
DeflateCRC32Stream.prototype.digest = function() { | ||
return crc32.unsigned(0, this.checksum); | ||
return this.checksum >>> 0; | ||
}; | ||
@@ -56,0 +56,0 @@ |
{ | ||
"name": "crc32-stream", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "a streaming CRC32 checksumer", | ||
@@ -29,8 +29,8 @@ "homepage": "https://github.com/archiverjs/node-crc32-stream", | ||
"dependencies": { | ||
"readable-stream": "^2.0.0", | ||
"buffer-crc32": "^0.2.1" | ||
"crc": "^3.4.4", | ||
"readable-stream": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.4.0", | ||
"mocha": "^2.3.0" | ||
"mocha": "^3.2.0" | ||
}, | ||
@@ -46,2 +46,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# crc32-stream v1.0.0 [![Build Status](https://travis-ci.org/archiverjs/node-crc32-stream.svg?branch=master)](https://travis-ci.org/archiverjs/node-crc32-stream) [![Build status](https://ci.appveyor.com/api/projects/status/sy60s39cmyvd60i3/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-crc32-stream/branch/master) | ||
# crc32-stream v1.0.1 [![Build Status](https://travis-ci.org/archiverjs/node-crc32-stream.svg?branch=master)](https://travis-ci.org/archiverjs/node-crc32-stream) [![Build status](https://ci.appveyor.com/api/projects/status/sy60s39cmyvd60i3/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-crc32-stream/branch/master) | ||
@@ -3,0 +3,0 @@ crc32-stream is a streaming CRC32 checksumer. It uses [buffer-crc32](https://www.npmjs.org/package/buffer-crc32) behind the scenes to reliably handle binary data and fancy character sets. Data is passed through untouched. |
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
7918
7
+ Addedcrc@^3.4.4
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcrc@3.8.0(transitive)
+ Addedieee754@1.2.1(transitive)
- Removedbuffer-crc32@^0.2.1
- Removedbuffer-crc32@0.2.13(transitive)