Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mergeiterator

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mergeiterator - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## [1.2.5](https://github.com/vadzim/mergeiterator/compare/v1.2.4...v1.2.5) (2019-05-23)
## [1.2.4](https://github.com/vadzim/mergeiterator/compare/v1.2.3...v1.2.4) (2019-05-17)

@@ -2,0 +6,0 @@

2

package.json
{
"name": "mergeiterator",
"version": "1.2.4",
"version": "1.2.5",
"description": "merges async iterators",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -60,4 +60,4 @@ # mergeiterator

- `sequences` **AnyIterable<AnyIterable<([Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<T> | T)>, ReturnT>**
- `sequences` **AnyIterable<AnyIterable<T>, ReturnT>**
Returns **AsyncGenerator<T, ReturnT, void>**

@@ -5,3 +5,3 @@ // @flow

type AnyIterable<T, ReturnT = *> = $AsyncIterable<T, ReturnT, void> | $Iterable<T, ReturnT, void>
type AnyIterable<T, ReturnT = *> = $AsyncIterable<Promise<T> | T, ReturnT, void> | $Iterable<Promise<T> | T, ReturnT, void>

@@ -11,3 +11,3 @@ /**

*/
export async function* merge<T, ReturnT>(sequences: AnyIterable<AnyIterable<Promise<T> | T>, ReturnT>): AsyncGenerator<T, ReturnT, void> {
export async function* merge<T, ReturnT>(sequences: AnyIterable<AnyIterable<T>, ReturnT>): AsyncGenerator<T, ReturnT, void> {
const rootIterator = getIterator(sequences)

@@ -14,0 +14,0 @@ const readers = [readRootIterator]

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc