New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/promise-timeout

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/promise-timeout - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

5

promise-timeout/index.d.ts

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

// Type definitions for promise-timeout 1.3
// Project: https://github.com/building5/promise-timeout#readme
// Definitions by: Aankhen <https://github.com/Aankhen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function timeout<T>(promise: Promise<T>, timeoutMillis: number): Promise<T>;
export class TimeoutError extends Error {}

8

promise-timeout/package.json
{
"name": "@types/promise-timeout",
"version": "1.3.1",
"version": "1.3.2",
"description": "TypeScript definitions for promise-timeout",

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

"name": "Aankhen",
"url": "https://github.com/Aankhen",
"githubUsername": "Aankhen"
"githubUsername": "Aankhen",
"url": "https://github.com/Aankhen"
}

@@ -24,4 +24,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "85cb4bc2c26d7e5fb00e0cc2169cec5cd580856253a2270411691b645706e19a",
"typesPublisherContentHash": "df49ad8ae1da3dbfe13506bb92e569b2f6b41b3cac2ac5db571cc0a829f79429",
"typeScriptVersion": "4.5"
}

@@ -11,7 +11,2 @@ # Installation

````ts
// Type definitions for promise-timeout 1.3
// Project: https://github.com/building5/promise-timeout#readme
// Definitions by: Aankhen <https://github.com/Aankhen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function timeout<T>(promise: Promise<T>, timeoutMillis: number): Promise<T>;

@@ -24,7 +19,6 @@

### Additional Details
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT
* Last updated: Wed, 18 Oct 2023 05:47:09 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [Aankhen](https://github.com/Aankhen).
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