Socket
Socket
Sign inDemoInstall

nodemon

Package Overview
Dependencies
Maintainers
1
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemon - npm Package Compare versions

Comparing version 2.0.12-alpha.2 to 2.0.12-alpha.3

36

.eslintrc.json
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"space-before-function-paren": [
2,
{
"anonymous": "ignore",
"named": "never"
}
]
}
"env": {
"es6": true,
"node": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"rules": {
"no-console": 0,
"no-restricted-globals": [
"error",
{
"name": "name",
"message": "Use local parameter instead."
}
]
}
}

@@ -0,1 +1,2 @@

const path = require('path');
const utils = require('./utils');

@@ -22,2 +23,6 @@ const merge = utils.merge;

if (!Array.isArray(command)) {
command = [command];
}
if (utils.isWindows) {

@@ -27,4 +32,8 @@ // if the exec includes a forward slash, reverse it for windows compat

// ref #1251 and #1236
if (executable.indexOf('/') !== -1) {
executable = executable.split(' ').map((e, i) => {
command = command.map(executable => {
if (executable.indexOf('/') === -1) {
return executable;
}
return executable.split(' ').map((e, i) => {
if (i === 0) {

@@ -35,3 +44,3 @@ return path.normalize(e);

}).join(' ');
}
});
// taken from npm's cli: https://git.io/vNFD4

@@ -43,7 +52,2 @@ sh = process.env.comspec || 'cmd';

if (!Array.isArray(command)) {
command = [command];
}
const args = command.join(' ');

@@ -50,0 +54,0 @@ const child = spawn(sh, [shFlag, args], spawnOptions);

@@ -70,3 +70,3 @@ {

"_version": "0.0.0-development",
"version": "2.0.12-alpha.2",
"version": "2.0.12-alpha.3",
"funding": {

@@ -73,0 +73,0 @@ "type": "opencollective",

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