Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pm2

Package Overview
Dependencies
Maintainers
1
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2 - npm Package Versions

1
28

2.6.1

Diff

Changelog

Source

2.6.1

  • #3037 bug fix cb
tknew
published 2.6.0 •

Changelog

Source

2.6.0

Changes

  • #2998 pm2 report command for automated system inspection
  • #2997 --disable-logs option to suppress error
  • #2290 allow to declare apps under "pm2" attribute (eq "apps"). Nicer in package.json
  • #2994 allow to specify typescript version to be installed
  • #2501 low memory environment pm2 setting via PM2_OPTIMIZE_MEMORY (beta)
  • #2968 pm2 attach <pm_id> to attach to process stdin / stdout
  • pm2-runtime -> drop in replacement for the node.js binary
  • #2951 pm2 reload command locker via timestamped lock file
  • #2977 pm2 reloadLogs protected
  • #2958 Allow to delete attribute via --attribute null
  • #2980 PM2_SILENT=true pm2 startup
  • #2690 --parallel <number> command allows to change the nb of concurrent actions (reload/restart)
  • expose cwd on CLI via --cwd
  • multiple pm2-docker enhacements
  • Alias pm2.link and pm2.unlink to pm2.interact and pm2._pre_interact
  • Allow to customize kill signal via PM2_KILL_SIGNAL
  • Support git+http in module installation
  • force reverse interaction reconnection on internet discovery
  • --instances -1 when having a 1 cpu is no-longer spawning no processes #2953
  • refactor the context retrieving from error
  • add a TTL for file cache entry
  • #2956 Fix listen_timeout in combination with wait_ready
  • #2996 respect signal order on pm2 reload (delegate ready function to reload fn)

Breaking

  • Drop pm2-daemon CLI (replaced by pm2-runtime)

2.5

  • pm2 register|login to create new account / login on Keymetrics + auto link
  • pm2 open to open dashboard on browser
  • pm2 monitor|unmonitor <pm_id|name|all> for selective monitoring
  • #2818 alias pm2-docker to pm2-daemon
  • #2809 correctly resolve git/npm repo when running pm2 install
  • #2861 better auto exit check for docker
  • #2870 avoid null error when preparing app config
  • #2872 avoid showing useless warning
  • #438 allow to override daemon config paths via env (example: PM2_PID_FILE_PATH to override pid file of the daemon)
  • #2849 better gentoo template for pm2 startup
  • #2868 allow tailing log with --raw flag
  • #452 Add PM2_WEB_STRIP_ENV_VARS to remove environnement vars from pm2 web endpoint
  • #2890 Fix wait-ready for cluster mode
  • #2906 randomize machine name with default pm2 link
  • #2888 allow to use regex for pm2 logs
  • #2045 allow to rename NODE_APP_INSTANCE env variable
  • #2809 add increment_var options to ask for a environnement variable to be incremented for each application started
  • more informations when failing to deploy on custom ecosystem file
  • fix tests for node 8
  • fix missing callback when overriding console.log
  • allow to rename daemon process name via PM2_DAEMON_NAME
  • few typo in the readme

Breaking change

  • the NODE_APP_INSTANCE var behavior has been changed :
    • old behavior : when starting multiples instances of an app each one get an unique number, but its not working anymore if you are using pm2 scale (simply put its possible to have two application with the same number)
    • new behavior : the number are consistent, if you scale up/down it will take a number that isn't used by another application (so two application should never have the same number)
tknew
published 2.5.0 •

tknew
published 2.5.0-beta1 •

tknew
published 2.4.6 •

tknew
published 2.4.5 •

Changelog

Source

2.4.5/6

  • #2818 alias pm2-docker to pm2-runtime
  • #2815 polyfill for path.isAbsolute for node v0.11

Breaking change

  • rundev command has been dropped because of too low adoption
tknew
published 2.4.4 •

Changelog

Source

2.4.4

  • #2806 fix reconnection to keymetrics
tknew
published 2.4.3 •

Changelog

Source

2.4.3

  • #2759 disable default require of vxx in pmx
  • #2651 always spawn pm2 daemon with node binary
  • #2745 new issue template
  • #2761 Make JSON log stream timestamp in consistent format
  • #2770 Fix trigger API never calling callback
  • #2796 Fix absolute path on windows
  • [KM] profiler installation via pm2 install v8-profiler or pm2 install profiler
  • [KM] Agent rescue system
tknew
published 2.4.3-rc1 •

tknew
published 2.4.2 •

Changelog

Source

2.4.2

  • [KM] Disable pm2-server-monit auto install
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