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

@bodar/totallylazy

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bodar/totallylazy - npm Package Compare versions

Comparing version 0.437.280 to 0.438.281

@@ -8,5 +8,8 @@ "use strict";

exports.flatten = flatten;
const setSupported = typeof Set === 'function' && new Set([1]).size === 1;
function isNativeFunction(instance) {
return typeof instance === 'function' && instance.toString().includes('native code');
}
const setSupported = isNativeFunction(Set) && new Set([1]).size === 1;
function unique(a) {
if (typeof Array.from === 'function' && setSupported)
if (isNativeFunction(Array.from) && setSupported)
return Array.from(new Set(a));

@@ -13,0 +16,0 @@ const result = [];

{
"name": "@bodar/totallylazy",
"version": "0.437.280",
"version": "0.438.281",
"description": "Totallylazy",

@@ -5,0 +5,0 @@ "repository": "git@github.com:bodar/totallylazy.js.git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet