Commit Graph

50 Commits

Author SHA1 Message Date
Martin Varmuza
47f7563981 test(node-utils): adjust tests result for windows 2025-05-05 08:20:09 +02:00
Martin Homola
47f9f9d98a fix(suite-desktop): url decoding before sanitization 2025-04-30 17:05:32 +02:00
Tomas Martykan
9239a50fb0 feat(suite): more process info in connect ws 2025-04-24 17:37:29 +02:00
Martin Varmuza
9c2fc8de5b test(node-utils): add basic unit tests for findProcessFromIncomingPort 2025-04-11 13:37:51 +02:00
Martin Varmuza
bd7d53772e feat(suite-desktop): improve error handling in http-receiver and node-bridge; show info about colliding process 2025-04-11 13:37:51 +02:00
Martin Varmuza
e2c47ecf45 fix(suite-desktop): better handling of requesting address of non-listening server 2025-04-11 13:37:51 +02:00
Martin Varmuza
65a5aa59e0 chore(node-utils): findProcessFromIncomingPort lest restrictive filtering 2025-04-11 13:37:51 +02:00
Martin Varmuza
bde4f86b60 chore(node-utils): move findProcessFromIncomingPort to node-utils 2025-04-10 10:13:00 +02:00
Martin Varmuza
6c4b68b537 test(node-utils): http - add test for array-like query string parsing 2025-04-01 08:02:00 +02:00
Jiri Zbytovsky
187c35677f chore(node-utils): http-receiver TS improvements 2025-04-01 08:02:00 +02:00
Martin Varmuza
ad22a2726c feat(node-utils): add option to deactivate route handlers 2025-04-01 08:02:00 +02:00
Martin Varmuza
05e5f4d71f feat(node-utils): http-receiver - sanitize query strings and path segments globaly 2025-04-01 08:02:00 +02:00
Carlos Garcia Ortiz karliatto
98ef6cef63 feat(node-utils): new util validateJsonSchema 2025-03-19 10:21:34 +01:00
Martin Varmuza
389562f4f9 chore(transport-bridge): rework origins check 2025-03-10 13:25:30 +01:00
Marek Polak
308b1a470d refactor(connect): stop using events defined by listeners 2025-03-05 17:27:51 +01:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Peter Sanderson
64fcbde4bd chore: enable ESLint rule for as-needed | auto-fix 2025-01-10 10:58:46 +01:00
Carlos Garcia Ortiz karliatto
c456866d2e test(node-utils): checkSocks5Proxy tests 2024-12-16 18:37:07 +01:00
Carlos Garcia Ortiz karliatto
aa7ff5e865 feat(node-utils): checkSocks5Proxy util 2024-12-16 18:37:07 +01:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
Peter Sanderson
55d663ca2d chore: add recommanded checks from eslint-plugin-jest
chore: use jest/valid-describe-callback as it has only 2 places that fails, so I ignored them in-code
2024-11-06 14:18:07 +01:00
Peter Sanderson
8d8beba862 chore: add 'import/no-duplicates' ESLint rule 2024-11-01 10:47:27 +01:00
Martin Varmuza
011d0d12b6 feat(node-utils): looser request body parsing (allow empty) 2024-10-29 18:14:50 +01:00
Peter Sanderson
77576f5bea chore: remove prettier-eslint dependency, upgrade @typescript-eslint 2024-09-12 13:43:42 +02:00
Martin Varmuza
348788411e feat(transport-bridge): it should work with suite web onion 2024-08-30 14:18:57 +02:00
Szymon Lesisz
ad4737e3b3 chore(transport-bridge): RequestHandlers with validation and generic types 2024-08-07 10:44:00 +02:00
Carlos Garcia Ortiz karliatto
786007e6ae feat(node-utils): create checkFileExists util 2024-08-03 07:46:17 +02:00
Martin Varmuza
0da49eef60 chore(node-utils): export http sever types 2024-07-15 13:58:12 +02:00
Petr Knetl
2206f19f2e chore(suite): depcheck enabled 2024-06-18 13:07:58 +02:00
Martin Varmuza
738f054611 chore(suite-desktop): create facade over ILogger to make it compatible with Log 2024-05-24 14:56:54 +02:00
Martin Varmuza
4051bf5bc1 feat(node-utils): add getLog method to http util 2024-04-11 12:12:01 +02:00
MiroslavProchazka
ac03c1e0ae fix(suite): EACCESS error message handling
fix(suite): Adjusted formating
2024-04-09 15:40:36 +02:00
Martin Varmuza
caca785e63 chore(node-utils): split referer and origin check middlewares 2024-04-09 13:15:08 +02:00
Daniel Suchý
7febd10cf0 chore(repo): remove build:lib for some simple packages (#11276) 2024-02-22 13:54:45 +01:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Daniel Suchý
6cd3d3c819 chore(utils): remove build step requirement from @trezor/utils (#11176)
* chore: remove build step requirement from utils

* chore: dissalow imports from utils/lib

* chore: remove outdated comment from TypedEmitter

* chore: enable tree shaking for connect-iframe build

* chore: bring back usage example comment
2024-02-20 11:08:45 +01:00
Jan Komarek
84bc9b8bd3 chore: update typescript and use global tsc 2024-02-12 11:56:09 +01:00
Jan Komarek
01e33b7145 chore: remove test scripts for packages without tests 2024-02-12 11:56:09 +01:00
Jan Komarek
a7e68797da chore: use global jest 2024-02-12 11:56:09 +01:00
Jan Komarek
3c656dc0b2 chore: upgrade jest to 29.7.0 2024-02-12 11:56:09 +01:00
Jan Komarek
004938e24b chore: upgrade jest 2024-02-12 11:56:09 +01:00
Daniel Suchý
acf9a7f19c chore(repo): config cleanups and improvements (TS, Nx...) (#11096)
* chore(repo): config cleanups and improvements (TS, Nx...)

* fix connect e2e

* chore: add eslin cache file to nx cache

* chore: add stylelint cache file to nx

* chore: add ts-node config for to base.tsconfig.json
2024-02-09 13:11:35 +01:00
Martin Varmuza
ecda2db609 feat(node-utils): additional features to http server (json parsing, route matching,..) 2024-02-08 09:27:14 +01:00
Martin Varmuza
a051deae37 feat(node-utils): add express like http server util 2024-01-29 08:29:27 +01:00
Daniel Suchý
7277f9d0f8 chore(repo): Upgrade TS 5.3 (#10017) 2023-11-21 12:15:06 +01:00
tomasklim
7458ab20f0 chore(jest): update jest in packages without issues 2023-11-20 09:19:59 +01:00
Daniel Suchý
bf8d0fe80f chore(repo): upgrade to TS 5.2 (#9989) 2023-11-20 07:54:30 +01:00
Martin Varmuza
7fdee4b502 chore: move getFreePort to @trezor/node-utils 2023-04-27 15:49:27 +02:00
Matej Kriz
a54c397c85 fix(node-utils): dir path can't be dasherized as a whole
There could be existing path that contains spaces and you need to create just a subfolder of that existing folder.
2023-04-04 17:39:57 +02:00
Carlos Garcia Ortiz karliatto
69f95a43cb feat(node-utils): new package for node utililites 2023-03-24 12:29:34 +01:00