New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

it-peekable

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-peekable - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/src/index.d.ts

@@ -10,6 +10,6 @@ interface Peek<T> {

}
declare type Peekable<T> = Iterable<T> & Peek<T> & Push<T> & Iterator<T>;
declare type AsyncPeekable<T> = AsyncIterable<T> & AsyncPeek<T> & Push<T> & AsyncIterator<T>;
type Peekable<T> = Iterable<T> & Peek<T> & Push<T> & Iterator<T>;
type AsyncPeekable<T> = AsyncIterable<T> & AsyncPeek<T> & Push<T> & AsyncIterator<T>;
export default function peekableIterator<I = Iterable<any> | AsyncIterable<any>>(iterable: I): I extends Iterable<infer T> ? Peekable<T> : I extends AsyncIterable<infer T> ? AsyncPeekable<T> : never;
export {};
//# sourceMappingURL=index.d.ts.map
{
"name": "it-peekable",
"version": "2.0.0",
"version": "2.0.1",
"description": "Allows peeking/pushing an iterable",

@@ -138,5 +138,5 @@ "author": "Alex Potsides <alex@achingbrain.net>",

"devDependencies": {
"aegir": "^37.5.0",
"aegir": "^38.1.7",
"it-all": "^2.0.0"
}
}

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