Socket
Socket
Sign inDemoInstall

@arr/filter

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

4

module.d.ts

@@ -1,1 +0,3 @@

export default function<T>(arr: T[], callback: (val: T, idx: number, arr: T[]) => val is T): T[];
declare function filter<T, S extends T>(arr: T[], callback: (val: T, idx: number, arr: T[]) => val is S): S[];
declare function filter<T>(arr: T[], callback: (val: T, idx: number, arr: T[]) => unknown): T[];
export default filter;
{
"name": "@arr/filter",
"version": "1.0.1",
"version": "1.0.2",
"repository": "lukeed/arr",

@@ -5,0 +5,0 @@ "description": "A tiny, faster alternative to native Array.prototype.filter",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc