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

emmi

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emmi - npm Package Compare versions

Comparing version 0.5.1 to 0.6.1

1

dist/helpers/filter.d.ts
import { type MaybePromise } from "./iterate.js";
export declare function filter<T, S extends T>(arr: MaybePromise<T>[], predicate: (t: T) => t is S): Promise<Array<S>>;
export declare function filter<T>(arr: MaybePromise<T>[], predicate: (t: T) => boolean): Promise<Array<T>>;
import { type MaybePromise } from "./iterate.js";
export declare function find<T, S extends T>(arr: MaybePromise<T>[], predicate: (t: T) => t is S): Promise<S | undefined>;
export declare function find<T>(arr: MaybePromise<T>[], predicate: (t: T) => boolean): Promise<T | undefined>;

3

package.json
{
"name": "emmi",
"version": "0.5.1",
"version": "0.6.1",
"type": "module",

@@ -26,2 +26,3 @@ "main": "./dist/index.cjs",

"test": "vitest",
"preversion": "bun test && npm run build",
"prepublishOnly": "vitest run && npm run build"

@@ -28,0 +29,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