Compare commits

..

112 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
renovate[bot] f1edd2d533 chore: update github/codeql-action action to v3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 10:51:37 -05:00
renovate[bot] b646662ec1 chore: update github/codeql-action action to v2.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 11:56:54 -05:00
renovate[bot] b15547f4db chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 04:08:49 +00:00
renovate[bot] 22c5fdb3a8 chore: update dependency chai to ^4.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 18:15:53 +00:00
renovate[bot] 18d953b827 chore: update commitlint monorepo to ^18.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 18:09:57 +00:00
renovate[bot] e74ffaa1fa chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 04:11:30 +00:00
renovate[bot] e47bfb19ec chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 04:07:32 +00:00
renovate[bot] 7c837ea5fa chore: update dependency eslint to ^8.56.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 01:47:15 +00:00
renovate[bot] 9c3b982d00 chore: update actions/setup-node action to v4.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-22 21:38:38 +00:00
renovate[bot] 4251f52f68 chore: update github/codeql-action action to v2.22.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-22 19:50:01 +00:00
renovate[bot] e00dca1275 chore: update github/codeql-action action to v2.22.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 22:17:17 +00:00
renovate[bot] 989e2ddbfc chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 04:32:18 +00:00
dhmlau cf453e9ff9 5.0.5
* 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: lock file maintenance (renovate[bot])
 * 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])

Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
2023-12-07 14:00:26 -05:00
renovate[bot] 6a372c56ca chore: update github/codeql-action action to v2.22.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 09:26:34 -05:00
renovate[bot] 3311b40e33 chore: update step-security/harden-runner action to v2.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 09:26:26 -05:00
Rifa Achrinza 7a5e967bcf chore: add badges
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2023-12-07 09:21:50 -05:00
Rifa Achrinza 890e36040a ci: further harden workflows
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2023-12-07 09:21:50 -05:00
Rifa Achrinza b7de086111 ci: fix Scorecard issues
see: https://github.com/loopbackio/strong-error-handler/security/code-scanning/7
see: https://github.com/loopbackio/strong-error-handler/security/code-scanning/6
see: https://github.com/loopbackio/strong-error-handler/security/code-scanning/5
see: https://github.com/loopbackio/security/issues/27
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2023-12-07 09:21:50 -05:00
renovate[bot] f3646fb3d5 chore: update github/codeql-action action to v2.22.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 09:21:01 -05:00
renovate[bot] 28924785a9 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 04:17:07 +00:00
renovate[bot] ea3853e492 chore: update dependency eslint to ^8.55.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 00:20:50 +00:00
renovate[bot] 1504a8846b chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 04:33:07 +00:00
renovate[bot] 7e8f6712fa chore: update github/codeql-action action to v2.22.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-23 18:18:55 +00:00
renovate[bot] 912bdaef0a chore: update commitlint monorepo to ^18.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 06:11:34 +00:00
renovate[bot] 6eaa6fb478 chore: lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 04:23:34 +00:00
renovate[bot] b8507e4893 chore: update dependency eslint to ^8.54.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 03:03:46 +00:00
renovate[bot] 30d1d62537 chore: update step-security/harden-runner action to v2.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 04:28:49 +00:00
renovate[bot] 383b558613 chore: update commitlint monorepo to ^18.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 00:29:47 +00:00
renovate[bot] 8a94d76c74 chore: update github/codeql-action action to v2.22.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 23:21:37 +00:00
renovate[bot] c17845c365 chore: update github/codeql-action action to v2.22.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 23:39:45 +08:00
renovate[bot] f67f7b8986 chore: update commitlint monorepo
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 13:52:25 +00:00
8 changed files with 1556 additions and 1285 deletions

View File

@ -1,4 +1,4 @@
name: "CodeQL" name: CodeQL
on: on:
push: push:
@ -9,20 +9,37 @@ on:
schedule: schedule:
- cron: '0 13 * * 6' - cron: '0 13 * * 6'
permissions: {}
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
steps: steps:
- 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 - name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with: with:
languages: 'javascript' languages: javascript-typescript
config-file: ./.github/codeql/codeql-config.yml config-file: .github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6

View File

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

View File

@ -16,8 +16,6 @@ on:
- cron: '30 6 * * 5' - cron: '30 6 * * 5'
push: push:
branches: [master] branches: [master]
# Added for testing the workflow, as PR triggers are currently not supported by the OSSF Scorecard Action.
workflow_dispatch: {}
# Declare default permissions as read only. # Declare default permissions as read only.
# permissions: read-all # permissions: read-all
@ -34,16 +32,26 @@ jobs:
id-token: write id-token: write
steps: steps:
- uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0 - uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}
with: with:
disable-sudo: true disable-sudo: true
egress-policy: audit egress-policy: block
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 allowed-endpoints: >
api.github.com:443
api.osv.dev:443
api.securityscorecards.dev:443
fulcio.sigstore.dev:443
github.com:443
oss-fuzz-build-logs.storage.googleapis.com:443
rekor.sigstore.dev:443
tuf-repo-cdn.sigstore.dev:443
www.bestpractices.dev:443
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with: with:
persist-credentials: false persist-credentials: false
- uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 - uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with: with:
results_file: results.sarif results_file: results.sarif
results_format: sarif results_format: sarif
@ -58,13 +66,13 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab. # format to the repository Actions tab.
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with: with:
name: OSSF Scorecard SARIF file name: OSSF Scorecard SARIF file
path: results.sarif path: results.sarif
retention-days: 90 retention-days: 90
# Upload the results to GitHub's code scanning dashboard. # Upload the results to GitHub's code scanning dashboard.
- uses: github/codeql-action/upload-sarif@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5 - uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with: with:
sarif_file: results.sarif sarif_file: results.sarif

View File

@ -1,8 +1,72 @@
2023-11-13, Version 5.0.3 2024-02-12, Version 5.0.7
========================= =========================
* chore: lock file maintenance (renovate[bot]) * 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) * fix(cve-2023-29827): replace EJS with Handlebars to resolve security warning (KalleV)
* ci: align CI configuration (Rifa Achrinza) * ci: align CI configuration (Rifa Achrinza)

View File

@ -1,5 +1,10 @@
# strong-error-handler # strong-error-handler
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8058/badge)](https://www.bestpractices.dev/projects/8058)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/loopbackio/strong-error-handler/badge)](https://securityscorecards.dev/viewer/?uri=github.com/loopbackio/strong-error-handler)
[![Continuous Integration](https://github.com/loopbackio/strong-error-handler/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/loopbackio/strong-error-handler/actions/workflows/continuous-integration.yml)
[![CodeQL](https://github.com/loopbackio/strong-error-handler/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/loopbackio/strong-error-handler/actions/workflows/codeql-analysis.yml)
This package is an error handler for use in both development (debug) and production environments. This package is an error handler for use in both development (debug) and production environments.
In production mode, `strong-error-handler` omits details from error responses to prevent leaking sensitive information: In production mode, `strong-error-handler` omits details from error responses to prevent leaking sensitive information:

2652
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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