Compare commits

..

81 Commits

Author SHA1 Message Date
renovate[bot] 7c19fbaea8 chore: update step-security/harden-runner action to v2.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 12:54:53 +00:00
renovate[bot] 2bb675062b chore: update github/codeql-action action to v3.25.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 04:41:01 +00:00
renovate[bot] 0767b3610b chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 12:08:56 +00:00
renovate[bot] 9bcfd79b9e chore: update dependency supertest to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 08:26:56 -04:00
renovate[bot] 7929859a61 chore: update actions/checkout action to v4.1.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 01:47:11 +00:00
renovate[bot] d339136c8d chore: update github/codeql-action action to v3.25.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 13:14:38 +00:00
renovate[bot] bc6ca060a1 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 05:06:15 +00:00
renovate[bot] 33dbd5fcc4 chore: update ossf/scorecard-action action to v2.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 01:44:12 +00:00
renovate[bot] 633482e152 chore: update dependency chai to ^5.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 16:12:35 +00:00
renovate[bot] 30a41bcb20 chore: update actions/checkout action to v4.1.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 01:14:28 +00:00
renovate[bot] a8305f85ba chore: update github/codeql-action action to v3.25.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 18:18:43 +00:00
renovate[bot] 1f7d29774e chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 04:55:58 +00:00
renovate[bot] 8c0ea62fa4 chore: update step-security/harden-runner action to v2.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 04:04:56 +00:00
renovate[bot] c474b4e9e4 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 03:01:04 +00:00
renovate[bot] 8d60f4a6e8 chore: update github/codeql-action action to v3.25.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 01:25:11 +00:00
renovate[bot] 29b4bc10d7 chore: update actions/checkout action to v4.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 11:00:43 -04:00
renovate[bot] 5102eb12b9 chore: update dependency @commitlint/cli to ^19.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 06:39:57 +00:00
renovate[bot] 38b9c32efa chore: update github/codeql-action action to v3.25.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 01:12:27 +00:00
renovate[bot] 8645450c59 chore: update actions/upload-artifact action to v4.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 22:49:30 +00:00
renovate[bot] 3b3fc3f369 chore: update actions/checkout action to v4.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 19:19:05 +00:00
renovate[bot] c927632878 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 04:12:13 +00:00
renovate[bot] 6a57fee349 chore: update actions/upload-artifact action to v4.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 18:29:51 +00:00
renovate[bot] 705880daee chore: update github/codeql-action action to v3.25.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 07:52:54 -04:00
renovate[bot] f4c8ed1e91 chore: update github/codeql-action action to v3.25.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 17:29:42 +00:00
renovate[bot] 09428e16b2 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 03:46:12 +00:00
renovate[bot] f5e6710068 chore: update commitlint monorepo to ^19.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-14 14:32:54 +00:00
renovate[bot] 0dcdfea860 chore: update github/codeql-action action to v3.24.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 06:58:02 +00:00
renovate[bot] 93d9a7837f chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 03:51:05 +00:00
renovate[bot] 8cbf36a67b chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 04:36:13 +00:00
renovate[bot] d06552cff6 chore: update dependency mocha to ^10.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 21:19:10 +00:00
renovate[bot] bfa045483c chore: update dependency express to ^4.19.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 19:58:11 +00:00
renovate[bot] 8b83de5d91 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 03:51:53 +00:00
renovate[bot] 67d9a8d2a4 chore: update github/codeql-action action to v3.24.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 16:13:37 +00:00
renovate[bot] bc3afea99a chore: update dependency express to ^4.19.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 04:40:53 +00:00
renovate[bot] 4b548b7938 chore: update dependency express to ^4.19.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 20:14:16 +00:00
renovate[bot] 23b55ae9c0 chore: update dependency @commitlint/cli to ^19.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 07:10:52 +00:00
renovate[bot] 9318735471 chore: update github/codeql-action action to v3.24.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 18:35:17 +00:00
renovate[bot] e6d467cfb4 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 04:50:42 +00:00
renovate[bot] 394755b079 chore: update dependency @commitlint/cli to ^19.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 08:07:50 +00:00
renovate[bot] b1b61523ef chore: update github/codeql-action action to v3.24.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 22:56:29 +00:00
renovate[bot] d9a42a356e chore: update commitlint monorepo to ^19.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 09:30:15 +00:00
renovate[bot] f11eb44efd chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 04:55:08 +00:00
renovate[bot] 318323ce91 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 03:04:02 +00:00
renovate[bot] 7c6fa43a68 chore: update dependency express to ^4.18.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 19:44:18 +00:00
renovate[bot] 0c17aba99b chore: update github/codeql-action action to v3.24.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 23:58:37 +08:00
renovate[bot] d518a53cd0 chore: update commitlint monorepo to ^19.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 16:08:27 +00:00
renovate[bot] c0056de2b4 chore: update dependency @commitlint/cli to ^19.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 17:54:32 +08:00
renovate[bot] fd41f4acb5 chore: update dependency @commitlint/cli to ^19.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 21:53:45 +00:00
renovate[bot] 5ecd258400 chore: update commitlint monorepo to v19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 22:00:59 +08:00
Rifa Achrinza 4528459de5 test: convert to ES Module
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2024-02-26 22:06:08 +08:00
renovate[bot] bb12eaf372 chore: update dependency chai to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 22:06:08 +08:00
renovate[bot] 2947b7a208 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 21:08:23 +08:00
renovate[bot] 1f4251aa30 chore: update dependency eslint to ^8.57.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 21:07:30 +08:00
Rifa Achrinza cf4e7ca20d ci: update CodeQL domain allowlist
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2024-02-26 21:05:10 +08:00
renovate[bot] ec298ee65f chore: update actions/upload-artifact action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 21:05:10 +08:00
renovate[bot] 878fe31741 chore: update github/codeql-action action to v3.24.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 19:41:39 +08:00
renovate[bot] 74c736d2fb chore: update dependency http-status to ^1.7.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 11:09:58 +00:00
renovate[bot] 6a438c5991 chore: update github/codeql-action action to v3.24.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 15:01:05 +00:00
renovate[bot] 01961ff8b9 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 00:24:09 +00:00
renovate[bot] ce3afb4f07 chore: update github/codeql-action action to v3.24.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 21:58:46 +00:00
renovate[bot] 4cc952248c chore: update dependency @commitlint/config-conventional to ^18.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:15:25 +00:00
renovate[bot] 3f74f15759 chore: update dependency lockfile-lint to ^4.13.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 16:39:37 +00:00
renovate[bot] f85813988c chore: update github/codeql-action action to v3.24.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 19:28:05 +00:00
renovate[bot] bc738c10b9 chore: update commitlint monorepo to ^18.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 13:37:43 +00:00
dhmlau 6fbfbff7b2 5.0.7
* chore: lock file maintenance (renovate[bot])
 * chore: update dependency lockfile-lint to ^4.13.1 (renovate[bot])
 * chore: update dependency lockfile-lint to ^4.13.0 (renovate[bot])
 * chore: update dependency mocha to ^10.3.0 (renovate[bot])
 * chore: update actions/setup-node action to v4.0.2 (renovate[bot])
 * chore: update step-security/harden-runner action to v2.7.0 (renovate[bot])
 * chore: update github/codeql-action action to v3.24.0 (renovate[bot])
 * chore: update github/codeql-action action to v3.23.2 (renovate[bot])
 * chore: update commitlint monorepo to ^18.6.0 (renovate[bot])
 * chore: update github/codeql-action action to v3.23.1 (renovate[bot])
 * chore: update dependency supertest to ^6.3.4 (renovate[bot])
 * chore: update dependency chai to ^4.4.1 (renovate[bot])
 * chore: update github/codeql-action action to v3 (renovate[bot])
 * chore: update github/codeql-action action to v2.23.0 (renovate[bot])
 * chore: update dependency chai to ^4.4.0 (renovate[bot])
 * chore: update commitlint monorepo to ^18.4.4 (renovate[bot])
 * chore: update dependency eslint to ^8.56.0 (renovate[bot])
 * chore: update actions/setup-node action to v4.0.1 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.12 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.10 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.9 (renovate[bot])
 * chore: update step-security/harden-runner action to v2.6.1 (renovate[bot])
 * chore: add badges (Rifa Achrinza)
 * ci: further harden workflows (Rifa Achrinza)
 * ci: fix Scorecard issues (Rifa Achrinza)
 * chore: update dependency eslint to ^8.55.0 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.8 (renovate[bot])
 * chore: update commitlint monorepo to ^18.4.3 (renovate[bot])
 * chore: update dependency eslint to ^8.54.0 (renovate[bot])
 * chore: update commitlint monorepo to ^18.4.2 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.7 (renovate[bot])
 * chore: update github/codeql-action action to v2.22.6 (renovate[bot])
 * chore: update commitlint monorepo (renovate[bot])
 * fix(cve-2023-29827): replace EJS with Handlebars to resolve security warning (KalleV)
 * ci: align CI configuration (Rifa Achrinza)
 * chore: update dependency @types/express to ^4.17.21 (renovate[bot])
 * chore: update dependency eslint to ^8.53.0 (renovate[bot])
 * chore: update dependency @commitlint/config-conventional to ^18.1.0 (renovate[bot])
 * chore: update dependency @commitlint/config-conventional to v18 (renovate[bot])
 * chore: update dependency eslint to ^8.52.0 (renovate[bot])
 * chore: update dependency @commitlint/config-conventional to ^17.8.1 (renovate[bot])
 * chore: update dependency @types/express to ^4.17.20 (renovate[bot])
 * chore: update dependency http-status to ^1.7.3 (renovate[bot])
