Socket
Socket
Sign inDemoInstall

node-windows

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.9 to 0.1.10

17

lib/wrapper.js

@@ -17,7 +17,7 @@ // Handle input parameters

.describe('cwd','The absolute path of the current working directory of the script to be run as a process.')
.check(function(argv){
require('fs').existsSync(p.resolve(argv.d),function(exists){
return exists;
});
})
// .check(function(argv){
// require('fs').existsSync(p.resolve(argv.d),function(exists){
// return exists;
// });
// })
.demand('log')

@@ -65,2 +65,9 @@ .alias('l','log')

if (argv.d){
if (!require('fs').existsSync(p.resolve(argv.d))){
console.warn(argv.d+' not found.');
}
argv.d = process.cwd();
}
if (typeof argv.m === 'string'){

@@ -67,0 +74,0 @@ argv.m = parseInt(argv.m);

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc