async-iterator-to-stream
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -47,3 +47,3 @@ "use strict"; | ||
const iterator = resolveToIterator(iterable); | ||
const isGenerator = "return" in iterator; | ||
const isGenerator = ("return" in iterator); | ||
const readable = options instanceof Readable ? options : new Readable(options); | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "async-iterator-to-stream", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"license": "ISC", | ||
@@ -38,18 +38,17 @@ "description": "Convert an async iterator/iterable to a readable stream", | ||
"@babel/preset-env": "^7.1.0", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^23.2.0", | ||
"babel-plugin-lodash": "^3.3.2", | ||
"cross-env": "^5.1.4", | ||
"eslint": "^5.9.0", | ||
"eslint-config-prettier": "^3.3.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"babel-jest": "^24.9.0", | ||
"cross-env": "^6.0.2", | ||
"eslint": "^6.5.1", | ||
"eslint-config-prettier": "^6.3.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-node": "^7.0.1", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"husky": "^1.1.0", | ||
"jest": "^23.3.0", | ||
"husky": "^3.0.8", | ||
"jest": "^24.9.0", | ||
"lint-staged": "^9.4.1", | ||
"prettier": "^1.15.2", | ||
"rimraf": "^2.6.2" | ||
"rimraf": "^3.0.0" | ||
}, | ||
@@ -69,13 +68,13 @@ "scripts": { | ||
"hooks": { | ||
"commit-msg": "npm test" | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"jest": { | ||
"collectCoverage": true, | ||
"testEnvironment": "node", | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"testRegex": "\\.spec\\.js$" | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"git add", | ||
"eslint --ignore-pattern '!*'", | ||
"jest --findRelatedTests --passWithNoTests" | ||
] | ||
} | ||
} |
@@ -1,3 +0,5 @@ | ||
# async-iterator-to-stream [![Build Status](https://travis-ci.org/JsCommunity/async-iterator-to-stream.png?branch=master)](https://travis-ci.org/JsCommunity/async-iterator-to-stream) | ||
# async-iterator-to-stream | ||
[![Package Version](https://badgen.net/npm/v/async-iterator-to-stream)](https://npmjs.org/package/async-iterator-to-stream) [![Build Status](https://travis-ci.org/JsCommunity/async-iterator-to-stream.png?branch=master)](https://travis-ci.org/JsCommunity/async-iterator-to-stream) [![PackagePhobia](https://badgen.net/packagephobia/install/async-iterator-to-stream)](https://packagephobia.now.sh/result?p=async-iterator-to-stream) [![Latest Commit](https://badgen.net/github/last-commit/JsCommunity/async-iterator-to-stream)](https://github.com/JsCommunity/async-iterator-to-stream/commits/master) | ||
> Convert an async iterator/iterable to a readable stream | ||
@@ -4,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
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
16545
18
5
109