Matthieu Sieben
61dc0d60e1
Add linting rule to sort imports ( #3220 )
...
* Add linting rule to sort imports
* remove spacing between import groups
* changeset
* changeset
* prettier config fine tuning
* forbid use of deprecated imports
* tidy
2025-02-05 15:06:58 +01:00
Matthieu Sieben
a07b21151f
PDS pipethrough optimizations ( #2770 )
...
* Micro optimization in request proxying
* Request NSID parsing optimization
* DID document parsing optimization
* remove un-necessary call to next()
* Allow HandlerPipeThrough to be used with streams
* Refactor pipethrough to work with streams
* Expose "unicastLookup" DNS lookup and "isUnicastIp" utilities
* Use a hardened, HTTP2 compatible, client to perform proxied requests
* changeset
* tidy
* Properly handle compressed streams
* tidy
* update @types/node
* refactor
* Improved error management
* Expose parseContentEncoding() util
* use pipeline from nodejs
* Avoid decoding in read-after-write (if possible)
* Various fixes
* Return Buffer instance from streamToBytes
* fixes
* Add omit() utility
* tidy
* lint
* typo
* Use Buffer instead of ArrayBuffer form pipe through handler result
* optimization
* tidy
* refactor
* increase highWaterMark
* remove un-necessary type check
* Use undici.request where more relevant
* Improve soc in fetch utils
* feedback
* fidy
* tidy
* test refactor
* safer fetch
* changeset
* expose and re-use extractUrl util
* small optimizations
* tidy
* optimization
* build branch
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
2024-09-19 18:24:20 -05:00
bnewbold
7e36c48a77
small syntax lints ( #1646 )
...
* lint: remove unused imports and variables
* lint: prefix unused args with '_'
* eslint: skip no-explicit-any; ignore unused _var (prefix)
* eslint: explicitly mark ignores for tricky cases
2023-09-21 10:07:54 -07:00
James Garbutt
49ee070cd6
test (api, common, common-web): add further tests ( #950 )
2023-05-12 17:11:50 -05:00