Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

chore: Update dependencies #4121

Merged
merged 7 commits into from
Feb 15, 2023
Merged

chore: Update dependencies #4121

merged 7 commits into from
Feb 15, 2023

Conversation

MichaReiser
Copy link
Contributor

@MichaReiser MichaReiser commented Dec 30, 2022

Summary

Updates all outdated dependencies.

Major bumps:

rome_rowan
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
memoffset  0.6.5    ---     0.8.0   Normal  ---

rome_js_analyze
================
Name        Project  Compat  Latest  Kind    Platform
----        -------  ------  ------  ----    --------
roaring     0.9.0    ---     0.10.1  Normal  ---

xtask_bench
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
humansize  1.1.1    ---     2.1.2   Normal  ---

Test Plan

cargo test

Documentation

  • The PR requires documentation
  • I will create a new PR to update the documentation

@netlify
Copy link

netlify bot commented Dec 30, 2022

Deploy Preview for docs-rometools canceled.

Name Link
🔨 Latest commit dddfbee
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/63ed1fa02b8a3b00088cdcaf

@github-actions
Copy link

github-actions bot commented Dec 30, 2022

Parser conformance results on ubuntu-latest

js/262

Test result main count This PR count Difference
Total 48647 48647 0
Passed 47582 47582 0
Failed 1065 1065 0
Panics 0 0 0
Coverage 97.81% 97.81% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 40 40 0
Passed 37 37 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.50% 92.50% 0.00%

symbols/microsoft

Test result main count This PR count Difference
Total 6093 6093 0
Passed 1783 1783 0
Failed 4310 4310 0
Panics 0 0 0
Coverage 29.26% 29.26% 0.00%

ts/babel

Test result main count This PR count Difference
Total 639 639 0
Passed 567 567 0
Failed 72 72 0
Panics 0 0 0
Coverage 88.73% 88.73% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 16740 16740 0
Passed 12816 12816 0
Failed 3924 3924 0
Panics 0 0 0
Coverage 76.56% 76.56% 0.00%

```
rome_rowan
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
hashbrown  0.12.3   ---     0.13.1  Normal  ---
memoffset  0.6.5    ---     0.8.0   Normal  ---

rome_js_analyze
================
Name        Project  Compat  Latest  Kind    Platform
----        -------  ------  ------  ----    --------
retain_mut  0.1.9    ---     0.1.7   Normal  ---
roaring     0.9.0    ---     0.10.1  Normal  ---

xtask_bench
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
humansize  1.1.1    ---     2.1.2   Normal  ---
```
@MichaReiser MichaReiser marked this pull request as draft December 30, 2022 11:54
@ematipico
Copy link
Contributor

The snapshots of the JS API hints that we have to release a new breaking version. Now we return undefined instead of null

@MichaReiser MichaReiser marked this pull request as ready for review December 30, 2022 12:46
@MichaReiser
Copy link
Contributor Author

The snapshots of the JS API hints that we have to release a new breaking version. Now we return undefined instead of null

I changed the serializer to serialize to null instead

@@ -49,7 +49,7 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --all-targets --all-features --verbose -- --deny warnings -W clippy::cargo -W clippy::dbg_macro -A clippy::cargo_common_metadata
args: --workspace --all-targets --all-features --verbose -- --deny warnings -W clippy::cargo -W clippy::dbg_macro -A clippy::cargo_common_metadata -A clippy::multiple_crate_versions
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our dependencies require conflicting hermit-abi versions. I haven't found a way to resolve the version conflict.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance to revert the dependencies that cause this issue, and wait that this issue is fixed upstream?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this specific package it's only an issue if someone tries to build Rome for the x86_64-unknown-hermit target, but it's unfortunate that we have to disable the rule entirely instead of being able to add an exception for a single package

@MichaReiser
Copy link
Contributor Author

!bench_analyzer

@github-actions
Copy link

Analyzer Benchmark Results

