typescript-guide
typescript-guide copied to clipboard
Bump degenerator and pm2 in /examples/webserver
Bumps degenerator to 3.0.2 and updates ancestor dependency pm2. These dependencies need to be updated together.
Updates degenerator from 1.0.4 to 3.0.2
Release notes
Sourced from degenerator's releases.
3.0.2
Patches
- Update
vm2to v3.9.8: f690e194041f9dacba5341d5a98bbd1a659960483.0.1
Patches
- Fix return
undefined: ccc3445354135398b6eb1a04c7d27c13b833f2d5- Fix
filenameoption: 9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e3.0.0
Major Changes
- Remove "generator" output mode: #12
- Use
vm2module to prevent privilege escalation of untrusted code: #11Minor Changes
- Add
anydefault return type tocompile(): e0b9fc83faabb101944b63bc73b710be7787f15b2.2.0
Minor Changes
- Update
@types/nodeto v12.12.17: 9835e04511cb06676d5af96c1723387663f342d9- Update
typescriptto v3.7.3: b9cbd261cad40736a92a1ab1aebb788a4834b678- Make
CompileOptionsbe an interface: ffe0931e4f5b28a94c6af21ebdb949b4c18c92c0- More strict "output" type: 1fc0f45f63601cd00dd421dc4ae09d30cbd19e0c
- Export
supportsAsync: d56395cf8400e6d36af31db595d6caa1c9e54abatoString()contains the compiled code for "generator" mode: d5bea6018876fbc19034c0f6cfe6e63d0e43ccd8- Update "description": 9c8d43adfeb7b5ff926d7886b771f0e1ae62c345
Patches
- Fix test: 9b8a8da8834249524e56e2d683339fc80d67c30e
- Fix comment: fcf682393407bfc3db0cc6735abea7f124f7023a
- Fix nested
yieldstatements: d41a91d2b66b27b954662d90f3d36ce5480e17102.1.4
Patches
- Fix passing arguments to converted generator function: 3aa6caa70ef87047f52c786c097f2c9f8ab1f2ad
- Include
returnNamein error message: 1da95f51666c0c365065217dd842315a8ae7d6672.1.3
Patches
- Fix regular sync functions into async: 66f0229943a4f91f154b98023c107b4cf0c6471f
2.1.2
... (truncated)
Commits
3b609553.0.2f690e19Updatevm2to v3.9.85cf4ab23.0.19d25bb6Fixfilenameoptionccc3445Fix returnundefineddc10ee93.0.0e0b9fc8Addanydefault return type tocompile()852043fUsevm2module to prevent privilege escalation of untrusted code (#11)7ad1041Remove "generator" output mode (#12)b9bc71e2.2.0- Additional commits viewable in compare view
Updates pm2 from 4.4.0 to 5.2.0
Release notes
Sourced from pm2's releases.
5.2.0
- replace node-cron by croner (#5183 #5035)
- upgrade mocha deps
- fix pm2 report when daemon not running
- remove semver check for legacy node.js versions
- update node version in setup.deb.sh by using lts (#5201) + openrc
- replace legacy util._extend by Object.assign (#5239)
- add missing start options types (#5242)
- recursive detection of package.json (#5267)
- make tarball module uninstall cross-platform (#5269)
- Fix unnecessary "ENOENT" console.error when serving a spa (#5272)
- fix: used env variable instead of hardcode datetime format (#5277)
- copyright update (#5278)
- fix: remove constants import from VersionCheck (not needed) (#5279)
- Reduce async import (#5280)
5.1.2
- cron-restart improvements
5.1.1
- add back Node 10.x support
- make pm2-sysmonit module optional
- remove fast-printf and replace with sprintfjs
5.0.3
- fixes for system monitoring
5.0.0
System Monitoring
A new local system monitoring feature has been added, allowing to monitor numerous vital server metrics.
Most important metrics will be displayed when doing a pm2 ls:
┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 4 │ app │ default │ 1.0.0 │ fork │ 164618 │ 2s │ 1670 │ online │ 0% │ 41.8mb │ unitech │ disabled │ └─────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ host metrics | cpu: 1.6% 42.9º | mem free: 52.0% | wlp0s20f3: ⇓ 0mb/s ⇑ 0mb/s | disk: ⇓ 0.199mb/s ⇑ 0mb/s /dev/nvme0n1p3 88.25% |All server metrics will be available to pm2.io:
┌─────────────────────────────┬──────────────────────────────────┐ │ PM2 CPU Usage │ 0.0 % │ │ PM2 Memory Usage │ 67.4 mb │ │ PM2 Agent CPU Usage │ 0 % │ </tr></table>
... (truncated)
Changelog
Sourced from pm2's changelog.
5.2.0
- replace node-cron by croner (#5183 #5035)
- upgrade mocha deps
- fix pm2 report when daemon not running
- remove semver check for legacy node.js versions
- update node version in setup.deb.sh by using lts (#5201) + openrc
- replace legacy util._extend by Object.assign (#5239)
- add missing start options types (#5242)
- recursive detection of package.json (#5267)
- make tarball module uninstall cross-platform (#5269)
- Fix unnecessary "ENOENT" console.error when serving a spa (#5272)
- fix: used env variable instead of hardcode datetime format (#5277)
- copyright update (#5278)
- fix: remove constants import from VersionCheck (not needed) (#5279)
- Reduce async import (#5280)
5.1.2
- easily disable cron-restart strategy via
$ pm2 restart --cron-restart 0- allow to update cron-restart on restart
5.1.1
- remove fast-printf and replace with sprintfjs
5.1.0
- add back Node 10.x support
- make pm2-sysmonit module optional
5.0.3
- skip system monitoring on Windows
5.0.1/5.0.2
- fix npm install --no-optional pm2
5.0.0
System Monitoring
A new local system monitoring feature has been added, allowing to monitor numerous vital server metrics.
Most important metrics will be displayed when doing a pm2 ls:
┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ </tr></table>
... (truncated)
Commits
2573516[email protected]da59cb6increase timeout for killing subprocessesa94f012drop cron-parser for sanity check and use Croner constructoraf3a1f7use croner instead of node-schedulecbf5c0aMerge branch 'mararrdeveloper-development' into developmentf9bc048Merge branch 'development' of github.com:Unitech/pm2 into development6a01efeupgrade mocha2673a97fix cron check540caabMerge branch 'development' of https://github.com/mararrdeveloper/pm2 into mar...5b896eefix pm2 report when daemon is not running- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.