Skip to content

Upgrade (most) JavaScript devDependencies#7066

Merged
aduth merged 3 commits intomainfrom
aduth-update-dev-deps
Oct 3, 2022
Merged

Upgrade (most) JavaScript devDependencies#7066
aduth merged 3 commits intomainfrom
aduth-update-dev-deps

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Sep 30, 2022

🛠 Summary of changes

Upgrades most development JavaScript devDependencies, with a couple exceptions:

  • React-related dependencies were not upgraded because we're still on an older version of React and unable to upgrade due to Internet Explorer support
  • @testing-library/dom has some challenging breaking changes to sort through, which I will plan to address separately

Since devDependencies are largely limited to TypeScript and testing-related tools, these upgrades should be relatively safe assuming all existing tests pass.

📜 Testing Plan

  • Observe few results in npx npm-check-updates --dep dev (React related dependencies and @testing-library/dom)

Object.assign(global, windowGlobals);
global.window.fetch = () => Promise.reject(new Error('Fetch must be stubbed'));
global.window.crypto = webcrypto;
Object.defineProperty(global.window, 'crypto', { value: webcrypto });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

JSDOM became upset with this after the upgrade:

TypeError: Cannot set property crypto of #<Window> which has only a getter

@aduth aduth merged commit 56bc92e into main Oct 3, 2022
@aduth aduth deleted the aduth-update-dev-deps branch October 3, 2022 15:26
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
* Upgrade JSDOM

* Upgrade devDependencies

* changelog: Internal, Dependencies, Upgrade development dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants