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

paused

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

paused - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

dist/esm/index.js

@@ -1,1 +0,1 @@

function o(e,u){return new Promise(n=>setTimeout(()=>n(u),e))}export{o as paused};
function d(e,u){return new Promise(n=>setTimeout(()=>n(u),e))}export{d as paused};

@@ -1,3 +0,3 @@

declare function paused<RValue = unknown>(timeoutMs: number, value: RValue): Promise<RValue>;
declare function paused<RValue = undefined>(timeoutMs: number, value?: RValue): Promise<RValue | undefined>;
export { paused };

@@ -1,1 +0,1 @@

"use strict";var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=(u,e)=>{for(var n in e)r(u,n,{get:e[n],enumerable:!0})},s=(u,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of i(e))!l.call(u,o)&&o!==n&&r(u,o,{get:()=>e[o],enumerable:!(t=a(e,o))||t.enumerable});return u};var R=u=>s(r({},"__esModule",{value:!0}),u);var p={};m(p,{paused:()=>V});module.exports=R(p);function V(u,e){return new Promise(n=>setTimeout(()=>n(e),u))}0&&(module.exports={paused});
"use strict";var i=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var f=(u,e)=>{for(var n in e)i(u,n,{get:e[n],enumerable:!0})},l=(u,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let d of a(e))!o.call(u,d)&&d!==n&&i(u,d,{get:()=>e[d],enumerable:!(r=t(e,d))||r.enumerable});return u};var m=u=>l(i({},"__esModule",{value:!0}),u);var R={};f(R,{paused:()=>s});module.exports=m(R);function s(u,e){return new Promise(n=>setTimeout(()=>n(e),u))}0&&(module.exports={paused});
{
"name": "paused",
"version": "1.0.1",
"version": "1.1.0",
"description": "A very tiny awaitable timer",

@@ -5,0 +5,0 @@ "keywords": [

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