GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade jest and jsdom by jenseng · Pull Request #29026 · react/react

Conversation

@jenseng

@jenseng jenseng commented May 8, 2024

Copy link
Copy Markdown
Contributor

Summary

This brings:

  • jest* up from 29.4.2 -> 29.7.0
  • jsdom up from 20.0.0 -> 22.1.0

While the latest version of jest-dom-environment still wants jsdom@^20.0.0, it can safely use at least up to [email protected]. See jestjs/jest#13825 (comment) for details.

Upgrading to latest versions lets us improve some WheelEvent tests and will make it possible to test a much simpler FormData construction approach (see #29018)

How did you test this change?

Ran yarn test and yarn test --prod successfully

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jenseng
Upgrade jest and jsdom
aebd925
This brings:
 - jest* up from 29.4.2 -> 29.7.0
 - jsdom up from 20.0.0 -> 22.1.0

While the latest version of jest-dom-environment still wants `jsdom@^20.0.0`,
it can safely use at least up to `[email protected]`. See jestjs/jest#13825 (comment)
for details.

Upgrading to latest versions lets us improve some WheelEvent tests and will
make it possible to test a much simpler FormData construction approach (see react#29018)
@facebook-github-bot facebook-github-bot added the CLA Signed label May 8, 2024
@react-sizebot

react-sizebot commented May 8, 2024

Copy link
Copy Markdown

Comparing: e7d213d...aebd925

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.66 kB 6.66 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 494.06 kB 494.06 kB = 88.21 kB 88.22 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.67 kB 6.67 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 498.86 kB 498.86 kB = 88.93 kB 88.92 kB
facebook-www/ReactDOM-prod.classic.js = 591.22 kB 591.22 kB = 103.96 kB 103.96 kB
facebook-www/ReactDOM-prod.modern.js = 567.44 kB 567.44 kB = 100.36 kB 100.36 kB
test_utils/ReactAllWarnings.js Deleted 64.26 kB 0.00 kB Deleted 16.02 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 64.26 kB 0.00 kB Deleted 16.02 kB 0.00 kB

Generated by 🚫 dangerJS against aebd925

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kassens

kassens commented May 8, 2024

Copy link
Copy Markdown
Contributor

Thank you for the update!

jenseng reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kassens
kassens merged commit 04b0588 into react:main May 8, 2024
@kassens
kassens self-requested a review May 8, 2024 17:58
Pea1594
Pea1594 reviewed May 13, 2024
View reviewed changes

@Pea1594 Pea1594 left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

G

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Pea1594 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@eps1lon eps1lon mentioned this pull request May 16, 2024
Update React from 4508873393 to 04b058868c vercel/next.js#65864
Merged
eps1lon added a commit to vercel/next.js that referenced this pull request May 16, 2024
@eps1lon
Update React from 4508873393 to 04b058868c (#65864)
c045f0f
Completes #65845 which only
updated Canary not Experimental.

<details>
<summary> React upstream changes</summary>

- react/react#29026
- react/react#29025
- react/react#28743
- react/react#29022
- react/react#29023
- react/react#29015
- react/react#29016
- react/react#28988
- react/react#28987
- react/react#28986
- react/react#29014
- react/react#28982
- react/react#29006
- react/react#28973
- react/react#28841
- react/react#28964
- react/react#28990
- react/react#29003
- react/react#28989
- react/react#28893
- react/react#28887
- react/react#28807
- react/react#28978
- react/react#28963
- react/react#28972
- react/react#28970
- react/react#28816
- react/react#28977
- react/react#28974
- react/react#28976
- react/react#28975
- react/react#28969
- react/react#28966
- react/react#28056

</details>
@eps1lon eps1lon mentioned this pull request May 16, 2024
Update React from 04b058868c to 81c5ff2e04 vercel/next.js#65869
Merged
lubieowoce added a commit to vercel/next.js that referenced this pull request May 21, 2024
@lubieowoce
Update React from 04b058868c to d3ce0d3ea9
6761b98
### React upstream changes

-  75871d7de [ssa] Add support for other kinds of Instructions (Sathya Gunasekaran)
-  bb91cbbf6 [hir][be] Use a Map to store ObjectExpression.properties  (Sathya Gunasekaran)
-  f54d121d7 [hir][be] Use a Map to store JsxExpression.props  (Sathya Gunasekaran)
-  c347e8b6d [ssa][be] Delete dead code  (Sathya Gunasekaran)
-  152c3e81d [hir][be] Use .kind() to update and find ValueKind (Sathya Gunasekaran)
-  f4df34542 Improve playground validation, workaround lack of JSX support  (Joseph Savona)
-  a7450572f import runtime from "React.unstable_ForgetRuntime"  (Joseph Savona)
-  2f34f8501 Enable no-use-before-define validation in playground  (Joseph Savona)
-  00a58cdab Option to validate output with ESLint  (Joseph Savona)
-  94f1e6f27 Add runtime dependencies to the dependencies  (Jan Kassens)
-  eeb01b17e [ssa] Remove lambdas for update functions  (Sathya Gunasekaran)
-  b9ce8bdcf [SSA] Fix identifierID hack  (Sathya Gunasekaran)
-  379251c65 Add SSA-ify pass  (Sathya Gunasekaran)
-  9524c5848 Replace `import from '.'` with path name  (Jan Kassens)
-  95fe4ed0e Include `Utils.Component()` in BailOnCapitalizedFunctionCalls  (Tianyu Yao)
-  704d93600 [easy] rename InferReference{Capability=>Effects}  (Joseph Savona)
-  471201774 Include `Utils.Component()` in BailOnCapitalizedFunctionCalls  (Tianyu Yao)
-  46d7f4f8a Synchronize symbol names with React  (Lauren Tan)
-  b03752cbe Use for loop instead of Array.prototype.fill  (Lauren Tan)
-  90e189ae8 Add react-forget-runtime  (Jan Kassens)
-  8f42eda43 Provide full path to tsc  (Lauren Tan)
-  9e8224cc5 Pass `init` to E0007 diagnostic  (Lauren Tan)
-  33735b90f Add a ts:analyze-trace command  (Lauren Tan)
-  e939cacf9 Don't console.error in dev  (Lauren Tan)
-  101ee3a44 Allow capitalized function identifiers to be allowlisted  (Lauren Tan)
-  58100e3d6 Use CompilerError invariant  (Lauren Tan)
- react/react#662
-  0000ab6ca [new-arch] HIR cleanup per discussion  (Joseph Savona)
-  73059d9a4 [Playground][Nit] Add delete + overtype for autoclosing brackets  (mofeiZ)
-  144e85626 Cleanup reverse postordering  (Joseph Savona)
-  b01fbfa7f Change function parameters to type Place  (Sathya Gunasekaran)
-  5149ce0fb [new-arch] Store HIR blocks in reverse postorder  (Joseph Savona)
-  3d4130140 [new-arch] Scaffolding and fixtures for mutability lifetime inference  (Joseph Savona)
- react/react#651
-  beb6e1431 [new-arch] Improve reference-kind analysis  (Joseph Savona)
-  7f17dd84d Import useMemoCache from unstable name  (Jan Kassens)
-  e575e2292 Add hash of Babel plugin to Jest transform  (Jan Kassens)
-  b605fc1ab [BE] Even more permissive ref annotation comment  (Xuan Huang (黄玄))
-  a574d1598 [Fix] Control Dep Should Only Add To Defs  (Xuan Huang (黄玄))
-  19b08e67a [Bailout] When Inputs Detected In DepGraph Cycle  (Xuan Huang (黄玄))
-  cbbfba27b [new-arch][easy] Handle declarations (let/const) through codegen  (Joseph Savona)
-  90ab34650 [new-arch][easy] Codegen for switch statements  (Joseph Savona)
-  f5f914338 [new-architecture] Reassignment-safe frozenness inference  (Joseph Savona)
-  e877f89dd Allow comment annotation to be spaced  (Xuan Huang (黄玄))
-  83f3999a2 Support var declaration hoisting  (Xuan Huang (黄玄))
-  896ef251b patch makeReadOnly into playground (Mofei Zhang)
-  4e0639c2d Add makeReadOnly codegen into the compiler (Mofei Zhang)
-  72775fba1 makeReadOnly implementation  (Mofei Zhang)
- react/react#589
-  a33c0b897 Initial commit (Xuan Huang (黄玄))
- react/react#29026
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@jenseng
Upgrade jest and jsdom (react#29026)
3b653cf
## Summary

This brings:
 - jest* up from 29.4.2 -> 29.7.0
 - jsdom up from 20.0.0 -> 22.1.0

While the latest version of jest-dom-environment still wants
`jsdom@^20.0.0`, it can safely use at least up to `[email protected]`. See
jestjs/jest#13825 (comment) for
details.

Upgrading to latest versions lets us improve some WheelEvent tests and
will make it possible to test a much simpler FormData construction
approach (see react#29018)

## How did you test this change?

Ran `yarn test` and `yarn test --prod` successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kassens kassens Awaiting requested review from kassens
1 more reviewer
@Pea1594 Pea1594 Pea1594 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@jenseng @react-sizebot @kassens @Pea1594 @facebook-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.