aboutsummaryrefslogtreecommitdiff
path: root/node_modules/crc
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/crc')
-rw-r--r--node_modules/crc/LICENSE22
-rw-r--r--node_modules/crc/README.md116
-rw-r--r--node_modules/crc/lib/crc1.js3
-rw-r--r--node_modules/crc/lib/crc16.js3
-rw-r--r--node_modules/crc/lib/crc16_ccitt.js3
-rw-r--r--node_modules/crc/lib/crc16_kermit.js3
-rw-r--r--node_modules/crc/lib/crc16_modbus.js3
-rw-r--r--node_modules/crc/lib/crc16_xmodem.js3
-rw-r--r--node_modules/crc/lib/crc24.js3
-rw-r--r--node_modules/crc/lib/crc32.js3
-rw-r--r--node_modules/crc/lib/crc8.js3
-rw-r--r--node_modules/crc/lib/crc8_1wire.js3
-rw-r--r--node_modules/crc/lib/index.js15
-rw-r--r--node_modules/crc/package.json53
14 files changed, 0 insertions, 236 deletions
diff --git a/node_modules/crc/LICENSE b/node_modules/crc/LICENSE
deleted file mode 100644
index c49097c57..000000000
--- a/node_modules/crc/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright 2014 Alex Gorbatchev
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/crc/README.md b/node_modules/crc/README.md
deleted file mode 100644
index 8625c19b4..000000000
--- a/node_modules/crc/README.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# crc
-
-The module for calculating Cyclic Redundancy Check (CRC) for Node.js and the Browser.
-
-## Features
-
-- Full test suite comparing values against reference `pycrc` implementation.
-- Pure JavaScript implementation, no dependencies.
-- ES6 modules.
-- Provides CRC tables for optimized calculations.
-- Provides support for the following CRC algorithms:
- - CRC1 (`crc1`)
- - CRC8 (`crc8`)
- - CRC8 1-Wire (`crc81wire`)
- - CRC16 (`crc16`)
- - CRC16 CCITT (`crc16ccitt`)
- - CRC16 Modbus (`crc16modbus`)
- - CRC16 Kermit (`crc16kermit`)
- - CRC16 XModem (`crc16xmodem`)
- - CRC24 (`crc24`)
- - CRC32 (`crc32`)
- - CRCJAM (`crcjam`)
-
-## Installation
-
-```
-npm install crc
-```
-
-## Usage
-
-Calculate a CRC32 (recommended way):
-
-```js
-import crc32 from 'crc/crc32';
-crc32('hello').toString(16);
-// "3610a686"
-```
-
-Import everything (this may bloat bundle size):
-
-```js
-import crc from 'crc';
-crc.crc32('hello').toString(16);
-// "3610a686"
-```
-
-Or use CommonJS (compatability mode, no longer recommended):
-
-```js
-const { crc32 } = require('crc');
-crc32('hello').toString(16);
-// "3610a686"
-```
-
-Calculate a CRC32 of a file:
-
-```js
-crc32(fs.readFileSync('README.md', 'utf8')).toString(16);
-// "127ad531"
-```
-
-Or using a `Buffer`:
-
-```js
-crc32(fs.readFileSync('README.md', 'utf8')).toString(16);
-// "127ad531"
-```
-
-Incrementally calculate a CRC32:
-
-```js
-value = crc.crc32('one');
-value = crc.crc32('two', value);
-value = crc.crc32('three', value);
-value.toString(16);
-// "9e1c092"
-```
-
-# Important: Node >= 6.3.0 < 6.9.2
-
-There's was a bug in Node [#9342](https://github.com/nodejs/node/issues/9342) that affected CRC calculation if `Buffer.split()` is used (see issue discussion for details). This affected all version starting from `6.3.0` up to but not including `6.9.2`. The patch [#9341](https://github.com/nodejs/node/pull/9341) was released in `6.9.2`. If you are upgrading and seeing odd CRC calculation mismatches, this might be the reason.
-
-## Running tests
-
-```
-npm test
-```
-
-## Thanks!
-
-[pycrc](http://www.tty1.net/pycrc/) library is which the source of all of the CRC tables.
-
-# License
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Alex Gorbatchev
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/crc/lib/crc1.js b/node_modules/crc/lib/crc1.js
deleted file mode 100644
index de796f576..000000000
--- a/node_modules/crc/lib/crc1.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc1').default;
diff --git a/node_modules/crc/lib/crc16.js b/node_modules/crc/lib/crc16.js
deleted file mode 100644
index 6c86635a0..000000000
--- a/node_modules/crc/lib/crc16.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc16').default;
diff --git a/node_modules/crc/lib/crc16_ccitt.js b/node_modules/crc/lib/crc16_ccitt.js
deleted file mode 100644
index e978c2b5f..000000000
--- a/node_modules/crc/lib/crc16_ccitt.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc16ccitt').default;
diff --git a/node_modules/crc/lib/crc16_kermit.js b/node_modules/crc/lib/crc16_kermit.js
deleted file mode 100644
index 6dbed968c..000000000
--- a/node_modules/crc/lib/crc16_kermit.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc16kermit').default;
diff --git a/node_modules/crc/lib/crc16_modbus.js b/node_modules/crc/lib/crc16_modbus.js
deleted file mode 100644
index 1ea1c4392..000000000
--- a/node_modules/crc/lib/crc16_modbus.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc16modbus').default;
diff --git a/node_modules/crc/lib/crc16_xmodem.js b/node_modules/crc/lib/crc16_xmodem.js
deleted file mode 100644
index 3b37b6438..000000000
--- a/node_modules/crc/lib/crc16_xmodem.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc16xmodem').default;
diff --git a/node_modules/crc/lib/crc24.js b/node_modules/crc/lib/crc24.js
deleted file mode 100644
index b33cd0de6..000000000
--- a/node_modules/crc/lib/crc24.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc24').default;
diff --git a/node_modules/crc/lib/crc32.js b/node_modules/crc/lib/crc32.js
deleted file mode 100644
index 67ac3a5b1..000000000
--- a/node_modules/crc/lib/crc32.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc32').default;
diff --git a/node_modules/crc/lib/crc8.js b/node_modules/crc/lib/crc8.js
deleted file mode 100644
index 2cd8a1621..000000000
--- a/node_modules/crc/lib/crc8.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc8').default;
diff --git a/node_modules/crc/lib/crc8_1wire.js b/node_modules/crc/lib/crc8_1wire.js
deleted file mode 100644
index dd1fcdb36..000000000
--- a/node_modules/crc/lib/crc8_1wire.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = require('./es6/crc81wire').default;
diff --git a/node_modules/crc/lib/index.js b/node_modules/crc/lib/index.js
deleted file mode 100644
index e0db1e04c..000000000
--- a/node_modules/crc/lib/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = {
- crc1: require('./crc1'),
- crc8: require('./crc8'),
- crc81wire: require('./crc8_1wire'),
- crc16: require('./crc16'),
- crc16ccitt: require('./crc16_ccitt'),
- crc16modbus: require('./crc16_modbus'),
- crc16xmodem: require('./crc16_xmodem'),
- crc16kermit: require('./crc16_kermit'),
- crc24: require('./crc24'),
- crc32: require('./crc32'),
- crcjam: require('./crcjam')
-};
diff --git a/node_modules/crc/package.json b/node_modules/crc/package.json
deleted file mode 100644
index 7daaf45fa..000000000
--- a/node_modules/crc/package.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "name": "crc",
- "version": "3.8.0",
- "description": "Module for calculating Cyclic Redundancy Check (CRC) for Node.js and the Browser.",
- "keywords": [
- "crc"
- ],
- "files": [
- "lib",
- "*.js"
- ],
- "main": "./lib/index.js",
- "module": "./index.js",
- "scripts": {
- "lint": "eslint *.js test/{,**/}*.js",
- "test": "npm run lint && mocha test/*.test.js && ./webpack-test/test.sh",
- "build": "rm -fr lib; babel --out-dir ./lib/es6 *.js; cd commonjs; babel --out-dir ../lib *.js",
- "pretest": "npm run build"
- },
- "author": {
- "name": "Alex Gorbatchev",
- "url": "https://github.com/alexgorbatchev"
- },
- "devDependencies": {
- "babel-cli": "^6.26.0",
- "babel-core": "^6.26.3",
- "babel-preset-es2015": "^6.24.1",
- "beautify-benchmark": "^0.2.4",
- "benchmark": "^2.1.4",
- "buffer-crc32": "^0.2.13",
- "chai": "^4.1.2",
- "eslint": "^5.1.0",
- "eslint-config-airbnb": "^17.0.0",
- "eslint-config-prettier": "^2.9.0",
- "eslint-plugin-import": "^2.13.0",
- "eslint-plugin-jsx-a11y": "^6.1.1",
- "eslint-plugin-prettier": "^2.6.2",
- "eslint-plugin-react": "^7.10.0",
- "mocha": "^5.2.0",
- "prettier": "^1.13.7",
- "seedrandom": "^2.4.3"
- },
- "homepage": "https://github.com/alexgorbatchev/node-crc",
- "bugs": "https://github.com/alexgorbatchev/node-crc/issues",
- "repository": {
- "type": "git",
- "url": "git://github.com/alexgorbatchev/node-crc.git"
- },
- "license": "MIT",
- "dependencies": {
- "buffer": "^5.1.0"
- }
-}