bestzip 2.2.1 → 2.2.2
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/package.json +6 -3
- package/readme.md +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bestzip",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Uses OS zip command if avaliable (for better performance and speed) or node.js version if there is no system command avaliable. Can be called via node or command line.",
|
|
5
5
|
"main": "lib/bestzip.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"author": "Nathan Friedly - http://nfriedly.com/",
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"repository":
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+ssh://git@github.com/nfriedly/node-bestzip.git"
|
|
23
|
+
},
|
|
21
24
|
"homepage": "https://github.com/nfriedly/node-bestzip",
|
|
22
25
|
"files": [
|
|
23
26
|
"bin/cli.js",
|
|
@@ -36,7 +39,7 @@
|
|
|
36
39
|
"eslint": "^7.22.0",
|
|
37
40
|
"eslint-config-prettier": "^8.1.0",
|
|
38
41
|
"eslint-plugin-prettier": "^3.3.1",
|
|
39
|
-
"jest": "^
|
|
42
|
+
"jest": "^29.7.0",
|
|
40
43
|
"klaw-sync": "^6.0.0",
|
|
41
44
|
"prettier": "^2.2.1",
|
|
42
45
|
"regenerator-runtime": "^0.13.7",
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# bestzip
|
|
2
2
|
|
|
3
|
-
[](https://github.com/nfriedly/node-bestzip/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/bestzip)
|
|
5
5
|
[](https://www.npmjs.com/package/bestzip)
|
|
6
6
|
|
|
@@ -59,6 +59,7 @@ zip({
|
|
|
59
59
|
* `source`: Path or paths to files and folders to include in the zip file. String or Array of Strings.
|
|
60
60
|
* `destination`: Path to generated .zip file.
|
|
61
61
|
* `cwd`: Set the Current Working Directory that source and destination paths are relative to. Defaults to `process.cwd()`
|
|
62
|
+
* `level`: Set the level of compression. (Number 0-9, with 0 being no compression and 9 being the most compressed.)
|
|
62
63
|
|
|
63
64
|
## How to control the directory structure
|
|
64
65
|
|