group                     main                                   pr
-----                     ----                                   --
analyzer/css.js           1.00      2.7±0.00ms     4.4 MB/sec    1.00      2.7±0.02ms     4.3 MB/sec
analyzer/index.js         1.00      6.5±0.01ms     5.0 MB/sec    1.00      6.5±0.01ms     5.0 MB/sec
analyzer/lint.ts          1.00      3.1±0.00ms    13.4 MB/sec    1.00      3.1±0.02ms    13.5 MB/sec
analyzer/parser.ts        1.00      7.7±0.07ms     6.3 MB/sec    1.02      7.9±0.10ms     6.2 MB/sec
analyzer/router.ts        1.00      2.8±0.01ms    11.0 MB/sec    1.01      2.8±0.00ms    10.9 MB/sec
analyzer/statement.ts     1.00      7.7±0.01ms     4.6 MB/sec    1.01      7.8±0.02ms     4.5 MB/sec
analyzer/typescript.ts    1.00     11.3±0.02ms     4.8 MB/sec    1.01     11.5±0.04ms     4.8 MB/sec

@MichaReiser
Copy link
Contributor Author

!bench_formatter

@MichaReiser
Copy link
Contributor Author

!bench_parser

@github-actions
Copy link

Parser Benchmark Results

group                                 main                                   pr
-----                                 ----                                   --
parser/big5-added.json                1.00    226.1±5.21µs    74.7 MB/sec    1.03    233.2±4.34µs    72.5 MB/sec
parser/canada.json                    1.00    116.9±4.07ms    18.4 MB/sec    1.05    123.1±3.27ms    17.4 MB/sec
parser/checker.ts                     1.00    141.9±3.58ms    18.3 MB/sec    1.01    142.7±3.18ms    18.2 MB/sec
parser/compiler.js                    1.00     80.4±2.85ms    13.0 MB/sec    1.01     81.5±2.57ms    12.9 MB/sec
parser/d3.min.js                      1.01     50.2±1.69ms     5.2 MB/sec    1.00     49.7±0.94ms     5.3 MB/sec
parser/db.json                        1.00      5.7±0.11ms    31.7 MB/sec    1.02      5.7±0.10ms    31.2 MB/sec
parser/dojo.js                        1.00      4.1±0.08ms    16.9 MB/sec    1.02      4.1±0.04ms    16.6 MB/sec
parser/eucjp.json                     1.00    354.4±7.68µs   110.5 MB/sec    1.02    359.7±6.77µs   108.9 MB/sec
parser/ios.d.ts                       1.00    122.3±3.19ms    15.3 MB/sec    1.00    122.5±2.81ms    15.2 MB/sec
parser/jquery.min.js                  1.00     12.4±0.27ms     6.7 MB/sec    1.02     12.6±0.30ms     6.6 MB/sec
parser/math.js                        1.00     96.1±2.38ms     6.7 MB/sec    1.00     95.9±2.33ms     6.7 MB/sec
parser/package-lock.json              1.00      2.3±0.07ms    59.0 MB/sec    1.01      2.4±0.04ms    58.2 MB/sec
parser/parser.ts                      1.00      2.9±0.06ms    16.6 MB/sec    1.02      3.0±0.03ms    16.2 MB/sec
parser/pixi.min.js                    1.01     63.2±2.36ms     6.9 MB/sec    1.00     62.7±1.63ms     7.0 MB/sec
parser/react-dom.production.min.js    1.00     16.9±0.47ms     6.8 MB/sec    1.01     17.1±0.49ms     6.7 MB/sec
parser/react.production.min.js        1.01   888.1±14.67µs     6.9 MB/sec    1.00   878.1±17.45µs     7.0 MB/sec
parser/router.ts                      1.01  1188.7±19.99µs    25.9 MB/sec    1.00  1180.5±18.24µs    26.1 MB/sec
parser/tex-chtml-full.js              1.03    136.8±4.27ms     6.7 MB/sec    1.00    132.8±3.92ms     6.9 MB/sec
parser/three.min.js                   1.00     67.0±1.75ms     8.8 MB/sec    1.02     68.4±1.53ms     8.6 MB/sec
parser/typescript.js                  1.01    557.6±7.96ms    17.0 MB/sec    1.00    551.7±9.87ms    17.2 MB/sec
parser/vue.global.prod.js             1.00     20.6±0.84ms     5.8 MB/sec    1.01     20.8±0.43ms     5.8 MB/sec

