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

applescript-utils

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applescript-utils - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

2

index.d.ts

@@ -9,3 +9,3 @@ export type { ElementPathPart } from './types/element.js';

export { getTableRows, selectTableRow } from './utils/table.js';
export { setTextFieldValue } from './utils/text-field.js';
export { getTextFieldValue, setTextFieldValue } from './utils/text-field.js';
export { waitForWindow } from './utils/window.js';

@@ -8,3 +8,3 @@ export { toggleCheckbox } from './utils/checkbox.js';

export { getTableRows, selectTableRow } from './utils/table.js';
export { setTextFieldValue } from './utils/text-field.js';
export { getTextFieldValue, setTextFieldValue } from './utils/text-field.js';
export { waitForWindow } from './utils/window.js';
{
"name": "applescript-utils",
"version": "0.1.11",
"version": "0.1.12",
"description": "Utilities for AppleScript scripts.",

@@ -5,0 +5,0 @@ "license": "MIT",

import type { BaseElementReference } from '../utils/element-reference.js';
export declare function setTextFieldValue(element: BaseElementReference, text: string): Promise<void>;
export declare function getTextFieldValue(element: BaseElementReference): Promise<void>;

@@ -12,1 +12,10 @@ import { outdent } from 'outdent';

}
export async function getTextFieldValue(element) {
await runAppleScript(outdent `
tell application "System Events"
tell process ${JSON.stringify(element.applicationProcess)}
get value of ${element.pathString}
end tell
end tell
`);
}

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