From 4c9cb4d743c834281c54bdc1cbd40199680aed95 Mon Sep 17 00:00:00 2001 From: Dimitar Drenkovski Date: Wed, 19 Jan 2022 11:41:33 +0100 Subject: [PATCH 1/2] Update copywrite year (2021 -> 2022) --- lib/API.js | 2 +- lib/API/Dashboard.js | 2 +- lib/API/Deploy.js | 2 +- lib/API/Log.js | 2 +- lib/API/Modules/Modularizer.js | 2 +- lib/API/Monit.js | 2 +- lib/API/Serve.js | 2 +- lib/API/Startup.js | 2 +- lib/Client.js | 2 +- lib/Common.js | 2 +- lib/Configuration.js | 2 +- lib/Daemon.js | 2 +- lib/Event.js | 2 +- lib/God.js | 2 +- lib/God/ActionMethods.js | 2 +- lib/God/ClusterMode.js | 2 +- lib/God/ForkMode.js | 2 +- lib/God/Methods.js | 2 +- lib/God/Reload.js | 2 +- lib/HttpInterface.js | 2 +- lib/ProcessContainer.js | 2 +- lib/ProcessContainerFork.js | 2 +- lib/ProcessContainerForkLegacy.js | 2 +- lib/ProcessContainerLegacy.js | 2 +- lib/Utility.js | 2 +- lib/Watcher.js | 2 +- lib/Worker.js | 2 +- lib/completion.js | 2 +- lib/tools/Config.js | 2 +- lib/tools/isbinaryfile.js | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/lib/API.js b/lib/API.js index f0931a50f..dde9ed6c2 100644 --- a/lib/API.js +++ b/lib/API.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Dashboard.js b/lib/API/Dashboard.js index 971909b6c..64b127722 100644 --- a/lib/API/Dashboard.js +++ b/lib/API/Dashboard.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Deploy.js b/lib/API/Deploy.js index b87d0ac69..4c0de6db7 100644 --- a/lib/API/Deploy.js +++ b/lib/API/Deploy.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Log.js b/lib/API/Log.js index 30194760f..7156e2e36 100644 --- a/lib/API/Log.js +++ b/lib/API/Log.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Modules/Modularizer.js b/lib/API/Modules/Modularizer.js index 89433a018..614e6e71b 100644 --- a/lib/API/Modules/Modularizer.js +++ b/lib/API/Modules/Modularizer.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Monit.js b/lib/API/Monit.js index b42de8f78..511157850 100644 --- a/lib/API/Monit.js +++ b/lib/API/Monit.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Serve.js b/lib/API/Serve.js index bd7d04f91..cceb5ce7e 100644 --- a/lib/API/Serve.js +++ b/lib/API/Serve.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/API/Startup.js b/lib/API/Startup.js index 592904e61..d3612d2d0 100644 --- a/lib/API/Startup.js +++ b/lib/API/Startup.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Client.js b/lib/Client.js index a2cae7ae5..79ef9e308 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Common.js b/lib/Common.js index 9d16ce278..3071b471e 100644 --- a/lib/Common.js +++ b/lib/Common.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Configuration.js b/lib/Configuration.js index 599f50910..69941d53b 100644 --- a/lib/Configuration.js +++ b/lib/Configuration.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Daemon.js b/lib/Daemon.js index f0f157a00..e6ee83dd4 100644 --- a/lib/Daemon.js +++ b/lib/Daemon.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Event.js b/lib/Event.js index 65032b6ca..26924ce36 100644 --- a/lib/Event.js +++ b/lib/Event.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God.js b/lib/God.js index da24f79f8..122442809 100644 --- a/lib/God.js +++ b/lib/God.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God/ActionMethods.js b/lib/God/ActionMethods.js index 51e4c3db2..f84b40fa1 100644 --- a/lib/God/ActionMethods.js +++ b/lib/God/ActionMethods.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God/ClusterMode.js b/lib/God/ClusterMode.js index 0c5beb012..3f3edd25d 100644 --- a/lib/God/ClusterMode.js +++ b/lib/God/ClusterMode.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God/ForkMode.js b/lib/God/ForkMode.js index 1187cc71f..82550d401 100644 --- a/lib/God/ForkMode.js +++ b/lib/God/ForkMode.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God/Methods.js b/lib/God/Methods.js index f6fca8eb6..230acb44b 100644 --- a/lib/God/Methods.js +++ b/lib/God/Methods.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/God/Reload.js b/lib/God/Reload.js index b541b192a..bd1f2d7ff 100644 --- a/lib/God/Reload.js +++ b/lib/God/Reload.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/HttpInterface.js b/lib/HttpInterface.js index bf02fea43..9c46de1df 100644 --- a/lib/HttpInterface.js +++ b/lib/HttpInterface.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/ProcessContainer.js b/lib/ProcessContainer.js index 64cae29f3..158391d32 100644 --- a/lib/ProcessContainer.js +++ b/lib/ProcessContainer.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. * diff --git a/lib/ProcessContainerFork.js b/lib/ProcessContainerFork.js index 61f414b6f..3fdbb8df6 100644 --- a/lib/ProcessContainerFork.js +++ b/lib/ProcessContainerFork.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/ProcessContainerForkLegacy.js b/lib/ProcessContainerForkLegacy.js index 3437f17f0..ad8f6a965 100644 --- a/lib/ProcessContainerForkLegacy.js +++ b/lib/ProcessContainerForkLegacy.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/ProcessContainerLegacy.js b/lib/ProcessContainerLegacy.js index 239284670..8e3ecd502 100644 --- a/lib/ProcessContainerLegacy.js +++ b/lib/ProcessContainerLegacy.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. * diff --git a/lib/Utility.js b/lib/Utility.js index b44a83a3c..fb91c4cda 100644 --- a/lib/Utility.js +++ b/lib/Utility.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Watcher.js b/lib/Watcher.js index 1453b1ce5..3438d804a 100644 --- a/lib/Watcher.js +++ b/lib/Watcher.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/Worker.js b/lib/Worker.js index 2cab0a749..9c4d90301 100644 --- a/lib/Worker.js +++ b/lib/Worker.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/completion.js b/lib/completion.js index 2266a20c0..bce5ff1c0 100644 --- a/lib/completion.js +++ b/lib/completion.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/tools/Config.js b/lib/tools/Config.js index ccabb44bc..6cc7de77a 100644 --- a/lib/tools/Config.js +++ b/lib/tools/Config.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/tools/isbinaryfile.js b/lib/tools/isbinaryfile.js index ad0ee42b4..1ced02fa9 100644 --- a/lib/tools/isbinaryfile.js +++ b/lib/tools/isbinaryfile.js @@ -1,5 +1,5 @@ /** - * Copyright 2013-2021 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ From 0c671d79d18484220ac8c6e86cb81b520ffcb658 Mon Sep 17 00:00:00 2001 From: Dimitar Drenkovski Date: Wed, 19 Jan 2022 13:09:04 +0100 Subject: [PATCH 2/2] correct copyright year with start and end year (to be consistent) --- constants.js | 2 +- examples/sourcemap-auto-resolve/API.js | 2 +- index.js | 2 +- lib/templates/init-scripts/openrc.tpl | 2 +- paths.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/constants.js b/constants.js index f6d1bf0da..6b56f36db 100644 --- a/constants.js +++ b/constants.js @@ -1,5 +1,5 @@ /** - * Copyright 2013 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/examples/sourcemap-auto-resolve/API.js b/examples/sourcemap-auto-resolve/API.js index abc03fa95..adf4e68ef 100644 --- a/examples/sourcemap-auto-resolve/API.js +++ b/examples/sourcemap-auto-resolve/API.js @@ -1,5 +1,5 @@ /** - * Copyright 2013 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/index.js b/index.js index 7c59ed702..98a0ffcf9 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ /** - * Copyright 2013 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */ diff --git a/lib/templates/init-scripts/openrc.tpl b/lib/templates/init-scripts/openrc.tpl index b879399fd..0a6f9e775 100755 --- a/lib/templates/init-scripts/openrc.tpl +++ b/lib/templates/init-scripts/openrc.tpl @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2017 the PM2 project authors. All rights reserved. +# Copyright 2013-2022 the PM2 project authors. All rights reserved. # Init script automatically generated by pm2 startup description="Production process manager for Node.js apps with a built-in load balancer." diff --git a/paths.js b/paths.js index 54c08dfce..b1e83823c 100644 --- a/paths.js +++ b/paths.js @@ -1,5 +1,5 @@ /** - * Copyright 2013 the PM2 project authors. All rights reserved. + * Copyright 2013-2022 the PM2 project authors. All rights reserved. * Use of this source code is governed by a license that * can be found in the LICENSE file. */