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

easylock

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

easylock - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

dist/index.d.ts

@@ -13,6 +13,6 @@ import { RedisClient } from "redis";

locker: Locker;
withLock: (config: string | LockConfig, func: () => Promise<any>) => Promise<void>;
withLock: (config: string | LockConfig, func: () => Promise<any>) => Promise<any>;
};
export declare const withLock: (config: string | LockConfig, func: () => Promise<any>) => Promise<void>;
export declare const withLock: (config: string | LockConfig, func: () => Promise<any>) => Promise<any>;
export declare const defaultLocker: Locker;
export {};

@@ -45,3 +45,3 @@ "use strict";

try {
yield func();
return func();
}

@@ -48,0 +48,0 @@ catch (e) {

{
"name": "easylock",
"version": "0.1.2",
"version": "0.1.3",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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