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.0 to 1.0.1

3

dist/esm/index.js

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

function t(e,u=0){return new Promise(o=>setTimeout(()=>o(e),u))}export{t as paused};
//# sourceMappingURL=index.js.map
function o(e,u){return new Promise(n=>setTimeout(()=>n(u),e))}export{o as paused};

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

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

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

"use strict";var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(u,e)=>{for(var o in e)a(u,o,{get:e[o],enumerable:!0})},R=(u,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of r(e))!l.call(u,t)&&t!==o&&a(u,t,{get:()=>e[t],enumerable:!(i=n(e,t))||i.enumerable});return u};var V=u=>R(a({},"__esModule",{value:!0}),u);var m={};s(m,{paused:()=>d});module.exports=V(m);function d(u,e=0){return new Promise(o=>setTimeout(()=>o(u),e))}0&&(module.exports={paused});
//# sourceMappingURL=index.js.map
"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});
{
"name": "paused",
"version": "1.0.0",
"version": "1.0.1",
"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