ardatan / whatwg-node

Helper packages to create platform agnostic applications and libraries without worrying about the lack of WHATWG support in Node.js
MIT License
154 stars 31 forks source link

chore(deps): update dependency prettier to v3.3.3 #1457

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 3.3.2 -> 3.3.3 age adoption passing confidence

Release Notes

prettier/prettier (prettier) ### [`v3.3.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) [diff](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) ##### Add parentheses for nullish coalescing in ternary ([#​16391](https://togithub.com/prettier/prettier/pull/16391) by [@​cdignam-segment](https://togithub.com/cdignam-segment)) This change adds clarity to operator precedence. ```js // Input foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.2 foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.3 foo ? (bar ?? foo) : baz; (foo ?? bar) ? a : b; a ? b : (foo ?? bar); ``` ##### Add parentheses for decorator expressions ([#​16458](https://togithub.com/prettier/prettier/pull/16458) by [@​y-schneider](https://togithub.com/y-schneider)) Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5. ```ts // Input @​(foo`tagged template`) class X {} // Prettier 3.3.2 @​foo`tagged template` class X {} // Prettier 3.3.3 @​(foo`tagged template`) class X {} ``` ##### Support `@let` declaration syntax ([#​16474](https://togithub.com/prettier/prettier/pull/16474) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Adds support for Angular v18 `@let` declaration syntax. Please see the following code example. The `@let` declaration allows you to define local variables within the template: ```html @​let name = 'Frodo';

Dashboard for {{name}}

Hello, {{name}} ``` For more details, please refer to the excellent blog post by the Angular Team: [Introducing @​let in Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f). We also appreciate the Angular Team for kindly answering our questions to implement this feature.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 month ago

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=139.29898 min=103     med=139     max=200      p(90)=162     p(95)=170    
     data_received..................: 24 MB  788 kB/s
     data_sent......................: 15 MB  505 kB/s
     http_req_blocked...............: avg=3.69µs    min=652ns   med=1.35µs  max=6.65ms   p(90)=1.96µs  p(95)=2.23µs 
     http_req_connecting............: avg=1.85µs    min=0s      med=0s      max=6.22ms   p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=19.34ms   min=3.11ms  med=18.88ms max=184.14ms p(90)=24.87ms p(95)=27.76ms
       { expected_response:true }...: avg=19.34ms   min=3.11ms  med=18.88ms max=184.14ms p(90)=24.87ms p(95)=27.76ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 154546
     http_req_receiving.............: avg=35.36µs   min=8.37µs  med=23.05µs max=24.12ms  p(90)=38.16µs p(95)=46.49µs
     http_req_sending...............: avg=11.08µs   min=3.04µs  med=6.29µs  max=23.59ms  p(90)=9.54µs  p(95)=14.79µs
     http_req_tls_handshaking.......: avg=0s        min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=19.3ms    min=3.08ms  med=18.84ms max=184.06ms p(90)=24.82ms p(95)=27.63ms
     http_reqs......................: 154546 5149.647048/s
     iteration_duration.............: avg=38.8ms    min=10.94ms med=37.53ms max=206.36ms p(90)=44.26ms p(95)=49.24ms
     iterations.....................: 77256  2574.257065/s
     vus............................: 2      min=2         max=100 
     vus_max........................: 100    min=100       max=100 
github-actions[bot] commented 1 month ago

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=138.291792 min=52      med=140     max=199      p(90)=161     p(95)=166    
     data_received..................: 24 MB  811 kB/s
     data_sent......................: 16 MB  525 kB/s
     http_req_blocked...............: avg=3.78µs     min=631ns   med=1.51µs  max=6.61ms   p(90)=2.08µs  p(95)=2.46µs 
     http_req_connecting............: avg=1.47µs     min=0s      med=0s      max=6.53ms   p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=18.78ms    min=3.16ms  med=18.37ms max=761.74ms p(90)=24.72ms p(95)=26.04ms
       { expected_response:true }...: avg=18.78ms    min=3.16ms  med=18.37ms max=761.74ms p(90)=24.72ms p(95)=26.04ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 159117
     http_req_receiving.............: avg=36.47µs    min=8.62µs  med=24.77µs max=22.66ms  p(90)=40.53µs p(95)=50.02µs
     http_req_sending...............: avg=12.59µs    min=3.16µs  med=7.2µs   max=33.94ms  p(90)=10.67µs p(95)=16.87µs
     http_req_tls_handshaking.......: avg=0s         min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=18.73ms    min=3.03ms  med=18.33ms max=761.65ms p(90)=24.67ms p(95)=25.96ms
     http_reqs......................: 159117 5303.290566/s
     iteration_duration.............: avg=37.67ms    min=11.53ms med=36.7ms  max=789.29ms p(90)=41.87ms p(95)=47.11ms
     iterations.....................: 79536  2650.895369/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 
github-actions[bot] commented 1 month ago

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 228496      ✗ 0     
     data_received..................: 23 MB   765 kB/s
     data_sent......................: 9.1 MB  305 kB/s
     http_req_blocked...............: avg=1.41µs   min=902ns    med=1.21µs   max=177.8µs  p(90)=1.92µs   p(95)=2.11µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=120.69µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=200.15µs min=151.85µs med=187.85µs max=16.52ms  p(90)=215.24µs p(95)=225.98µs
       { expected_response:true }...: avg=200.15µs min=151.85µs med=187.85µs max=16.52ms  p(90)=215.24µs p(95)=225.98µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 114248
     http_req_receiving.............: avg=25.75µs  min=14.25µs  med=24.2µs   max=3.01ms   p(90)=31.64µs  p(95)=33.73µs 
     http_req_sending...............: avg=6.34µs   min=4.14µs   med=5.62µs   max=215.97µs p(90)=8.19µs   p(95)=8.89µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=168.04µs min=122.46µs med=155.46µs max=16.45ms  p(90)=179.53µs p(95)=189.26µs
     http_reqs......................: 114248  3808.129238/s
     iteration_duration.............: avg=258.19µs min=198.73µs med=244.9µs  max=16.64ms  p(90)=276µs    p(95)=289.11µs
     iterations.....................: 114248  3808.129238/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   
github-actions[bot] commented 1 month ago

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 300862      ✗ 0     
     data_received..................: 30 MB   988 kB/s
     data_sent......................: 12 MB   401 kB/s
     http_req_blocked...............: avg=1.34µs   min=821ns    med=1.15µs   max=187.04µs p(90)=1.81µs   p(95)=1.98µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=124.82µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=138.74µs min=92.55µs  med=133.52µs max=12.22ms  p(90)=154.93µs p(95)=161.3µs 
       { expected_response:true }...: avg=138.74µs min=92.55µs  med=133.52µs max=12.22ms  p(90)=154.93µs p(95)=161.3µs 
     http_req_failed................: 0.00%   ✓ 0           ✗ 150431
     http_req_receiving.............: avg=24.25µs  min=12.26µs  med=23.08µs  max=573.03µs p(90)=30.16µs  p(95)=32.2µs  
     http_req_sending...............: avg=6.14µs   min=3.93µs   med=5.38µs   max=261.75µs p(90)=8.04µs   p(95)=8.54µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=108.34µs min=69.29µs  med=102.6µs  max=12.19ms  p(90)=121.02µs p(95)=126.21µs
     http_reqs......................: 150431  5014.189303/s
     iteration_duration.............: avg=195.03µs min=136.04µs med=189.04µs max=12.32ms  p(90)=213.5µs  p(95)=221.94µs
     iterations.....................: 150431  5014.189303/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1