Socket
Socket
Sign inDemoInstall

better-opn

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-opn - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

dist/index.js

@@ -94,7 +94,2 @@ "use strict";

browser = undefined;
} // If there are arguments, they must be passed as array with the browser
if (typeof browser === 'string' && args.length > 0) {
browser = [browser].concat(args);
} // Fallback to opn

@@ -105,4 +100,6 @@ // (It will always open new tab)

var options = _objectSpread({
app: browser,
url: true,
app: {
name: browser,
arguments: args
},
wait: false

@@ -109,0 +106,0 @@ }, opts);

{
"name": "better-opn",
"version": "3.0.1",
"version": "3.0.2",
"description": "A better opn. Reuse the same tab on Chrome for 👨‍💻.",

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

@@ -14,3 +14,3 @@ # better-opn

If you wish to overwrite the default browser, override `BROWSER` environment variable to your desire browser name (name is platform dependent).
If you wish to overwrite the default browser, override `BROWSER` environment variable to your desired browser name (name is platform dependent).

@@ -17,0 +17,0 @@ ```js

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