2024-02-12 10:13:46 -05:00
renovate[bot] 28b3d3c04a chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 03:56:26 +00:00
renovate[bot] 9fdb0f5f9a chore: update dependency lockfile-lint to ^4.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 18:10:50 +00:00
renovate[bot] 5087c61731 chore: update dependency lockfile-lint to ^4.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 13:10:40 +00:00
renovate[bot] 1bb673d12d chore: update dependency mocha to ^10.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 19:37:13 +00:00
renovate[bot] 5c377a9be4 chore: update actions/setup-node action to v4.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 10:25:14 +00:00
renovate[bot] 0f128c176a chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 03:06:13 +00:00
renovate[bot] 5676cc878a chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-03 07:21:33 +00:00
renovate[bot] b1bd209730 chore: update step-security/harden-runner action to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-03 04:08:55 +00:00
renovate[bot] ed4b1d3a64 chore: update github/codeql-action action to v3.24.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 21:23:38 +00:00
renovate[bot] b82bdb5093 chore: update github/codeql-action action to v3.23.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 20:41:03 +00:00
renovate[bot] a9497a4140 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 14:30:20 -05:00
renovate[bot] 0d81f5453a chore: update commitlint monorepo to ^18.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 17:30:25 +00:00
renovate[bot] 62d22a7a24 chore: update github/codeql-action action to v3.23.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:27:49 +00:00
renovate[bot] 83032fedf9 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 20:30:46 -05:00
renovate[bot] c1569e0c2e chore: update dependency supertest to ^6.3.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 21:23:16 +00:00
renovate[bot] d40e286dfd chore: update dependency chai to ^4.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 18:58:27 +00:00
7 changed files with 1464 additions and 1224 deletions

