promise-socket
Advanced tools
Comparing version 6.0.2 to 6.0.3
# Changelog | ||
## v6.0.3 2019-12-26 | ||
- promise-readable@5.0.4: chunk returned by `read` method might be an empty | ||
string. | ||
## v6.0.2 2019-10-07 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "promise-socket", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "Return promise for socket stream", | ||
@@ -26,36 +26,36 @@ "main": "lib/promise-socket.js", | ||
"dependencies": { | ||
"promise-duplex": "^5.0.2", | ||
"promise-duplex": "^5.0.3", | ||
"tslib": "^1.10.0" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.2.3", | ||
"@types/chai": "^4.2.7", | ||
"@types/dirty-chai": "^2.0.2", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.7.11", | ||
"@types/node": "^12.12.22", | ||
"@types/readline-transform": "^1.0.0", | ||
"chai": "^4.2.0", | ||
"changelog-parser": "^2.8.0", | ||
"coveralls": "^3.0.6", | ||
"coveralls": "^3.0.9", | ||
"cross-env": "^6.0.3", | ||
"delay": "^4.3.0", | ||
"dirty-chai": "^2.0.1", | ||
"eslint": "^6.5.1", | ||
"eslint-config-prettier": "^6.4.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.8.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"markdownlint-cli": "^0.18.0", | ||
"mocha": "^6.2.1", | ||
"markdownlint-cli": "^0.20.0", | ||
"mocha": "^6.2.2", | ||
"mocha-steps": "^1.3.0", | ||
"nyc": "^14.1.1", | ||
"prettier": "^1.18.2", | ||
"promise-readable": "^5.0.3", | ||
"promise-writable": "^5.0.3", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.19.1", | ||
"promise-readable": "^5.0.4", | ||
"promise-writable": "^5.0.4", | ||
"readline-transform": "^1.0.0", | ||
"shx": "^0.3.2", | ||
"source-map-support": "^0.5.13", | ||
"ts-node": "^8.4.1", | ||
"tslint": "^5.20.0", | ||
"source-map-support": "^0.5.16", | ||
"ts-node": "^8.5.4", | ||
"tslint": "^5.20.1", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.6.3" | ||
"typescript": "^3.7.4" | ||
}, | ||
@@ -62,0 +62,0 @@ "scripts": { |
@@ -88,6 +88,3 @@ # promise-socket | ||
```js | ||
await connect( | ||
port, | ||
host, | ||
) | ||
await connect(port, host) | ||
await connect(path) | ||
@@ -105,6 +102,3 @@ await connect(options) | ||
```js | ||
await connect( | ||
80, | ||
"localhost", | ||
) | ||
await connect(80, "localhost") | ||
// or | ||
@@ -154,3 +148,4 @@ await connect({port: 80, host: "localhost"}) | ||
```js | ||
for await (const chunk of promiseDuplex.iterate(chunkSize)) {} | ||
for await (const chunk of promiseDuplex.iterate(chunkSize)) { | ||
} | ||
``` | ||
@@ -165,3 +160,4 @@ | ||
```js | ||
for await (const chunk of promiseDuplex.iterate(chunkSize)) {} | ||
for await (const chunk of promiseDuplex.iterate(chunkSize)) { | ||
} | ||
``` | ||
@@ -168,0 +164,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19020
243
Updatedpromise-duplex@^5.0.3