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 0.2.2 to 0.2.3-alpha-20230103111659-01ee16f

2

package.json
{
"name": "@defer.run/client",
"version": "0.2.2",
"version": "0.2.3-alpha-20230103111659-01ee16f",
"description": "cua JavaScript client",

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

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

export declare const init: ({ apiToken, apiUrl, debug: debugValue }: Options) => void;
declare type UnPromise<F> = F extends Promise<infer R> ? R : F;
export declare type UnPromise<F> = F extends Promise<infer R> ? R : F;
export declare type DelayString = `${string}${Units}`;

@@ -16,4 +16,4 @@ export interface DeferExecutionOptions {

}
declare type DeferRetFnParameters<F extends (...args: any | undefined) => Promise<any>> = [...first: Parameters<F>, options: DeferExecutionOptions];
interface DeferRetFn<F extends (...args: any | undefined) => Promise<any>> {
export declare type DeferRetFnParameters<F extends (...args: any | undefined) => Promise<any>> = [...first: Parameters<F>, options: DeferExecutionOptions];
export interface DeferRetFn<F extends (...args: any | undefined) => Promise<any>> {
(...args: Parameters<F>): ReturnType<F>;

@@ -25,6 +25,6 @@ __fn: F;

}
interface DeferAwaitRetFn<F extends (...args: any | undefined) => Promise<any>> {
export interface DeferAwaitRetFn<F extends (...args: any | undefined) => Promise<any>> {
(...args: Parameters<F>): Promise<UnPromise<ReturnType<F>>>;
}
interface Defer {
export interface Defer {
<F extends (...args: any | undefined) => Promise<any>>(fn: F): DeferRetFn<F>;

@@ -31,0 +31,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