445 Commits
Author SHA1 Message Date
JuiceShopBot 9494efca0b Auto-fix linting issues
Signed-off-by: JuiceShopBot <[email protected]>
2025-08-08 22:49:53 +00:00
Björn Kimminich 4bca8f44bd Add missing inserted hint parameters 2025-08-09 00:45:31 +02:00
Bjoern Kimminich a33c68df37 Add support for Node.js 24.x 2025-06-19 16:13:12 +02:00
Bjoern Kimminich bd256f19fd Fix version range expectation 2025-04-28 15:35:32 +02:00
Bjoern Kimminich 05c6a9e10b Remove Node.js 23 support for now 2025-04-28 14:43:15 +02:00
Bjoern Kimminich 8900106b7a Set Node.js support to 20-23 2025-04-28 14:00:38 +02:00
Jannik Hollenbach a5ab969612 Migrate more build in modules to be imported using the node: prefix
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-31 21:52:27 +02:00
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 1bd307f67b Update tests to use import and remove the test cases for now impossible cases (due to type safety)
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-24 22:18:09 +01:00
Jannik Hollenbach 557feef383 More test import migration
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-23 20:54:46 +01:00
Jannik Hollenbach 51e8b2086b Moved over some more insecurity imports in tests
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-23 20:45:35 +01: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 bb90da1c3c Update package json version to import
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-23 12:56:55 +01:00
Jannik Hollenbach e10a6a9e54 Update more requires in tests
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-23 12:24:21 +01:00
Jannik Hollenbach 23d4deca75 Drop undicy import
Acutally already included in by default in node 18.0.0 which is the oldest version we support

Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-22 20:51:11 +01:00
Jannik Hollenbach 2115dc7c3f Migrate webhook to use fetch too
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-22 20:16:52 +01:00
Jannik Hollenbach b4fcd45058 Replace node-fetch with undici
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-22 19:47:42 +01:00
Jannik Hollenbach 7c071b8ce5 Make challengeKey typesafe to migrate datacache imports in tests to import
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-22 19:00:17 +01:00
Jannik Hollenbach e64bfb2c95 Update blueprintfile spec requires
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 21:42:33 +01:00
Jannik Hollenbach be1049a701 Update bot utils import
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 21:39:58 +01:00
Jannik Hollenbach e3c6223804 Update util calls to require
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 21:38:56 +01:00
Jannik Hollenbach 2a0082d996 Update remaining challenge util imports 2025-03-17 21:16:45 +01:00
Jannik Hollenbach 490e9a2afd Update yaml lib to imports
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 21:00:49 +01:00
Jannik Hollenbach e31195cb5d Update config requires
Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-17 20:49:55 +01:00
JuiceShopBot 5f6bf8a282 Auto-fix linting issues
Signed-off-by: JuiceShopBot <[email protected]>
2025-03-15 22:44:30 +00:00
Jannik Hollenbach d212b6b433 Properly fix webhook tests, results were just ignored
Plus the requests keep timing our as the remote url didn't exist anymore, replaced with a local server
Chai as promised was only used here and it didn't even work here so i've removed it for now

Signed-off-by: Jannik Hollenbach <[email protected]>
2025-03-15 23:41:36 +01:00
Jannik Hollenbach 16a837862b Switch sinon and chai requires to imports 2025-03-15 22:37:35 +01:00
Jannik Hollenbach 9595418ce6 Migrate more requires of nodejs build in modules 2025-03-15 22:32:26 +01:00
Bjoern Kimminich 9d1a6741d7 Merge branch 'develop' into angular17
# Conflicts:
#	frontend/src/app/two-factor-auth/two-factor-auth.component.html
2025-01-28 17:55:53 +01:00
e6385d231a Fix typos (#2427)
* Pull in exclusions from develop branch

* added translation (#2411)

* Fix typos

Signed-off-by: tinyboxvk <[email protected]>

---------

Signed-off-by: tinyboxvk <[email protected]>
Co-authored-by: Bjoern Kimminich <[email protected]>
Co-authored-by: Tan Ton <[email protected]>
2025-01-28 17:49:55 +01:00
Björn Kimminich e45e8a4d3f Merge branch 'develop' into angular17
# Conflicts:
#	frontend/package.json
#	frontend/src/app/about/about.component.html
#	frontend/src/app/about/about.component.ts
2025-01-04 18:26:51 +01:00
Björn Kimminich 623fc01582 Update copyright to include 2025 2025-01-01 19:37:26 +01:00
Bjoern Kimminich 0143478fdb Merge branch 'develop' into angular17 2024-07-31 13:47:41 +02:00
Bjoern Kimminich 2a50a91800 Add support for Node.js 22.x 2024-07-17 09:22:29 +02:00
Björn Kimminich 52a257478c Merge branch 'develop' into martinakraus-master 2024-03-25 22:59:12 +01:00
Jannik Hollenbach d7a4dac0c6 Refactor safetyMode setting 2024-03-10 10:31:50 +01:00
Björn Kimminich b8ec74f452 Fix merge conflicts from removing ng-spinner 2024-02-27 08:31:16 +01:00
Bjoern Kimminich 880801ef6f Replace emoji in filename with ascii art of cat 2024-02-22 16:59:55 +01:00
Bjoern Kimminich b7812ac2e1 Fix all @typescript-eslint/restrict-template-expressions warnings 2024-01-24 13:56:01 +01:00
Jannik Hollenbach a3f344032d Migrate lib & startup func's to esm 2024-01-13 16:08:18 +01:00
Jannik Hollenbach 8ed0e9983d Use automatically generated model types
Requires us to have proper types around for the config as the manual types (incorrectly) had the additional properties of the config file set
2024-01-13 12:16:13 +01:00
Björn Kimminich 87beace18d Fix all restrict-plus-operands linting issues 2024-01-06 14:59:58 +01:00
Björn Kimminich afbc830697 Change to module import syntax 2024-01-06 14:38:03 +01:00
Björn Kimminich 91bd1088ce Bump copyright to include year 2024 2023-12-24 09:07:52 +01:00
Björn Kimminich 69c6b1c350 Add Node.js 21.x support
(while removing support for <18.x)
2023-11-02 23:49:59 +01:00
Björn Kimminich c25fcf1ef8 Amend URLs to new GitHub org
(fixes #2120)
2023-10-09 21:47:58 +02:00
Björn Kimminich c1e7e182fc Pacify TypeScript compiler 2023-09-20 23:39:37 +02:00
Bjoern Kimminich ac0834d5c7 Remove unexpected ts-error marker 2023-09-20 12:49:35 +02:00
Bjoern Kimminich dccc918c41 Fix or tag TypeScript errors not caught by ESLint 2023-09-20 12:26:18 +02:00
Björn Kimminich 4488721cf4 Tag all TypeScript issues as FIXMEs 2023-09-19 19:14:28 +02:00