Skip to content

deps: bump jest-location-mock from 2.0.0 to 3.0.0#144

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/main/jest-location-mock-3.0.0
Open

deps: bump jest-location-mock from 2.0.0 to 3.0.0#144
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/main/jest-location-mock-3.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2026

Bumps jest-location-mock from 2.0.0 to 3.0.0.

Release notes

Sourced from jest-location-mock's releases.

v3.0.0

v2.0.0...v3.0.0 - 2026-03-06

💥 Breaking

  • Add setter method on window.location 4be68a0
  • Add spies and proxy for window.history to track its updates to the original window.location 628a60d
  • Remove expect(window.location).toBeAt("/pathname") matcher 27b5d54
    // Migrate to using built in assertion matchers
    - expect(window.location).toBeAt("/pathname");
    + expect(window.location.pathname).toEqual("/pathname");
    - expect(window.location).toBeAt("http://localhost/pathname");
    + expect(window.location.href).toEqual("http://localhost/pathname");
  • Breaking: Proxy the window._globalProxy to ensure unconfigurable window.location can be shadowed in JSDOM v21+
  • Require Node >=20, Jest ^30, upgrade dependencies e9713a2

⚡ Improvement

  • Add support for injectGlobals: false 773b8a4
  • Proxying the window._globalProxy inside the Jest environment, reverting to the vanilla JSDOM environment b3141f2

📄 Documentation

  • Add limitations, new features, alternative setup and configuration methods to readme 51a65bf
  • Fix comma typos in readme 8f9af49
  • Revert to spaces in README.md for a nicer npm homepage 3083396
  • Update README.md for JSDOM v21+ changes 3a2267c

🐛 Fix

  • Prevent window global proxy from returning unconfigurable for the set trap erroneously 1acfaf0
  • Properly reset window.location and window.history between tests 59847e1
  • Remove type declaration for internal JSDOM API 06a5922

📦 Package

  • npm: Bump jest-diff from 29.6.4 to 29.7.0 d592844
  • npm: npm update deep 26652b8

🔧 Configuration

  • Upgrade Node.js in CI to v24 8d89d38

🧹 Internal

  • Add React Testing Library cleanup to jest-setup to support missing globals 9ec5d76
  • Downgrade semantic-release 774ada3

... (truncated)

Changelog

Sourced from jest-location-mock's changelog.

v3.0.0

v2.0.0...v3.0.0 - 2026-03-06

💥 Breaking

  • Add setter method on window.location 4be68a0
  • Add spies and proxy for window.history to track its updates to the original window.location 628a60d
  • Remove expect(window.location).toBeAt("/pathname") matcher 27b5d54
  • Require Node >=20, Jest ^30, upgrade dependencies e9713a2

⚡ Improvement

  • Add support for injectGlobals: false 773b8a4
  • Proxying the window._globalProxy inside the Jest environment, reverting to the vanilla JSDOM environment b3141f2

📄 Documentation

  • Add limitations, new features, alternative setup and configuration methods to readme 51a65bf
  • Fix comma typos in readme 8f9af49
  • Revert to spaces in README.md for a nicer npm homepage 3083396
  • Update README.md for JSDOM v21+ changes 3a2267c

🐛 Fix

  • Prevent window global proxy from returning unconfigurable for the set trap erroneously 1acfaf0
  • Properly reset window.location and window.history between tests 59847e1
  • Remove type declaration for internal JSDOM API 06a5922

📦 Package

  • npm: Bump jest-diff from 29.6.4 to 29.7.0 d592844
  • npm: npm update deep 26652b8

🔧 Configuration

  • Upgrade Node.js in CI to v24 8d89d38

🧹 Internal

  • Add React Testing Library cleanup to jest-setup to support missing globals 9ec5d76
  • Downgrade semantic-release 774ada3
  • Improve tests for existing logic 8ef5de8
  • Remove extraneous eslint disables e3401af
  • Simplify GitHub Actions npm cache 0a0441c
  • Update GitHub Actions ed50b4d
  • Update workaround for the window.location setter type in test 2c5a159
  • Upgrade ESLint config 91295cc

v3.0.0-alpha.1

... (truncated)

Commits
  • 47a5575 Release: 3.0.0 [skip ci]
  • f811641 Merge pull request #179 from evelynhathaway/dev
  • 40e44b1 Merge pull request #195 from evelynhathaway/evelyn/jsdom-v21-support
  • 8d89d38 CI: Upgrade Node.js in CI to v24
  • 9ec5d76 Chore: Add React Testing Library cleanup to jest-setup to support missing glo...
  • 27b5d54 Breaking: Remove expect(window.location).toBeAt("/pathname") matcher
  • 773b8a4 Update: Add support for injectGlobals: false
  • 06a5922 Fix: Remove type declaration for internal JSDOM API
  • 3083396 Docs: Revert to spaces in README.md for a nicer npm homepage
  • 1acfaf0 Fix: Prevent window global proxy from returning unconfigurable for the set tr...
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jest-location-mock](https://github.com/evelynhathaway/jest-location-mock) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/evelynhathaway/jest-location-mock/releases)
- [Changelog](https://github.com/evelynhathaway/jest-location-mock/blob/main/CHANGELOG.md)
- [Commits](evelynhathaway/jest-location-mock@v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: jest-location-mock
  dependency-version: 3.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants