+4
-4
@@ -11,2 +11,6 @@ var spawn = require('child_process').spawn; | ||
| var cmd = command[0]; | ||
| if(cmd !== 'npm'){ | ||
| return; | ||
| } | ||
| var args = command.slice(1); | ||
@@ -18,6 +22,2 @@ if(process.platform === 'win32'){ | ||
| if(cmd !== 'npm'){ | ||
| return; | ||
| } | ||
| var defer = when.defer(); | ||
@@ -24,0 +24,0 @@ var result = ''; |
+1
-1
| { | ||
| "name": "yfnm", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "description": "Learn to make an NPM module", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
+4
-4
@@ -11,2 +11,6 @@ var spawn = require('child_process').spawn; | ||
| var cmd = command[0]; | ||
| if(cmd !== 'npm'){ | ||
| return; | ||
| } | ||
| var args = command.slice(1); | ||
@@ -18,6 +22,2 @@ if(process.platform === 'win32'){ | ||
| if(cmd !== 'npm'){ | ||
| return; | ||
| } | ||
| var defer = when.defer(); | ||
@@ -24,0 +24,0 @@ var result = ''; |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package