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

space-lift

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-lift - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

6

commonjs/array/filter.d.ts

@@ -8,4 +8,8 @@ import { ArrayOps } from '../lift';

/**
* Filters this array by aplying a predicate to all items.
* Filters this array by aplying a predicate to all items and refine its type.
*/
export declare function filter<A, T extends A>(this: ArrayOps<A>, predicate: (item: A, index: number) => item is T): ArrayOps<T>;
/**
* Filters this array by aplying a predicate.
*/
export declare function filter<A>(this: ArrayOps<A>, predicate: (item: A, index: number) => boolean): ArrayOps<A>;

3

commonjs/array/filter.js
"use strict";
exports.__esModule = true;
var lift_1 = require("../lift");
/**
* Filters this array by aplying a predicate to all items.
*/
function filter(predicate) {

@@ -8,0 +5,0 @@ var arr = this.value(), result = [];

@@ -8,4 +8,8 @@ import { ArrayOps } from '../lift';

/**
* Filters this array by aplying a predicate to all items.
* Filters this array by aplying a predicate to all items and refine its type.
*/
export declare function filter<A, T extends A>(this: ArrayOps<A>, predicate: (item: A, index: number) => item is T): ArrayOps<T>;
/**
* Filters this array by aplying a predicate.
*/
export declare function filter<A>(this: ArrayOps<A>, predicate: (item: A, index: number) => boolean): ArrayOps<A>;
import { ArrayOps } from '../lift';
/**
* Filters this array by aplying a predicate to all items.
*/
export function filter(predicate) {

@@ -6,0 +3,0 @@ var arr = this.value(), result = [];

{
"name": "space-lift",
"version": "0.6.2",
"version": "0.6.3",
"description": "Idiomatic TS array, object utils, Option, Result monads",

@@ -5,0 +5,0 @@

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