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.3.0 to 1.4.0

11

LICENSE.txt

@@ -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 @@

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