Comparing version 1.3.0 to 1.4.0
@@ -1,5 +0,11 @@ | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Copyright © 2012–2014 Domenic Denicola <domenic@domenicdenicola.com> | ||
This work is free. You can redistribute it and/or modify it under the | ||
terms of the Do What The Fuck You Want To Public License, Version 2, | ||
as published by Sam Hocevar. See below for more details. | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Version 2, December 2004 | ||
Copyright (C) 2012 Domenic Denicola <domenic@domenicdenicola.com> | ||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | ||
@@ -14,2 +20,1 @@ Everyone is permitted to copy and distribute verbatim or modified | ||
0. You just DO WHAT THE FUCK YOU WANT TO. | ||
@@ -41,3 +41,3 @@ #!/usr/bin/env node | ||
childProcess.execFile(command, args, options, callback); | ||
return childProcess.execFile(command, args, options, callback); | ||
} | ||
@@ -44,0 +44,0 @@ |
{ | ||
"name": "opener", | ||
"description": "Opens stuff, like webpages and files and executables, cross-platform", | ||
"version": "1.3.0", | ||
"author": "Domenic Denicola <domenic@domenicdenicola.com> (http://domenicdenicola.com)", | ||
"version": "1.4.0", | ||
"author": "Domenic Denicola <domenic@domenicdenicola.com> (http://domenic.me/)", | ||
"license": "WTFPL", | ||
@@ -11,5 +11,3 @@ "repository": { | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/domenic/opener/issues" | ||
}, | ||
"bugs": "http://github.com/domenic/opener/issues", | ||
"main": "opener.js", | ||
@@ -21,4 +19,4 @@ "bin": "opener.js", | ||
"devDependencies": { | ||
"jshint": ">= 0.9.0" | ||
"jshint": "^2.5.4" | ||
} | ||
} |
@@ -25,2 +25,15 @@ # It Opens Stuff | ||
Plus, it returns the child process created, so you can do things like let your script exit while the window stays open: | ||
```js | ||
var editor = opener("documentation.odt"); | ||
editor.unref(); | ||
// These other unrefs may be necessary if your OS's opener process | ||
// exits before the process it started is complete. | ||
editor.stdin.unref(); | ||
editor.stdout.unref(); | ||
editor.stderr.unref(); | ||
``` | ||
## Use It for Good | ||
@@ -27,0 +40,0 @@ |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
4538
58
1
2