Skip to content

Commit

Permalink
Merge pull request #4595 from 418sec/master
Browse files Browse the repository at this point in the history
pm2 - Command Injection - Fix:
  • Loading branch information
soyuka committed Mar 12, 2020
2 parents 278d4b2 + bd20cf1 commit ff77c6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

## 4.2.3

- fix: Fix an import error on Node 9.x

## 4.2.2

- feat: Support ESM on Node 13 via .mjs file or `"type":"module"` in package.json #4540
Expand Down
1 change: 1 addition & 0 deletions lib/API/Modules/Modularizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var Modularizer = module.exports = {};
* PM2 Module System.
*/
Modularizer.install = function (CLI, module_name, opts, cb) {
module_name = module_name.replace(/[;`|]/g, "");
if (typeof(opts) == 'function') {
cb = opts;
opts = {};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pm2",
"preferGlobal": true,
"version": "4.2.2",
"version": "4.2.3",
"engines": {
"node": ">=8.10.0"
},
Expand Down

0 comments on commit ff77c6b

Please sign in to comment.