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

opener

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opener - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

10

opener.js

@@ -12,3 +12,3 @@ #!/usr/bin/env node

"xdg-open";
if (typeof args === "string") {

@@ -18,2 +18,10 @@ args = [args];

if (process.platform === "win32" && args[0].indexOf(" ") !== -1) {
// Windows executables whose paths contain spaces need to be quoted.
args[0] = '"' + args[0];
// But, if you double-quote the first parameter, then `start` it will interpret it as a window title, so you
// need to add a dummy window title: http://stackoverflow.com/q/154075/#154090
args.unshift('""');
}
childProcess.exec(command + " " + args.join(" "), options, callback);

@@ -20,0 +28,0 @@ }

2

package.json
{
"name": "opener",
"description": "Opens stuff, like webpages and files and executables, cross-platform",
"version": "1.0.1",
"version": "1.1.0",
"author": "Domenic Denicola <domenic@domenicdenicola.com> (http://domenicdenicola.com)",

@@ -6,0 +6,0 @@ "license": "WTFPL",

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