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

extra-iterable

Package Overview
Dependencies
Maintainers
1
Versions
468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-iterable - npm Package Compare versions

Comparing version 3.0.99 to 3.0.100

2

index.d.ts

@@ -1239,3 +1239,3 @@ /**

* @param fm map function (v, i, x)
* @returns TODO
* @returns x ∪ y = \{v | v ∈ x or v ∈ y\}
* */

@@ -1242,0 +1242,0 @@

@@ -1163,7 +1163,7 @@ 'use strict';

var fm = fm || IDENTITY;
var s = new Set();
var x1 = new Set();
var i = -1, j = -1;
for (var u of x) {
var u1 = fm(u, ++i, x);
s.add(u1);
x1.add(u1);
yield u;

@@ -1173,3 +1173,3 @@ }

var v1 = fm(v, ++j, y);
if (!s.has(v1))
if (!x1.has(v1))
yield v;

@@ -1183,8 +1183,8 @@ }

yield* x;
var x1 = [...x].map(fm), j = -1;
y: for (var v of y) {
var x1 = [...map(x, fm)], j = -1;
NEXTY: for (var v of y) {
var v1 = fm(v, ++j, y);
for (var u1 of x1)
if (fc(u1, v1) === 0)
continue y;
continue NEXTY;
yield v;

@@ -1191,0 +1191,0 @@ }

{
"name": "extra-iterable",
"version": "3.0.99",
"version": "3.0.100",
"description": "An iterable is a sequence of values.",

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

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