View File

@ -20,25 +20,26 @@ jobs:
actions: read
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with:
languages: javascript-typescript
config-file: .github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6

View File

@ -31,7 +31,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
disable-sudo: true
@ -41,11 +41,11 @@ jobs:
github.com:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: npm
@ -59,7 +59,7 @@ jobs:
name: Code Lint
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
disable-sudo: true
egress-policy: block
@ -68,11 +68,11 @@ jobs:
github.com:443
nodejs.org:443
registry.npmjs.org:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: 'npm'
@ -89,19 +89,19 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request }}
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
registry.npmjs.org:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: npm
@ -125,18 +125,18 @@ jobs:
name: Lockfile Lint
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
registry.npmjs.org:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: npm

View File

@ -32,7 +32,7 @@ jobs:
id-token: write
steps:
- uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
disable-sudo: true
@ -47,11 +47,11 @@ jobs:
rekor.sigstore.dev:443
tuf-repo-cdn.sigstore.dev:443
www.bestpractices.dev:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
- uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with:
results_file: results.sarif
results_format: sarif
@ -66,13 +66,13 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: OSSF Scorecard SARIF file
path: results.sarif
retention-days: 90
# Upload the results to GitHub's code scanning dashboard.
- uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with:
sarif_file: results.sarif

View File

