Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

default-browser-id

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

default-browser-id - npm Package Compare versions

Comparing version
5.0.0
to
5.0.1
+8
-1
index.js

@@ -17,3 +17,10 @@ import {promisify} from 'node:util';

return match?.groups.id ?? 'com.apple.Safari';
const browserId = match?.groups.id ?? 'com.apple.Safari';
// Correct the case for Safari's bundle identifier
if (browserId === 'com.apple.safari') {
return 'com.apple.Safari';
}
return browserId;
}
+1
-1
{
"name": "default-browser-id",
"version": "5.0.0",
"version": "5.0.1",
"description": "Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari",

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