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

node-mac-permissions

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-mac-permissions - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

1

index.js

@@ -37,4 +37,5 @@ const permissions = require('bindings')('permissions.node')

askForScreenCaptureAccess: permissions.askForScreenCaptureAccess,
askForAccessibilityAccess: permissions.askForAccessibilityAccess,
askForMediaAccess,
getAuthStatus
}

2

package.json
{
"name": "node-mac-permissions",
"version": "1.3.1",
"version": "1.4.0",
"description": "A native node module to manage system permissions on macOS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -150,2 +150,3 @@ [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)

```
## `permissions.askForScreenCaptureAccess()`

@@ -160,2 +161,13 @@

askForScreenCaptureAccess()
```
```
## `permissions.askForAccessibilityAccess()`
There is no API for programmatically requesting Accessibility access on macOS at this time, and so calling this method will trigger opening of System Preferences at the Accessibility pane of Security and Privacy.
Example:
```js
const { askForAccessibilityAccess } = require('node-mac-permissions')
askForAccessibilityAccess()
```

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