Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1 to 0.2.2-alpha-20230102164124-00aa926

2

cjs/execute.js

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

let error = new Error("Defer execution failed");
if (result.result.message) {
if (result.result?.message) {
error = new Error(result.result.message);

@@ -100,0 +100,0 @@ error.stack = result.result.stack;

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

let error = new Error("Defer execution failed");
if (result.result.message) {
if (result.result?.message) {
error = new Error(result.result.message);

@@ -92,0 +92,0 @@ error.stack = result.result.stack;

{
"name": "@defer.run/client",
"version": "0.2.1",
"version": "0.2.2-alpha-20230102164124-00aa926",
"description": "cua JavaScript client",

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

@@ -13,4 +13,4 @@ import type { DeferConfiguredFetcher } from "./fetcher.js";

state: "running" | "created" | "failed" | "succeed";
result: any;
result?: any;
}
export declare function poolForExecutionResult<R>(fnName: string, runId: string, fetcher: DeferConfiguredFetcher, debug?: boolean): Promise<R>;

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