NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2022 most downloaded on npm
traverse and transform objects by visiting every node on a recursive walk
Latest stable
0.6.14
Last release 1 months ago
07 Oct 2026
Ships unpredictably
gaps range from 3 weeks to 9.1 years
Nearly every release is documented
notes for 44 of 46 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
46 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
[Fix] an undefined or null options argument is the same as none `e3bb15c`
[Fix] set: convert path segments with es-to-primitive `c46f7e7`
set: convert path segments with es-to-primitive c46f7e7Your coding agent can read these notes before it upgrades. Set up the MCP server →
[Fix] remove, delete: visit every remaining sibling exactly once `#18`
remove, delete: visit every remaining sibling exactly once #18set: only follow and create own properties; never write to a built-in prototype 81ccab4clone, map, immutable forEach: copy an own __proto__ key as an own property 770d9fcclone, map, immutable forEach: copy boxed primitives instead of sharing them 3e03610eslint dabef68set: do not descend into a property that could not be created as an own property 37a9ebdremove: a repeated remove() removes the element that took the node's place 940f4d795382f8clone, map: add a test for a Buffer 3631118@ljharb/eslint-config, eslint 5691345@ljharb/eslint-config, auto-changelog, es-value-fixtures, eslint, npmignore, tape 3a92419ee21263e07218c60be911auto-changelog; remove encoding 79fe607eslint f131e8btypedarray.prototype.slice 4b22169which-typed-array c287366cache-mode fb61e0e[Fix] .has should not return true on a falsy node `#20`
[Fix] continue iterating properly when items are removed `#18`
#1814f3ef3@ljharb/eslint-config, auto-changelog, tape c232f79368e82caud with npm audit 343a68fmodifiers 8edc266ecfc692[New] support cloning Typed Arrays `18c32c5`
18c32c5includeSymbols option; partial revert of "[New] support enumerable Symbol properties" aab373f595d64e7539473immutable boolean 0f1e6f1typedarray.prototype.slice, which-typed-array 165f954typedarray.prototype.slice ed483edtape 5ee670c[New] support enumerable Symbol properties `7d659e7`
7d659e78a04a68f94bda47c907d6@ljharb/eslint-config, aud, npmignore, tape 8ca47dcb5a9d3aengines.node 22952cf17d9faa5462b41[eslint] fix indentation and whitespace `89fc65c`
89fc65c1921966auto-changelog c291ed29a8fd34tape afd6a95559372e0e613fdfunding in package.json 26a9ae3npmignore to autogenerate an npmignore file 0e09fe6e1ac253035e2c0safe-publish-latest c2797acaud in posttest ff93f53remove tap as a dep to get around the cyclic library issues `85e1b23`
fix for Cannot convert null to object at hasOwnProperty (native) when node is null `d9f52fa`
Update state with the current node before recursing `3857dca`
3857dca28d5fb6ef3694fee66cd109f560c5c6f161576832acheck builtins using the toString.call trick `459378b`
has() with tests, documented get() and set() too `aeebf14`
aeebf14[Fix] remove, delete: visit every remaining sibling exactly once `#18`
remove, delete: visit every remaining sibling exactly once #18.has should not return true on a falsy node #20#18d6a57eccf822722c7b9d7set: only follow and create own properties; never write to a built-in prototype 402e0b1auto-changelog ad75588clone, map, immutable forEach: copy an own __proto__ key as an own property 0b6cff85ffcb4cclone, map, immutable forEach: copy boxed primitives instead of sharing them 410ee80includeSymbols option; partial revert of "[New] support enumerable Symbol properties" 7bbfb0476aa00f31b85cd3073c13tape f2d4f2e5251dcb7550cf1undefined or null options argument is the same as none 92ffeb6set: do not descend into a property that could not be created as an own property 0a5187078f99ccremove: a repeated remove() removes the element that took the node's place 8b6a4708f869a43f4e83edd776480224988get, has: a null or undefined node along the path means the path does not exist cc135fa2dce689311e6a6b39ab51432dd45clone, map: add a test for a Buffer 5ca92d3e247c1eade5927f809f00752c6f5231a249funding in package.json 73a137fe1c3334immutable boolean b3d1aadbc7ab770cf9f7fnpmignore to autogenerate an npmignore file 882da547f84d7a525b5c1d450641set: convert path segments with es-to-primitive d972a1e0f24053e79bd5a5e6c16fb5c15ae0063554fa4020dsafe-publish-latest 754c6650e2c7f8cee1994engines.node e712df4cache-mode 29de771modifiers 52f5acc9ff20d8258ed142ddb72ea9222f1d242803ea57bcb7100e48aud with npm audit 49b214f49bf6d8ed4d0e9Should be able to stop traversing when removing or deleting `4aa61ef`
fix for brokenness in IE with using the wrong variable name for the prototype checking `4cb7bcb`
4cb7bcbspun off deepEqual into a utility library `9d5148a`
[Fix] remove, delete: visit every remaining sibling exactly once `#18`
remove, delete: visit every remaining sibling exactly once #18.has should not return true on a falsy node #20#187755f6b5d9608f8d1d42cset: only follow and create own properties; never write to a built-in prototype f95f9aaauto-changelog 25e125aclone, map, immutable forEach: copy an own __proto__ key as an own property 2c09544684c7b47e704dfclone, map, immutable forEach: copy boxed primitives instead of sharing them a4e4410includeSymbols option; partial revert of "[New] support enumerable Symbol properties" e0ef213e79f1616864c01tape e4e7e1b42e673c641843b35cf0adundefined or null options argument is the same as none 36f86ccset: do not descend into a property that could not be created as an own property 99fd7a5d14aa253c207e7remove: a repeated remove() removes the element that took the node's place 72ce394b5d04aeee28666f582b6aadbdeeeget, has: a null or undefined node along the path means the path does not exist 5a165172d80dd6dc857669680594f0d105adf6a52784b111cclone, map: add a test for a Buffer 083e9b61345db4a144845290e38c9aa00a32fe4f72ff3cde8funding in package.json cf554b62d96e31immutable boolean ff077793c739431d7a199npmignore to autogenerate an npmignore file fd37d33set: convert path segments with es-to-primitive c69ae1522ecd53cf96ae881061fec15ae0c3c6f953ceee2509a074293f5453dsafe-publish-latest 2ba7bed5302ebef6565624a4d48bengines.node 8f99dedcache-mode 88c6dd5modifiers abedd096f731e671f00a03f44a1170e6eacd2ba5914dd1754aud with npm audit 3a5ae1c5a25904a635743some minor adjustments to expose keys for sibling calculations `a936bea`
a936beainclude circular ref example in the readme, Traverse => traverse `4a6285f`
allow setting of keys (ordering) in before modifier `9fb8e2c`
bump to 0.4.3 for guybrush's IE fixes `c74a7ea`
bump to 0.4.2 for this.block() with a passing test `d945818`
moved stop behavior in updates into a second keepGoing argument `1d31897`
1d31897subexpr test passes by checking if update() happened `44e731b`
1d043f001d35ce79d615f9aea0a144e731b3d5057a090c3d4be2b5740ee24ccda698d6[Fix] remove, delete: visit every remaining sibling exactly once `#18`
remove, delete: visit every remaining sibling exactly once #18.has should not return true on a falsy node #20#18665168b141d2ed88c39e5set: only follow and create own properties; never write to a built-in prototype 152afadauto-changelog a7d57daclone, map, immutable forEach: copy an own __proto__ key as an own property c6369161b839291d48725clone, map, immutable forEach: copy boxed primitives instead of sharing them 13ac907includeSymbols option; partial revert of "[New] support enumerable Symbol properties" ffff0370a7527b6a4a410tape badadfa863400da3c6a6f3a306bbundefined or null options argument is the same as none 63bfcb8set: do not descend into a property that could not be created as an own property be0a8addea6d8752f4f43remove: a repeated remove() removes the element that took the node's place 8bb5c96a1daed24d29b9c94b8ac3176b5027bcf523get, has: a null or undefined node along the path means the path does not exist e724f3c211ba0ef443599a075a1afdbe25d0a5212d728a75f22520d180e7578d8c90713d2b4dbclone, map: add a test for a Buffer 1de7f38308142af38bc173b6087c1d9bdfa6e5b316ba2a85bfunding in package.json bd5de2b16ce1aef281ad2immutable boolean 089f54248c0213ec9eb65npmignore to autogenerate an npmignore file 63f0283set: convert path segments with es-to-primitive 5caa8532bdbbb161f55010b2e82abe4a39868a5c18208e933d1b134054a356fdc28d5ea19fce6safe-publish-latest 8d5233cf9f76af3469e6a2f0d9f5engines.node b361a59cache-mode 5f1a7ebmodifiers 06d8bdf58464cc6d452855527e4190be0e23dcf61f977d8b713fceedb4c73ddaud with npm audit cc3ee42cc7b4a486b948594692fa7ef056can amazing number of test descriptions were getting ignored `1d043f0`
1d043f001d35ce79d615f9aea0a13d5057a090c3d40ee24ccda698d6f20a2f46739acbb83be23tests for some bugs in deepEqual `2b15a41`
2b15a41bfdc40e56553ff6721461f5d429a7010fe273efbe50a6d27d0c1e021now with syntax-highlightable markdown snippets `d4a7710`
tests for not-yet-written deepEqual() `5267ae1`
5267ae16fe06a55eab6627fa7247fc23e4f04e5492b9d1110b423996a914717cb7c1b0took out up-front cloning, only fails date test `718d01b`
updated readme for this.delete() and this.remove() `e4cea30`
this.remove() and this.delete() with passing tests `d603771`
d603771now traverses over dates correctly and should work for other builtins `bb8d1b5`
updated readme and examples for the new interface changes `aa2d4f3`
aa2d4f336df8747a0969f6a6cb49d190897c89ae4b423066ed411695ee52d8042b6b84completely rewrote Traverse, deleted hash.js and web.js `414c726`
Nothing published for this version
Nothing published for this version
for some silly reason I was requiring sys `95712d9`
95712d9a hash exclude test and a package bump `536b93d`
detect test, package bump `04b1d50`
better compatability fallbacks for ff, maybe ie `33577aa`
deepEquals to make the tests simpler `a962ed8`
a962ed835298be02727cf348777167b6d3d616514e0226636add stringify to examples `6683529`
deprecated .get() in favor of .value `a8d1645`
e7ec7def0ee5676de18e55662b6f5aa3f84a8d1645f22580aOne column per quarter.