Skip to content

Update dependency loader-utils to v3

Renovate requested to merge renovate/loader-utils-3.x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
loader-utils ^2.0.4 -> ^3.0.0 age adoption passing confidence

Release Notes

webpack/loader-utils

v3.2.1

Compare Source

v3.2.0

Compare Source

Features
  • hash uniformity for base digests (451858b)
3.1.3 (2021-11-04)
Bug Fixes
3.1.2 (2021-11-04)
Bug Fixes
3.1.1 (2021-11-04)
Bug Fixes
  • base64 and unicode characters (02b1f3f)

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

Features
  • added md4 (wasm version) and md4-native (crypto module version) algorithms (cbf9d1d)

v3.0.0

Compare Source

BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0 (93a87ce)
  • use xxhash64 by default for [hash]/[contenthash] and getHashDigest API
  • [emoji] was removed without replacements, please use custom function if you need this
  • removed getOptions in favor loaderContext.getOptions (loaderContext is this inside loader function), note - special query parameters like ?something=true is not supported anymore, if you need this please do it on loader side, but we strongly recommend avoid it, as alternative you can use ?something=1 and handle 1 as true
  • removed getRemainingRequest in favor loaderContext.remainingRequest (loaderContext is this inside loader function)
  • removed getCurrentRequest in favor loaderContext.currentRequest (loaderContext is this inside loader function)
  • removed parseString in favor JSON.parse
  • removed parseQuery in favor new URLSearchParams(loaderContext.resourceQuery.slice(1)) where loaderContext is this in loader function
  • removed stringifyRequest in favor JSON.stringify(loaderContext.utils.contextify(loaderContext.context || loaderContext.rootContext, request)) (loaderContext is this inside loader function), also it will be cachable and faster
  • isUrlRequest ignores only absolute URLs and #hash requests, data URI and root relative request are handled as requestable due webpack v5 support them
Bug Fixes
  • allowed the interpolateName API works without options (862ea7d)

Configuration

📅 Schedule: 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited by Renovate

Merge request reports