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

it-pushable

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-pushable - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

36

index.d.ts

@@ -1,24 +0,26 @@

export interface Pushable<T> extends AsyncIterable<T> {
push: (value: T) => this,
end: (err?: Error) => this
}
declare namespace pushable {
export interface Pushable<T> extends AsyncIterable<T> {
push: (value: T) => this,
end: (err?: Error) => this
}
export interface PushableV<T> extends AsyncIterable<T[]> {
push: (value: T) => this,
end: (err?: Error) => this
}
export interface PushableV<T> extends AsyncIterable<T[]> {
push: (value: T) => this,
end: (err?: Error) => this
}
type Options = {
onEnd?: (err?: Error) => void,
writev?: false
}
type Options = {
onEnd?: (err?: Error) => void,
writev?: false
}
type OptionsV = {
onEnd?: (err?: Error) => void,
writev: true
type OptionsV = {
onEnd?: (err?: Error) => void,
writev: true
}
}
declare function pushable<T> (options?: Options): Pushable<T>
declare function pushable<T> (options: OptionsV): PushableV<T>
declare function pushable<T> (options?: pushable.Options): pushable.Pushable<T>
declare function pushable<T> (options: pushable.OptionsV): pushable.PushableV<T>
export = pushable
{
"name": "it-pushable",
"version": "1.4.1",
"version": "1.4.2",
"description": "Pushable iterable",

@@ -5,0 +5,0 @@ "main": "index.js",

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