From fde0ec470a3d1113b29ecf0a9f5364287991ecb1 Mon Sep 17 00:00:00 2001 From: Paolo Miguel de Leon Date: Wed, 2 Nov 2022 10:37:32 +0800 Subject: [PATCH 1/4] build: update actions to use node16 --- .github/workflows/android-custom-build.yml | 8 ++++---- .github/workflows/android.yml | 8 ++++---- .github/workflows/sonar.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android-custom-build.yml b/.github/workflows/android-custom-build.yml index 71d51de2f3..9d8b25d98c 100644 --- a/.github/workflows/android-custom-build.yml +++ b/.github/workflows/android-custom-build.yml @@ -16,17 +16,17 @@ jobs: build-android: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.5.0 # Cache stuff for faster build - name: Cache local npm repository - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} path: ~/.npm - name: Cache local gradle repository - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} path: | @@ -48,7 +48,7 @@ jobs: MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrl }} FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.1 with: name: apk-output path: android/app/build/outputs/apk/newlogic/release/ diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c4f4c54a8d..c1deebe263 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,17 +14,17 @@ jobs: build-android: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.5.0 # Cache stuff for faster build - name: Cache local npm repository - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} path: ~/.npm - name: Cache local gradle repository - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} path: | @@ -45,7 +45,7 @@ jobs: env: FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.1 with: name: output path: android/app/build/outputs/apk/newlogic/release/ diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 03566bf646..9bb6d31c10 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -8,7 +8,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.5.0 with: fetch-depth: 0 - name: Install npm dependencies From 1b7c28f7840158233b225327798ef737e3cf2c5b Mon Sep 17 00:00:00 2001 From: Paolo Miguel de Leon Date: Wed, 2 Nov 2022 10:38:14 +0800 Subject: [PATCH 2/4] chore(deps): npm audit fix --- package-lock.json | 244 +++++++++++++++++++++++++++++----------------- package.json | 4 +- 2 files changed, 156 insertions(+), 92 deletions(-) diff --git a/package-lock.json b/package-lock.json index bd7573d2ba..2b8da52edf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5170,12 +5170,12 @@ "integrity": "sha512-0jbp4RxjYopTsIdLl+/Fy2TiwVYHy4mgeu07DG4b/LyM0OS/+lPP5c9sbnt/AMlnF6qz2JRZpPpGw1eMNS6A4w==" }, "node_modules/@react-navigation/bottom-tabs": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.3.1.tgz", - "integrity": "sha512-sL9F4WMhhR6I9bE7bpsPVHnK1cN9doaFHAuy5YmD+Sw6OyO0TAmNgQFx4xZWqboA5ZwSkN0tWcRCr6wGXaRRag==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.4.0.tgz", + "integrity": "sha512-90CapiXjiWudbCiki9e6fOr/CECQRguIxv5OD7IBfbAMGX5GGiJpX8aqiHAz2DxpAz31v4JZcUr945+lFhXBfA==", "dependencies": { - "@react-navigation/elements": "^1.3.3", - "color": "^3.1.3", + "@react-navigation/elements": "^1.3.6", + "color": "^4.2.3", "warn-once": "^0.1.0" }, "peerDependencies": { @@ -5186,25 +5186,54 @@ "react-native-screens": ">= 3.0.0" } }, + "node_modules/@react-navigation/bottom-tabs/node_modules/color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "dependencies": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + }, + "engines": { + "node": ">=12.5.0" + } + }, + "node_modules/@react-navigation/bottom-tabs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@react-navigation/bottom-tabs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, "node_modules/@react-navigation/core": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.2.1.tgz", - "integrity": "sha512-3mjS6ujwGnPA/BC11DN9c2c42gFld6B6dQBgDedxP2djceXESpY2kVTTwISDHuqFnF7WjvRjsrDu3cKBX+JosA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.4.0.tgz", + "integrity": "sha512-tpc0Ak/DiHfU3LlYaRmIY7vI4sM/Ru0xCet6runLUh9aABf4wiLgxyFJ5BtoWq6xFF8ymYEA/KWtDhetQ24YiA==", "dependencies": { - "@react-navigation/routers": "^6.1.0", + "@react-navigation/routers": "^6.1.3", "escape-string-regexp": "^4.0.0", "nanoid": "^3.1.23", "query-string": "^7.0.0", - "react-is": "^16.13.0" + "react-is": "^16.13.0", + "use-latest-callback": "^0.1.5" }, "peerDependencies": { "react": "*" } }, "node_modules/@react-navigation/elements": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.3.tgz", - "integrity": "sha512-Lv2lR7si5gNME8dRsqz57d54m4FJtrwHRjNQLOyQO546ZxO+g864cSvoLC6hQedQU0+IJnPTsZiEI2hHqfpEpw==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.6.tgz", + "integrity": "sha512-pNJ8R9JMga6SXOw6wGVN0tjmE6vegwPmJBL45SEMX2fqTfAk2ykDnlJHodRpHpAgsv0DaI8qX76z3A+aqKSU0w==", "peerDependencies": { "@react-navigation/native": "^6.0.0", "react": "*", @@ -5213,11 +5242,11 @@ } }, "node_modules/@react-navigation/native": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.10.tgz", - "integrity": "sha512-H6QhLeiieGxNcAJismIDXIPZgf1myr7Og8v116tezIGmincJTOcWavTd7lPHGnMMXaZg94LlVtbaBRIx9cexqw==", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.13.tgz", + "integrity": "sha512-CwaJcAGbhv3p3ECablxBkw8QBCGDWXqVRwQ4QbelajNW623m3sNTC9dOF6kjp8au6Rg9B5e0KmeuY0xWbPk79A==", "dependencies": { - "@react-navigation/core": "^6.2.1", + "@react-navigation/core": "^6.4.0", "escape-string-regexp": "^4.0.0", "fast-deep-equal": "^3.1.3", "nanoid": "^3.1.23" @@ -5228,11 +5257,11 @@ } }, "node_modules/@react-navigation/native-stack": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.6.1.tgz", - "integrity": "sha512-JQfM3VWTH241ZQhp+UDJ6dZ/WiKJpGxNO4NFNW9AT+D1mxA3GFC3BBiGZfacPrtMOlLmn9FHf0Kh5rD9JYlvhg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.9.1.tgz", + "integrity": "sha512-aOuJP97ge6NRz8wH6sDKfLTfdygGmraYh0apKrrVbGvMnflbPX4kpjQiAQcUPUpMeas0betH/Su8QubNL8HEkg==", "dependencies": { - "@react-navigation/elements": "^1.3.3", + "@react-navigation/elements": "^1.3.6", "warn-once": "^0.1.0" }, "peerDependencies": { @@ -5244,9 +5273,9 @@ } }, "node_modules/@react-navigation/routers": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.0.tgz", - "integrity": "sha512-8xJL+djIzpFdRW/sGlKojQ06fWgFk1c5jER9501HYJ12LF5DIJFr/tqBI2TJ6bk+y+QFu0nbNyeRC80OjRlmkA==", + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.3.tgz", + "integrity": "sha512-idJotMEzHc3haWsCh7EvnnZMKxvaS4YF/x2UyFBkNFiEFUaEo/1ioQU6qqmVLspdEv4bI/dLm97hQo7qD8Yl7Q==", "dependencies": { "nanoid": "^3.1.23" } @@ -6003,9 +6032,9 @@ } }, "node_modules/@xmldom/xmldom": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz", - "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==", + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.8.tgz", + "integrity": "sha512-PrJx38EfpitFhwmILRl37jAdBlsww6AZ6rRVK4QS7T7RHLhX7mSs647sTmgr9GIxe3qjXdesmomEgbgaokrVFg==", "engines": { "node": ">=10.0.0" } @@ -12960,7 +12989,7 @@ "node_modules/filter-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", - "integrity": "sha1-mzERErxsYSehbgFsbF1/GeCAXFs=", + "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", "engines": { "node": ">=0.10.0" } @@ -15499,7 +15528,7 @@ "node_modules/isomorphic-webcrypto/node_modules/react-native-securerandom": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-0.1.1.tgz", - "integrity": "sha1-8TBiOkEsM4sK+t7bwgTFy7i/IHA=", + "integrity": "sha512-CozcCx0lpBLevxiXEb86kwLRalBCHNjiGPlw3P7Fi27U6ZLdfjOCNRHD1LtBKcvPvI3TvkBXB3GOtLvqaYJLGw==", "optional": true, "dependencies": { "base64-js": "*" @@ -17854,9 +17883,9 @@ "optional": true }, "node_modules/nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -21028,9 +21057,9 @@ } }, "node_modules/react-native-bluetooth-state-manager": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/react-native-bluetooth-state-manager/-/react-native-bluetooth-state-manager-1.3.3.tgz", - "integrity": "sha512-hE4oG6/jFFIQMz9p0gitV90k61MAddJ0Ri86x9BvytMbdfreeeOU29eJwJWrM+PsNJWUH0w7ycbisj9i4RXp0A==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/react-native-bluetooth-state-manager/-/react-native-bluetooth-state-manager-1.3.4.tgz", + "integrity": "sha512-aPSoNYoz1lRC5UorRajzAzME8UUanrEIIbvzdnPFrMDrKiJNCdjwcsyEZlNBKPdDAUrSSWyGaCZ4jHVGnd4bwA==", "peerDependencies": { "prop-types": "*", "react-native": ">= 0.44" @@ -21047,9 +21076,9 @@ } }, "node_modules/react-native-device-info": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-8.7.0.tgz", - "integrity": "sha512-Zr0JNHSEPy2RWObWwUp9npTEWSG5HyY+nR/mRkf6ZTU5zd8oskarnPcCxAgwYhJbvshHSZbZIDRxCVCskXSpEA==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-8.7.1.tgz", + "integrity": "sha512-cVMZztFa2Qn6qpQa601W61CtUwZQ1KXfqCOeltejAWEXmgIWivC692WGSdtGudj4upSi1UgMSaGcvKjfcpdGjg==", "peerDependencies": { "react-native": "*" } @@ -21117,9 +21146,9 @@ } }, "node_modules/react-native-permissions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.6.0.tgz", - "integrity": "sha512-aiancYU5eAC3lCtdAFNz/8OQAShAXSgFJAcNrsspXiMulL4zjClIa52uWMi5NTU4skU0KoWG5rCfqjxWAkJL8w==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.6.1.tgz", + "integrity": "sha512-fzPpPQXeD34inUccqtoResSwYubfrwUguP4qrVUUv8+KSMjYSaHGoS5HaIJLZHlN9gO+TvLJZ2L5ZljTsb6qnQ==", "peerDependencies": { "react": ">=16.13.1", "react-native": ">=0.63.3", @@ -21189,9 +21218,9 @@ } }, "node_modules/react-native-securerandom": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-1.0.0.tgz", - "integrity": "sha512-lnhcsWloFzMN/HffyDBlh4VlqdhDH8uxEzUIH3aJPgC1PxV6OKZkvAk409EwsAhcmG/z3yZuVKegKpUr5IM9ug==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-1.0.1.tgz", + "integrity": "sha512-ibuDnd3xi17HyD5CkilOXGPFpS9Z1oifjyHFwUl8NMzcQcpruM0ZX8ytr3A4rCeAsaBHjz69r78Xgd6vUswv1Q==", "dependencies": { "base64-js": "*" }, @@ -23543,7 +23572,7 @@ "node_modules/strict-uri-encode": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", - "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=", + "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==", "engines": { "node": ">=4" } @@ -24990,6 +25019,11 @@ } } }, + "node_modules/use-latest-callback": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.5.tgz", + "integrity": "sha512-HtHatS2U4/h32NlkhupDsPlrbiD27gSH5swBdtXbCAlc6pfOFzaj0FehW/FO12rx8j2Vy4/lJScCiJyM01E+bQ==" + }, "node_modules/use-subscription": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.6.0.tgz", @@ -31271,57 +31305,82 @@ "integrity": "sha512-0jbp4RxjYopTsIdLl+/Fy2TiwVYHy4mgeu07DG4b/LyM0OS/+lPP5c9sbnt/AMlnF6qz2JRZpPpGw1eMNS6A4w==" }, "@react-navigation/bottom-tabs": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.3.1.tgz", - "integrity": "sha512-sL9F4WMhhR6I9bE7bpsPVHnK1cN9doaFHAuy5YmD+Sw6OyO0TAmNgQFx4xZWqboA5ZwSkN0tWcRCr6wGXaRRag==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.4.0.tgz", + "integrity": "sha512-90CapiXjiWudbCiki9e6fOr/CECQRguIxv5OD7IBfbAMGX5GGiJpX8aqiHAz2DxpAz31v4JZcUr945+lFhXBfA==", "requires": { - "@react-navigation/elements": "^1.3.3", - "color": "^3.1.3", + "@react-navigation/elements": "^1.3.6", + "color": "^4.2.3", "warn-once": "^0.1.0" + }, + "dependencies": { + "color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "requires": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } } }, "@react-navigation/core": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.2.1.tgz", - "integrity": "sha512-3mjS6ujwGnPA/BC11DN9c2c42gFld6B6dQBgDedxP2djceXESpY2kVTTwISDHuqFnF7WjvRjsrDu3cKBX+JosA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.4.0.tgz", + "integrity": "sha512-tpc0Ak/DiHfU3LlYaRmIY7vI4sM/Ru0xCet6runLUh9aABf4wiLgxyFJ5BtoWq6xFF8ymYEA/KWtDhetQ24YiA==", "requires": { - "@react-navigation/routers": "^6.1.0", + "@react-navigation/routers": "^6.1.3", "escape-string-regexp": "^4.0.0", "nanoid": "^3.1.23", "query-string": "^7.0.0", - "react-is": "^16.13.0" + "react-is": "^16.13.0", + "use-latest-callback": "^0.1.5" } }, "@react-navigation/elements": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.3.tgz", - "integrity": "sha512-Lv2lR7si5gNME8dRsqz57d54m4FJtrwHRjNQLOyQO546ZxO+g864cSvoLC6hQedQU0+IJnPTsZiEI2hHqfpEpw==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.6.tgz", + "integrity": "sha512-pNJ8R9JMga6SXOw6wGVN0tjmE6vegwPmJBL45SEMX2fqTfAk2ykDnlJHodRpHpAgsv0DaI8qX76z3A+aqKSU0w==", "requires": {} }, "@react-navigation/native": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.10.tgz", - "integrity": "sha512-H6QhLeiieGxNcAJismIDXIPZgf1myr7Og8v116tezIGmincJTOcWavTd7lPHGnMMXaZg94LlVtbaBRIx9cexqw==", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.0.13.tgz", + "integrity": "sha512-CwaJcAGbhv3p3ECablxBkw8QBCGDWXqVRwQ4QbelajNW623m3sNTC9dOF6kjp8au6Rg9B5e0KmeuY0xWbPk79A==", "requires": { - "@react-navigation/core": "^6.2.1", + "@react-navigation/core": "^6.4.0", "escape-string-regexp": "^4.0.0", "fast-deep-equal": "^3.1.3", "nanoid": "^3.1.23" } }, "@react-navigation/native-stack": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.6.1.tgz", - "integrity": "sha512-JQfM3VWTH241ZQhp+UDJ6dZ/WiKJpGxNO4NFNW9AT+D1mxA3GFC3BBiGZfacPrtMOlLmn9FHf0Kh5rD9JYlvhg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.9.1.tgz", + "integrity": "sha512-aOuJP97ge6NRz8wH6sDKfLTfdygGmraYh0apKrrVbGvMnflbPX4kpjQiAQcUPUpMeas0betH/Su8QubNL8HEkg==", "requires": { - "@react-navigation/elements": "^1.3.3", + "@react-navigation/elements": "^1.3.6", "warn-once": "^0.1.0" } }, "@react-navigation/routers": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.0.tgz", - "integrity": "sha512-8xJL+djIzpFdRW/sGlKojQ06fWgFk1c5jER9501HYJ12LF5DIJFr/tqBI2TJ6bk+y+QFu0nbNyeRC80OjRlmkA==", + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.3.tgz", + "integrity": "sha512-idJotMEzHc3haWsCh7EvnnZMKxvaS4YF/x2UyFBkNFiEFUaEo/1ioQU6qqmVLspdEv4bI/dLm97hQo7qD8Yl7Q==", "requires": { "nanoid": "^3.1.23" } @@ -31969,9 +32028,9 @@ } }, "@xmldom/xmldom": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz", - "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==" + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.8.tgz", + "integrity": "sha512-PrJx38EfpitFhwmILRl37jAdBlsww6AZ6rRVK4QS7T7RHLhX7mSs647sTmgr9GIxe3qjXdesmomEgbgaokrVFg==" }, "@xstate/react": { "version": "2.0.1", @@ -37519,7 +37578,7 @@ "filter-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", - "integrity": "sha1-mzERErxsYSehbgFsbF1/GeCAXFs=" + "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==" }, "finalhandler": { "version": "1.1.2", @@ -39465,7 +39524,7 @@ "react-native-securerandom": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-0.1.1.tgz", - "integrity": "sha1-8TBiOkEsM4sK+t7bwgTFy7i/IHA=", + "integrity": "sha512-CozcCx0lpBLevxiXEb86kwLRalBCHNjiGPlw3P7Fi27U6ZLdfjOCNRHD1LtBKcvPvI3TvkBXB3GOtLvqaYJLGw==", "optional": true, "requires": { "base64-js": "*" @@ -41357,9 +41416,9 @@ "optional": true }, "nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==" + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" }, "nanomatch": { "version": "1.2.13", @@ -43904,9 +43963,9 @@ "requires": {} }, "react-native-bluetooth-state-manager": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/react-native-bluetooth-state-manager/-/react-native-bluetooth-state-manager-1.3.3.tgz", - "integrity": "sha512-hE4oG6/jFFIQMz9p0gitV90k61MAddJ0Ri86x9BvytMbdfreeeOU29eJwJWrM+PsNJWUH0w7ycbisj9i4RXp0A==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/react-native-bluetooth-state-manager/-/react-native-bluetooth-state-manager-1.3.4.tgz", + "integrity": "sha512-aPSoNYoz1lRC5UorRajzAzME8UUanrEIIbvzdnPFrMDrKiJNCdjwcsyEZlNBKPdDAUrSSWyGaCZ4jHVGnd4bwA==", "requires": {} }, "react-native-codegen": { @@ -43920,9 +43979,9 @@ } }, "react-native-device-info": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-8.7.0.tgz", - "integrity": "sha512-Zr0JNHSEPy2RWObWwUp9npTEWSG5HyY+nR/mRkf6ZTU5zd8oskarnPcCxAgwYhJbvshHSZbZIDRxCVCskXSpEA==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-8.7.1.tgz", + "integrity": "sha512-cVMZztFa2Qn6qpQa601W61CtUwZQ1KXfqCOeltejAWEXmgIWivC692WGSdtGudj4upSi1UgMSaGcvKjfcpdGjg==", "requires": {} }, "react-native-dotenv": { @@ -43979,9 +44038,9 @@ "requires": {} }, "react-native-permissions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.6.0.tgz", - "integrity": "sha512-aiancYU5eAC3lCtdAFNz/8OQAShAXSgFJAcNrsspXiMulL4zjClIa52uWMi5NTU4skU0KoWG5rCfqjxWAkJL8w==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.6.1.tgz", + "integrity": "sha512-fzPpPQXeD34inUccqtoResSwYubfrwUguP4qrVUUv8+KSMjYSaHGoS5HaIJLZHlN9gO+TvLJZ2L5ZljTsb6qnQ==", "requires": {} }, "react-native-popable": { @@ -44023,9 +44082,9 @@ } }, "react-native-securerandom": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-1.0.0.tgz", - "integrity": "sha512-lnhcsWloFzMN/HffyDBlh4VlqdhDH8uxEzUIH3aJPgC1PxV6OKZkvAk409EwsAhcmG/z3yZuVKegKpUr5IM9ug==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/react-native-securerandom/-/react-native-securerandom-1.0.1.tgz", + "integrity": "sha512-ibuDnd3xi17HyD5CkilOXGPFpS9Z1oifjyHFwUl8NMzcQcpruM0ZX8ytr3A4rCeAsaBHjz69r78Xgd6vUswv1Q==", "requires": { "base64-js": "*" } @@ -45912,7 +45971,7 @@ "strict-uri-encode": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", - "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=" + "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==" }, "string_decoder": { "version": "1.1.1", @@ -47013,6 +47072,11 @@ "integrity": "sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==", "requires": {} }, + "use-latest-callback": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.5.tgz", + "integrity": "sha512-HtHatS2U4/h32NlkhupDsPlrbiD27gSH5swBdtXbCAlc6pfOFzaj0FehW/FO12rx8j2Vy4/lJScCiJyM01E+bQ==" + }, "use-subscription": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.6.0.tgz", diff --git a/package.json b/package.json index a11e0d8ddb..c2c9425642 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "*.strings.json": "node scripts/compile-strings.js" }, "overrides": { - "react": "$react", - "react-native": "$react-native" + "react": "17.0.1", + "react-native": "0.64.3" } } \ No newline at end of file From 38379697bb0563fa15dbef8dc23697ceccf97b74 Mon Sep 17 00:00:00 2001 From: Paolo Miguel de Leon Date: Fri, 4 Nov 2022 13:50:16 +0800 Subject: [PATCH 3/4] build: update actions version --- .github/workflows/android-custom-build.yml | 2 +- .github/workflows/android.yml | 2 +- .github/workflows/sonar.yml | 2 +- .github/workflows/tag.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android-custom-build.yml b/.github/workflows/android-custom-build.yml index 9d8b25d98c..8e6ca984d4 100644 --- a/.github/workflows/android-custom-build.yml +++ b/.github/workflows/android-custom-build.yml @@ -16,7 +16,7 @@ jobs: build-android: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.5.0 + - uses: actions/checkout@v3.1.0 # Cache stuff for faster build - name: Cache local npm repository diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c1deebe263..931e9d3a81 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,7 +14,7 @@ jobs: build-android: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.5.0 + - uses: actions/checkout@v3.1.0 # Cache stuff for faster build - name: Cache local npm repository diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 9bb6d31c10..1e539daf0f 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -8,7 +8,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.5.0 + - uses: actions/checkout@v3.1.0 with: fetch-depth: 0 - name: Install npm dependencies diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index e9bba0e65a..c216c4b235 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Create Release id: create_release uses: actions/create-release@v1 From dae5117ec6e9cb79e19a519864a44d987cdb9ac6 Mon Sep 17 00:00:00 2001 From: Paolo Miguel de Leon Date: Mon, 7 Nov 2022 12:52:21 +0800 Subject: [PATCH 4/4] build: update React Native version --- package-lock.json | 14 +++++++------- package.json | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b8da52edf..1ad0769118 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "mosip-inji-face-sdk": "^0.1.1", "react": "17.0.1", "react-i18next": "^11.16.6", - "react-native": "0.64.3", + "react-native": "0.64.4", "react-native-app-intro-slider": "^4.0.4", "react-native-biometrics-changed": "^1.1.8", "react-native-bluetooth-state-manager": "^1.3.2", @@ -20994,9 +20994,9 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/react-native": { - "version": "0.64.3", - "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.64.3.tgz", - "integrity": "sha512-2OEU74U0Ek1/WeBzPbg6XDsCfjF/9fhrNX/5TFgEiBKd5mNc9LOZ/OlMmkb7iues/ZZ/oc51SbEfLRQdcW0fVw==", + "version": "0.64.4", + "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.64.4.tgz", + "integrity": "sha512-nxYt/NrTmGyW6+tOd+Hqp4O8uJ2LLZkN7ispMPDprAq7bwvLkF/GXmDQCZHAEyqXuhIztTtMX41KqFQ6UMCUJQ==", "dependencies": { "@jest/create-cache-key-function": "^26.5.0", "@react-native-community/cli": "^5.0.1-alpha.1", @@ -43890,9 +43890,9 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "react-native": { - "version": "0.64.3", - "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.64.3.tgz", - "integrity": "sha512-2OEU74U0Ek1/WeBzPbg6XDsCfjF/9fhrNX/5TFgEiBKd5mNc9LOZ/OlMmkb7iues/ZZ/oc51SbEfLRQdcW0fVw==", + "version": "0.64.4", + "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.64.4.tgz", + "integrity": "sha512-nxYt/NrTmGyW6+tOd+Hqp4O8uJ2LLZkN7ispMPDprAq7bwvLkF/GXmDQCZHAEyqXuhIztTtMX41KqFQ6UMCUJQ==", "requires": { "@jest/create-cache-key-function": "^26.5.0", "@react-native-community/cli": "^5.0.1-alpha.1", diff --git a/package.json b/package.json index c2c9425642..390c044a7d 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "mosip-inji-face-sdk": "^0.1.1", "react": "17.0.1", "react-i18next": "^11.16.6", - "react-native": "0.64.3", + "react-native": "0.64.4", "react-native-app-intro-slider": "^4.0.4", "react-native-biometrics-changed": "^1.1.8", "react-native-bluetooth-state-manager": "^1.3.2", @@ -97,6 +97,6 @@ }, "overrides": { "react": "17.0.1", - "react-native": "0.64.3" + "react-native": "0.64.4" } } \ No newline at end of file