sse-cat 2.0.4 → 2.0.5
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/lib/cli.js +1 -1
- package/lib/cli.js.map +1 -1
- package/package.json +18 -18
- package/CHANGELOG.md +0 -65
package/lib/cli.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const commander_1 = require("commander");
|
|
5
5
|
const from_multiple_server_sent_events_1 = require("./from-multiple-server-sent-events");
|
|
6
|
-
const create_header_dictionary_1 = require("
|
|
6
|
+
const create_header_dictionary_1 = require("./utils/create-header-dictionary");
|
|
7
7
|
const types_1 = require("@blackglory/types");
|
|
8
8
|
const go_1 = require("@blackglory/go");
|
|
9
9
|
const errors_1 = require("@blackglory/errors");
|
package/lib/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AACA,yCAAmC;AACnC,yFAAiF;AACjF
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AACA,yCAAmC;AACnC,yFAAiF;AACjF,+EAAwE;AAExE,6CAAyD;AAEzD,uCAAmC;AACnC,+CAA2C;AAE3C,mBAAO;KACJ,IAAI,CAAC,SAAS,CAAC;KACf,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC;KAC3C,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,WAAW,CAAC;KACnD,MAAM,CAAC,mBAAmB,EAAE,iCAAiC,EAAE,OAAO,EAAE,EAAE,CAAC;KAC3E,MAAM,CAAC,gBAAgB,EAAE,+CAA+C,EAAE,OAAO,EAAE,EAAE,CAAC;KACtF,MAAM,CAAC,0BAA0B,CAAC;KAClC,MAAM,CAAC,0BAA0B,CAAC;KAClC,SAAS,CAAC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A;QACtB,CAAC;KACF,CAAC,CAAA;AACJ,CAAC,CAAC;KACD,KAAK,EAAE,CAAA;AAEV,SAAS,OAAO,CAAC,KAAa,EAAE,QAAkB;IAChD,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA;AACjC,CAAC;AAED,SAAS,YAAY,CAAC,MAAgB;IACpC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACvB,OAAO,CAAC,SAAS,CAAC,CAAA;KACnB;SAAM;QACL,OAAO,MAAM,CAAA;KACd;AACH,CAAC;AAED,SAAS,cAAc,CAAC,GAAW;IACjC,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sse-cat",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Command-line client for Server-Sent Events(SSE).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -37,35 +37,35 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@blackglory/errors": "^
|
|
40
|
+
"@blackglory/errors": "^2.1.0",
|
|
41
41
|
"@blackglory/go": "^0.1.0",
|
|
42
|
-
"@blackglory/types": "^0.5
|
|
43
|
-
"commander": "^
|
|
42
|
+
"@blackglory/types": "^0.6.5",
|
|
43
|
+
"commander": "^9.0.0",
|
|
44
44
|
"eventsource": "^1.1.0",
|
|
45
|
-
"extra-timers": "^0.2.
|
|
45
|
+
"extra-timers": "^0.2.5",
|
|
46
46
|
"hotypes": "^0.4.3",
|
|
47
47
|
"justypes": "^0.1.6",
|
|
48
|
-
"rxjs": "^7.
|
|
48
|
+
"rxjs": "^7.5.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@commitlint/cli": "^
|
|
52
|
-
"@commitlint/config-conventional": "^
|
|
53
|
-
"@types/eventsource": "^1.1.
|
|
54
|
-
"@types/jest": "^27.0
|
|
51
|
+
"@commitlint/cli": "^16.1.0",
|
|
52
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
53
|
+
"@types/eventsource": "^1.1.8",
|
|
54
|
+
"@types/jest": "^27.4.0",
|
|
55
55
|
"@types/node": "14",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
57
|
-
"@typescript-eslint/parser": "^5.
|
|
58
|
-
"eslint": "^8.
|
|
59
|
-
"husky": "
|
|
60
|
-
"jest": "^27.
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
57
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
58
|
+
"eslint": "^8.8.0",
|
|
59
|
+
"husky": "4",
|
|
60
|
+
"jest": "^27.5.1",
|
|
61
61
|
"npm-run-all": "^4.1.5",
|
|
62
62
|
"rimraf": "^3.0.2",
|
|
63
63
|
"standard-version": "^9.3.2",
|
|
64
|
-
"ts-jest": "^27.
|
|
65
|
-
"ts-node": "^10.
|
|
64
|
+
"ts-jest": "^27.1.3",
|
|
65
|
+
"ts-node": "^10.5.0",
|
|
66
66
|
"ts-patch": "^2.0.1",
|
|
67
67
|
"tsconfig-paths": "^3.12.0",
|
|
68
|
-
"typescript": "^4.5.
|
|
68
|
+
"typescript": "^4.5.5",
|
|
69
69
|
"typescript-transform-paths": "^3.3.1"
|
|
70
70
|
}
|
|
71
71
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [2.0.4](https://github.com/BlackGlory/sse-cat/compare/v2.0.3...v2.0.4) (2021-12-21)
|
|
6
|
-
|
|
7
|
-
### [2.0.3](https://github.com/BlackGlory/sse-cat/compare/v2.0.2...v2.0.3) (2021-12-04)
|
|
8
|
-
|
|
9
|
-
### [2.0.2](https://github.com/BlackGlory/sse-cat/compare/v2.0.1...v2.0.2) (2021-07-03)
|
|
10
|
-
|
|
11
|
-
### [2.0.1](https://github.com/BlackGlory/sse-cat/compare/v2.0.0...v2.0.1) (2021-05-07)
|
|
12
|
-
|
|
13
|
-
## [2.0.0](https://github.com/BlackGlory/sse-cat/compare/v1.4.0...v2.0.0) (2021-04-20)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
### ⚠ BREAKING CHANGES
|
|
17
|
-
|
|
18
|
-
* The shorthand `-h`, `-e` are removed
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
* remove shorthand options ([62ec887](https://github.com/BlackGlory/sse-cat/commit/62ec88712cd8f82ed5fad0fcb0bb33c92e256fc6))
|
|
23
|
-
|
|
24
|
-
## [1.4.0](https://github.com/BlackGlory/sse-cat/compare/v1.3.2...v1.4.0) (2021-04-20)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Features
|
|
28
|
-
|
|
29
|
-
* add heartbeat options ([e02a2db](https://github.com/BlackGlory/sse-cat/commit/e02a2dbe1d217b11658417d090a6831f0b41486a))
|
|
30
|
-
|
|
31
|
-
### [1.3.2](https://github.com/BlackGlory/sse-cat/compare/v1.3.1...v1.3.2) (2021-02-25)
|
|
32
|
-
|
|
33
|
-
### [1.3.1](https://github.com/BlackGlory/sse-cat/compare/v1.3.0...v1.3.1) (2021-02-04)
|
|
34
|
-
|
|
35
|
-
## [1.3.0](https://github.com/BlackGlory/sse-cat/compare/v1.2.2...v1.3.0) (2021-01-21)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### Features
|
|
39
|
-
|
|
40
|
-
* auto reconnect ([9b8456f](https://github.com/BlackGlory/sse-cat/commit/9b8456f76105a346a38fcb121c9d4bbd89f52a71))
|
|
41
|
-
|
|
42
|
-
### [1.2.2](https://github.com/BlackGlory/sse-cat/compare/v1.2.1...v1.2.2) (2021-01-21)
|
|
43
|
-
|
|
44
|
-
### [1.2.1](https://github.com/BlackGlory/sse-cat/compare/v1.2.0...v1.2.1) (2021-01-09)
|
|
45
|
-
|
|
46
|
-
## [1.2.0](https://github.com/BlackGlory/sse-cat/compare/v1.1.0...v1.2.0) (2020-10-18)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### Features
|
|
50
|
-
|
|
51
|
-
* support --version ([12ded5d](https://github.com/BlackGlory/sse-cat/commit/12ded5d8b718cb9204fd1f7833d0653943d32925))
|
|
52
|
-
|
|
53
|
-
## [1.1.0](https://github.com/BlackGlory/sse-cat/compare/v1.0.0...v1.1.0) (2020-10-18)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
### Features
|
|
57
|
-
|
|
58
|
-
* handle error message ([0fa170a](https://github.com/BlackGlory/sse-cat/commit/0fa170a40dfad93ad6ebf626d49d56e16a4af047))
|
|
59
|
-
|
|
60
|
-
## 1.0.0 (2020-10-18)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Features
|
|
64
|
-
|
|
65
|
-
* support cat for SSE 701c138
|