Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@foundryapp/accessibility-node

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundryapp/accessibility-node - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "@foundryapp/accessibility-node",
"descriptiop": "Node.js wrapper for the macOS accessibility API",
"version": "1.0.6",
"version": "1.0.7",
"license": "MIT",

@@ -6,0 +6,0 @@ "gypfile": true,

const ax = require('../build/Release/accessibility_node.node');
const { promisify } = require('util');

@@ -6,6 +7,5 @@

return new Promise((resolve, reject) => {
ax.launchApp('com.apple.Terminal', (args) => {
ax.launchApp('com.apple.Terminal', (err, args) => {
console.log('Callback from JavaScript', args);
// return resolve();
return reject();
resolve();
});

@@ -15,4 +15,16 @@ })

function timeout() {
return new Promise((resolve, reject) => {
setTimeout(() => {
console.log('TIMEOUT');
resolve();
}, 10 * 1000)
});
}
(async function() {
await launch();
// await timeout();
// const d = promisify(launch);
// await d();
console.log('After launch');

@@ -31,5 +43,4 @@ })()

setTimeout(() => console.log('exiting...'), 10 * 1000)
// setTimeout(() => console.log('exiting...'), 10 * 1000)

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