Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @vitejs/plugin-react to ^4.3.3 #7688

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitejs/plugin-react (source) ^4.3.1 -> ^4.3.3 age adoption passing confidence
@vitejs/plugin-react (source) ^4.3.1 -> ^4.3.3 age adoption passing confidence

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.3.3

Compare Source

React Compiler runtimeModule option removed

React Compiler was updated to accept a target option and runtimeModule was removed. vite-plugin-react will still detect runtimeModule for backwards compatibility.

When using a custom runtimeModule or target !== '19', the plugin will not try to pre-optimize react/compiler-runtime dependency.

The react-compiler-runtime is now available on npm can be used instead of the local shim for people using the compiler with React < 19.

Here is the configuration to use the compiler with React 18 and correct source maps in development:

npm install babel-plugin-react-compiler react-compiler-runtime @&#8203;babel/plugin-transform-react-jsx-development
export default defineConfig(({ command }) => {
  const babelPlugins = [['babel-plugin-react-compiler', { target: '18' }]]
  if (command === 'serve') {
    babelPlugins.push(['@&#8203;babel/plugin-transform-react-jsx-development', {}])
  }

  return {
    plugins: [react({ babel: { plugins: babelPlugins } })],
  }
})

v4.3.2

Compare Source

Ignore directive sourcemap error #​369


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner October 28, 2024 19:58
@renovate renovate bot requested review from juice49 and removed request for a team October 28, 2024 19:58
Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:43pm
performance-studio ✅ Ready (Inspect) Visit Preview Oct 30, 2024 8:43pm
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:43pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:43pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:43pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 8:43pm

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Oct 28, 2024

Component Testing Report Updated Oct 30, 2024 8:47 PM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 47s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 9s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 32s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 39s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 18s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 10s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 3m 0s 0 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 46s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 46s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 18s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 9s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 27s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 19s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 37s 12 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 0s 0 3 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 0s 0 3 0

Copy link
Contributor

github-actions bot commented Oct 28, 2024

⚡️ Editor Performance Report

Updated Wed, 30 Oct 2024 20:46:28 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 14.7 efps (68ms) 14.7 efps (68ms) +0ms (-/-%)
article (body) 53.2 efps (19ms) 53.3 efps (19ms) -0ms (-0.3%)
article (string inside object) 16.3 efps (62ms) 15.5 efps (65ms) +3ms (+4.9%)
article (string inside array) 13.9 efps (72ms) 13.2 efps (76ms) +4ms (+5.6%)
recipe (name) 27.8 efps (36ms) 29.4 efps (34ms) -2ms (-5.6%)
recipe (description) 31.3 efps (32ms) 32.3 efps (31ms) -1ms (-3.1%)
recipe (instructions) 99.9+ efps (7ms) 99.9+ efps (6ms) -1ms (-/-%)
synthetic (title) 13.9 efps (72ms) 14.3 efps (70ms) -2ms (-2.8%)
synthetic (string inside object) 15.2 efps (66ms) 14.9 efps (67ms) +1ms (+1.5%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 68ms 74ms 92ms 237ms 623ms 14.7s
article (body) 19ms 24ms 43ms 145ms 438ms 6.7s
article (string inside object) 62ms 66ms 76ms 328ms 776ms 9.4s
article (string inside array) 72ms 78ms 87ms 176ms 1182ms 10.1s
recipe (name) 36ms 39ms 57ms 91ms 2ms 9.8s
recipe (description) 32ms 35ms 49ms 70ms 2ms 6.2s
recipe (instructions) 7ms 8ms 9ms 12ms 0ms 3.3s
synthetic (title) 72ms 79ms 94ms 237ms 1626ms 15.9s
synthetic (string inside object) 66ms 69ms 81ms 334ms 1293ms 10.5s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 68ms 75ms 81ms 250ms 628ms 14.2s
article (body) 19ms 23ms 34ms 166ms 229ms 6.1s
article (string inside object) 65ms 69ms 77ms 213ms 515ms 9.8s
article (string inside array) 76ms 89ms 98ms 342ms 1394ms 10.7s
recipe (name) 34ms 37ms 74ms 136ms 14ms 10.3s
recipe (description) 31ms 32ms 37ms 79ms 0ms 6.0s
recipe (instructions) 6ms 8ms 9ms 28ms 0ms 3.3s
synthetic (title) 70ms 73ms 94ms 208ms 2184ms 16.2s
synthetic (string inside object) 67ms 73ms 91ms 329ms 1761ms 10.4s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x branch from b8ee221 to ac6d9fa Compare October 29, 2024 14:42
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x branch from ac6d9fa to c8a9785 Compare October 29, 2024 17:26
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x branch from c8a9785 to e7ca2ee Compare October 30, 2024 15:00
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x branch from 65aa4f2 to 1a5e87e Compare October 30, 2024 20:32
@stipsan stipsan added this pull request to the merge queue Oct 30, 2024
Merged via the queue into next with commit 56bc1a7 Oct 30, 2024
43 of 50 checks passed
@stipsan stipsan deleted the renovate/vitejs-plugin-react-4.x branch October 30, 2024 20:36
bjoerge added a commit that referenced this pull request Nov 1, 2024
* next: (25 commits)
  fix(deps): update dependency @sanity/ui to ^2.8.16 (#7723)
  fix(deps): update dependency @sanity/ui to ^2.8.16 (#7722)
  chore(lockfile): update dependency @sanity/asset-utils to v2.0.7 (#7721)
  fix(deps): update dependency @sanity/ui to ^2.8.15 (#7717)
  fix(deps): update dependency @sanity/ui to ^2.8.15 (#7718)
  fix(deps): Update babel monorepo (#7719)
  chore(deps): update typescript-tooling (#7681)
  chore(deps): bump react-compiler linter (#7715)
  fix(deps): Update dev-non-major (#7708)
  fix(deps): update dependency react-rx to ^4.1.0 (#7714)
  fix(deps): update dependency @portabletext/editor to ^1.2.0 (#7709)
  chore(deps): update dependency lerna to ^8.1.9 (#7711)
  fix(deps): update dependency @sanity/ui to ^2.8.14 (#7713)
  chore: telemetry definition files are owned by @data-eng (#7703)
  fix(deps): update dependency react-rx to ^4.0.1 (#7712)
  fix(deps): Update dev-non-major (#7693)
  chore(deps): update dependency @vitejs/plugin-react to ^4.3.3 (#7688)
  fix(deps): update dependency @sanity/ui to ^2.8.13 (#7694)
  fix(deps): update dependency @portabletext/editor to ^1.1.11 (#7667)
  feat(cli): prepare nextjs starter template for live mode (#7633)
  ...
jordanl17 pushed a commit that referenced this pull request Nov 5, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant