Socket
Socket
Sign inDemoInstall

node-windows

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-windows - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

6

lib/daemon.js

@@ -452,2 +452,6 @@ /**

*/
/**
* @event alreadyuninstalled
* Fired if the script is unknown as a service.
*/
uninstall: {

@@ -462,2 +466,3 @@ enumerable: true,

console.log('Uninstall was skipped because process does not exist or could not be found.');
this.emit('alreadyuninstalled');
return;

@@ -581,3 +586,2 @@ }

me.log.warn('An attempt to stop the service failed because the service is/was not running.');
callback(err);
me.emit('alreadystopped');

@@ -584,0 +588,0 @@ } else {

2

lib/wrapper.js

@@ -80,3 +80,3 @@ // Handle input parameters

// Hack to force the wrapper process to stay open by launching a ghost socket server
var server = require('net').createServer().listen();
var server = require('net').createServer().listen(0, '127.0.0.1');

@@ -83,0 +83,0 @@ /**

{
"name": "node-windows",
"version": "0.1.11",
"version": "0.1.12",
"description": "Support for Windows services, event logging, UAC, and several helper methods for interacting with the OS.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -250,3 +250,3 @@ # Update (5/21/15)

description: 'The nodejs.org example web server.',
script: 'C:\\path\\to\\helloworld.js'),
script: 'C:\\path\\to\\helloworld.js',
wait: 2,

@@ -253,0 +253,0 @@ grow: .5

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