Socket
Socket
Sign inDemoInstall

p-timeout

Package Overview
Dependencies
Maintainers
1
Versions
21
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 4.0.0 to 4.0.1

4

index.js

@@ -25,3 +25,3 @@ 'use strict';

const timer = options.customTimers.setTimeout(() => {
const timer = options.customTimers.setTimeout.call(undefined, () => {
if (typeof fallback === 'function') {

@@ -53,3 +53,3 @@ try {

} finally {
options.customTimers.clearTimeout(timer);
options.customTimers.clearTimeout.call(undefined, timer);
}

@@ -56,0 +56,0 @@ })();

{
"name": "p-timeout",
"version": "4.0.0",
"version": "4.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