Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crc

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crc - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

2

lib/crc16_ccitt.js

@@ -19,3 +19,3 @@ // Generated by CoffeeScript 1.7.1

}
crc = ~~previous || 0xffff;
crc = previous != null ? ~~previous : 0xffff;
for (_i = 0, _len = buf.length; _i < _len; _i++) {

@@ -22,0 +22,0 @@ byte = buf[_i];

@@ -19,3 +19,3 @@ // Generated by CoffeeScript 1.7.1

}
crc = ~~previous || 0xffff;
crc = previous != null ? ~~previous : 0xffff;
for (_i = 0, _len = buf.length; _i < _len; _i++) {

@@ -22,0 +22,0 @@ byte = buf[_i];

@@ -19,3 +19,3 @@ // Generated by CoffeeScript 1.7.1

}
crc = ~~previous || 0xb704ce;
crc = previous != null ? ~~previous : 0xb704ce;
for (_i = 0, _len = buf.length; _i < _len; _i++) {

@@ -22,0 +22,0 @@ byte = buf[_i];

@@ -19,3 +19,3 @@ // Generated by CoffeeScript 1.7.1

}
crc = ~~previous ^ -1;
crc = previous === 0 ? 0 : ~~previous ^ -1;
for (_i = 0, _len = buf.length; _i < _len; _i++) {

@@ -22,0 +22,0 @@ byte = buf[_i];

{
"name": "crc",
"version": "3.1.0",
"version": "3.2.0",
"description": "Various CRC JavaScript implementations",

@@ -5,0 +5,0 @@ "keywords": [

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