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

@types/promise-memoize

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/promise-memoize - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

promise-memoize/index.d.ts

@@ -10,3 +10,4 @@ // Type definitions for promise-memoize 1.2

declare function promiseMemoize<T extends (...args: any[]) => PromiseLike<any>>(
fn: T, options?: promiseMemoize.Options
fn: T,
options?: promiseMemoize.Options,
): T & {

@@ -22,3 +23,3 @@ clear(): void;

}
type KeyResolver = 'simple' | 'json' | ((args: any[]) => any) | ReadonlyArray<'json' | ((arg: any) => any)>;
type KeyResolver = "simple" | "json" | ((args: any[]) => any) | ReadonlyArray<"json" | ((arg: any) => any)>;
}

6

promise-memoize/package.json
{
"name": "@types/promise-memoize",
"version": "1.2.1",
"version": "1.2.2",
"description": "TypeScript definitions for promise-memoize",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-memoize",

"dependencies": {},
"typesPublisherContentHash": "050055b9c44445584260b0f56dd6dabfcd081169382bf34c8bf8c531ebffe71d",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "5b8b46d1f65dbe975b021f9ec9d23853fed1cb461bec16bb656e2756d015dfa3",
"typeScriptVersion": "4.5"
}

@@ -20,3 +20,4 @@ # Installation

declare function promiseMemoize<T extends (...args: any[]) => PromiseLike<any>>(
fn: T, options?: promiseMemoize.Options
fn: T,
options?: promiseMemoize.Options,
): T & {

@@ -32,3 +33,3 @@ clear(): void;

}
type KeyResolver = 'simple' | 'json' | ((args: any[]) => any) | ReadonlyArray<'json' | ((arg: any) => any)>;
type KeyResolver = "simple" | "json" | ((args: any[]) => any) | ReadonlyArray<"json" | ((arg: any) => any)>;
}

@@ -39,3 +40,3 @@

### Additional Details
* Last updated: Thu, 08 Jul 2021 20:19:53 GMT
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT
* Dependencies: none

@@ -42,0 +43,0 @@ * Global values: none

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