@github-actions
Copy link

Formatter Benchmark Results

group                                    main                                   pr
-----                                    ----                                   --
formatter/big5-added.json                1.65    845.3±0.75µs    20.0 MB/sec    1.00    513.3±0.29µs    32.9 MB/sec
formatter/canada.json                    1.03    181.0±2.01ms    11.9 MB/sec    1.00    175.8±1.63ms    12.2 MB/sec
formatter/checker.ts                     1.02    417.6±3.12ms     6.2 MB/sec    1.00    408.1±2.79ms     6.4 MB/sec
formatter/compiler.js                    1.01    223.4±2.24ms     4.7 MB/sec    1.00    220.6±1.45ms     4.8 MB/sec
formatter/d3.min.js                      1.00    174.1±2.36ms  1541.3 KB/sec    1.00    174.4±2.07ms  1538.9 KB/sec
formatter/db.json                        1.00      9.6±0.10ms    18.8 MB/sec    1.01      9.6±0.03ms    18.7 MB/sec
formatter/dojo.js                        1.01     11.4±0.06ms     6.0 MB/sec    1.00     11.3±0.03ms     6.1 MB/sec
formatter/eucjp.json                     1.93   1815.8±1.35µs    21.6 MB/sec    1.00    942.7±1.35µs    41.5 MB/sec
formatter/ios.d.ts                       1.01    246.2±2.84ms     7.6 MB/sec    1.00    243.8±2.56ms     7.7 MB/sec
formatter/jquery.min.js                  1.02     47.1±0.58ms  1795.2 KB/sec    1.00     46.4±0.29ms  1825.5 KB/sec
formatter/math.js                        1.01    338.3±2.09ms  1959.9 KB/sec    1.00    336.0±1.89ms  1973.5 KB/sec
formatter/package-lock.json              1.02      4.3±0.02ms    32.3 MB/sec    1.00      4.2±0.01ms    33.0 MB/sec
formatter/parser.ts                      1.00      7.7±0.04ms     6.3 MB/sec    1.00      7.7±0.02ms     6.3 MB/sec
formatter/pixi.min.js                    1.01    187.2±1.72ms     2.3 MB/sec    1.00    186.3±1.50ms     2.4 MB/sec
formatter/react-dom.production.min.js    1.01     55.3±0.98ms     2.1 MB/sec    1.00     54.7±0.69ms     2.1 MB/sec
formatter/react.production.min.js        1.01      2.7±0.04ms     2.3 MB/sec    1.00      2.7±0.01ms     2.3 MB/sec
formatter/router.ts                      1.00      3.0±0.00ms    10.4 MB/sec    1.00      3.0±0.05ms    10.4 MB/sec
formatter/tex-chtml-full.js              1.00    435.4±3.32ms     2.1 MB/sec    1.00    433.4±2.67ms     2.1 MB/sec
formatter/three.min.js                   1.01    224.5±2.13ms     2.6 MB/sec    1.00    221.8±2.59ms     2.6 MB/sec
formatter/typescript.js                  1.01   1488.0±9.47ms     6.4 MB/sec    1.00   1470.7±5.43ms     6.5 MB/sec
formatter/vue.global.prod.js             1.01     72.3±1.17ms  1707.0 KB/sec    1.00     71.9±0.99ms  1715.9 KB/sec

@github-actions
Copy link

This PR is stale because it has been open 14 days with no activity.

@ematipico ematipico added this pull request to the merge queue Feb 15, 2023
Merged via the queue into main with commit fb4d7e8 Feb 15, 2023
@ematipico ematipico deleted the chore/update-dependencies branch February 15, 2023 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants