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

ko-sleep

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ko-sleep - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

3

dist/sleep.d.ts

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

/**
* @param time - millisecond number, or '1s' which https://www.npmjs.com/package/ms support
*/
declare function sleep(time: number | string): Promise<void>;
export = sleep;

@@ -6,2 +6,5 @@ "use strict";

const ms_1 = __importDefault(require("ms"));
/**
* @param time - millisecond number, or '1s' which https://www.npmjs.com/package/ms support
*/
function sleep(time) {

@@ -8,0 +11,0 @@ let numTime;

2

package.json
{
"name": "ko-sleep",
"version": "1.1.2",
"version": "1.1.3",
"description": "A promise wrapper for `setTimeout`",

@@ -5,0 +5,0 @@ "main": "./dist/sleep.js",

Sorry, the diff of this file is not supported yet

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