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

p-timeout

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-timeout - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

index.js

@@ -18,3 +18,7 @@ 'use strict';

if (typeof fallback === 'function') {
resolve(fallback());
try {
resolve(fallback());
} catch (err) {
reject(err);
}
return;

@@ -21,0 +25,0 @@ }

2

package.json
{
"name": "p-timeout",
"version": "2.0.0",
"version": "2.0.1",
"description": "Timeout a promise after a specified amount of time",

@@ -5,0 +5,0 @@ "license": "MIT",

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