Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump loader-utils from 2.0.3 to 3.0.0 #3

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 9, 2022

Bumps loader-utils from 2.0.3 to 3.0.0.

Release notes

Sourced from loader-utils's releases.

v3.0.0

3.0.0 (2021-10-20)

⚠ 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(this.context, 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)
Changelog

Sourced from loader-utils's changelog.

3.0.0 (2021-10-20)

⚠ 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)

2.0.0 (2020-03-17)

⚠ BREAKING CHANGES

  • minimum required Node.js version is 8.9.0 (#166) (c937e8c)
  • the getOptions method returns empty object on empty query (#167) (b595cfb)
  • Use md4 by default

1.4.0 (2020-02-19)

Features

  • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

1.3.0 (2020-02-19)

Features

  • support the [query] template for the interpolatedName method (#162) (469eeba)

... (truncated)

Commits
  • e1e9f89 chore(release): 3.0.0
  • 862ea7d fix: allow interpolateName works without options
  • f37156e test: fix
  • f2ce2ca refactor!: use xxhash64 by default for [hash]/[contenthash] and `getHas...
  • 10503d6 refactor!: added isUrlRequest again, but now it ignores only absolute URLs ...
  • 46b032d chore: deps update
  • e31e8b5 refactor!: parseString was removed in favor `new URLSearchParams(loaderCont...
  • 246e345 refactor!: parseString was removed in favor JSON.parse
  • f8ff090 ci: fix name of github action
  • 0d89522 refactor!: stringifyRequest was removed in favor `JSON.stringify(loaderCont...
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 9, 2022
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](webpack/loader-utils@v2.0.3...v3.0.0)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/loader-utils-3.0.0 branch from 7954cc0 to 06513b1 Compare November 9, 2022 14:51
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 29, 2022

Superseded by #6.

@dependabot dependabot bot closed this Nov 29, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/loader-utils-3.0.0 branch November 29, 2022 15:17
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants