{"_id":"@autotelic/redux-core-reducers","_rev":"8-c61bc19cfd1db5e0791cfa8a31ec5dad","name":"@autotelic/redux-core-reducers","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@autotelic/redux-core-reducers","version":"0.1.0","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.86.0","mocha":"^5.2.0","rimraf":"^2.5.2","sinon":"^7.1.1","watch":"^0.17.1"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"gitHead":"7b4726199c65c80ca399467556c86e6c44695fbd","_id":"@autotelic/redux-core-reducers@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"dist":{"integrity":"sha512-+cH/GnvT7NxZR1nxRcd4VUuoDJGgSTqS14vYuNqAQP+mhuDRg+CKIKZZmTJQ6yOhAQoD520ra3w7suYx5cSFfw==","shasum":"96fa991556a738804fdc797cc9daad3401234af0","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.1.0.tgz","fileCount":13,"unpackedSize":18485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7fwjCRA9TVsSAnZWagAAIIoP/i7M0Lr9JRPyHGZtcPuv\no1xCKdshPIBkAfEcp1Hjv8sLn2GEI7UxnbcLKU5+RQbO5bgxYwYpwInm9zB7\n5FRx8N93Y98LN/8cs25m+SD2NJT1fJwImN6pf+6dF50ggd/T3qtBjfG8k1ct\nskE+s5Eag3blc6LFb2hVxg4uMpfMpOL//m5efKqRs1U7mhFzT+XYu04g8FfH\ndub98PmeGqM+Q+QZcrakYrNFMh9Ae0N745YD8IjlZaBXn1UTr7YRZ2dBZ02Y\npdPIg99tp+B894uhJ0bBlk3hyKoJfUC60Q7KTQFFJGwDnnLlvxAVq78E4wBD\n0X8QcKKjA/wjeAPU2DLJdl9ZLm9Bg8IPupNbcablwO5H9rUZ/bvZy23Dn8uZ\nq3dOIkohblpxtRqWBmFYVO3jO8/90Oj+FTt8OdXA9QJBi3q+Jc/vbHiM5Pua\n68YxVYnzzfGlNq5ivxu304PJkn5S/25ddNQrloxwgEfGTiUUmw478w9qNwuw\njstS2KQI0Xn+vMBP0g6q+R74tlRnS7wOiR1MqpIu1XWGvpi/10mVzZ9SVg5P\niPNCcXu5Jpaapp6qGIRFkEHi3plhQhhamrgFfEPP5o8uYs533+73nD45F7oq\nTt51thyjleZzhC0+bKhO/tPNgpM8EM8rCN2qnL5Hm475ZZrG3drQrLv6XRhM\n8PIh\r\n=EyI2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWuclgRpP7vzvvI8lsKoMhQPolYJ+IlCPwFQdJp8VB1AiEAv7PuQJ+CDyiOWnS1YSZ/wPpYSV+JNpsOcBLt7y0C2BQ="}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.1.0_1542323235013_0.44080500598870653"},"_hasShrinkwrap":false},"0.1.1":{"name":"@autotelic/redux-core-reducers","version":"0.1.1","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.86.0","mocha":"^5.2.0","rimraf":"^2.5.2","sinon":"^7.1.1","watch":"^0.17.1"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"gitHead":"bd738e99cc307e7a44a60f6cd2234cdb7cdab412","_id":"@autotelic/redux-core-reducers@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"dist":{"integrity":"sha512-xybTQVBOJWGwIGh0Eoi2raIChzb2wWGt97gUiwRnIUcdr79HOVeDp1j4qqIY1z6sTDGGjULtopfMhC+U0dWTHw==","shasum":"54a002e3e2d0cc865f732326cd8b4523ff1a213e","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.1.1.tgz","fileCount":13,"unpackedSize":21535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7vwnCRA9TVsSAnZWagAAslIP/27ruR0ErHLjS3hcDJ73\nwdjUikZUzi3iDNtDHgz1t0SjPjsASYL8554EOxE/zH49STiwBtrzyfaGIDoV\n1xstS4qbV2jZ+0dXDY8BwP/stwxgMIVW/R+AyitIbdNkNhq+04slRnGMT5YT\nDgEnu5XO7Jr5T75L+9aA5yHZNe3ZvNR+RX6nVHTLee9V1G8YefgOefrAhItK\n3f3gwXL7Czzx5XfoVKY6scar7NJLSN6jZJv3McwAe2RMlNR4dj+9kf4+gyht\nFuvoNSXKWjz8x0dnerFGd/WnJldSSF+zn/ftSlwCaCYpHgWjoRaG4eVqnuxX\nNh1qXnqq+n/maURsRIwReL7MPEA/6Cj62u1PcxFgfD0x4Iu5UVGilAJRYyMV\nmAboBQMsjEe1EwS737g8GCyE0xqXIvbYO4XvvZbFV3jVGRYoO9+Vsr2MwWam\ncI1OOvPNVpERoheaD0GQdHWdyFmEMD8R62LmI4uvIQosJEaeQFLohzZhAd/L\nQVDHTkq9fstkHIE/5WSRflisLire4/3NutMVSouIUfOCiIJ9ckMstsEJbmqI\n3bM3daQooXbdCK2tDtTtqti694eGcEtSW8tb3+TfuJ9FcveeVgORq3duofe1\nDTrChWQZgXankfNYedsmxoYH0lqdph44kpURy5uQkfFzMN6V9BOR4Z9+cfKn\nFHVg\r\n=chw8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/QLGmLCXy4TtM1QKUCfTUdBUT4IfP+rzmt7jClbBxWgIgYdN8obSqfVKFNfaxGP2CFpW3z56UZGYREwaU1mPLTuI="}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.1.1_1542388774460_0.30228379503424563"},"_hasShrinkwrap":false},"0.1.2":{"name":"@autotelic/redux-core-reducers","version":"0.1.2","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.86.0","mocha":"^5.2.0","rimraf":"^2.5.2","sinon":"^7.1.1","watch":"^0.17.1"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"gitHead":"1971751d6ab27058c573a3fbb2284f6583ea7e85","_id":"@autotelic/redux-core-reducers@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"dist":{"integrity":"sha512-A5ityRspEI+Sz5eYZn95XcJ2ikBxaKmbXCP0orxwRpYGuUMcI4LPQuSf9rXswuSFhD5XVj2XHni5jsS6MyHrZQ==","shasum":"bdaf7174455cd56acc795a7335081e699e3c7641","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.1.2.tgz","fileCount":13,"unpackedSize":21113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7v/NCRA9TVsSAnZWagAA3lwP/jaZ6nQ8VpAcDlPzr4Ns\nnI9XNjUqbncChXsCXWjtCN04QR1UUlqhJrfaFIkg8bRdhTczfzCNdjkm9DpN\nl1efw/mI7k0gXCdt4WdYCsHS9YG/5yXfwy9YJsq6p+/XNd4K1OOKe8sF4cBJ\niAPRVlWV9jDdue/nFT+UdDntLgrugpRJ3eTlyK/3RON79OWYLIXenm4+QoBF\nq4nP1ccZNo45FdiCkMsPKPSY1nW4RTTXqe46iwkiDHihNkcHEnSP3oBMCvJY\n2yLlZ+kqjrYN+XehfxPsHDElqodtrEuGV1siSxT3IhCZiu5i86eWO9iKzq4T\nnPjLCOZ14E+wA+Cv7bLKezKvtcN0XoHwDqwZLi0HrDgkNfNga9lyGt5FQmv/\n4aDn9CvE0NUjYKhOPCeRDyTTkeJuEiwrl/YDQThraIIh/In+qtoz0dUgFzgK\nn5d01vPsdpKq+aIGqGE6yfMotzs262qh8llsLOG81xUSraJJe4wYo4EsBRVV\np8EAEziQEZ7VYDU32G9BFhLFahRs7g/AIz329zJJfW1cq7/yvYC5vjU/blqd\nIyw/8srAdSGImxeGJM0yD4JdTX5rlQ02VQUknMbcYQlcvXWPntn7FSydR41G\nHWUpWfr6ptUtkF1KdSN2f1ZJ8QNGC6MwJn/5kSv078r9RXEE6ZpEYQiQTYr+\nlTTY\r\n=xZDo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbeZiHJWoAD3jYyZ0SfvrmgvoeOXkmUQEG0xggAQGmRgIhAJ/15wslSSLakHggayPsBXZvphUzwF0SsIGzYdaSyWOW"}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.1.2_1542389709227_0.15756153170378173"},"_hasShrinkwrap":false},"0.1.3":{"name":"@autotelic/redux-core-reducers","version":"0.1.3","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.86.0","mocha":"^5.2.0","rimraf":"^2.5.2","sinon":"^7.1.1","watch":"^0.17.1"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"gitHead":"cac9195441982e773fb11b29b5f5944cdf903bda","_id":"@autotelic/redux-core-reducers@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"dist":{"integrity":"sha512-ZaO0hB1lXbpRRDTSIZHufGvotODwWxClhPE5bTz5Pxu4n/RI7r6QYMByNTiOfxN+4UZvroCAFAyDqpCfBd1+fw==","shasum":"64c6b610163b3a00ec0f55f0003e59253c47cab4","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.1.3.tgz","fileCount":13,"unpackedSize":21492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFCTwCRA9TVsSAnZWagAAKHsP/2wuPcbr/KaFnfFYqro9\nPJ+Rb11FERa45Jlr8CF/wB++yjv49I3NVRliQW0Wkiy6O7FeUna74ErvigSx\nsMCsUFnU66jIeAKzIm2bQp//yNtqpxMdl8CQ7Bbl/TLdlf7E7YspF13ISJxA\nOd/cn0m/rhNRFGu6J/sthvpZkAgLhaugQn9nuLvdZqxKCHL+ga4fg5ck/Czn\nR/FbAzSgWqRAzpkPIbStOGEZQOC4sSxqcTV3TppGBU1tTbEKCGL8lTpZ7cv9\nKz46GDL7epsUjxyrI7Obu6tjvu8O/ddNKNmTQL0cuihAx0uUGmSYz0dxjkgX\n2w0VKlgVFHpZ9iJ7G8e015s430lFCF/XzEKCTaDGIMopAWBHoUJd2Np/0frK\nvw0mgH7OPNdTooYmtvve8+5Z9FydUFHejcA8S0dJR2Bt8DjH48IutZWeNqK4\nHwsogi134NRneWiemQ1jK88Ja7rPMnJqXgL0R709yct/ONzSq4XHeha8mWdN\nOIIjaN/Ny8VHdpgni+KEw3CHLSh52wg0xWWSJTKs9S5xIU7W4VQl3NP1sSvD\n6WtI3ObfVUCWGpN5qkoLYkJeF0qk/CYOD7Cm6W+UYHVq1EzFnwoZ/M84DQNM\ndjmJKy8B/CcGNiE5TyIDX793Kzk3zXCoCPb8B7G7VDhxl7O1uy5WhufvTM5S\nyNi0\r\n=e6UD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDgq1YpxHhplxQSj7vuVianeCi55abxgepVwv1A2CxYAiBGzj8bYsHIIk6RYlw4ehRl9p/boD82IaVidGL1X+HfBQ=="}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.1.3_1544824048206_0.7176900471810082"},"_hasShrinkwrap":false},"0.1.4":{"name":"@autotelic/redux-core-reducers","version":"0.1.4","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.86.0","jsdoc":"^3.6.3","mocha":"^5.2.0","rimraf":"^2.5.2","sinon":"^7.1.1","watch":"^0.17.1"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"gitHead":"2891356432f4bc6434c9dc20745c040b5517ac2e","_id":"@autotelic/redux-core-reducers@0.1.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xTAVvB5AFMmnsW80pY9E+iCt9U1jkvjzgy0/z8bnQqRtZj+5gmq9zFnHvQdR6EEJBWTAihkTP/iWcBtqHVkGDQ==","shasum":"449ed981499b141cc115426280b667586c583f04","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.1.4.tgz","fileCount":2992,"unpackedSize":70454232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiTQ9CRA9TVsSAnZWagAAIyQP/08fKPi9/Iv4Xyfcn4MV\nHyfFJK1hQ9kDALBcnfu96SM9lEpacvtZ4kZUurQk9JBdKol2SCI2lWgar+Oq\nbEidK4x9qIAfiHBYfE6TTgqoy97TmLkWehd3fDuIxd/JiW7C49F09Dq8WwxL\nlqtH1lvN20t6qpdkIJKatSftTDNCyoX8IOIMDClVBw/InDcRD+jyR2ob2ZBm\nq7397EGQivQZj1HdgkLgPCGCH2N5yLo/85p9/jZoP77YGJ73z/rvvnmRNuok\nrGxUlkTP+1MGortd0MyIsFznszng9KSYPTqxqz2kP5g7ZzA1hQzHw1bHc2mU\njDIYglr3PVFxKNTNtwDhpuQClWrJ1+4ibDqBpDuzwmHv53fYqzMxL9MvOq4w\nzzAL+GTzV0u7dW98+XbyVlQvhMSHThr6hLSq96gajL3WEN8BMY5rfurP8V2r\nBdLZN4qCGg+C3b3CxJp+2fgd7YTS8gGi5XsfR7/jZuxPdr7cWvVQgoDb2Ybl\nsJV2MBdL3kWyLyEnDcOF+DueRbWBVjjXjm7+IS48ApHYN7vFolX+vRsVRKfq\nKcCtcuhYoJbkUlVVfdj0Y0DggZqKwhhn77md7w2icMIdxcfTJwBrQAYn76BI\n7+oiFbM5EsF81gwrdclm4ZJ5V5/rSF6nst/rnSkDgDH5fEzzIp9rBQg6igtK\nGr8w\r\n=o98q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtm5XMxjoz/Ro/yPmiBpNBuNEgomWA2ArqNW+iejh9XAIgebphFPk9myvxiA0yS11e0Ngrk3s1AOClZJirGz2WjUc="}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.1.4_1569272892962_0.24178565119347417"},"_hasShrinkwrap":false},"0.2.0":{"name":"@autotelic/redux-core-reducers","version":"0.2.0","description":"A collection of re-usable and configurable reducers for redux applications","main":"lib/index.js","scripts":{"lint":"eslint src","flow":"flow","build":"rimraf lib && babel src --out-dir lib","build:watch":"watch 'npm run build' ./src/","prepublish":"npm run build","test":"mocha --require @babel/register './src/**/*.test.js' --recursive","commit":"git-cz"},"babel":{"presets":["@babel/preset-env","@babel/preset-flow"]},"keywords":[],"author":{"name":"Autotelic"},"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"homepage":"https://github.com/autotelic/redux-core-reducers.git","license":"MIT","dependencies":{"lodash.get":"^4.4.2","seamless-immutable":"^7.1.4"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@babel/preset-flow":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","chai":"^4.2.0","commitizen":"^4.0.3","cz-conventional-changelog":"^3.0.2","eslint":"^6.5.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-flowtype":"^4.3.0","eslint-plugin-import":"^2.14.0","flow-bin":"^0.112.0","husky":"^3.1.0","jsdoc":"^3.6.3","mocha":"^6.2.1","rimraf":"^2.5.2","semantic-release":"^15.13.31","sinon":"^7.1.1","watch":"^1.0.2"},"npmName":"redux-core-reducers","npmFileMap":[{"basePath":"/lib/","files":["*.js"]}],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"husky":{"hooks":{"pre-commit":"npm test && npm run lint","prepare-commit-msg":"exec < /dev/tty && git cz --hook || true"}},"gitHead":"c067ec8c58cbd85072736cba202f22f85369e183","_id":"@autotelic/redux-core-reducers@0.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.13.1","dist":{"integrity":"sha512-SDKRICfjpQOP4yAHG7RCiPBS1jTnFeHqa8S/fiz3NYIuBmQG5OZznQ0LoVUgJzufjxn3TWqyzdbn0fuFQekgnQ==","shasum":"ef2322adcf39907712f2bb02cf2f96f63e04cde3","tarball":"https://registry.npmjs.org/@autotelic/redux-core-reducers/-/redux-core-reducers-0.2.0.tgz","fileCount":16,"unpackedSize":30978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1ZbUCRA9TVsSAnZWagAAnDQP/RUt7zEAzMxhB/rWLbuZ\nV0emnfHPhLKfvSIOo8bJ4Ut6O1n0JbOsere2/83528myfhsNALe6XNqsNbia\nB/6kFNVblo7/8QMojkyJAyzt/KUAWIkDcW9jo3l6W+hF3mHuK7YhLVStckwC\nc6NZK6AVbweLJy5IXKpGj3wTIqokV4Yc/QLiBmVDbKzKOhcf3loVh8gaVrcb\nP7xXK8B52+xbf6PYIq6KwZxtlaVyy0l1AB2oW6GS3zKxPpn3Tc+S7Hu045it\nOU2yG2F/781b54L6VNQ4+8e+5aNI/BcWyYbbzkF/t5vHMWbGeD2e0ikhpdUW\nFkFmO5NCgc2yox+55wM0PAaZC2L6Jh2UbHs52y6ZjAkm0oOOm6ABoKDjez8t\nzFfHx28UdqavAFBk+nRgf+7gyGnNHPpErpOag6Qodt0Rs+RuH1guEWupq69L\n6RxPF5DNTZZ2+SMrTI1jC1u5YBuDMFviYo2f11nJoL6g1wGY5OssTMN+vUod\nymW3DZytdJ4kWkOICvyQdP/sczMqrsDixQ+POudYG0O5pqdMjT+ItG/T9Ruk\n5z3B+NITo3GI+uQciwhT3TsFmPElqGPpiZ9bjxKR7jpg1hsxxKXB21OGnJfT\n2GPCNF4b7Epk/35HSRS5DrZJvxu5o9dNqzPfXd2LK5u/ebU48dq/SpfV8cyE\n/J4j\r\n=PXw9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE81yMR1Fgw1hBmAoeJHOx1A3AP+2zza5wIp0LhKbTKHAiAfRkPim0FpT/9938wyl4ZztkiQ9cauckN5dqktnxD4TQ=="}]},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"_npmUser":{"name":"autotelic","email":"info+npm@autotelic.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-core-reducers_0.2.0_1574278867972_0.597406527295997"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-15T23:07:14.835Z","0.1.0":"2018-11-15T23:07:15.133Z","modified":"2022-04-04T16:40:51.444Z","0.1.1":"2018-11-16T17:19:34.599Z","0.1.2":"2018-11-16T17:35:09.364Z","0.1.3":"2018-12-14T21:47:28.446Z","0.1.4":"2019-09-23T21:08:13.553Z","1.0.0":"2019-11-19T22:07:19.133Z","0.2.0":"2019-11-20T19:41:08.395Z"},"maintainers":[{"name":"autotelic","email":"info+npm@autotelic.com"}],"description":"A collection of re-usable and configurable reducers for redux applications","homepage":"https://github.com/autotelic/redux-core-reducers.git","keywords":[],"repository":{"type":"git","url":"git+https://github.com/autotelic/redux-core-reducers.git"},"author":{"name":"Autotelic"},"bugs":{"url":"https://github.com/autotelic/redux-core-reducers.git/issues"},"license":"MIT","readme":"# redux-core-reducers\nA collection of re-usable and configurable reducers for redux applications.\n\nThis package exports a number of helper methods for creating simple redux reducers. It is quite a small library so you may find it helpful to read the source code to understand exactly what is happening under the hood.\n\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n## Installation\n\n`yarn add @autotelic/redux-core-reducers`\n\n## Usage\n\n### createStandardReducer\n\nIs a helper for constructing functions that are used to create reducers.\n\nIt accepts a state handler function with the signature:\n\n```js\nconst stateHandler = (state, payload, meta, additionalArgs) => { /* return the modified state */ };\n```\n\n* `state`: Reducer state\n* `payload`: Action payload\n* `meta`: Action meta\n* `AdditionalArgs`: Other arguments needed by the reducer\n\n`createStandardReducer` when called with a stateHandler function, returns the following function that is used to create the other reducers. This method is used to construct the other createReducer functions in this library.\n\n```js\nfunction initialize(\n  typeOrTypes,\n  initialState = Immutable({}),\n  additionalArgs,\n) {\n  const types = Array.isArray(typeOrTypes)\n    ? typeOrTypes\n    : [typeOrTypes];\n  return function standardReducer(state = initialState, action) {\n    const {\n      type,\n      payload,\n      meta,\n    } = action;\n\n    if (types.includes(type)) {\n      if (payload !== undefined) {\n        // This is the state handler passed to createStandardReducer.\n        return stateHandler(state, payload, meta, additionalArgs);\n      }\n      return initialState;\n    }\n    return state;\n  };\n}\n```\n\n#### Example Usage\n\n```js\nimport { createStandardReducer } from '@autotelic/redux-core-reducers';\n\nconst defaultState = {};\n\nconst standardReducer = createStandardReducer(\n  (state, payload) => payload,\n)(\n  'SOME_ACTION',\n  defaultState,\n);\n```\n\n### Core Reducers\n\nThese reducers use [seamless-immutable](https://github.com/rtfeldman/seamless-immutable) methods\nin the stateHandlers for the below create reducer helpers.\n\nEach of:\n\n* createNameValueReducer\n* createMergePayloadReducer\n* createReplacePayloadReducer\n\nare used in the same way, but perform different operations on the state of the reducer.\n\nThe first argument is an action type, or an array of action types that the reducer\nshould operate on.\n\nThe second argument is the default state for the reducer.\n\nThese are all constructed using `createStandardReducer`.\n\n### Examples\n\n#### createReplacePayloadReducer\n\nReplaces an action payload with the existing state (uses seamless-immutable replace).\n\n```js\nimport Immutable from 'seamless-immutable';\nimport { createReplacePayloadReducer } from '@autotelic/redux-core-reducers';\n\nconst defaultState = Immutable({});\n\nconst replacePayloadReducer = createReplacePayloadReducer('SOME_ACTION', defaultState);\n\nconst replacePayloadReducerMultipleActions = createReplacePayloadReducer(\n  [\n    'SOME_ACTION',\n    'ANOTHER_ACTION,',\n  ],\n  defaultState,\n);\n```\n\n#### createMergePayloadReducer\n\nMerges an action payload with the existing state (uses seamless-immutable merge).\n\n```js\nimport Immutable from 'seamless-immutable';\nimport { createMergePayloadReducer } from '@autotelic/redux-core-reducers';\n\nconst defaultState = Immutable({});\n\nconst mergePayloadReducer = createMergePayloadReducer('SOME_ACTION', defaultState);\n\nconst mergePayloadReducerMultipleActions = createMergePayloadReducer(\n  [\n    'SOME_ACTION',\n    'ANOTHER_ACTION,',\n  ],\n  defaultState,\n);\n```\n\n#### createMergePayloadReducer\n\nRemoves entries from a state object where the key matches the payload Payload may be an\nArray of strings or a string to be compared against the state objects keys.\n(uses seamless-immutable `without`).\n\n```js\nimport Immutable from 'seamless-immutable';\nimport { createWithoutPayloadReducer } from '@autotelic/redux-core-reducers';\n\nconst defaultState = Immutable({});\n\nconst mergePayloadReducer = createWithoutPayloadReducer('SOME_ACTION', defaultState);\n\nconst mergePayloadReducerMultipleActions = createWithoutPayloadReducer(\n  [\n    'SOME_ACTION',\n    'ANOTHER_ACTION,',\n  ],\n  defaultState,\n);\n```\n\n#### createNameValueReducer\n\nCreates a reducer that takes an action that has a payload containing name and value\nkeys and adds those values to the state.\n\n```js\nimport Immutable from 'seamless-immutable';\nimport { createNameValueReducer } from '@autotelic/redux-core-reducers';\n\nconst defaultState = Immutable({});\n\nconst nameValuePayloadReducer = createNameValueReducer('SOME_ACTION', defaultState);\n\nconst nameValuePayloadReducerMultipleActions = createNameValueReducer(\n  [\n    'SOME_ACTION',\n    'ANOTHER_ACTION,',\n  ],\n  defaultState,\n);\n```\n","readmeFilename":"README.md"}