Skip to content

fix(deps): update dependency webpack-merge to v6#35936

Merged
feanil merged 2 commits intomasterfrom
renovate/webpack-merge-6.x
Sep 22, 2025
Merged

fix(deps): update dependency webpack-merge to v6#35936
feanil merged 2 commits intomasterfrom
renovate/webpack-merge-6.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 29, 2024

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
webpack-merge 4.2.2 -> 6.0.1 age confidence

Release Notes

survivejs/webpack-merge (webpack-merge)

v6.0.1

Compare Source

  • Fix - Restore usage of clone-deep as there was a corner case where structuredClone did not work as expected. #​214

v6.0.0

Compare Source

  • Chore - Update internal dependencies. As a result, the package needs at least Node 18 to run.
  • Chore - Use structuredClone over clone-deep dependency since it is included to Node 18 or above. #​214

v5.10.0

Compare Source

  • Feat - Support object/array-formed condition for mergeWithRules. #​212

v5.9.0

Compare Source

v5.8.0

Compare Source

  • Docs - Update env example to be webpack 5 compatible. #​177, #​180
  • Feat - Support strings as rules for TypeScript, not just enums. #​179, #​185

v5.7.3

Compare Source

  • Fix - Don't merge strings with objects in mergeWithRules. #​172

v5.7.2

Compare Source

  • Fix - If there's no match when using merge operation with mergeWithRules, use default merge behavior as a fallback. #​167

v5.7.1

Compare Source

  • Fix - Fix a merge failure for mergeWithRules when non-array matches are merged. #​166

v5.7.0

Compare Source

  • Feat - Throw a TypeError if trying to use mergeWithRules with invalid configuration types for append/prepend/merge operations.

v5.6.1

Compare Source

  • Fix - Drop extraneous logging.

v5.6.0

Compare Source

  • Feat - Support merge (CustomizeRule.Merge) for objects at mergeWithRules. This is useful for merging loader options for example. #​163

v5.5.0

Compare Source

  • Feat - Allow mergeWithRules to merge based on rules without a match. #​151 #​159

v5.4.1

Compare Source

  • Fix - Allow mergeUnique to work with arbitrary order. #​161

v5.4.0

Compare Source

  • Fix - Fall back correctly in mergeWithRules for cases that aren't matched. #​157 #​158
  • Fix - Don't throw if using mergeWithRules without a rule #​151
  • Feat - Throw if undefined is passed to merge as a structure to merge

v5.3.0

Compare Source

  • Fix - Expose Configuration type through a generic to TypeScript to support both webpack 4 and 5 #​141 #​154

In case you use webpack 4, please change your typing as instructed in the readme as the default type is loose but non-breaking.

v5.2.0

Compare Source

  • Feature - Support advanced merging cases through mergeWithRules #​146 #​149

v5.1.4

Compare Source

  • Fix - Expose CustomizeRule for TypeScript users #​147

v5.1.3

Compare Source

  • Fix - Allow merging a RegExp to itself #​145

v5.1.2

Compare Source

  • Fix - Allow overriding an object field with null #​144

v5.1.1

Compare Source

  • Fix - Drop <reference types="webpack-dev-server" /> from index.d.ts #​143

v5.1.0

Compare Source

  • Feature - Expose merge as default for backwards-compatibility with TypeScript. Now import merge from "webpack-merge"; works there. In CommonJS, the default alias is exposed through default property due to technical constraints.

v5.0.9

Compare Source

  • Fix - Don't crash on merge() and merge([]). Now {} is returned in these corner cases.

v5.0.8

Compare Source

v5.0.7

Compare Source

  • Fix - Drop tslib dependency by setting "importHelpers": false,

v5.0.6

Compare Source

  • Fix - Add tslib to dependencies

v5.0.5

Compare Source

  • Tech - Optimize build size (UMD isn't needed)

v5.0.4

Compare Source

  • Documentation - Use CommonJS imports at the examples. #​137

v5.0.3

Compare Source

  • Feature - Support TypeScript out of the box. #​84 #​86 #​95 #​110 #​112
  • Deprecation - merge.smart has been dropped as it's tricky to support all the corner cases. Instead, it's better to use the provided utilities to put together a merge that fits your case.
  • Deprecation - mergeStrategy has been dropped in favor of using mergeWithCustomize with customizeArray and customizeObject.
  • Deprecation - merge.multiple has been dropped as the functionality was too specific and it's better to implement in the user space if needed.
  • Breaking - merge has been moved as a regular import (i.e. import { merge } from 'webpack-merge').
  • Breaking - Merge customization has been moved behind mergeWithCustomize.
  • Breaking - Bump supported Node version to 12
  • Feature - customizeArray supports wildcards now. Example: 'entry.*': 'prepend'. #​45 #​99
  • Feature - Throw an error in case a Promise is being merged. It's better to wrap configuration within a Promise and merge inside it. #​81
  • Fix - Drop lodash in favor of simpler dependencies. #​134
  • Fix - Make unique merge from right to left to match behavior elsewhere. #​119
  • Fix - Make sure unique doesn't lose non-unique items to merge. #​125

Special thanks to Google and Addy Osmani for supporting the work financially as it allowed me to complete the work required by the new major release.

v5.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, 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 force-pushed the renovate/webpack-merge-6.x branch from 1c2b943 to d49a97a Compare March 5, 2025 15:12
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from d49a97a to 84684c1 Compare May 6, 2025 11:22
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from 84684c1 to 39154d0 Compare May 23, 2025 04:14
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch 2 times, most recently from 68ee2d0 to ceb6335 Compare August 13, 2025 12:49
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from ceb6335 to 5f5efc7 Compare August 19, 2025 15:39
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from 5f5efc7 to 1279d7d Compare August 31, 2025 09:53
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from 1279d7d to 1025ad7 Compare September 10, 2025 20:39
@renovate renovate bot force-pushed the renovate/webpack-merge-6.x branch from 1025ad7 to 1c35881 Compare September 18, 2025 15:47
@renovate
Copy link
Contributor Author

renovate bot commented Sep 18, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

The smart merge feature has been dropped from the webpack-merge library
that we were using. Use the basic merge feature instead since we're not
actually doing anything too complicated.

Also don't return null from the WorkerConfig as it can't be correctly
merged.
@feanil feanil force-pushed the renovate/webpack-merge-6.x branch from a27d512 to 9a02c73 Compare September 19, 2025 16:53
@feanil feanil added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Sep 19, 2025
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@feanil feanil merged commit 198886d into master Sep 22, 2025
65 checks passed
@feanil feanil deleted the renovate/webpack-merge-6.x branch September 22, 2025 16:10
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants