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

@opencreek/ext

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencreek/ext - npm Package Compare versions

Comparing version 2.0.0--canary.22.3712884989.0 to 2.0.0--canary.22.3712927388.0

1

build/collections.d.ts

@@ -46,2 +46,3 @@ declare type PairSplit<T> = T extends [infer F, infer L] ? [Chain<F>, Chain<L>] : never;

find<S extends T>(predicate: (el: T, index: number, array: ReadonlyArray<T>) => el is S): S | undefined;
find(predicate: (el: T, index: number, array: ReadonlyArray<T>) => boolean): T | undefined;
findIndex(predicate: (el: T, index: number, array: ReadonlyArray<T>) => boolean): number | undefined;

@@ -48,0 +49,0 @@ findLast(predicate: (el: T) => boolean): T | undefined;

2

package.json
{
"name": "@opencreek/ext",
"version": "2.0.0--canary.22.3712884989.0",
"version": "2.0.0--canary.22.3712927388.0",
"description": "",

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

@@ -273,3 +273,9 @@ import {

predicate: (el: T, index: number, array: ReadonlyArray<T>) => el is S
): S | undefined {
): S | undefined
find(
predicate: (el: T, index: number, array: ReadonlyArray<T>) => boolean
): T | undefined
find(
predicate: (el: T, index: number, array: ReadonlyArray<T>) => boolean
): T | undefined {
return this.val.find(predicate)

@@ -276,0 +282,0 @@ }

Sorry, the diff of this file is not supported yet

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