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.5.0 to 1.5.1

2

dist/useSQL.d.ts

@@ -39,3 +39,3 @@ /// <reference types="react" />

permissionPriming?: string;
} & Omit<PromiseOptions<(query: string) => Promise<T[]>>, "abortable">): {
} & Omit<PromiseOptions<(database: string, query: string) => Promise<T[]>>, "abortable">): {
permissionView: JSX.Element | undefined;

@@ -42,0 +42,0 @@ isLoading: boolean;

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

let workaroundCopiedDb = undefined;
return async (query) => {
return async (databasePath, query) => {
const abortSignal = abortable.current?.signal;

@@ -128,3 +128,3 @@ const spawned = node_child_process_1.default.spawn("sqlite3", ["--json", "--readonly", databasePath, query], {

return {
...(0, usePromise_1.usePromise)(fn, [query], { ...usePromiseOptions, onError: handleError }),
...(0, usePromise_1.usePromise)(fn, [databasePath, query], { ...usePromiseOptions, onError: handleError }),
permissionView,

@@ -131,0 +131,0 @@ };

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

@@ -5,0 +5,0 @@ "author": "Raycast Technologies Ltd.",

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