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

iteragain

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iteragain - npm Package Compare versions

Comparing version 3.11.1 to 3.11.2

12

internal/FlattenIterator.js

@@ -31,6 +31,10 @@ "use strict";

if (typeof next.value !== 'string') {
if ((0, isIterator_1.default)(next.value))
return (this.inner = new FlattenIterator(next.value, this.depth - 1)).next();
else if ((0, isIterable_1.default)(next.value))
return (this.inner = new FlattenIterator((0, toIterator_1.default)(next.value), this.depth - 1)).next();
if ((0, isIterator_1.default)(next.value)) {
this.inner = new FlattenIterator(next.value, this.depth - 1);
return this.next();
}
else if ((0, isIterable_1.default)(next.value)) {
this.inner = new FlattenIterator((0, toIterator_1.default)(next.value), this.depth - 1);
return this.next();
}
}

@@ -37,0 +41,0 @@ return next;

{
"name": "iteragain",
"version": "3.11.1",
"version": "3.11.2",
"description": "Javascript Iterable/Iterator/Generator-function utilities.",

@@ -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