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

it-take

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-take - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

package.json
{
"name": "it-take",
"version": "2.0.0",
"version": "2.0.1",
"description": "Stop iteration after n items have been received",

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

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

@@ -5,3 +5,3 @@

*/
export default async function * take <T> (source: AsyncIterable<T>|Iterable<T>, limit: number): AsyncGenerator<T, void, undefined> {
export default async function * take <T> (source: AsyncIterable<T> | Iterable<T>, limit: number): AsyncGenerator<T, void, undefined> {
let items = 0

@@ -8,0 +8,0 @@

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