Socket
Socket
Sign inDemoInstall

crc32-stream

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crc32-stream - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

4

lib/crc32-stream.js

@@ -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.

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