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

active-win

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-win - npm Package Compare versions

Comparing version 8.1.1 to 8.2.0

9

index.d.ts
declare namespace activeWindow {
interface Options {
/**
Enable the accessibility permission check. _(macOS)_
Setting this to `false` will prevent the accessibility permission prompt on macOS versions 10.15 and newer. The `url` property won't be retrieved.
@default true
*/
readonly accessibilityPermission: boolean;
/**
Enable the screen recording permission check. _(macOS)_

@@ -5,0 +14,0 @@

4

lib/macos.js

@@ -24,2 +24,6 @@ 'use strict';

const args = [];
if (options.accessibilityPermission === false) {
args.push('--no-accessibility-permission');
}
if (options.screenRecordingPermission === false) {

@@ -26,0 +30,0 @@ args.push('--no-screen-recording-permission');

3

package.json
{
"name": "active-win",
"version": "8.1.1",
"version": "8.2.0",
"description": "Get metadata about the active window (title, id, bounds, owner, URL, etc)",

@@ -16,2 +16,3 @@ "license": "MIT",

},
"sideEffects": false,
"engines": {

@@ -18,0 +19,0 @@ "node": ">=14"

@@ -53,2 +53,9 @@ # active-win

##### accessibilityPermission **(macOS only)**
Type: `boolean`\
Default: `true`
Enable the accessibility permission check. Setting this to `false` will prevent the accessibility permission prompt on macOS versions 10.15 and newer. The `url` property won't be retrieved.
##### screenRecordingPermission **(macOS only)**

@@ -55,0 +62,0 @@

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