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

promise-delay

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

promise-delay - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -1,2 +0,5 @@

require('polyfill-promise')
try {
// optional dependency on polyfill-promise
global.Promise = global.Promise || require('polyfill-promise')
} finally {}

@@ -3,0 +6,0 @@ function promiseDelay (delay, val) {

11

package.json
{
"name": "promise-delay",
"author": "jden <jason@denizac.org>",
"version": "1.0.0",
"version": "1.0.1",
"description": "like Promise.cast with a delay in milliseconds",
"keywords": ["promise", "timeout", "delay"],
"keywords": [
"promise",
"timeout",
"delay"
],
"main": "index.js",

@@ -14,2 +18,5 @@ "scripts": {

"readmeFilename": "README.md",
"optionalDependencies": {
"polyfill-promise": "~4.0.1"
},
"devDependencies": {

@@ -16,0 +23,0 @@ "mochi": "0.3.0"

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