Skip to content

Commit

Permalink
drop fast-printf and replace with sprintfjs #5151
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Aug 19, 2021
1 parent 494caa6 commit 93dc017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/API/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var os = require('os');
var p = require('path');
var blessed = require('blessed');
var debug = require('debug')('pm2:monit');
var printf = require('fast-printf').printf;
var printf = require('sprintf-js').sprintf;

// Total memory
const totalMem = os.totalmem();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pm2",
"preferGlobal": true,
"version": "5.1.0",
"version": "5.1.1",
"engines": {
"node": ">=10.0.0"
},
Expand Down Expand Up @@ -181,7 +181,7 @@
"debug": "^4.3.1",
"enquirer": "2.3.6",
"eventemitter2": "5.0.1",
"fast-printf": "^1.3.0",
"sprintf-js": "1.1.2",
"fclone": "1.0.11",
"mkdirp": "1.0.4",
"needle": "2.4.0",
Expand Down

0 comments on commit 93dc017

Please sign in to comment.