Socket
Socket
Sign inDemoInstall

wait

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.4.2

dist/wait.js.map

8

dist/wait.js

@@ -1,6 +0,2 @@

'use strict';
var wait = (delay = 0) =>
new Promise((resolve) => setTimeout(resolve, delay));
module.exports = wait;
module.exports=function(e){return void 0===e&&(e=0),new Promise(function(n){return setTimeout(n,e)})};
//# sourceMappingURL=wait.js.map
{
"version": "0.4.1",
"version": "0.4.2",
"license": "MIT",
"main": "./dist/wait.js",
"source": "wait.js",
"main": "dist/wait.js",
"module": "dist/wait.module.js",
"unpkg": "dist/wait.umd.js",
"typings": "wait.d.ts",
"name": "wait",
"author": "ealush",
"module": "wait.js",
"bin": {

@@ -13,3 +15,4 @@ "wait": "./cli.js"

"scripts": {
"build": "npx rollup wait.js --file ./dist/wait.js --format cjs --name wait"
"build": "microbundle",
"dev": "microbundle watch"
},

@@ -19,3 +22,6 @@ "repository": {

"url": "git+https://github.com/ealush/wait.git"
},
"devDependencies": {
"microbundle": "^0.12.4"
}
}

Sorry, the diff of this file is not supported yet

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