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

asynciterator

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asynciterator - npm Package Compare versions

Comparing version 3.0.0-beta.1 to 3.0.0-beta.2

17

asynciterator.d.ts

@@ -498,2 +498,3 @@ /**

protected _source?: Source<S>;
protected _sourcePromise?: Promise<Source<S>>;
protected _destroySource: boolean;

@@ -511,3 +512,3 @@ protected _optional: boolean;

*/
constructor(source?: AsyncIterator<S>, options?: TransformIteratorOptions<S>);
constructor(source?: AsyncIterator<S> | Promise<AsyncIterator<S>>, options?: TransformIteratorOptions<S>);
/**

@@ -520,2 +521,7 @@ The source this iterator generates items from.

/**
Initializes a source that was set through a promise
@protected
*/
protected _loadSourceAsync(): void;
/**
Validates whether the given iterator can be used as a source.

@@ -622,2 +628,9 @@ @protected

set source(value: AsyncIterator<T> | undefined);
/**
Validates whether the given iterator can be used as a source.
@protected
@param {object} source The source to validate
@param {boolean} allowDestination Whether the source can already have a destination
*/
protected _validateSource(source?: AsyncIterator<T>, allowDestination?: boolean): Source<T>;
getProperty<P>(propertyName: string, callback?: (value: P) => void): P | undefined;

@@ -661,3 +674,3 @@ protected _getSourceProperty<P>(propertyName: string, callback: (value: P) => void): void;

export interface TransformIteratorOptions<S> extends BufferedIteratorOptions {
source?: AsyncIterator<S>;
source?: AsyncIterator<S> | Promise<AsyncIterator<S>>;
optional?: boolean;

@@ -664,0 +677,0 @@ destroySource?: boolean;

2

package.json
{
"name": "asynciterator",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"description": "An asynchronous iterator library for advanced object pipelines.",

@@ -5,0 +5,0 @@ "author": "Ruben Verborgh <ruben@verborgh.org>",

Sorry, the diff of this file is not supported yet

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