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

@wireapp/commons

Package Overview
Dependencies
Maintainers
6
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wireapp/commons - npm Package Compare versions

Comparing version 4.2.5 to 4.2.6

4

package.json

@@ -42,4 +42,4 @@ {

},
"version": "4.2.5",
"gitHead": "c0b9002af2455a916e7c0b65f28c6949e6be8a3d"
"version": "4.2.6",
"gitHead": "2f9bfdb57fc9b3d4a884818f839652ef6e9353f7"
}

@@ -0,1 +1,2 @@

import * as TypeUtil from './TypeUtil';
export declare function chunk<T>(array: T[], chunkSize: number): T[][];

@@ -7,1 +8,2 @@ export declare function getDeduplicatedUnion<T>(array1: T[], array2: T[]): T[];

export declare const flatten: <T>(arrays: T[][]) => T[];
export declare function filterFalsy<T>(value: T): value is Exclude<T, TypeUtil.FalsyType>;

@@ -21,3 +21,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.flatten = exports.removeDuplicates = exports.getIntersection = exports.getDifference = exports.getDeduplicatedUnion = exports.chunk = void 0;
exports.filterFalsy = exports.flatten = exports.removeDuplicates = exports.getIntersection = exports.getDifference = exports.getDeduplicatedUnion = exports.chunk = void 0;
function chunk(array, chunkSize) {

@@ -49,2 +49,6 @@ const chunks = [];

exports.flatten = flatten;
function filterFalsy(value) {
return Boolean(value);
}
exports.filterFalsy = filterFalsy;
//# sourceMappingURL=ArrayUtil.js.map

@@ -0,1 +1,2 @@

export declare type FalsyType = false | null | undefined | '' | 0;
/**

@@ -2,0 +3,0 @@ * Makes all properties of a type recursively optional

Sorry, the diff of this file is too big to display

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