Socket
Socket
Sign inDemoInstall

bundle-name

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundle-name - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

4

index.js

@@ -1,5 +0,5 @@

import {runAppleScriptAsync} from 'run-applescript';
import {runAppleScript} from 'run-applescript';
export default async function bundleName(bundleId) {
return runAppleScriptAsync(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
}
{
"name": "bundle-name",
"version": "3.0.0",
"version": "4.0.0",
"description": "Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`",

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

"engines": {
"node": ">=12"
"node": ">=18"
},

@@ -39,8 +39,8 @@ "scripts": {

"dependencies": {
"run-applescript": "^5.0.0"
"run-applescript": "^6.1.0"
},
"devDependencies": {
"ava": "^3.15.0",
"xo": "^0.38.2"
"ava": "^5.3.1",
"xo": "^0.56.0"
}
}

@@ -7,5 +7,5 @@ # bundle-name

```sh
npm install bundle-name
```
$ npm install bundle-name
```

@@ -12,0 +12,0 @@ ## Usage

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