Comparing version 1.0.1 to 1.1.0
@@ -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 @@ } |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
3466
31
0
2