Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Update NodeJS version to 18.20.2 (#2051)
Browse files Browse the repository at this point in the history
* ⚙️ Bump lisk-service-framework to NodeJS 18.20.2

* ⚙️ Ensure minimum supported NodeJS version is 18.20.2

* 🔨 Update Jenkinsfile to use yarn
  • Loading branch information
sameersubudhi authored Apr 11, 2024
1 parent 80aa704 commit 98e0385
Show file tree
Hide file tree
Showing 30 changed files with 546 additions and 554 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20.1
18.20.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ WebSocket-based APIs can be used through the [Socket.IO](https://socket.io/) lib

To continue the installation ensure that you have the following dependencies installed:

- [NodeJS Active LTS - ^v18.20.1](https://nodejs.org/en/about/releases/)
- [NodeJS Active LTS - ^v18.20.2](https://nodejs.org/en/about/releases/)
- [MySQL - ^v8.0.29](https://dev.mysql.com/doc/relnotes/mysql/8.0/en/)
- [Docker](https://www.docker.com/) with [Docker compose](https://docs.docker.com/compose/install/)
- [GNU Make](https://www.gnu.org/software/make/) and [GNU Tar](https://www.gnu.org/software/tar/)
Expand Down
Binary file added framework/dist/lisk-service-framework-1.6.15.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lisk-service-framework",
"version": "1.6.14",
"version": "1.6.15",
"description": "Lisk Service Framework",
"keywords": [
"lisk",
Expand All @@ -19,7 +19,7 @@
"private": true,
"main": "index.js",
"engines": {
"node": ">=18.20.1 <=18",
"node": ">=18.20.2 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand Down
36 changes: 18 additions & 18 deletions framework/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,9 @@
"@sinonjs/commons" "^3.0.0"

"@socket.io/component-emitter@~3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553"
integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==
version "3.1.1"
resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.1.tgz#621270c02c0a5d4f4669eb1caa9723c91cf201de"
integrity sha512-dzJtaDAAoXx4GCOJpbB2eG/Qj8VDpdwkLsWGzGm+0L7E8/434RyMbAHmk9ubXWVAb9nXmc44jUf8GKqVDiKezg==

"@types/babel__core@^7.1.14":
version "7.20.5"
Expand Down Expand Up @@ -670,9 +670,9 @@
"@types/istanbul-lib-report" "*"

"@types/node@*", "@types/node@>=10.0.0":
version "20.12.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.4.tgz#af5921bd75ccdf3a3d8b3fa75bf3d3359268cd11"
integrity sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==
version "20.12.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384"
integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==
dependencies:
undici-types "~5.26.4"

Expand Down Expand Up @@ -1035,9 +1035,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001587:
version "1.0.30001605"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz#ca12d7330dd8bcb784557eb9aa64f0037870d9d6"
integrity sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==
version "1.0.30001608"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001608.tgz#7ae6e92ffb300e4b4ec2f795e0abab456ec06cc0"
integrity sha512-cjUJTQkk9fQlJR2s4HMuPMvTiRggl0rAVMtthQuyOlDWuqHXqN8azLq+pi8B2TjwKJ32diHjUqRIKeFX4z1FoA==

chalk@2.4.2, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
Expand Down Expand Up @@ -1270,9 +1270,9 @@ decompress-response@^6.0.0:
mimic-response "^3.1.0"

dedent@^1.0.0:
version "1.5.1"
resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.1.tgz#4f3fc94c8b711e9bb2800d185cd6ad20f2a90aff"
integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==
version "1.5.3"
resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a"
integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==

deep-extend@^0.6.0:
version "0.6.0"
Expand Down Expand Up @@ -1358,9 +1358,9 @@ ee-first@1.1.1:
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==

electron-to-chromium@^1.4.668:
version "1.4.726"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.726.tgz#9ca95f19e9a0d63675e838b24681182203e40a30"
integrity sha512-xtjfBXn53RORwkbyKvDfTajtnTp0OJoPOIBzXvkNbb7+YYvCHJflba3L7Txyx/6Fov3ov2bGPr/n5MTixmPhdQ==
version "1.4.733"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.733.tgz#708d51ce01a7ed3b401d5ced85e9f5d504fd4217"
integrity sha512-gUI9nhI2iBGF0OaYYLKOaOtliFMl+Bt1rY7VmEjwxOxqoYLub/D9xmduPEhbw2imE6gYkJKhIE5it+KE2ulVxQ==

emittery@^0.13.1:
version "0.13.1"
Expand Down Expand Up @@ -2962,9 +2962,9 @@ ms@2.1.3, ms@^2.1.1:
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==

mysql2@^3.5.2:
version "3.9.3"
resolved "https://registry.yarnpkg.com/mysql2/-/mysql2-3.9.3.tgz#72a5e0c90d78ec2d8f9846e83727067c0cc8c25e"
integrity sha512-+ZaoF0llESUy7BffccHG+urErHcWPZ/WuzYAA9TEeLaDYyke3/3D+VQDzK9xzRnXpd0eMtRf0WNOeo4Q1Baung==
version "3.9.4"
resolved "https://registry.yarnpkg.com/mysql2/-/mysql2-3.9.4.tgz#0d4f666015f8ed213aa6f2f5e59065eb99d7c3de"
integrity sha512-OEESQuwxMza803knC1YSt7NMuc1BrK9j7gZhCSs2WAyxr1vfiI7QLaLOKTh5c9SWGz98qVyQUbK8/WckevNQhg==
dependencies:
denque "^2.1.0"
generate-function "^2.3.1"
Expand Down
18 changes: 9 additions & 9 deletions jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
steps {
nvm(readFile(".nvmrc").trim()) {
sh '''
npm run format
yarn format
if [ -z "$(git status --untracked-files=no --porcelain)" ]; then
echo "All files formatted"
else
Expand All @@ -58,14 +58,14 @@ pipeline {
steps {
script { echoBanner(STAGE_NAME) }
nvm(readFile('.nvmrc').trim()) {
dir('./framework') { sh "yarn run test:unit" }
dir('./services/blockchain-app-registry') { sh "yarn run test:unit" }
dir('./services/blockchain-connector') { sh "yarn run test:unit" }
dir('./services/blockchain-indexer') { sh "yarn run test:unit" }
dir('./services/fee-estimator') { sh "yarn run test:unit" }
dir('./services/market') { sh "yarn run test:unit" }
dir('./services/export') { sh "yarn run test:unit" }
dir('./services/gateway') { sh "yarn run test:unit" }
dir('./framework') { sh "yarn test:unit" }
dir('./services/blockchain-app-registry') { sh "yarn test:unit" }
dir('./services/blockchain-connector') { sh "yarn test:unit" }
dir('./services/blockchain-indexer') { sh "yarn test:unit" }
dir('./services/fee-estimator') { sh "yarn test:unit" }
dir('./services/market') { sh "yarn test:unit" }
dir('./services/export') { sh "yarn test:unit" }
dir('./services/gateway') { sh "yarn test:unit" }
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "Apache-2.0",
"main": "app.js",
"engines": {
"node": ">=18.20.1 <=18",
"node": ">=18.20.2 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions services/blockchain-app-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "Apache-2.0",
"main": "app.js",
"engines": {
"node": ">=18.20.1 <=18",
"node": ">=18.20.2 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand All @@ -32,7 +32,7 @@
"dependencies": {
"bluebird": "^3.7.2",
"ioredis": "^5.3.2",
"lisk-service-framework": "https://github.com/LiskHQ/lisk-service/raw/405ad4a3b787245a778f26688bea8beae21d4bb8/framework/dist/lisk-service-framework-1.6.14.tgz",
"lisk-service-framework": "https://github.com/LiskHQ/lisk-service/raw/de2ee1ac988ebd2fb150e637647640b25635c6d6/framework/dist/lisk-service-framework-1.6.15.tgz",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1",
"octokit": "^3.1.2",
Expand Down
Loading

0 comments on commit 98e0385

Please sign in to comment.