Skip to content

Update dependency fetch-mock to v12 - #104

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fetch-mock-12.x
Open

Update dependency fetch-mock to v12#104
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fetch-mock-12.x

Conversation

@renovate

@renovate renovate Bot commented Oct 25, 2024

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
fetch-mock (source) ^9.11.0^12.0.0 age confidence

Release Notes

wheresrhys/fetch-mock (fetch-mock)

v12.6.0

Compare Source

Features
  • implement host: matcher (2b0a43d)
Documentation Changes
  • document new host matcher (6205357)

v12.5.6

Compare Source

Bug Fixes
  • clean abort event listener once it's called or response is returned (4606250)
  • clean abort event listener once it's called or response is returned (ca51920)

v12.5.5

Compare Source

Bug Fixes
  • do not try to get a reader from a locked request oder response to cancel them (8c23ecf)
  • use optional chaining operator and do not try to cancel locked request or response to prevent errors (b1ff114)
  • use optional chaining operator to prevent errors (87f8399)

v12.5.4

Compare Source

Bug Fixes
  • apply browser exports fix for fetch-mock package (318cd94)

v12.5.3

Compare Source

Bug Fixes
  • add wrapper class to fix type ambiguity (b093bb0)
  • add wrapper class to fix type ambiguity (ea45aec)

v12.5.2

Compare Source

Bug Fixes
  • allow matching body for delete requests (891197c)

v12.5.1

Compare Source

Bug Fixes
  • improve handling of abort (5c1085d)
  • remove deprecated is-subset-of (a2546ef)

v12.4.0

Compare Source

Features
  • add ability to wait for multiple routes (c3dc9c3)
  • implement waitFor option (5500228)
Bug Fixes
  • clone response before using (2ccf18e)
  • use a promise, no function, to implement waitFor (8783101)

v12.3.0

Compare Source

Features
  • added overwriteRoutes: true rule to codemods (b3d1468)
  • implemented modifyRoute() method (f62e3d6)
  • implemented removeRoute method (584a861)
Bug Fixes
  • make types for modify route config more accurate (6894569)
  • prevented overwriting stickiness of a route (87f8c9b)

v12.2.1

Compare Source

Bug Fixes
  • fix failure to spy in browsers (bfaa5f3)

v12.2.0

Compare Source

Features
  • implement new hardReset method (d7e0776)
  • update codemods to use hardReset() (757d480)

v12.1.0

Compare Source

Features
  • fetch-mock: add include: matcher for urls (02f880c)

v12.0.2

Compare Source

Bug Fixes
  • allow sending responses with status 0 (92c06e9)

v12.0.1

Compare Source

Bug Fixes
  • clearHistory() can deal with unmatched calls (012e9ca)

v12.0.0

Compare Source

⚠ BREAKING CHANGES
  • Replaced legacy fetch-mock code with fetch-mock/core code
Features
  • Replaced legacy fetch-mock code with fetch-mock/core code (999ce92)

v11.1.5: fetch-mock: v11.1.5

Compare Source

Bug Fixes
  • change export order so default is last (bc9c41d)

v11.1.4: fetch-mock: v11.1.4

Compare Source

Documentation Changes
  • another occurrence of the cheatsheet ref (875e4f6)
  • fix link to cheatsheet (33e75b1)

v11.1.3: fetch-mock: v11.1.3

Compare Source

Bug Fixes
  • add missing metadata to package.json files (4ab78b9)

v11.1.1: fetch-mock: v11.1.1

Compare Source

Bug Fixes
  • roll back to glob-to-regexp (b114124)

v11.1.0: fetch-mock: v11.1.0

Compare Source

Features
  • remove debug mode from fetch-mock (89890b6)

v11.0.2: fetch-mock: v11.0.2

Compare Source

Bug Fixes
  • add license file to each package (9b36f89)

v11.0.1: fetch-mock: v11.0.1

Compare Source

Bug Fixes
  • fixes importimng into .mts files (98ad40e)

v11.0.0: fetch-mock: v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • force fetch-mock major release
Bug Fixes
  • force fetch-mock major release (1b31416)

v10.1.1: fetch-mock: v10.1.1

Compare Source

Bug Fixes
  • change module system declaratuions to avoid top level type: module (ed00140)

v10.1.0: fetch-mock: v10.1.0

Compare Source

Features
  • wip: replace dequal, glob-to-regexp and bump path-to-regexp (d8d8b25)
Bug Fixes

v10.0.8: fetch-mock: v10.0.8

Compare Source

Bug Fixes
  • rename fetch-mock-legacy directory to fetch-mock (95fd761)
  • test release please again (3a9eb12)
Miscellaneous

v10.0.7: Make type definitions compatible with ESM and CommonJs

Compare Source

v10.0.6: Fix type definitions

Compare Source

v10.0.5: Fix exports

Compare Source

v10.0.4: Simple API for naming routes

Compare Source

e.g. .mock('/path', 200, 'my-name')

v10.0.3: Remove custom aborterror implementation

Compare Source

v10.0.2: Support matching data URLs

Compare Source

v10.0.1: Small fixes to types

Compare Source

v10.0.0: ESM and native fetch

Compare Source

A major rewrite to use ESM modules and default to using native fetch in all environments

Other than that the API remains unchanged


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Oct 25, 2024

Copy link
Copy Markdown
Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @testing-library/react-hooks@8.0.1
npm error Found: @types/react@18.2.20
npm error node_modules/@types/react
npm error   dev @types/react@"^18.0.26" from the root project
npm error   peerOptional @types/react@"^17.0.0 || ^18.0.0" from @mui/base@5.0.0-beta.11
npm error   node_modules/@mui/base
npm error     @mui/base@"5.0.0-beta.11" from @mui/material@5.14.5
npm error     node_modules/@mui/material
npm error       @mui/material@"^5.11.13" from the root project
npm error   12 more (@mui/material, @mui/private-theming, @mui/system, ...)
npm error
npm error Could not resolve dependency:
npm error peerOptional @types/react@"^16.9.0 || ^17.0.0" from @testing-library/react-hooks@8.0.1
npm error node_modules/@testing-library/react-hooks
npm error   dev @testing-library/react-hooks@"^8.0.1" from the root project
npm error
npm error Conflicting peer dependency: @types/react@17.0.93
npm error node_modules/@types/react
npm error   peerOptional @types/react@"^16.9.0 || ^17.0.0" from @testing-library/react-hooks@8.0.1
npm error   node_modules/@testing-library/react-hooks
npm error     dev @testing-library/react-hooks@"^8.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-07-30T16_39_55_864Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-07-30T16_39_55_864Z-debug-0.log

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.

0 participants