pm2-slack icon indicating copy to clipboard operation
pm2-slack copied to clipboard

Keep pm2-slack backwards compatible with old versions of node

Open mattpker opened this issue 8 years ago • 2 comments

@ma-zal Can we please change the const to a var? Realized this breaks some of my really old applications when running node without the --harmony flag.

https://github.com/mattpker/pm2-slack/blob/8a0ed779feced06a6ad61d2a9d460c5b3e6cb142/index.js#L114

mattpker avatar Nov 10 '17 22:11 mattpker

Native support of const exists since NodeJS 4, that has been released in 2015. Do we really want to support really old NodeJS 0.10? :-( I cannot imagine, then somebody is running on NodeJS 0.10 on production today without any security updates.

ma-zal avatar Nov 15 '17 07:11 ma-zal

For now I would, you would be surprised how long it take to get stuff updated. lol

mattpker avatar Nov 17 '17 20:11 mattpker

Closing as outdated.

ma-zal avatar Nov 23 '22 09:11 ma-zal