{"_id":"set-in","_rev":"15-a71fe8d4dcc7290f8ccd9ab6fad8eca0","name":"set-in","dist-tags":{"latest":"2.0.5"},"versions":{"1.0.0":{"name":"set-in","version":"1.0.0","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"ISC","_id":"set-in@1.0.0","maintainers":[{"name":"ahdinosaur","email":"dinosaur@riseup.net"}],"homepage":"https://github.com/openappjs/set-in","bugs":{"url":"https://github.com/openappjs/set-in/issues"},"dist":{"shasum":"c876746ef7d775a31651c9993460e10c914df0b6","tarball":"https://registry.npmjs.org/set-in/-/set-in-1.0.0.tgz","integrity":"sha512-XHPQYFvP5aiCUgLfIewpXaayFP8ltT404pInJfrMVjdLYrmTcukvD8+q73XC/WOMq4k3jb8tM/+X4BKa1SfaDw==","signatures":[{"sig":"MEUCIQCMYi5Rww0fRkj+dgSMB9zf2/jJwalf3oOC58QSId6f4QIgQn1Kyfyz8G+fEERwtiVmAfAd411MLvV3x3YSpCFAbvg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c876746ef7d775a31651c9993460e10c914df0b6","gitHead":"559eea0d77276036087671e96e275758f9c05202","scripts":{"test":"tape test"},"_npmUser":{"name":"ahdinosaur","email":"dinosaur@riseup.net"},"repository":{"url":"git://github.com/openappjs/set-in.git","type":"git"},"_npmVersion":"1.4.28","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"dependencies":{"traverse":"^0.6.6"},"devDependencies":{"tape":"^2.14.0"}},"1.1.0":{"name":"set-in","version":"1.1.0","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"ISC","_id":"set-in@1.1.0","maintainers":[{"name":"ahdinosaur","email":"dinosaur@riseup.net"}],"homepage":"https://github.com/openappjs/set-in","bugs":{"url":"https://github.com/openappjs/set-in/issues"},"dist":{"shasum":"fe5fe0e561e17e27205cd998b9007a2a5efe010c","tarball":"https://registry.npmjs.org/set-in/-/set-in-1.1.0.tgz","integrity":"sha512-IwWv5uQFKHk6OS223LaVB0ZBNk39XY+/JIVtvzg/TNIrMRNVYMJCaSXl/oKJwAYO5L/isum3M3dxP5f/0I3cww==","signatures":[{"sig":"MEUCIQCCPmWs45OdyClWWGZB/G5rmtQRhmUA6m9Bt2acQuMnOQIgHFLIcozBll4XDyWS8BbcjFCBFf9yb3Y0IYaltYD++Mc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"fe5fe0e561e17e27205cd998b9007a2a5efe010c","gitHead":"0b9a2d5b47a2a45723f5ef630e87b8a26da37c36","scripts":{"test":"tape test"},"_npmUser":{"name":"ahdinosaur","email":"dinosaur@riseup.net"},"repository":{"url":"git://github.com/openappjs/set-in.git","type":"git"},"_npmVersion":"2.6.1","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"1.4.2","dependencies":{},"devDependencies":{"tape":"^3.5.0"}},"1.1.1":{"name":"set-in","version":"1.1.1","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"ISC","_id":"set-in@1.1.1","maintainers":[{"name":"ahdinosaur","email":"dinosaur@riseup.net"}],"homepage":"https://github.com/openappjs/set-in","bugs":{"url":"https://github.com/openappjs/set-in/issues"},"dist":{"shasum":"b2b05d8dbb2227083fdbdf0ffebd9cc6ff419158","tarball":"https://registry.npmjs.org/set-in/-/set-in-1.1.1.tgz","integrity":"sha512-59SHBt32zj58qxTGZ/CDlQ/DtpJY+lHdUrGH954rlmPdUEALMOQQajrc5rNh3taNj/JKP43m9/Y2hsIuEdqDMw==","signatures":[{"sig":"MEYCIQCbxpdcZb3fY21OMwaiH9tByVs0JL+EaEMVoco8l1zr4wIhAOgOV7dFQte/f5uwIEhDnKpObTt+PLt437Xod1JWq9Ih","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b2b05d8dbb2227083fdbdf0ffebd9cc6ff419158","gitHead":"25fd67c0e50b59c9ba6496ad58def12425c4716a","scripts":{"test":"tape test"},"_npmUser":{"name":"ahdinosaur","email":"dinosaur@riseup.net"},"repository":{"url":"git://github.com/openappjs/set-in.git","type":"git"},"_npmVersion":"2.6.1","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"1.4.2","dependencies":{},"devDependencies":{"tape":"^3.5.0"}},"2.0.0":{"name":"set-in","version":"2.0.0","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"Apache-2.0","_id":"set-in@2.0.0","maintainers":[{"name":"ahdinosaur","email":"dinosaur@riseup.net"}],"homepage":"https://github.com/ahdinosaur/set-in","bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"dist":{"shasum":"b0219d7a54368cc6bd1ca7de3d93dcac5b3e29ff","tarball":"https://registry.npmjs.org/set-in/-/set-in-2.0.0.tgz","integrity":"sha512-XbszWoIO2a2WxHqd9MZYGEcBnd4RaE7l6thoLkKyXSMkmTZjzNOVu+44uNfDzJ/lAa1XoAnc36N29GcgdBpSCw==","signatures":[{"sig":"MEQCIExChPXioxNd+uCyVcXvIrewklppx5alD+n+frzuW3R4AiBg0js0NUKIlj22SlZrQm8twOFIWR6CHguVTDKiXUxv7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b0219d7a54368cc6bd1ca7de3d93dcac5b3e29ff","gitHead":"a883c871573874037e92f309c270160a754e67be","scripts":{"test":"standard && tape test/*.js"},"_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"repository":{"url":"git://github.com/ahdinosaur/set-in.git","type":"git"},"_npmVersion":"3.9.3","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"6.2.1","dependencies":{},"devDependencies":{"tape":"^4.6.0","standard":"^3.13.2"},"_npmOperationalInternal":{"tmp":"tmp/set-in-2.0.0.tgz_1468379311974_0.8182989759370685","host":"packages-16-east.internal.npmjs.com"}},"2.0.1":{"name":"set-in","version":"2.0.1","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"Apache-2.0","_id":"set-in@2.0.1","maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"homepage":"https://github.com/ahdinosaur/set-in","bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"dist":{"shasum":"101d48a61e751d807daf1caa31a816ce3b32a3a4","tarball":"https://registry.npmjs.org/set-in/-/set-in-2.0.1.tgz","fileCount":4,"integrity":"sha512-UO/tRQlYBOz9r1CqBIdTlBSm7Rab1W9nwJldJB3a+kMUrJcbt1JJAqGVrs1T0TmirlJJpOIo+CKOTW6zisaQBg==","signatures":[{"sig":"MEYCIQCdlIg1XGNLxqkGuTuUF3OxhyHjflwVU+d8Q+Baws7ZQwIhAJwBz8qw+MIstKBzK+KiZLy5axUbYiCqAdmH9qmaw1Nm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu4zSCRA9TVsSAnZWagAAU2QP/3N0cJDcEcAynp+O4z8o\n8/oNKX2/9FA1enwE8HifOrxprE9wowGapyfEuow64DQs2AgntvySc7tbCCDa\ncmvR3JidsiQUT2D1SDUBpSCD0CeWpCUupUhze2Uj2nAaoglqpUsTNS0/xbsw\nZpX0x1CBrmxlBSkX5wb27xzaAblMpq63VWBcCGV+Oq1RMKk3Ovc7TeOsnwYG\nJ7kFhDKw+V0xOoaEVgIp+IdEkDk8kGcXxaRWWU9DVxWASyMCVPHP2KuYQY8f\n6q1acDQWH/6u5y7aSJLtqL7VqPi84+tSISidO2HpIbg6oXqz0vw9pEExDSm+\n93+fhCZZxhDa75BjJG6wFe465z0tZwD86Jv1laD3oFI2HcVh4yzHEEVDf0YI\nRADEftT1/5MUTIXzRAWuyI25xoAnV/dRqkupcI8lWsvx99w5peyZUkVnfmVX\nYFMlT5+JrG2hvQlfM+9uW+0p/1ZmiiXhsT8SHVEoFbB/J9CdaeIftBnrEEyd\nLcspTrIiTVkOGMJ/bedC0yFk+XyCZMkF2dSLPqHKnarH8sMvYYwoaayXDkok\n+xCkQthEsfMywDNeQZBEps6w0CoSJjQXzFp5qKQSP/CY5I2+AT97pNfeRzHW\nRd/vO+AOy3Qa4rlfgKy6MtLbowhCTjXpZPcSelJmM6yO+p50wWaijvwDkaY4\nwa9l\r\n=25Ry\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"46c9d5463dcdfbf6f137fa2b4baae237d6c71b63","scripts":{"test":"standard && tape test/*.js"},"_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"repository":{"url":"git://github.com/ahdinosaur/set-in.git","type":"git"},"_npmVersion":"6.14.6","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"12.18.4","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.6.0","standard":"^3.13.2"},"_npmOperationalInternal":{"tmp":"tmp/set-in_2.0.1_1606126802172_0.01373554033088853","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"set-in","version":"2.0.3","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"Apache-2.0","_id":"set-in@2.0.3","maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"homepage":"https://github.com/ahdinosaur/set-in","bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"dist":{"shasum":"5867741f3bc467b816cba15fafcb8d4c5b36e05e","tarball":"https://registry.npmjs.org/set-in/-/set-in-2.0.3.tgz","fileCount":4,"integrity":"sha512-LrcOakFwQ78lpQPBv1GmT3s/CLUM21aVCcDSgodbUL9S7/3ZpfPuF/arH7GFouIMsI68k17WWWyJLUT/nOLAGQ==","signatures":[{"sig":"MEQCIGWaFBVN7ZMY9N+jq1tNsctxzbUAUlZtqeDHH7kuuU+ZAiB7yP+03p63EFjHYdGy4AVLhBVEi0RoGphNW4T37MA4hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJfkaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpwnw//Q6r/fm7yJ6BWPEpilavmjjfO0Z9zpIzo1mu9bFUg4jx8i0HN\r\nxWaumBHH0B8NLW6BTkRGBHvKA3ES1OMhnPDCG4159pwqX4M6t2p6DsS/4OIj\r\nMbGLsAk7414gcFXNwodIx/uTNmr5okU1KSCTt7FQJmCiG59NyLcWkw+tp6h8\r\nLGHsxyfvHAhBsYLrn/H6nzMpMSpGpKC9MH5r5WTkE2E3syT6qKkN/rAnuKo9\r\nIc5gdnncqwBZAWmB3woaL/ibvd3cvmokcwMAhuLL4bGz+SJsyIOCe+KVf3pT\r\nWcLZpILJPUAFknfrsqbGzNNUCd/Znr0al9iQZkI2T3ISqX4mIOAcWCLSak7s\r\nFXuvTU9XLZSkSrw6nroYRhhk+k9ncotRQb/MIN+Z8jL0mF0tEICiT0JsqKYP\r\nVmeKmH8fy43n3vUUqk9iJUoNlJ76cZ1DePsOFHgOCy6MjZ28cZmKSo//fKkL\r\neKDq2TdPiFkCAw3QKJJGWPavpkoGLivciSJFEs4+U/zXG5J6tfhR+9WkbsNV\r\nIo/BOYCOu2pMP0hDd2krOPfL8PN6gf/tKkYYrNpiEOP2rlioS1Gta8NW4hhd\r\nGdEdnLNXxgVt4O8/Z9WmXgytIK7UwRcSUi9aRpYNltcnXhvZnhAAQ97TDMks\r\ne8Sepv6ankgMkkgRx52sm6XkzySg5jR9IUQ=\r\n=ikf2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"20e22da170a7bcba3cab6084e660ad913052d1da","scripts":{"test":"standard && tape test/*.js"},"_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"repository":{"url":"git://github.com/ahdinosaur/set-in.git","type":"git"},"_npmVersion":"8.5.2","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"14.18.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.6.0","standard":"^3.13.2"},"_npmOperationalInternal":{"tmp":"tmp/set-in_2.0.3_1646655770081_0.021690007070677142","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"set-in","version":"2.0.4","keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"Apache-2.0","_id":"set-in@2.0.4","maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"homepage":"https://github.com/ahdinosaur/set-in","bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"dist":{"shasum":"1c43e4ae6ef36216e1731b910c55e284b83a2729","tarball":"https://registry.npmjs.org/set-in/-/set-in-2.0.4.tgz","fileCount":4,"integrity":"sha512-K8Ad9FGLlIOBMdctOqgVoVsvnxrmdyZQ8QL6WqA6IZKhrjT22TfljTRYlCeykBKX6TXCf72zyV0MDikhzYx88A==","signatures":[{"sig":"MEQCIFBNGgNMURpxraI0ElkOSE79+umlv7mxUPbRQyWN0WXvAiAybR64gsilKgbSZ9Dc2+tRc005Uo17mAVQkoiTY0Qlpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYU1MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6rg/+NRkUFZUKuDxKivD6BPSmj5SUiduh2Aaqp0xRP8reTPGBxWCU\r\ni0sSckf22ovb2wxrPTCkK9moxk0/eTxBoaRosD045a+za9vlW0A/pq5CIlZH\r\n30fsQQlVCnaGkVg9hfaU9XPcAXSmrraOJsshqwxhIBuNBf1G2cI/tY1MTGPC\r\nJ3uUiHu65bJkIZxz+IkzeoC+QhTkEn+pQWwhJrvh5v1j51kZvRsp3rtPe7p0\r\nAC6YAyPGZEw5ZcOKpR3HVd6GOwnHBvCo9BOJrMbCzFCKyQ4VtPEjKC2UzVuC\r\nrITNu72gnGpt7zhlceFAW5GwOkdAuTNQkStJRx77h2zksR3EDbfxqa8gKfna\r\ncvfqoKIBgW+McCtazYlVW1vrWgydk42PvX5CgKqO94z0Fq/YYg0Kd5SlQxjo\r\nM4PaorrvHsU4/XD8DpZ8ouHASkuQ9eHEoTvKp4UoGbHW3WDPRp6TVSSz0VQe\r\n1yj6vMG/X2E/XZ2tEazTqxeHnLjWvAAPYB4fckdDarKsNxfLSTswV2ZK3qVN\r\n3pqozRVt1teWF6U5/CaRV9MmQmvXb+rJNUtmMXT/z66P+EdI2FuJ9sdcYnkk\r\nM+lSeO8aU07RM2xp3T30N2xHzp8Zi7zoSB6dsD0/vXv/peFtLenUUCi1Kaoe\r\nQ3AdmoR4EybmYqQBuaRQzsyZ5TUGhn0Vbag=\r\n=Ob2o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1266bdd0a0efd61615c8a671300afe3fc4b4713c","scripts":{"test":"standard && tape test/*.js"},"_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"repository":{"url":"git://github.com/ahdinosaur/set-in.git","type":"git"},"_npmVersion":"8.4.0","description":"set value of nested associative structure given array of keys","directories":{"test":"test"},"_nodeVersion":"16.13.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.6.0","standard":"^3.13.2"},"_npmOperationalInternal":{"tmp":"tmp/set-in_2.0.4_1650543948353_0.6491699919773735","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"set-in","version":"2.0.5","description":"set value of nested associative structure given array of keys","main":"index.js","directories":{"test":"test"},"scripts":{"test":"standard && tape test/*.js"},"repository":{"type":"git","url":"git://github.com/ahdinosaur/set-in.git"},"keywords":["object","property","write","deep","nested","associative"],"author":{"name":"ahdinosaur"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"homepage":"https://github.com/ahdinosaur/set-in","devDependencies":{"standard":"^3.13.2","tape":"^4.6.0"},"dependencies":{},"_id":"set-in@2.0.5","gitHead":"80caa1497afed18defd7025f41a01aa5503a7e48","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-Jst6rkP8C56Qma22KWsEXpTlhw7NWiA/clSJ9Jmned0tDP0cpWvjE8bhEpCURj0G4ObfJXbkTOIX6kSDIqokoQ==","shasum":"3bebdd6cfde5c52e0e6bde46a4c15edf30ee7996","tarball":"https://registry.npmjs.org/set-in/-/set-in-2.0.5.tgz","fileCount":4,"unpackedSize":7076,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC9g9/AzAlToXd4vRRm4rzk7MyoYmEswPTqVh0kcFEy7wIgEzYdMYk+Vvw8vacyDUXLfgCQ+1bMqRwP+tkRiblqosA="}]},"_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/set-in_2.0.5_1770779960719_0.8709679945848543"},"_hasShrinkwrap":false}},"time":{"created":"2015-01-29T13:01:24.195Z","modified":"2026-02-11T03:19:20.980Z","1.0.0":"2015-01-29T13:01:24.195Z","1.1.0":"2015-03-20T01:46:40.894Z","1.1.1":"2015-03-20T03:10:42.172Z","2.0.0":"2016-07-13T03:08:35.104Z","2.0.1":"2020-11-23T10:20:02.517Z","2.0.3":"2022-03-07T12:22:50.651Z","2.0.4":"2022-04-21T12:25:48.521Z","2.0.5":"2026-02-11T03:19:20.868Z"},"bugs":{"url":"https://github.com/ahdinosaur/set-in/issues"},"author":{"name":"ahdinosaur"},"license":"Apache-2.0","homepage":"https://github.com/ahdinosaur/set-in","keywords":["object","property","write","deep","nested","associative"],"repository":{"type":"git","url":"git://github.com/ahdinosaur/set-in.git"},"description":"set value of nested associative structure given array of keys","maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"readme":"# set-in\n\nset value of nested associative structure given array of keys\n\ninspired by [clojure.core/assoc-in](http://clojuredocs.org/clojure.core/assoc-in).\n\n```\nnpm install --save set-in\n```\n\n## example\n\n```\nvar setIn = require('set-in')\nvar obj = { foo: { bar: 'baz' } }\n\nobj = setIn(obj, ['foo', 'bar'], 'newValue')\n// obj === { foo: { bar: 'newValue' } }\n\nobj = setIn(obj, ['foo', 'newKey'], 'cool')\n// obj === { foo: { bar: 'newValue', newKey: 'cool' } }\n\nobj = { foo: ['bar', 'baz'] }\n\nobj = setIn(obj, ['foo', '-'], 'newValue')\n// obj === { foo: ['bar', 'baz', 'newValue'] }\n```\n\n## usage\n\n### `setIn = require('set-in')`\n\n### `obj = setIn(obj, path, value)`\n\n## license\n\nThe Apache License\n\nCopyright &copy; 2016 Michael Williams\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","readmeFilename":"README.md"}