{"_id":"immutable-set","_rev":"12-8587ab700c7526a0753a851e14007154","name":"immutable-set","time":{"modified":"2022-06-19T00:50:12.753Z","created":"2017-09-18T11:02:37.348Z","1.0.0":"2017-09-18T11:02:37.348Z","1.0.1":"2017-09-18T11:27:06.579Z","1.1.0":"2017-09-19T05:05:01.078Z","2.0.0":"2017-12-21T06:34:14.939Z","2.1.0":"2018-07-19T06:29:51.977Z","2.2.0":"2019-12-04T09:18:14.632Z","2.2.1-alpha":"2020-11-24T15:10:26.734Z","2.2.1":"2020-11-24T15:17:25.372Z","2.2.2":"2022-03-21T16:17:25.635Z"},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"dist-tags":{"latest":"2.2.2"},"description":"Set nested properties of an object while respecting the principles of immutability","readme":"![build status](https://travis-ci.org/M6Web/immutable-set.svg)\n# Immutable set\n\nThis tools aims to facilitate the modification of nested property while preserving immutable principles.\nLets say you have the given object:\n```js\nconst state = {\n  a: {\n    foo: 'bar',\n  },\n  b: {\n    value: 3,\n  },\n};\n```\nIf we want to increment `b.value`, immutability says that we should generate a new object where\n```js\nnewState === state        // false\nnewState.b === state.b    // false\nnewState.a === state.a    // true\n``` \nThat's exactly what our `set` function does.\n\n## Setup\nAdd the dependency to your project:\n```shell\nyarn add immutable-set\n```\n\n## Parameters\n\nname | description | type | requiered\n---- | ----------- | ---- | ---------\nbase | object to modify | object | ✅\npath | list of keys to access the value to modify | array or string | ✅\nvalue | value to set | any | ✅\noptions | options… | object\n\n### Options\nname | description | type | default\n---- | ----------- | ---- | -------\nwithArray | if set to `true` number will be interpreted has array indexes | boolean | false\nequality  | if provided, the function will be used to determine if the value at the path is equal to the value provided | function | `===`\nsafe | verify if the value does not already exist | boolean | false\nsameValue | use same value for each nested property in case of multi set | boolean | false\n\n\n## Usage\nImport the `set` function\n\n```js\nimport set from 'immutable-set';\n```\n\nThen set the property you want in your object\n\n```js\nconst newState = set(state, ['a', 'b'], 42);\n// or\nconst newState = set(state, 'a.b', 42);\n/*\n newState => {\n               a: {\n                 b: 42,\n               },\n               …\n             }\n */\n```\n\nThe function mutates the object only if the value is not already present in the object.\n\n## Advanced usage\n\n### with arrays\nThe option `withArrays` allow to dynamically create arrays when the current level is empty and the current path key is a number.\n```js\nlet base = set({}, ['a', 0], 12, { withArrays: true });\n// will return { a: [12] }\n```\n\n### safe\nThe option `safe` will verify if the value is not already in the object.\n```js\nconst base = { a: 2 };\nset(base, 'a', 2, { safe: true })\n// will return the base unmodified\n```\n\n### equality\nThe option `equality` allows using another equality function instead of `===`. It has to be used with the `safe` option.\n```js\nconst base = { a: { id: 1, v: 0 } };\nconst equality = (a, b) => a.id === b.id && a.v === b.v };\n\nset(base, 'a', { id: 1, v: 0 }, { safe: true, equality);\n// will return the base unmodified\n\nset(base, 'a', { id: 1, v: 1 }, { safe: true, equality);\n// will return { a: { id: 1, v: 1 } }\n```\n\n### multiple set\nIt is possible to set multiple elements at once, providing multiple keys in the path and an array (or an object) in value.\n\n```js\nset({}, ['a', ['b', 'c']], [12, 13]);\n// or\nset({}, ['a', ['b', 'c']], { b: 12, c: 13 });\n// will return { a: { b: 12, c: 13 } }\n\nset({}, ['a', [0, 1 ]], [12, 13], { withArrays: true });\n// will return { a: [12, 13] }\n```\n\nIt's also possible to set multiple elements at once with the same value by setting `sameValue: true` in options.\n\n```js\nset({}, ['a', ['b', 'c']], { foo: 'bar' }, { sameValue: true });\n// will return { a: { b: { foo: 'bar' }, c: { foo: 'bar' } } }\n\nset({}, ['a', [0, 1 ]], 'foo', { withArrays: true, sameValue: true });\n// will return { a: ['foo', 'foo'] }\n```\n- :warning: If the array of keys is not the last element of the path, the rest of the path will be used for each sub tree.\n- :warning: It's not possible to set objects in array with object sub values, this will throw an error.\n- :warning: For now safe mode does not work with multiple set.\n","versions":{"1.0.1":{"name":"immutable-set","version":"1.0.1","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"files":["src/","lib/"],"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","release":"yarn lint && yarn test && yarn build && yarn version"},"devDependencies":{"babel-cli":"6.26.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-es2015":"6.24.1","deep-freeze":"0.0.1","eslint-tools-m6web":"1.1.1","jest":"21.0.2"},"gitHead":"191c116e73f3cd346a62bd5e713cfebfeaaa563a","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@1.0.1","_shasum":"c9271e3890107791fb7f803aa457892ccbd5afc9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"dist":{"shasum":"c9271e3890107791fb7f803aa457892ccbd5afc9","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-1.0.1.tgz","integrity":"sha512-DFIcPRHJ3hXobXrNXeIyluRqtKj3oWOABD6wJdzlp/JRGvm0bMKuY59UcI0Bxboe9JlY60yb8h0HilAz3Z0wpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMrT6o1RLGrJfDU7QCef5vX+cloLSShnGfArDqPiQSZwIhALsjlMwsFZQjn6F1mHQgQMwPsGrzbHpnXeD6AOmUJufd"}]},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set-1.0.1.tgz_1505734025657_0.5885981540195644"},"directories":{}},"1.1.0":{"name":"immutable-set","version":"1.1.0","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"files":["src/","lib/"],"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","release":"yarn lint && yarn test && yarn build && yarn version"},"devDependencies":{"babel-cli":"6.26.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-es2015":"6.24.1","deep-freeze":"0.0.1","eslint-tools-m6web":"1.1.1","jest":"21.0.2"},"gitHead":"b661cd8500d2917a6d196b6e355be61ec2bf2726","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@1.1.0","_shasum":"ae9622f5f183284fbd1f7ae03ca6eb6e6bff6772","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"dist":{"shasum":"ae9622f5f183284fbd1f7ae03ca6eb6e6bff6772","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-1.1.0.tgz","integrity":"sha512-lqDfTnbGF+dVrhWRUsSAo4s81KmlK4DnLjqyHXMk24TFxFtxwW9Yv7xqzH7pvLsOVT3q0rSpvQoJ1w7W3KvZbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgPb/msWcV1/TVoe334L+mrfsrXwrlvK6mK3nyQAEAUAiEAm8EPTA7RTLAsXT0wIii46BGkc/HvLYTHlismNBMgziQ="}]},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set-1.1.0.tgz_1505797500223_0.3064384607132524"},"directories":{}},"2.0.0":{"name":"immutable-set","version":"2.0.0","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"files":["src/","lib/"],"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","release":"yarn lint && yarn test && yarn build && yarn version"},"devDependencies":{"babel-cli":"6.26.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-es2015":"6.24.1","deep-freeze":"0.0.1","eslint-tools-m6web":"1.1.1","jest":"21.0.2"},"gitHead":"0a08549d2772ed75e032b9461032404f2419a0a8","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@2.0.0","_shasum":"db017741b227bd5071e15cae6c02d7b71816ceaf","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"dist":{"shasum":"db017741b227bd5071e15cae6c02d7b71816ceaf","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.0.0.tgz","integrity":"sha512-3SNTI5Hw3M/i3G1y9ZlMMg0du0QVB82rZ+RMA73+k8XNJbUicjdOzLOahL1gyeRMLPF8KQMQ4V3n+9lpYvkicg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6Bf1zsA2q4pxzkUwcCRCdAsFg0xCxIsd/QDeUdTb9iAIhAMHAeKgCA1bZjeoVPyJoWyQ7Y7IDdZVQwdSmIpJ3btD4"}]},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set-2.0.0.tgz_1513838053787_0.35887283738702536"},"directories":{}},"2.1.0":{"name":"immutable-set","version":"2.1.0","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"files":["src/","lib/"],"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","release":"yarn lint && yarn test && yarn build && yarn version"},"devDependencies":{"babel-cli":"6.26.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-es2015":"6.24.1","deep-freeze":"0.0.1","eslint-tools-m6web":"1.2.0","jest":"23.4.1"},"gitHead":"9dfd3ff40c9285ce723c954951979d531a88e4c6","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"dist":{"integrity":"sha512-5N0NjWpImd0MUAH4wxD5Wx9CoEodU61NbdwwjV4MeMR/iIdRsrb1r0hTGD0GPZJ1q4h3NbXvPlsHT2IyvowFzw==","shasum":"56ca736dab47fe8671816662246d9cd4c54135f8","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.1.0.tgz","fileCount":7,"unpackedSize":22530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUC/fCRA9TVsSAnZWagAA9B0P/iRvplPoLORsItdO+3SK\npjHwm1FGZBq85ayZuNzGdY2v+S033bl7JgP1qE+ipSRGLuD5c0yurfC4KJH/\nSX50QwX0FbRtMW/5HBgC5XTyFs7ZAdT9pdj0q/S7Hvj0fBfP0ZXIlqf1PSGc\nEWhLjAhxphhzETRrk2+5Ox4DkS3DG5A653wAGl29Ps5xzaq/vyxiKmyIIBTk\nax1x+ixU2ALxaX6WhQycd7jLigJCA1ZgbG4jgERkHfdK/XNEYFruEYRPcLls\nXf6hrzCAgdRJj6eNGdfoDNAE41yQi7Ik0uw7qijEYFSfR2a88a9X/zaR3x4G\nsvjM/iPxtBHOVUl8BF/J+QyYtlZ7VaR0fKQUBtdktv0XEFFKYjVN9MvqzYX7\nkzVGPZJBcsicELAPkQ+mNP67Ix8nZI2rTchpOuYP4scKI1/eUGpt7Qf+OQl0\nebDZoZ5H5HCZ/IvMfDENzlL69qaA72f0IOo9s7UzZG3CQPDj7qR6nSS83Cz2\nRNZAD1m1D/myx/deUlkBC04t9z6HbvlCxXdw3jB+QPUq2QX1ceRFI7U3NFmb\nHLdQLfr1eL0K8qNpHcgvaZgJS44px3IwX613LwwdiPgvTxN7+EFFD2f/En9G\n/UknQ12rJqXp/DheJ312nQNKuy4MYS5oaZj1e4IgkKPwGJofP/q5R7nJQUT9\npykU\r\n=T33+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzjzyt2el9uqVEvAHnyK0wOs6SaqsCXfMdzQsf/QwTvAiEA8ICtFYXfQigw8fYkJKozJTUic8bm3Iu7yS6GtJptCFg="}]},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set_2.1.0_1531981791864_0.02575875623106927"},"_hasShrinkwrap":false},"2.2.0":{"name":"immutable-set","version":"2.2.0","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","keywords":["set","immutable","state","react","redux"],"repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","preversion":"yarn test && yarn lint","version":"yarn build","postversion":"git push && git push --tags"},"devDependencies":{"@babel/cli":"7.7.4","@babel/preset-env":"7.7.4","@m6web/eslint-plugin":"2.0.0","deep-freeze":"0.0.1","jest":"24.9.0"},"gitHead":"17e09685b0d9658a5b74770436062f8acd20884f","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@2.2.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-DsgRalySWQhHWbOh5TwWTiq7MdBWCjW3cDb0qwnH//lUTXi43SG4n/DLpHICWqGYrROoqI5I5trAdEkL+AXpxw==","shasum":"bcbbad620cc48c54ae58e7387dd7725b9df86add","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.2.0.tgz","fileCount":5,"unpackedSize":12120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd53nWCRA9TVsSAnZWagAAzMAP/1RWQX9IFivAxT/j7LZN\nYLev4AYmBGXlaezGmoeFNWcp+47njvIBmmiKVhg4jmFWWUs0fHIK+/uYkY6W\nAra7bmX2Cml/XaIOjNVB9ZEgZPeC3UUTMNwv91fSTZMbx0JBo7cVIhc1umYD\n1yyWDyV+LdKOtGdJcqA3kCOD6Nye2whxCTvIOvwb86X6OdAEa3u8xIdGTtJ4\nqWEWV/1uuD7uACaOSJfaENh4I6C0Dv5HIYoi0k9jIsazn9BDDC/EDt01O/rn\nibEQDPi7fTD1T6H6tng5fhlhNkW5/xXkGbG0qGmXC6WQMmn39Gi8i99JAb7T\nGR5k+Hd0Tx3k/7q45RpxbHtH1B9D635o00jKl2zbBCNBFib7S71WnpuWFUk1\nm6vPgMx4xTLhjbTMr4ws+hjCmr971JKW+0DXaNycglMl67Z/bLsisKd7ueSB\nX4OFWMuNYUKvTU86YpgV04PErLzJDzUPMM4XrATtedh3WaYAImOqhjmINYQK\n2Wr+Bm4uSqx/EPnCQJSG208VdwGW13w6mH+UGojc6VPEf3RcIdB0ABBqU4Rz\nLrdbYsY0ZRNww16XKdoEZxyIxoo11+k7UhAMnONKxMhIMZyTQ5evBIhXsML3\ndvgM6sBS108qsWj74Eu8bI/EqxRv6QLzSC7MFjzPhN1kgV0eEyZLT+hO0oUZ\nEK6W\r\n=DdoH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAd1k5NyUjovwbASAJ95cfpz30GMR+KzxDwEf8seVzdCAiEAjij1zzbrl1YEaZ7PMXwM72WM2peo6zK6ex80rLwDvq0="}]},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set_2.2.0_1575451094530_0.04472044804083297"},"_hasShrinkwrap":false},"2.2.1-alpha":{"name":"immutable-set","version":"2.2.1-alpha","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","keywords":["set","immutable","state","react","redux"],"repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","preversion":"yarn test && yarn lint","version":"yarn build","postversion":"git push && git push --tags"},"devDependencies":{"@babel/cli":"7.7.4","@babel/preset-env":"7.7.4","@m6web/eslint-plugin":"2.0.0","deep-freeze":"0.0.1","jest":"24.9.0"},"gitHead":"66f78895e927bf8e92690df7963e4641043ab7d6","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@2.2.1-alpha","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-KVTxPQF1dDvYvyMSfD+IMWeYTCOerm5bev9UToia2V0LYphjkcVIOOcC7epO29GjMZR1Ly9xUTmXMWrkaY+ezQ==","shasum":"aca1e0c042ad9c21cecc704b43542a3536d88d16","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.2.1-alpha.tgz","fileCount":7,"unpackedSize":18699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvSJjCRA9TVsSAnZWagAAqYYP/jlUbHo7vRakdsiA+IDL\nT9PbmGbdP9j1xLaw5TnlmnX4LXzwqqbD73kBSETSNr223ut4iF+dkJdepYB6\nfl+TZrPhQ6Yz6T6diCNfdu6SzKNaS5PeHeQQkIeyXtlnW+U/OYjuiIPOOw8a\nZT4J0VzQZ8ZOWH1ofqbaCMCzJumNYDAurjTTm9JB3D/P0PYSLEVxeyA79KAY\nH+axieeMR4wDlfNhi3zubvX8qfVonOZ9E3RMCmx/Phfrn9OgMlo4LB7ou3KX\nF8xqCm8ZXW0lAjkYcuY3Ad4yl5vlul2uEdnIeapkdfYR5l4bOpNvu9+zlC7/\n7V3lkl7yoKkncoMNTbT9Nl/CwYyS+vWZe2bwBFtcUXxKkcC0cnwJpJOhasqV\nks0f9/eg4aMCSLa79kx65TDLb4B8FOb93mlJVL/XOEOWhvKi5XJrZSfoCKv1\nt5EyibmnkUcm7LZj8jJdEqT+p2A5qYC25r/dmKxZjENdIj9T2q7SnJwlAE6Q\nzFm7NrAv1sLHv0pM8PxgSDcyUmOkLosH9thVoNDyVPr6T0fFl20xAlKVAMIr\n6CFFPHoQcIGW8E5JeA/vkK84KWHqx/RcIcqY9omgBs+wqp6veW+d/Qdt10D2\nAiMpUcXixrwLYiNJ6MXX8Ie/DHxiilk4+UIaHJ7F9pAxk5KJnJIOR0+akSZo\nSfLk\r\n=V2Da\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJXvzvDoXUhlFPQfnvodg3kK9EXRDhE5iCsuax8HW74AiEAsj4D047yCAgQjeShY7iJ5+OzV+3xKDrEQAsAMbsGnGI="}]},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"directories":{},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set_2.2.1-alpha_1606230626569_0.5502002357706286"},"_hasShrinkwrap":false},"2.2.1":{"name":"immutable-set","version":"2.2.1","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","keywords":["set","immutable","state","react","redux"],"repository":{"type":"git","url":"https://github.com/M6Web/immutable-set.git"},"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","preversion":"yarn test && yarn lint","version":"yarn build","postversion":"git push && git push --tags"},"devDependencies":{"@babel/cli":"7.7.4","@babel/preset-env":"7.7.4","@m6web/eslint-plugin":"2.0.0","deep-freeze":"0.0.1","jest":"24.9.0"},"licenseText":"MIT License\n\nCopyright (c) 2017 Florent Lepretre\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"immutable-set@2.2.1","dist":{"shasum":"cf14a0fd220dade690106049d0464c8517093155","integrity":"sha512-3g0ek7RRm9PnTzfaGnNgDunRwuoE9tUKBwGDG/0o58TURSEDvkFLgytEKGRLMIaZZDVWByMfvqpGAtjOhFY2tg==","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.2.1.tgz","fileCount":10,"unpackedSize":18693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvSQFCRA9TVsSAnZWagAAgAYP/3da7Xvj1E5P+CsMn7LJ\nY9NjtsArfvFOPsPMk30zdIPF67f6up1huPQGnvPjy75LZwCMVlFzSSTeHeWQ\n54P9MfizrvjI0P0LoshE+PApVnfUqMctGR4xbbb+ybwj2ryM4KnIbvVG/6qc\n98XTzBywMpiJLj9I0/GetRT+w6C0gAtaLyNZCv+rJtyg32BRPFlL0A2UCUnm\nZ7lquryMxIN3yJHfU7tspmEhDBu3vmFpUouhaMCZQHZazQD20z86FFNTJ0zd\n2JLN86w3fcL1zp16owGqly5iauwZoiUSB2ZTCMMc2sQIhvhw90La7SZ1mat6\ntSxx/o/BT21pu92EZ+ZlTcXfim3T3fmaYVybadoVNtR9QgPDrDAfxpsfCsAJ\n7n50n/cni/D9rYHVmaQ7xNXt35TggOHy0O7+lObcWpY8NFASBHOtfwl2pxA0\ni8033dakkfOC+Inkgh+hA89Fz3NA79aGeJzYwogjeNuliZELTJI8bG3pFseO\nCxqNIqnhXd10RRpgI7Rt3E8a0bLx3TIuA6epUILAi9frUPPMvihvCh/aKZfr\nvzI5q4IZuZ3vAgR7lmtp1lzgcHMIGwp+eNhvrkaL3pameEytvwqJ+6VFR0pY\nyNn23mV/b35OdvmvkCpZji9hXS4Z6tucxGqzjDCarPhX81Y0he6djwQjetEC\nyQfW\r\n=4UjV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+cZcPhxanLC5ZQSsDHrJZaigjROkTOoE4Ue9BRl6zHgIgGDwdyIEUfZecvrKWzkWnITFNOrLPP5YRgss9js+OCtw="}]},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"directories":{},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set_2.2.1_1606231045210_0.6030847486998983"},"_hasShrinkwrap":false},"2.2.2":{"name":"immutable-set","version":"2.2.2","description":"Set nested properties of an object while respecting the principles of immutability","main":"lib/set.js","author":{"name":"M6Web"},"license":"MIT","keywords":["set","immutable","state","react","redux"],"repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"scripts":{"build":"babel src --out-dir lib","babel-watch":"babel src --out-dir lib --watch","format":"prettier-eslint --write src/**/*.js tests/**/*.js","lint":"eslint src/**/*.js tests/**/*.js","test":"jest","preversion":"yarn test && yarn lint","version":"yarn build","postversion":"git push && git push --tags"},"devDependencies":{"@babel/cli":"7.7.4","@babel/preset-env":"7.7.4","@m6web/eslint-plugin":"2.0.0","deep-freeze":"0.0.1","jest":"24.9.0"},"gitHead":"af6d97f4748f4af33ecc2c9fc64b66ce0672f053","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"},"homepage":"https://github.com/M6Web/immutable-set#readme","_id":"immutable-set@2.2.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-YOLi4wCVJD8N654F3xOXuT3/aep/7+TpmbXXdietyXSCewXOjwJZ0QrkeJA8TtaDboItiJ1J7tEriizN+yjw9w==","shasum":"c2606510f687db8a56519b6ea7307fef7321a578","tarball":"https://registry.npmjs.org/immutable-set/-/immutable-set-2.2.2.tgz","fileCount":7,"unpackedSize":18721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOKUVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5wg//WUkGWNjqJgecCwAgMPhC/WgDDkvZRA36oZFi9vwKZXxSvANI\r\n41xmj/X7NBByBbAX6rxsPSreK5Vjib/kOorobqn+tPydNFdhBI22uDwhCYFW\r\nOXgUDWAJ/yDairwQG6ALh6xZtB8rlH/KOLbVTTi9MXQxvTWrq+sKYFiUq7xg\r\nI5iemgyuImOcM83AkY7ia0EuMzjbZeP03ovqpoLPBhdg9WVXIg+zt3pHGNtw\r\n0nKb0rztWAN+PbbT7hqeOaC729JXgpf0NPxFKFP5zfsBHzmrkg2M0YyUcqDr\r\n06Qu97dJpZtqylqbra5ThXL6rh+QDptRdkG9V5znKKpfmYkXqza+6TYU+5ji\r\ndRYINDOBiuOW2WN0zBucDStMgmTRh0H16Y3J3dteG7hfcFifgx1xT9c/bI0x\r\n+FXUCdKYqMuxUDc9qiGWbAKXO4c8ECjELhTqg13mZeiHOmCIjpEvvMUURZl1\r\nLImHgppR3X6J8IFzXWHOQv+1ovC+jXJigxijrcrljD0AUBLXpB8AUFBSkbEz\r\n4Yy6AxutVQiLn9s7muf8t7puc8oMHAcjEtNxGU8VemzJ82gDJ6F5n3T8+SK/\r\n+klbNQBpLLGHf3PaPXazy83eWGAm7GTo18hYsVCfLGN83oDHkksgURLkoGbd\r\nf+m/t6bbopCMkZnlfFIdRTmWrh15Wit9Ev4=\r\n=oJW8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuvUpi8ty90/h/K5oR9xSE3PxKqcrHiUXlwvadoNsaagIhAMEIlwhkaRLxsPR3Qg2PrvnkjUnu5Gn6Weu04V3SsFV4"}]},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"directories":{},"maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-set_2.2.2_1647879445432_0.1933477428527084"},"_hasShrinkwrap":false}},"repository":{"type":"git","url":"git+https://github.com/M6Web/immutable-set.git"},"author":{"name":"M6Web"},"license":"MIT","readmeFilename":"README.md","keywords":["set","immutable","state","react","redux"],"homepage":"https://github.com/M6Web/immutable-set#readme","bugs":{"url":"https://github.com/M6Web/immutable-set/issues"}}