From 2e7d3d2d3e36f77a6b55cc4ca5257b2934e3b015 Mon Sep 17 00:00:00 2001 From: Joseph Kotanchik Date: Tue, 4 Jun 2024 15:58:15 -0400 Subject: [PATCH 1/2] MAT-6704: Override moment.js version --- package-lock.json | 14 +++++++------- package.json | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 80b779e16..7a1478031 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1283,9 +1283,9 @@ } }, "node_modules/moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", "engines": { "node": "*" } @@ -2488,7 +2488,7 @@ "requires": { "cqm-models": "4.1.3", "lodash": "^4.17.19", - "moment": "^2.29.4" + "moment": "2.30.1" } }, "cqm-models": { @@ -3165,9 +3165,9 @@ } }, "moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==" }, "mongodb": { "version": "3.7.4", diff --git a/package.json b/package.json index 4641d1b92..be9c924ef 100644 --- a/package.json +++ b/package.json @@ -110,5 +110,8 @@ "browserify": "^17.0.0", "cqm-execution": "4.1.4", "rxjs": "^7.1.0" + }, + "overrides": { + "moment": "2.30.1" } } From 85be6dcfd36f78e476d7ba4261b3d8cbc46732cd Mon Sep 17 00:00:00 2001 From: Joseph Kotanchik Date: Tue, 4 Jun 2024 16:21:01 -0400 Subject: [PATCH 2/2] Set codecov token var in GH Actions --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7277c32a..b1227fc31 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,8 +67,9 @@ jobs: with: file: coverage-frontend/default/lcov.info fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} -#--------Audit Job------------- + #--------Audit Job------------- audit: name: Build-and-Audit @@ -140,6 +141,7 @@ jobs: with: file: coverage/.resultset.json fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} - name: Setup Istanbul run: sudo npm install -g istanbul