@cumulus/checksum 21.2.0 → 21.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@ const myCksum = generateChecksumFromStream('cksum', stream);
|
|
|
33
33
|
### checksum.generateChecksumFromStream(algorithm, stream, [options]) ⇒ <code>Promise.<(number\|string)></code>
|
|
34
34
|
Create <algorithm> file checksum from readable stream
|
|
35
35
|
|
|
36
|
-
**Kind**: static method of [<code>checksum</code>](#module_checksum)
|
|
37
|
-
**Returns**: <code>Promise.<(number\|string)></code> - the file checksum
|
|
36
|
+
**Kind**: static method of [<code>checksum</code>](#module_checksum)
|
|
37
|
+
**Returns**: <code>Promise.<(number\|string)></code> - the file checksum
|
|
38
38
|
|
|
39
39
|
| Param | Type | Description |
|
|
40
40
|
| --- | --- | --- |
|
|
@@ -47,8 +47,8 @@ Create <algorithm> file checksum from readable stream
|
|
|
47
47
|
### checksum.validateChecksumFromStream(algorithm, stream, expectedSum, [options]) ⇒ <code>Promise.<boolean></code>
|
|
48
48
|
Validate expected checksum against calculated checksum
|
|
49
49
|
|
|
50
|
-
**Kind**: static method of [<code>checksum</code>](#module_checksum)
|
|
51
|
-
**Returns**: <code>Promise.<boolean></code> - whether expectedSum === calculatedSum
|
|
50
|
+
**Kind**: static method of [<code>checksum</code>](#module_checksum)
|
|
51
|
+
**Returns**: <code>Promise.<boolean></code> - whether expectedSum === calculatedSum
|
|
52
52
|
|
|
53
53
|
| Param | Type | Description |
|
|
54
54
|
| --- | --- | --- |
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/checksum",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0",
|
|
4
4
|
"description": "Cumulus checksum utilities",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=22.21.1"
|
|
7
7
|
},
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"cksum": "^1.3.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "9dd4a7d4b888ea713efa87d6086a762262d46dd2"
|
|
46
46
|
}
|