Actualizacion de seguridad
This commit is contained in:
4
node_modules/nodemon/lib/config/defaults.js
generated
vendored
4
node_modules/nodemon/lib/config/defaults.js
generated
vendored
@@ -25,7 +25,9 @@ const defaults = {
|
||||
watchOptions: {},
|
||||
};
|
||||
|
||||
if ((process.env.NODE_OPTIONS || '').includes('--loader')) {
|
||||
const nodeOptions = process.env.NODE_OPTIONS || ''; // ?
|
||||
|
||||
if (/--(loader|import)\b/.test(nodeOptions)) {
|
||||
delete defaults.execMap.ts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user