🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@extra-array/intersection

Package Overview
Dependencies
Maintainers
1
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@extra-array/intersection - npm Package Compare versions

Comparing version
2.10.18
to
2.10.19
+1
.coveralls.yml
repo_token: mHSGUhmbnerxllag7F1lZVgwXXtECkrTo
+2
-2

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

}
function from$(x) {
function from$$1(x) {
return Array.isArray(x) ? x : [...x];
}
function from(vs, fm = null) {
return new Set(fm ? from$(vs).map(fm) : vs);
return new Set(fm ? from$$1(vs).map(fm) : vs);
}

@@ -15,0 +15,0 @@ function intersectionMap(x, y, fm = null) {

@@ -7,7 +7,7 @@ function id(v) {

}
function from$(x) {
function from$$1(x) {
return Array.isArray(x) ? x : [...x];
}
function from(vs, fm = null) {
return new Set(fm ? from$(vs).map(fm) : vs);
return new Set(fm ? from$$1(vs).map(fm) : vs);
}

@@ -45,2 +45,2 @@ function intersectionMap(x, y, fm = null) {

}
export default intersection;
export { intersection as default };
{
"name": "@extra-array/intersection",
"version": "2.10.18",
"version": "2.10.19",
"description": "Gives values present in both arrays.",

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