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

@types/async-lock

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/async-lock - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

15

async-lock/index.d.ts

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

// Type definitions for async-lock 1.3
// Type definitions for async-lock 1.4
// Project: https://github.com/rain1017/async-lock, https://github.com/rogierschouten/async-lock

@@ -32,2 +32,8 @@ // Definitions by: Alejandro <https://github.com/afharo>

/**
* Max amount of time allowed between acquiring the lock and completing execution.
*
* @default 0 (Never)
*/
maxExecutionTime?: number | undefined;
/**
* Make a lock reentrant in the same domain.

@@ -84,5 +90,6 @@ *

declare class AsyncLock {
static readonly DEFAULT_TIMEOUT: number;
static readonly DEFAULT_MAX_OCCUPATION_TIME: number;
static readonly DEFAULT_MAX_PENDING: number;
static readonly DEFAULT_TIMEOUT: 0;
static readonly DEFAULT_MAX_OCCUPATION_TIME: 0;
static readonly DEFAULT_MAX_EXECUTION_TIME: 0;
static readonly DEFAULT_MAX_PENDING: 1000;

@@ -89,0 +96,0 @@ constructor(options?: AsyncLock.AsyncLockOptions);

{
"name": "@types/async-lock",
"version": "1.3.0",
"version": "1.4.0",
"description": "TypeScript definitions for async-lock",

@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-lock",

"dependencies": {},
"typesPublisherContentHash": "d405524ffc0f6249e60b80fb59fd46d14a4366ea0121d258119e5d0771bd8be3",
"typeScriptVersion": "4.1"
"typesPublisherContentHash": "28048c0c86a453be49d0ae54b48360f3b0735b8fc0deac9ddcd9e03325750563",
"typeScriptVersion": "4.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 15 Sep 2022 21:32:49 GMT
* Last updated: Mon, 06 Feb 2023 13:32:39 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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