25 Commits
Author SHA1 Message Date
Jannik Hollenbach 8204a3998c Update all easily recognisable node.js native imports to be properly prefixed as recommended by node.js
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-31 21:41:59 +02:00
Jannik Hollenbach 233f315962 Update route exports and imports in server.ts
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-23 17:07:10 +01:00
Jannik Hollenbach f93f3af50e Move weird frisybc require/import mixture to proper imports
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 21:32:30 +01:00
Björn Kimminich 623fc01582 Update copyright to include 2025 2025-01-01 19:37:26 +01:00
Björn Kimminich 87beace18d Fix all restrict-plus-operands linting issues 2024-01-06 14:59:58 +01:00
Björn Kimminich 91bd1088ce Bump copyright to include year 2024 2023-12-24 09:07:52 +01:00
Björn Kimminich 4488721cf4 Tag all TypeScript issues as FIXMEs 2023-09-19 19:14:28 +02:00
Bjoern Kimminich 31eaaee031 Update ESLint to latest
(and apply rule changes to codebase)
2023-09-19 17:38:35 +02:00
Björn Kimminich ea1561243a Update and apply linting rules 2023-09-18 18:57:24 +02:00
Jannik Hollenbach 027d26b1b0 Explicitly import expect function to reduce number of typescript warnings 2023-07-26 20:12:27 +02:00
Jannik Hollenbach 2d614c2054 Fix chatbot api test issues 2023-05-06 18:23:24 +02:00
Jannik Hollenbach d90d0aa6ae Fix up config import 2023-05-06 18:23:24 +02:00
Bjoern Kimminich 948f22771c Bump copyright notes to include 2023 2022-12-26 00:32:14 +01:00
Jannik Hollenbach be9d61c814 await void is "voiding" the await...
This seems like a workaround to stop typescript from complaining?
await void returns immediately and the responses are therefore not properly awaited causing some assertions to be skipped completely

Changed it to use proper (awaitable) promises and trying to simplify the nested ones to be on one code level using async / await.

Signed-off-by: Jannik Hollenbach <[email protected]>
2022-10-26 21:18:18 +02:00
Jannik Hollenbach eca345c72a Add api test for chatbot crash
Signed-off-by: Jannik Hollenbach <[email protected]>
2022-10-26 21:00:14 +02:00
Bjoern Kimminich 0ba8cafe4f Fix or accept TypeScript issues with frisby.js and promises 2022-02-01 11:19:22 +01:00
Bjoern Kimminich 0679064108 Improve or deliberately ignore type safety 2022-01-13 00:12:48 +01:00
Bjoern Kimminich 91d5613116 Switch imports of config from RequireJS to ES5 style 2022-01-12 12:29:53 +01:00
Bjoern Kimminich ad770a9052 Improve type safety and promise handling 2022-01-10 18:00:19 +01:00
Bjoern Kimminich 05b0083aa3 Bump copyright notice to include 2022 2021-12-28 11:19:40 +01:00
Bjoern Kimminich 286d3f8d0f Mention OWASP contributors in all copyright notices 2021-09-20 16:58:57 +02:00
JuiceShopBot e48558994c Auto-fix linting issues
Signed-off-by: JuiceShopBot <[email protected]>
2021-08-02 20:51:51 +00:00
Bjoern Kimminich b1c4ed9d9b Fix eslint errors and un-ignore corresponding rules 2021-03-24 23:11:14 +01:00
Ziyang Li 541724036e Fix fixable linting warnings/errors with lint:fix
Signed-off-by: Ziyang Li <[email protected]>
2021-03-08 12:02:39 +01:00
Ziyang Li ca7152ef7e Migrate api tests (frisby) to TypeScript
Signed-off-by: Ziyang Li <[email protected]>
2021-03-08 12:02:37 +01:00