NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #434 most downloaded on npm
A library for deep (recursive) merging of Javascript objects
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.3 years
Most releases are documented
notes for 38 of 46 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
46 releases · first in 2012
Fix type definition for arrayMerge options. #239
Avoid thrown errors if the target doesn't have propertyIsEnumerable. #252
propertyIsEnumerable. #252One column per quarter.
isMergeableObject is now only called if there are two values that could be merged. a34dd4d2
isMergeableObject is now only called if there are two values that could be merged. a34dd4d2Fix: falsey values can now be merged. #170
Properties are now only overwritten if they exist on the target object and are enumerable. #164
Technically this could probably be a patch release since "which properties get overwritten" wasn't documented and accidentally overwriting a built-in function or some function up the property chain would almost certainly be undesirable, but it feels like a gray area, so here we are with a feature version bump.
Rolled back #167 since Object.assign breaks ES5 support. 55067352
Object.assign breaks ES5 support. 55067352The options argument is no longer mutated #167
options argument is no longer mutated #167cloneUnlessOtherwiseSpecified is now exposed to the arrayMerge function #165
cloneUnlessOtherwiseSpecified is now exposed to the arrayMerge function #165The main entry point in package.json is now a CommonJS module instead of a UMD module #155
main entry point in package.json is now a CommonJS module instead of a UMD module #155Enumerable Symbol properties are now copied #151
bumping dev dependency versions to try to shut up bogus security warnings from Github/npm #149
feature: added the `customMerge` option #133
customMerge option #133typescript typing: make the all function generic #129
all function generic #129- drop ES module build #123
bug: typescript export type was wrong #121
feature: added TypeScript typings #119
documentation: Rename "methods" to "api", note ESM syntax #103
feature: Support a custom isMergeableObject function #96
documentation: fix the old array merge algorithm in the readme. #84
breaking: the array merge algorithm has changed from a complicated thing to target.concat(source).map(element => cloneUnlessOtherwiseSpecified(element
target.concat(source).map(element => cloneUnlessOtherwiseSpecified(element, optionsArgument))clone option now defaults to truemerge.all now accepts an array of any size, even 0 or 1 elementsSee pull request 77.
fix: no longer attempts to merge React elements #76
bower support: officially dropping bower support. If you use bower, please depend on the unpkg distribution. See #63
bug fix: merging objects into arrays was allowed, and doesn't make any sense. #65 published as a feature release instead of a patch because it is a de
bower support: updated main in bower.json
main in bower.jsonbower support: inline is-mergeable-object in a new CommonJS build, so that people using both bower and CommonJS can bundle the library 0b34e6
performance: bump is-mergeable-object dependency version for a slight performance improvement 5906c7
documentation: fix unpkg link acc45b
api: instead of only exporting a UMD module, expose a UMD module with pkg.main, a CJS module with pkg.browser, and an ES module with pkg.module #62
pkg.main, a CJS module with pkg.browser, and an ES module with pkg.module #62documentation: note the minified/gzipped file sizes 56
documentation: clarify and test some array merging documentation: pull request 51
feature: merge.all, a merge function that merges any number of objects: pull request 50
merge.all, a merge function that merges any number of objects: pull request 50fix: an error that would be thrown when an array would be merged onto a truthy non-array value: pull request 46
fix an issue where an error was thrown when merging an array onto a non-array: Pull request 46
allow consumers to specify their own array merging algorithm: Pull request 37
adding bower.json back: Issue 38
Updating the readme: dropping bower, testing that the example works: 7102fc
null, dates, and regular expressions are now properly merged in arrays: Issue 18, plus commit: ef1c6b
Should only be a patch change, because this module is READY. Issue 15
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →