compressing 1.6.0 → 1.6.1

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/History.md CHANGED
@@ -1,4 +1,13 @@
1
1
 
2
+ 1.6.1 / 2022-07-11
3
+ ==================
4
+
5
+ **fixes**
6
+ * [[`ba49232`](http://github.com/node-modules/compressing/commit/ba49232780a57c9a3800642d7d39ae1dcdfc9409)] - fix(types): onEntry stream type should ReadStream (#73) (Songhn <<songhn233@gmail.com>>)
7
+
8
+ **others**
9
+ * [[`054d4a4`](http://github.com/node-modules/compressing/commit/054d4a41ae4ca5d7b9b83e7298e32cc1d62d7ef4)] - 🤖 TEST: Use GitHub Action (#69) (fengmk2 <<fengmk2@gmail.com>>)
10
+
2
11
  1.6.0 / 2022-06-13
3
12
  ==================
4
13
 
package/README.md CHANGED
@@ -370,8 +370,8 @@ Although the API is streaming style(try to keep it handy), it still loads all da
370
370
 
371
371
  |[<img src="https://avatars.githubusercontent.com/u/456108?v=4" width="100px;"/><br/><sub><b>shaoshuai0102</b></sub>](https://github.com/shaoshuai0102)<br/>|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/360661?v=4" width="100px;"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src="https://avatars.githubusercontent.com/u/9692408?v=4" width="100px;"/><br/><sub><b>DiamondYuan</b></sub>](https://github.com/DiamondYuan)<br/>|[<img src="https://avatars.githubusercontent.com/u/13938334?v=4" width="100px;"/><br/><sub><b>bytemain</b></sub>](https://github.com/bytemain)<br/>|[<img src="https://avatars.githubusercontent.com/u/8382136?v=4" width="100px;"/><br/><sub><b>Ryqsky</b></sub>](https://github.com/Ryqsky)<br/>|
372
372
  | :---: | :---: | :---: | :---: | :---: | :---: |
373
- [<img src="https://avatars.githubusercontent.com/u/9857273?v=4" width="100px;"/><br/><sub><b>ShadyZOZ</b></sub>](https://github.com/ShadyZOZ)<br/>
373
+ [<img src="https://avatars.githubusercontent.com/u/47357585?v=4" width="100px;"/><br/><sub><b>songhn233</b></sub>](https://github.com/songhn233)<br/>|[<img src="https://avatars.githubusercontent.com/u/9857273?v=4" width="100px;"/><br/><sub><b>ShadyZOZ</b></sub>](https://github.com/ShadyZOZ)<br/>
374
374
 
375
- This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon Jun 13 2022 13:26:08 GMT+0800`.
375
+ This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon Jul 11 2022 08:28:25 GMT+0800`.
376
376
 
377
377
  <!-- GITCONTRIBUTOR_END -->
package/index.d.ts CHANGED
@@ -85,7 +85,7 @@ export namespace tar {
85
85
  });
86
86
 
87
87
  on(event: string, listener: (...args: any[]) => void): this
88
- on(event: 'entry', listener: (header: streamHeaderWithMode, stream: WriteStream, next: () => void) => void): this
88
+ on(event: 'entry', listener: (header: streamHeaderWithMode, stream: ReadStream, next: () => void) => void): this
89
89
  on(event: 'finish', listener: () => void): this
90
90
  on(event: 'error', listener: (err: Error) => void): this
91
91
 
@@ -130,7 +130,7 @@ export namespace tgz {
130
130
  });
131
131
 
132
132
  on(event: string, listener: (...args: any[]) => void): this
133
- on(event: 'entry', listener: (header: streamHeaderWithMode, stream: WriteStream, next: () => void) => void): this
133
+ on(event: 'entry', listener: (header: streamHeaderWithMode, stream: ReadStream, next: () => void) => void): this
134
134
  on(event: 'finish', listener: () => void): this
135
135
  on(event: 'error', listener: (err: Error) => void): this
136
136
 
@@ -183,7 +183,7 @@ export namespace zip {
183
183
  });
184
184
 
185
185
  on(event: string, listener: (...args: any[]) => void): this
186
- on(event: 'entry', listener: (header: streamHeaderWithMode, stream: WriteStream, next: () => void) => void): this
186
+ on(event: 'entry', listener: (header: streamHeaderWithMode, stream: ReadStream, next: () => void) => void): this
187
187
  on(event: 'finish', listener: () => void): this
188
188
  on(event: 'error', listener: (err: Error) => void): this
189
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compressing",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Everything you need for compressing and uncompressing",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "ts-test": "tsc -p ./test/fixtures/types/tsconfig.json",
9
9
  "test": "egg-bin test && npm run ts-test",
10
10
  "cov": "egg-bin cov",
11
- "lint": "eslint .",
11
+ "lint": "eslint . --fix",
12
12
  "ci": "npm run lint && npm run ts-test && npm run cov"
13
13
  },
14
14
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "@types/node": "^10.12.9",
54
54
  "dir-compare": "^1.3.0",
55
55
  "egg-bin": "^1.9.1",
56
- "egg-ci": "^1.8.0",
56
+ "egg-ci": "^2.1.0",
57
57
  "eslint": "^3.10.2",
58
58
  "eslint-config-egg": "^3.2.0",
59
59
  "git-contributor": "^1.1.0",
@@ -68,7 +68,8 @@
68
68
  "node": ">= 4.0.0"
69
69
  },
70
70
  "ci": {
71
- "version": "4, 6, 8, 10, 12",
71
+ "version": "10, 12, 14, 16, 18",
72
+ "os": "linux, macos",
72
73
  "license": {
73
74
  "year": "2017",
74
75
  "fullname": "node-modules and other contributors"