Socket
Socket
Sign inDemoInstall

promise-timeout

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

4

CHANGES.md
# promise-timeout
## v1.1.1 (2017-03-21)
* #2 - Change `let` to `var` for ES5 compatibility. Thanks, @mateuscalza!
## v1.1.0 (2017-03-07)

@@ -4,0 +8,0 @@

2

index.js

@@ -23,3 +23,3 @@ // Copyright (c) 2015-2017 David M. Lee, II

module.exports.timeout = function(promise, timeoutMillis) {
let timeout;
var timeout;

@@ -26,0 +26,0 @@ return Promise.race([

{
"name": "promise-timeout",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple timeouts for promises",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc