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

@raycast/utils

Package Overview
Dependencies
Maintainers
8
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raycast/utils - npm Package Compare versions

Comparing version 1.4.16 to 1.4.17

dist/handle-error-toast-action.d.ts

9

dist/usePromise.js

@@ -8,2 +8,3 @@ "use strict";

const useLatest_1 = require("./useLatest");
const handle_error_toast_action_1 = require("./handle-error-toast-action");
function usePromise(fn, args, options) {

@@ -59,9 +60,3 @@ const lastCallId = (0, react_1.useRef)(0);

},
secondaryAction: {
title: "Copy Logs",
onAction(toast) {
toast.hide();
api_1.Clipboard.copy(error?.stack || error?.message || "");
},
},
secondaryAction: (0, handle_error_toast_action_1.handleErrorToastAction)(error),
});

@@ -68,0 +63,0 @@ }

@@ -19,2 +19,3 @@ "use strict";

const exec_utils_1 = require("./exec-utils");
const handle_error_toast_action_1 = require("./handle-error-toast-action");
/**

@@ -78,9 +79,3 @@ * Executes a query on a local SQL database and returns the {@link AsyncState} corresponding to the query of the command. The last value will be kept between command runs.

message: error.message,
primaryAction: {
title: "Copy Logs",
onAction(toast) {
toast.hide();
api_1.Clipboard.copy(error?.stack || error?.message || "");
},
},
primaryAction: (0, handle_error_toast_action_1.handleErrorToastAction)(error),
});

@@ -87,0 +82,0 @@ }

{
"name": "@raycast/utils",
"version": "1.4.16",
"version": "1.4.17",
"description": "Set of utilities to streamline building Raycast extensions",

@@ -31,3 +31,3 @@ "author": "Raycast Technologies Ltd.",

"dependencies": {
"content-type": "^1.0.4",
"content-type": "^1.0.5",
"cross-fetch": "^3.1.5",

@@ -34,0 +34,0 @@ "dequal": "^2.0.3",

Sorry, the diff of this file is not supported yet

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