New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@defer.run/client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defer.run/client - npm Package Compare versions

Comparing version 1.0.0-alpha-20230224195307-84f03b7 to 1.0.0-alpha-20230224200026-b1884e4

3

cjs/index.js

@@ -163,3 +163,4 @@ "use strict";

console.log(`[defer.run][${fn.name}] defer ignore, no token found.`);
return fn(...functionArguments);
await fn(...functionArguments);
return { id: FakeID };
};

@@ -166,0 +167,0 @@ exports.delay = delay;

@@ -155,3 +155,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

console.log(`[defer.run][${fn.name}] defer ignore, no token found.`);
return fn(...functionArguments);
await fn(...functionArguments);
return { id: FakeID };
};

@@ -158,0 +159,0 @@ // EXAMPLES:

{
"name": "@defer.run/client",
"version": "1.0.0-alpha-20230224195307-84f03b7",
"version": "1.0.0-alpha-20230224200026-b1884e4",
"description": "Zero infrastructure NodeJS background jobs",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -44,3 +44,3 @@ import { Units } from "parse-duration";

interface DeferDelay {
<F extends (...args: any | undefined) => Promise<any>>(deferFn: DeferRetFn<F>, delay: DelayString | Date): (...args: Parameters<F>) => ReturnType<F> | Promise<EnqueueExecutionResponse>;
<F extends (...args: any | undefined) => Promise<any>>(deferFn: DeferRetFn<F>, delay: DelayString | Date): (...args: Parameters<F>) => Promise<EnqueueExecutionResponse>;
}

@@ -47,0 +47,0 @@ /**

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