@ -1,12 +1,34 @@
2024-01-09, Version 5.0.6
2024-02-12, Version 5.0.7
=========================
* chore: lock file maintenance (renovate[bot])
* chore: update dependency lockfile-lint to ^4.13.1 (renovate[bot])
* chore: update dependency lockfile-lint to ^4.13.0 (renovate[bot])
* chore: update dependency mocha to ^10.3.0 (renovate[bot])
* chore: update actions/setup-node action to v4.0.2 (renovate[bot])
* chore: update step-security/harden-runner action to v2.7.0 (renovate[bot])
* chore: update github/codeql-action action to v3.24.0 (renovate[bot])
* chore: update github/codeql-action action to v3.23.2 (renovate[bot])
* chore: update commitlint monorepo to ^18.6.0 (renovate[bot])
* chore: update github/codeql-action action to v3.23.1 (renovate[bot])
* chore: update dependency supertest to ^6.3.4 (renovate[bot])
* chore: update dependency chai to ^4.4.1 (renovate[bot])
* chore: update github/codeql-action action to v3 (renovate[bot])
* chore: update github/codeql-action action to v2.23.0 (renovate[bot])
* chore: lock file maintenance (renovate[bot])
* chore: update dependency chai to ^4.4.0 (renovate[bot])
* chore: update commitlint monorepo to ^18.4.4 (renovate[bot])

2576
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "strong-error-handler",
"description": "Error handler for use in development and production environments.",
"license": "MIT",
"version": "5.0.6",
"version": "5.0.7",
"engines": {
"node": ">=16"
},
@ -21,21 +21,21 @@
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"handlebars": "^4.7.8",
"http-status": "^1.7.3",
"http-status": "^1.7.4",
"js2xmlparser": "^5.0.0",
"strong-globalize": "^6.0.6"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/express": "^4.17.21",
"chai": "^4.4.0",
"eslint": "^8.56.0",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"eslint-config-loopback": "^13.1.0",
"express": "^4.18.2",
"lockfile-lint": "^4.12.1",
"mocha": "^10.2.0",
"supertest": "^6.3.3"
"express": "^4.19.2",
"lockfile-lint": "^4.13.2",
"mocha": "^10.4.0",
"supertest": "^7.0.0"
},
"browser": {
"strong-error-handler": false

View File

@ -5,13 +5,15 @@
'use strict';
const cloneAllProperties = require('../lib/clone.js');
const debug = require('debug')('test');
const expect = require('chai').expect;
const express = require('express');
const strongErrorHandler = require('..');
const supertest = require('supertest');
const util = require('util');
import cloneAllProperties from '../lib/clone.js';
import debugFactory from 'debug';
import express from 'express';
import strongErrorHandler from '../lib/handler.js';
import supertest from 'supertest';
import util from 'node:util';
import {expect} from 'chai';
const debug = debugFactory('test');
describe('strong-error-handler', function() {
before(setupHttpServerAndClient);
@ -137,8 +139,7 @@ describe('strong-error-handler', function() {
// the error name & message
expect(msg).to.contain('TypeError: ERROR-NAME');
// the stack
expect(msg).to.contain(__filename);
expect(msg).to.contain(import.meta.url);
done();
});
});
@ -161,7 +162,7 @@ describe('strong-error-handler', function() {
expect(msg).to.contain('TypeError: ERR1');
expect(msg).to.contain('Error: ERR2');
// verify that stacks are included too
expect(msg).to.contain(__filename);
expect(msg).to.contain(import.meta.url);
done();
});