{"_id":"gql-cache-patch","_rev":"30-8e1889076f292c7ab7dc0a2190d231f7","name":"gql-cache-patch","dist-tags":{"latest":"0.13.0"},"versions":{"0.1.0":{"name":"gql-cache-patch","version":"0.1.0","author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.1.0","maintainers":[{"name":"jonaskello","email":"jonas.kello@gmail.com"}],"dist":{"shasum":"e712796de41feb660761e2104649172f70ccbd60","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.1.0.tgz","fileCount":15,"integrity":"sha512-dM4QmhMLZIFIZdSBCiSjqXCyY7zvlvBGRlf1zSZTgCOzuVulRtSHSCiZSh8H7AOMQpobw8R8KIK8u2KTBEBg8w==","signatures":[{"sig":"MEYCIQCDZ/mhC5vuWOxK5k8ecHOubKSwo3mkfawkt0n19H3dVwIhAOg9Mcz6sXWzjl1Z2yh3usaQadVUGkvktdG00YMUg9YV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdrqkCRA9TVsSAnZWagAANEIP/1NA/IPauu9VQ3ycppRI\nar+kmbAN+0oQtpIvDSHNx7KB0kkjsHozXUZ74J9Gs6x/uXlf5SXc0fyVEg+j\nUEQLJm5fbLB9/idKZmzawmfCniBVOoGRp/3szUNZp7CtpCcyJ0CdC7cxhToe\nWJVcQnOs08TBSJE9UpXHj8DpeJXTrt1SeBVpekuXyLPlTLZKzW7PzPuMAQyN\ns+W+scrVFOC4BeCiKgZftU9bL7vOhTgQ6nnub7rBvO1YUAtQqkp8fduknbUZ\nbE0PfiLPuk35msJUslvakkbhGH5rjFn9zQC0jHN9zBFhOOkzXZ/83qfeTfsd\nGjIXi5XyfXIZnYcSXRSSq/SwYEVwdIN8TYfxw6ytQIMaN78IOv6ac8LeHAkQ\nGm9+bd4i7wBW4oGGIGgTu+r9jMaIEM4rRDI+V0wG1lPjX/p8yjJoSrbOKVET\nLOZWtRjIdrrq6lrf00qRKX4/9aBMKGZd1SAthBDFom5BgFA4AeSB5/jW4McC\nuFTHbjW7vLM5fl5TaUWY8c84ConKlUruLexkPOYhSWWNj+LQzC3qMm05pxJi\ny+pbKeofpsPfqKZ32350rvpCTu0xLcl7lHQ5MKnWQCN3EaqtDa7QfMmIzk2M\ncJC6NSptuauciff93L2M9UPRNUsS8ZEQD7RFHMTbIMWhZ/PzwrkPqJ/spOp9\nFxep\r\n=Pq+A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.1.0_1534507683711_0.8822357046711209","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"gql-cache-patch","version":"0.2.0","author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.2.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"6ebd6cc15a55d4324f59964653fecc7ec84f7fc7","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.2.0.tgz","fileCount":15,"integrity":"sha512-41VqJaPpboS2R/Yg7elpozk+n5RzWpqjwob4W2XLM4LuKMMElYfhKXP0r/NouGGZ5BYnLzOImcYDqdIdw8i24g==","signatures":[{"sig":"MEUCICuIs8DgzK4NbxvbjUewAnKnZKA64RhbZt8GOGvaS07TAiEAkP1Ny+zEZ2dAqazBiJ4l51Qn7fGV0p1H2mF7XI5MmIY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfsOHCRA9TVsSAnZWagAAYuwP/0cvVuVfLSzwIra6qBNn\n3ZDKGmCZQKgKJmgjMddiHmZwvLNvijNDnHxyPMb0hQ0vxkydhkiR6pgOD7jK\nRIxjXP4lzLfBmWHTkbFc0k6QHyt34VaKeVgC00h3kuHNe+vEhr3Z6phMJDwG\niLlHWP2HqPjj8yySgZnLC56AWkgJx4LfX6fw6SVVRBQBTLfWZjWn+0BRa1BR\nHOwCBWzEPApn0pqjiAwG065HZ0XygCdYPCL2OM/Y6K+395dtdNXp0mILKoqg\nTHymawdIQv52+T9rXbdw6pFGefwwuLtWN1rGhXWk9V7yiCqfxY+rfOXBpDHc\nPmVrWWeXiGOmWsPnpBAAAO68UbG6o0nrnwZSpAdFuayBRgOPtqYuC/f4uQ3D\nOdAMoYgW7DDgQtkLBKrKJTvPqTu/O+FVOZLL/KIDZUSLBqf8Z2SfbbjMG7LW\nMsfCX7lsvDV9Epd+wB3qrbwrx4RmHgoRya3EtJdKU4N2Dxh9kFujSyL2kjSe\nJb+VBu9f/3eyHWOXbx/4ZhIg1O+pkRrFMeODjpnL9ykXDLx5NLGYRa32dKI3\n4K/+FZTD/c+Cq0BWUtfjz/rSLyGRiRxHIKqkCSSf7KW/kiKvvxgkPM4Z8GfJ\n9aC1+rXqnMj1SP6jMd8UlaoDRUD3tb976xchdQTz69HwgOst82lKxGQwYH4A\nn2fP\r\n=9DwS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.2.0_1535034246616_0.23226001482674907","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"gql-cache-patch","version":"0.3.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.3.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"c52c96b38de20d6fc193b597af45886ecc4f133e","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.3.0.tgz","fileCount":15,"integrity":"sha512-DKZaDbbJiloFps/3ybT35ihoHBxNEiMMThMd6xDXGcLRl3HrJwyt72MDtlPLaNy6HRjvnprUhk8g5aCE9DDvcA==","signatures":[{"sig":"MEQCIAKCG3nkneqETin2I0IO61uJpFwtOXvkx2znBPZnbwc5AiAV3wqU26ZUFDDcd+/ztsiSdHV7quvTMHO1sjLJzpG9Fw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfxpeCRA9TVsSAnZWagAAjSEP/janCuk2j091H1l7mw8v\n4Re09Owd5xxXyzF2BgOEB55SMaR+iPQ94NOjJJEinP8sQ9D+uQ5HkdWnUOKw\n/lbeI1mVBYBwiOtG3UbP6bn476JKtHCWsS7PHGsftb5wN/R+z1qaQtD8a5Kx\nS5TeLBxqVpNlweS8g5MtCkbB6aq+Kt0iOZVUACOT04Erj/glZhZfoFPAuax+\ntEiOkakln2bqtptHSxiNCpL4Y5jCCJPm7w2dJD0oYeML3qyDtsHIw1sLwG0h\nDOucZMJOuGsq+mYdFmC1usT91QIsEPYtckOxVLdoBbSSEIHKWV2SltJI/JE5\noT3fJJ1RDsIYcKVHWs1AGdaFmixnqJctwj5Zv7R81fNl0A8CY3DFLrKVDTIy\njoPmDgcQW9eZeTYOVIZpVdd/eE+xS4gkHyaDXahl2p9KBA4+tU2Tzxudv3ES\nK/g2KKspdH5rYhaa2NcB5yjDGYhoASwjd+wSbT62Cv64BgeJa2Do2w3ni5es\nLr9OQl64VogqDxLp/Ct8igDIdo2FWq7oWMXGn0McVW7UqY5WMHOYnwE0orID\ngwuLsI986kgnca3PylmtE7QhpuCiEJXt3Fy58RbAh7WxiVdK3BWpSLA3B3ZG\nBjzHlGatMDB/ALKj6Do/MHWg+E1t0u6JNB6FE9L/8XIS6h5LhEPh56oy8P3T\nbRDU\r\n=eEsF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.3.0_1535056477613_0.005225002602234019","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"gql-cache-patch","version":"0.4.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.4.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"f6ff975cf3fd4f4449b132997b604abe21f1109c","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.4.0.tgz","fileCount":15,"integrity":"sha512-oAh6ElIJTZedyDVYTHFXLYGJvva8a3pKC5xuT2RECi190kQmHZ7vpvLOSzdsuimnAc+CVyLVzlzDqMsrQfF+ew==","signatures":[{"sig":"MEUCIFBjsQBgxqGsdSZ+UPUnvOAR92tA1riAZ3qYMVQFb1aXAiEAvmq0Qkikcxw70ioMqbkf3U8KDJm5SO+fPmpqP862lRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbf6LDCRA9TVsSAnZWagAAugMP/27bnIfJbCN1a1+H0xNX\nTxmtR6Jk5+5zgon93+Aon6/kT84uFjCoc0f5SLbrJhvBw2umpf8mhkMTRzP/\n3pdyD5mvxBodszwOwG3DAP5pqzwEE2BinH6DZhTQrYywQCfFzZkYmTR36lFs\nc7Hro2V5eWereViL+pgn4P98/RqEJLtjkmMCdalWrqIn1sBKoXtlFc0y/AmJ\n7BkV0Z5uQH8RIoPatXINuNQ/21bZ1VLJjY5Q/j+x8LMo2my5ZcLGLgAes5Zo\nc05GFbederUFNEyvPEAawD5SbQIv5HQ31waZ/9tA0/XMlb/Gdt+xsqD9h4mr\nNwaqfAOj2StNSt1EW22BTLuz8CcsZgy5uW7aUlo9IiZKxN1KqtlfWIBeSGA6\nI4b6cGGw4MNHS887NZq9tzg2SH2GVmnN2te6xTX0+iVoXn2z6G+prGumzLC4\nY/wHyg+0ZIaOziospyA/Xjs7IXOZUPGU9yFHPqarUEfmxRGU0ONnqbjeDvjZ\n/+PFSOg7Ubt447tIjSVL72A4JFzYpWTREkEr0N1966qG7KQacjaH/7uXAwYg\nGE3Gn+VSE2U4+G+babAB0H68eFja1tLbpJTaoAdUp13DGPj47SeOywpac1O8\nI8U2ZEWGDxNn/JhEkyB1DtXZdUIjtuGVvTyRydHKJ5Z38u6AaW8ZSX8ACc7T\n2Hnq\r\n=sxoT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.4.0_1535091394531_0.44556012333587414","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"gql-cache-patch","version":"0.5.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.5.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"2273968f659f276a3b7c4f9403ec6550126c2a52","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.5.0.tgz","fileCount":15,"integrity":"sha512-fC2ejBE4s9M1ZASTR8Q9VE3qu/0/MKQfg6BcNt44KhpvTEK4eL8RiCe56Z8uIuEdejfaT46SrGPYQoj1Xr4pcQ==","signatures":[{"sig":"MEQCIFbbVGtKWSr0VMbMNFk0r5ernABasorCozi6g7gpppDsAiAlT/J0J1vkB1TCOY5T49dR0bGvTsROw50cdTo0C6aYTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm070CRA9TVsSAnZWagAAh7IP/3dCwSsxqKc6JJtDhFYF\nmjXobkM11iLK/SSJtRRklPYeLenUOF3uUEpeX2mkS0MpJB5FY2QEhG1qMqAZ\nLakl9PCoSg69yK7T+pg1z9Rsvb3RGos3rq+j4xjqCB0P63WsiESyqWQiDUT3\n5vcHGnhgO0fK0qKpX6H2eRBuagBCrK8VeCVBeaJR9BAsd6ItKc4PDTywPrHb\nkeW3XV1TCWZw2Az5S9IOkOlv+lq+m/1+f5XtHTFIu3S7jSrK1yq6wUIRGFm1\n38pG9qfLQJDZx5DzW+3AKXenbjuhLCFzHHQuW9Whg/XC5yQPwQQRbz7zWc5r\nBE8O/EosMACB77ZKIynquxWHN7zNIFzQ3xJWgSK3DcbMg2Rv+umc3aR/LnFs\nQiYUNJJld9QIkqSmZswz53cjtZQqiQ8S++hKA7VAAR07zPYv5Ptqiq3c6R6b\nHeHl9UrYmNDPVCG5r4afi+V2nkK9zYBjHJCtU07gMGjm22OKbGKaZfoOoqyn\nwKy3CERiRzz9B3AdaLiTLveUz7aNCjM6GpgJ8fVlYfbMhK/h5ERF3D22hvBG\nzsg25v9nk+VeyIXprCpG6XVXdvRrbv6BEhe8f/FQnjUnb3BcW8p3dufTU0t1\ntRmeC4y8RBi9uRmMa1dKkOwitLYh4Gw7EjxMtYYlfgxT8gVJFMVBTaq5KWjO\nY2vU\r\n=FcLg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jontem","email":"jonathan.mourtada@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.5.0_1536904948267_0.8562473003124467","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"gql-cache-patch","version":"0.6.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.6.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"d109cb7addbc42de334c42a4a1ee6fed3905910c","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.6.0.tgz","fileCount":15,"integrity":"sha512-FnLQ079A53o5BqmeJNJ2boHvhZeUW9bzshSZv5zNC1RanHE45+spyxM6KUilXQWK69Qw7UuVBCYaaKEmXrsuQA==","signatures":[{"sig":"MEQCIHijXgTsnA+73/kifY7HUNqlSN8M+pn7ewhI3YVBsQOzAiBaAhHXunw6hVkcs3FNEujlrlDCeBHYPbStMbobZR+sfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm5AoCRA9TVsSAnZWagAA2IYP/0XfRBimQnvhHLKWtIF9\nEYqMTpwhxFkjy0dsab5RwigxfSeRoDL+YjIMYeDAApqtm56nIXiFaZJHALyD\nVkYRGYag6namVMxsW7bFMEgkMk5ses789J3OGucPOoHoH+0XzELWdsfw3deZ\nrqoDBD6YTGqBPQi9d1sfPCsXwLSL70gXnK1j3xHcYrqTfgF6hnB/PI4GScBV\njW8PCP5aefybuDMdzxz/Hk6qS8F6akmNaVX83tA5Giiuoeff8ukLa7EYXfw/\nH1a2BtwUBgyG0RRbKUsoH9mkM3rqbZTTXA+IBfLVN2zYSKsDWthWCVTKsVEH\nI1URbuQSAsFTG+b1zm07VUcEk59dluCJqY/F58hB7xm6Y3j9g1qbqZXBAQMF\nK2r+Oy07nFOKK931CzZ4815KdIqywqcq5/ZwhrSSCRV1IsuCIQvgf9R7gUJE\n9xg9LqJlLI19Av8gWYRIGF3sPeVX8IrR6Dz6ZjZKXQww2nObUxZRk/f4GwEX\nw0qVtOfQMJgpx++nJNOXHZ/MYFDlxLDKo4YNMkeBsBg3yhSJSE7pu9xZQ2s7\n7bKsPKZU6hDDIZltvKjEP3RWufNKDeHh34koFhZPRbVrUTf1IOPQCfRpy8J5\nKeqjWWGKP+sNnBz0xcZdVmRHRRqoPFtSECDFG4VhzDnikYH/eJGhNq9aTUmh\n8qxh\r\n=xmlS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jontem","email":"jonathan.mourtada@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","graphql":"^14.0.2","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.6.0_1536921639649_0.9753617731521307","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"gql-cache-patch","version":"0.7.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.7.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"98884a9d810deb67ff0ddb6f99e07733eeb9a329","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.7.0.tgz","fileCount":15,"integrity":"sha512-sdRgrkmpFtx4Pkj2p/jJc/C493RX4dnhXY5PVlZWD3x+SfwgZsvhbeIQ+Ra2b2myYlX3jkKnsac4VUg7nR8XXQ==","signatures":[{"sig":"MEUCIBEuBK9YJs0kt6fG3ahCSZh0GIkcbOilXO8JMpDG/PX8AiEAqMGEHru80HshYr6PPRfR6QzDFbEvzahgKImdR2uzEXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm6BYCRA9TVsSAnZWagAAUgoP/AhRjen2ivXZJIVsG2FY\ne/lfZiUKG3OFII2JkK6udwMUMa8uqUVpMH6QvcbwMTOsPL/pb4LI5A5tAGc6\nPvJkT3TUZyA8xuhQ6RUO/0Dyq0qON3EYgfkEdYjPPTeHsv3ZLotZQKviEMae\nORS/Q+CDPNSlqfFpD2s8uFgJ815jfVqoIP9lii/DnlZIuh9VL8JhjCk3+EYc\n1FbIJebIHXGmi07SxRR+JovP2VIgVk+G39JjF0Vq5tFZOLEZpHtFh8oO6ty7\nvgz6IgCzE4ZCGDioBSD2hpveiHwNhFNqvAGX1MkOEdSnwG+AEQccyQcJquoj\nI3Ec9LeegAnO6sUJNZ9v3q7C+NOgQ51xSJuYTEBlurpR+e5tlvEJBWGiFc/j\ng3148EhE5adM5hNCMO2pUP81zOu2zpMHMP4Er3r9/o77hORm7MreNPHmquua\nVeExnzyRPJ7uXhjnGYWvCAivSuvq0yFXifDyutmvazpDlLBzeMARUc6BP4Yn\nXnZqs81fSboPZJpC2kkk3aUK48/xUDkcdkiG7M24ZY/n++c/tZt6t0+563hJ\n7jKf2rSPOLN2v/oyqTZIHVIeWqKFl94RGdxJUx0hGA2dNPsuwJVngJArj5lQ\nIJfnvDTeo7VoHOug5eeUn7Vb1e35+AX+PILno0AL9GK66r1BSNtZ4UnWYlLL\nAAk7\r\n=vaN2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jontem","email":"jonathan.mourtada@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","graphql":"^14.0.2","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.7.0_1536925783918_0.5228513196841762","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"gql-cache-patch","version":"0.8.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.8.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"bedf9667295c2abd418d3bd1787aadcf50f06c1b","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.8.0.tgz","fileCount":15,"integrity":"sha512-93BeCmBDmtWRG+oNOjXbJWkj3eVHdQOmXcXumQyrGqNpkZ6B4Rn4fjinlgblJ0x9Lp8UwTMbGHWmAafOWKFyVg==","signatures":[{"sig":"MEUCIGGAZFUjpIB6f5rHXrgZxCjuMs4f5Ei4JKhkVOBcFqi7AiEAstmhFg5s/aRXfBMOAHU9bOuoA/x2u9xlLa5DO9yQsFU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrP1eCRA9TVsSAnZWagAAkHsP/0LoLVeGG5kzy3lp5qc0\niLFtKNlnAvY8Q6SoNyWpMlyihPHvYbj2XRZ1oBJm7Zw04e32w03mXClepS8n\nhjzk0MMhOdCKNc7MtrEXhfv5kKqRObsVpyJwrPbzTpRGlKYDJR74GMJFAxxx\nXEGFzD54MEsQGWtbU+8HSz/oyMW0GxjwUR16lu6LjUBMVfGC2i4f1FM1Dxe0\nyifEZTf8OgWlqQMrJ3LoYaH6sQFNUD/JTN3ca9KcDts5NBUkYiATmCA0HJKt\nWXzqhM8nBEb+3MRLMYrgNdjbTQO50PjEDygwD2jP8XEI9AJ1Pgh3dyQgyYyE\nPYyBZZjsKTILDqB+G0HKnyY+7W1GXdo6fSrZGWxHby3EvjgT3Bln63V/+/jE\nMOzN4uB9wtA7Ydi/rfVLgsA6EBmvjBz3umg4w1pnZDBiolyE4dg0jXvR/Z/3\nnauZWpjaAL+TfZxB7/RaLlwUgGKfzh/u5Pat4bRr6filzP4JkVvU6hd5+EF+\n36E1hQJkjuC4/ugx7Xu/oY80uQZwoZFLFXFRu3ubRLQOytxakG1Y2PjNzkku\nMajdPS+iWyNFTWc/M71KztggAn5ruGRYaMM2t7bv6XohlEx3UJGc39gMC9bN\nWy3kVDoKquf7rvbtIkby2BcIR7mK98K/AKyxWXGJbL0SNuX6cr4nxZhnszjN\nuP2F\r\n=5amD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jontem","email":"jonathan.mourtada@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","graphql":"^14.0.2","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.8.0_1538063708838_0.4937072156216433","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"gql-cache-patch","version":"0.9.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.9.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"06a3abd69b77abe15ab3ea1aa472b2c90409ae9e","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.9.0.tgz","fileCount":15,"integrity":"sha512-pFm4i7P2ybm6uesG8VbY3d836hHn2ysmfyuuooqfOKxG3YBvHgQ0fJ0fsYMCE5G7rkUsPUs0VuuaLYjG9pxRgA==","signatures":[{"sig":"MEUCIQD1tENQ3tnJY/QfxCnYcrRlqHHbVdlTUMHaW9BlfILrAQIgQET8go38tKr59bXu2ErUSRGAbG1n+r0duwH8FssPlgg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbriiCCRA9TVsSAnZWagAAUbcQAJMVAwfWs6X4d1Tqx/OC\nGu3fCQFv69rvFkbB6ptzrPr4dwRE0JCLRqtzeXHhzqs6fSBOlceFirp1UZ7F\n7A8bm32y/Bqh7YtXo5K29B8ftCVORb/McShzbZlC9cyUko5T114pYpWUWFHi\nFl2bUlCrLDQZwJT8OeZgakiLbrJJdvbuKYEAT05uUaoi+O73+OAz6cEOZE8m\nVGUr0WxayESf1juDvM7tlNSxzghAMgIs2AoRP5v+iVmVH8WQeCzjalLAxUBW\nuckwfYQ9y7pJ3h9AQCm9zHj/2DXU/tzggiKwIS+ndBLypcZM3PWEar/JpiDn\nY09WGawEZxwZ4keP0GZIFL+pOpnHz76YAME0G6PA61yrr/aMsjwnJ9eoAkjn\n/u4w0siKm1wzmNvCIPx5Ocmfz5/ZEATZYptO5vm2dEQBXNLhX8WG/dTMSWck\nq61ksaLDldSUfICss5AsDbNDTxHt/2Zr3JHBPOoPExPyxoDhFah/t9cwbbwa\niAwsHiNKu3EfPXmbzL55pTkSI79tgpHsDNaalPg1X2mrGSMdUK8A+u9m6Bko\nMJhohLOR9TS6STBGrY5HxlzDdxVHmPNNkJpjHtdskWqufNKFAP5+8MCYRgHs\ni1/J+Y0G61bNUcMWYnxc7NYviI/ef0ha9vnjxAEW/5qNzDj8RmZO6jz1h8mW\ntw/f\r\n=GsEw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"jontem","email":"jonathan.mourtada@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","graphql":"^14.0.2","ts-node":"^7.0.1","prettier":"^1.14.2","tap-spec":"^5.0.0","coveralls":"^3.0.2","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.9.0_1538140289990_0.6342478190334091","host":"s3://npm-registry-packages"}},"0.10.0":{"name":"gql-cache-patch","version":"0.10.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.10.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"bjolind","email":"bjorn.lindberg@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"147da5dd531a1bab3f845daf3994dafda1d5c621","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.10.0.tgz","fileCount":15,"integrity":"sha512-y/wfQJstWL5lQs5Ib1npSvGmM12Na/wVdbR9W03JYy4/nSgM8pPWxZi0nzXkbqYsq39ePU10t3oWv+dNPBI84g==","signatures":[{"sig":"MEUCIC/ejkydYf89pCkW760IGPc8E6HwIVlB91XR3rR/nok6AiEAgr2Mn+LT+hWENrd1diL/Me/W7kGQOkcXBqe4pZ/qJ0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJca/6tCRA9TVsSAnZWagAAbWEP+gOT4RqqOIS53opmY6/X\naYGAsghGepWj1OA2+Ig/66YhQi8Wkr7toWdqY0oMhIG48Znkip2k+iJuMCUx\nxrzMvzK4cxVnkGXdEZCuStMTECzdaw1caSno2VldKf3/WlluP1Ec+wD/onS1\nTDicNLQEQNQSDUFbBgOZ/rX1B4k8RNtR0T1mfhf62ml4zAvxR4A6Yg01CG5w\nS81y5kYppSm6YQa8i6r1vlkoZrGKvrxhMIQMeuYv0fMxepdu8ks01zqeJ3wE\njd86LTCN/musv3uj0MKsoP+St6gC5/orou16dy6Vs84bgiFsXkMJ3bY7RTJT\nLRvS1uIb9nUWlYjSV2RHqJbLyaoetck2cyTHjSpUiRd91yVk6W67y1Ejv5xO\ns1vonk8LImY/DHjd/5KxS3nhimVvFh7yyvkw1/Fs5ikmPvPzFm+RrUQ5cU3b\nTXJM7UyaPRo6VoAquppupi9Xkhsh26/porapA/8V6sJIPDCaBWvFyWjGKXP2\nVEEcdPRz4mG9CvNaYaCmwbacdZDlKA6QmNBhZrhD4unecEpI7TqUI8Meh6QX\nYg/No1MncosFLcPOQQohapP+uqfXwv4DwqTOJ5Y9xttapX1iuZs4QlRKo0Dg\nqQfGwqe03urPuG2p0gCvI5bCqvpqQmOdrqcUhk9+dqSyU5BbPE3cD4ZnMerj\nKZqe\r\n=e5lB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"codecov -f coverage/*.json"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","codecov":"^3.1.0","graphql":"^14.0.2","ts-node":"^8.0.2","prettier":"^1.14.2","tap-spec":"^5.0.0","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.10.0_1550581420315_0.339149929751402","host":"s3://npm-registry-packages"}},"0.11.0":{"name":"gql-cache-patch","version":"0.11.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.11.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"bjolind","email":"bjorn.lindberg@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"d57a61c164876180af6f9d2424f73401aefb3c99","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.11.0.tgz","fileCount":15,"integrity":"sha512-39/t92euwbamkq9Xbymf6XjyRRQoNVesMOqT6/sVQerDsJO/1xlJ2Plv7BMzjFwdtwrqhEA4/8g9YI9bQCSX8w==","signatures":[{"sig":"MEYCIQDAoqgCnpn/McUPTD9FCQicqUfJ7umDABg/n1JRz7yXPQIhANCRSG1xagvR/E6E1PnZsLByQuP84lD4Mj4jHjJZsQE4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnjaeCRA9TVsSAnZWagAAe7EQAJZDesa5OG4Dy3e1X9YB\no+WyWL2QhGmaUu7zDngSxdh6jVEusJ7Jnuc4V3jGXLauE0p7ENwUmbLUtQuI\nc23NNaiyFsyRcB7CGNWYS8EF/5wfbRpBR9C3vYDVsLr0ESt9urewgC7rq/nY\nOJ96gThW1Mmvr9snmrh4PtJYqb4POBfZrK7U29XLJa5lASZXuTnLcln/OGiD\nDclVHL5Oo3ACn3mzsmfHtWJEbj5sUffz2mGFT8jowVG2n4q0wuuKCAj0D2bR\nUVxi2gm+21J0UKtMH7riTmd2tf0ZfcxpI1eDbJCFKEfspG8yvb9vxEUw7TOd\nLFY/W6ffaa767zAMZevkqMR+0tTaDSF0F1n5CmHQkks1lSfy/Q8NjB0VTGnx\nALnLnbC06qMm7xnSLVcHhSPCUTj8UTjSnhNzgmlvPCTpHE/t+mI/YKZuRDMX\n660TWQURCUWRGRJe3V+q0qu5xfkzIJOSfcbbDaAeEedWjBgdxkqxKDXda+EI\nwVO5nHF1u2rcKgqSP6gCu9/XacPp6UMwSPlj7GQJLTqc4rkunYyOzVIjVXot\n7OxB0Q5mYDC0RX6WdzT6n/8cHoM76wgJsZ84sPuc0tJ/ALCsSJnp/JgR1Zrt\npUn2Oj9E5CkS+AN+xvyVwmTOUB4oUNPU36mYHMaa/MBINwFlEGUGymPXzTuA\ndtQt\r\n=q67g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"codecov -f coverage/*.json"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","codecov":"^3.1.0","graphql":"^14.0.2","ts-node":"^8.0.2","prettier":"^1.14.2","tap-spec":"^5.0.0","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.11.0_1553872541964_0.7401819309617423","host":"s3://npm-registry-packages"}},"0.12.0":{"name":"gql-cache-patch","version":"0.12.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.12.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"bjolind","email":"bjorn.lindberg@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"8db9676cd7deaac54c234d6f2d13461899832bd5","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.12.0.tgz","fileCount":15,"integrity":"sha512-K6U//e0sK6xqTjq4/DkGVA1ngvEn8M00QdUpxRd0osVdMpGNq+W4sYctLk01jHghrdIVCunXSUQtlYfT7gn6Kw==","signatures":[{"sig":"MEQCICrUQqUEs8pGoqyBKqtE2Kw0+zVOQbKaiPBdMqP+1/f5AiAoohIUfMYvVcE9q0FzDrrx5N4mmCGt6F7xi5y9i8adLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcobixCRA9TVsSAnZWagAAd6EQAIvo1mAP1Vp2HFEvsQsc\nGPr8WW4X5c3p/7HrX07nYYjHoTrs2ffCQavGyiX4YAEi4mWrWxG+32F6a8Tb\njk6eDyAKJuTfAdT88iKTmnUchW3reKSN6oI0MooElazyC9xzE7C1T73woqFh\nMPE0qB5RvCUNZ1hCLky10m6454bg6VG32tklcKnOhq/20bFQvsJUvvBE7vlt\nOTXwsunxJkt9KTQWZQcX6fcYPGGvMLP37A6T0jSqLBT6CvohqC01Tjoy9YLx\nugwYDjendIy8GOsDcqR9pfuVweVPAW9HfR7EzwUQOepYAWzLz82xUJKwqmBn\nxUZ3MSsJvPqNdyriK4KJZ61EjR9+8MjE/If2tueSv+zjPjA3H477uDqxYPp5\n5XgdNYmKxpd3toMQXviho3IpKJlXWJm1NB954NBkL34A/NhaeDnzUteTmJ8C\n2qednrUetwAz5zXFvH20c3j41vp2Og3uDljbqbUfI3mRDNNPGYBMpLFvWvSq\nlJrD13oV5VnY7nsEGjNVRevewhlhBLnVM7S7we2gomu8ZzBrKh2by9Hof4DM\nUG0NxkjYZJRdWNdHdrtH6j3QnKSfWcjefQPKYIp9vi2FUKmoSXxtphBqMFD6\nA2472IXoFresLgRxdkXGC4Ocu85iwYlhxesa/3x0trrRYJqR8AAGfJm0yDfa\nJ0sI\r\n=/CqT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"codecov -f coverage/*.json"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","codecov":"^3.1.0","graphql":"^14.0.2","ts-node":"^8.0.2","prettier":"^1.14.2","tap-spec":"^5.0.0","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.12.0_1554102448411_0.39174269275724294","host":"s3://npm-registry-packages"}},"0.13.0":{"name":"gql-cache-patch","version":"0.13.0","keywords":["graphql","cache","normalization"],"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","_id":"gql-cache-patch@0.13.0","maintainers":[{"name":"adam.luotonen","email":"adam.luotonen@divid.se"},{"name":"bjolind","email":"bjorn.lindberg@divid.se"},{"name":"dividstefansvensson","email":"stefan.svensson@divid.se"},{"name":"erieng","email":"erik.engvall@divid.se"},{"name":"johankristiansson","email":"johan1kristiansson@gmail.com"},{"name":"jonaskello","email":"jonas.kello@gmail.com"},{"name":"jontem","email":"jonathan.mourtada@gmail.com"}],"dist":{"shasum":"200136c4fb590d0caee3dce06f81dfd1e5f6b3e6","tarball":"https://registry.npmjs.org/gql-cache-patch/-/gql-cache-patch-0.13.0.tgz","fileCount":15,"integrity":"sha512-CdiVnIhAVsuBGdKBMVK2gduqc56IQruwPL7MC+ngdjdFY0DHWgnDU3IaELYxqI/Bb0IooYMMNj7FyBm0NWt1kg==","signatures":[{"sig":"MEUCIAfjKObW1mBEV8yPwb/C2O9Z1YauI23nYTh0Vx7J9rJFAiEAsP3TwmBw2IWp5WdZ/c34rtgsPCSkUgGMItEIeM+ZljU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcra73CRA9TVsSAnZWagAA0xAP/2wKQYnVre78KGruJwIF\n4Bn0arvOlceSK+r+ftGxZAufj0C7Yzps7afa/cq7RcWjQCDIaDasaTzjVPCK\nG9CYVx1ZQSx54wwFYyWyS7b3aTBg2zeBuCH4LVMPolnURLctIZePySq+dAc7\n7rMi7KVMPgaH6kYrIzV835ILB9gCW9WXu6mU/HSDwkJTcsSxZjEMWruKe+l+\nw8ez0SZqYmvrm+OK1sbkkngh+44ScIFJYQKxYabGwH1eqxuIKV0cNc7dnF+6\nSzX3ftbnYiiIwNTYkWbhGCKIV+hAbSN+Kur6XBeEBsHty/MEEHF5IRc2wZQC\nre0qAzJcBaFhjb1mYZkEhiE2wosKAQ0Uzd9l6CXc9daL5hYsxLOGHXWLAC8o\ng2cprLscSPKenrFBooNQg9wHnUWCK6bqx9jxJRezTwYPKmnzBhue8pjAOzs6\n1QkMdOT3R20jzNrfsDFFGzJyCH7KIZkMaJpUHcnje5tuBax8JmWUZU5Luh8Q\nzsl6aK/epxVuYNcpdQv54aa9SkiKTZb18isZ+CH0wpwrapYA9X8hgOmokCt6\nB4X79k8Lhz8KE6oLPQ9YSow+VPM6zD6OfbcYUJAJ9BnTzvXzhqAwEyVhHb1x\niY+MEhcezddh07eLLIJnpEym/s31np+ujVwDG1nNFfTreae0w4gZhH8nQQHr\ncc0s\r\n=SdDV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"lint":"tslint --config ./tslint.json -- './{src,test}/**/*.ts{,x}'","test":"tape --require ts-node/register \"test/**/*.ts\" | tap-spec","build":"rimraf lib && tsc -p src","verify":"yarn lint && yarn build && yarn coverage","coverage":"rimraf coverage .nyc_output && nyc yarn test","precommit":"lint-staged","publish-npm":"yarn verify && yarn publish && git push --follow-tags","report-coverage":"codecov -f coverage/*.json"},"_npmUser":{"name":"jonaskello","email":"jonas.kello@gmail.com"},"deprecated":"WARNING: This project has been renamed to graphql-norm-patch. Install using graphql-norm-patch instead.","repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 Divid AB\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","lint-staged":{"*.{ts,tsx}":"tslint","*.{ts,tsx,json,css}":["prettier --write","git add"]},"dependencies":{"gql-cache":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","tape":"^4.9.1","husky":"^0.14.3","rimraf":"^2.6.2","tslint":"^5.11.0","codecov":"^3.1.0","graphql":"^14.0.2","ts-node":"^8.0.2","prettier":"^1.14.2","tap-spec":"^5.0.0","typescript":"^3.0.1","@types/tape":"^4.2.32","lint-staged":"^7.2.2","@types/graphql":"^14.0.0"},"peerDependencies":{"graphql":"^0.13.0 || ^14.0.0","@types/graphql":"^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gql-cache-patch_0.13.0_1554886390833_0.7671096014150403","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-08-17T12:08:03.710Z","modified":"2025-10-14T10:55:50.836Z","0.1.0":"2018-08-17T12:08:03.819Z","0.2.0":"2018-08-23T14:24:06.685Z","0.3.0":"2018-08-23T20:34:37.699Z","0.4.0":"2018-08-24T06:16:34.584Z","0.5.0":"2018-09-14T06:02:28.423Z","0.6.0":"2018-09-14T10:40:40.000Z","0.7.0":"2018-09-14T11:49:44.174Z","0.8.0":"2018-09-27T15:55:08.947Z","0.9.0":"2018-09-28T13:11:30.370Z","0.10.0":"2019-02-19T13:03:40.556Z","0.11.0":"2019-03-29T15:15:42.325Z","0.12.0":"2019-04-01T07:07:28.617Z","0.13.0":"2019-04-10T08:53:10.983Z"},"author":{"name":"Divid AB","email":"info@divid.se"},"license":"MIT","keywords":["graphql","cache","normalization"],"repository":{"url":"git+https://github.com/dividab/gql-cache-patch.git","type":"git"},"description":"Declarative patching for gql-cache","maintainers":[{"email":"stefan.svensson@divid.se","name":"dividstefansvensson"},{"email":"johan1kristiansson@gmail.com","name":"johankristiansson"},{"email":"adam.luotonen@divid.se","name":"adam.luotonen"},{"email":"victor@topmost.se","name":"geon"},{"email":"martin.svensson@divid.se","name":"marsve"},{"email":"henrik.brandt@protonmail.com","name":"henbr"},{"email":"josef.dagson@divid.se","name":"josef.dagson"},{"email":"oskar.dahlin@divid.se","name":"oskdah"},{"email":"johan.kahlman@divid.se","name":"johkah"},{"email":"zlatan.filipusic@divid.se","name":"zlafil"},{"email":"rasmus.svanberg@divid.se","name":"rassva"},{"email":"bontimriskus@gmail.com","name":"timmotoo"},{"email":"rasmus.hallback@divid.se","name":"rashal01"},{"email":"joakim.uhrwing@divid.se","name":"judivid"},{"email":"max.alberts@divid.se","name":"divid-malberts"},{"email":"jonas.kello@gmail.com","name":"jonaskello"}],"readme":"# gql-cache-patch\n\n[![npm version][version-image]][version-url]\n[![travis build][travis-image]][travis-url]\n[![Coverage Status][codecov-image]][codecov-url]\n[![code style: prettier][prettier-image]][prettier-url]\n[![MIT license][license-image]][license-url]\n\nDeclarative patching for [gql-cache](https://www.npmjs.com/package/gql-cache)\n\n## Overview\n\nThis package contains functions to do declarative patching of [gql-cache](https://www.npmjs.com/package/gql-cache). It should also work with any cache that is a plain JS object with a flat normalized structure.\n\nYou can declare patches as data and then apply them. One usage is to apply optimistic updates to the cache when doing mutations.\n\nSince the patches are data you can also return patches from the server. So the server could return patches to the client as part of the mutation response, and the client can then apply them to get the needed upates. One benefit of this is that the server now is responsible for knowing what parts of the schema needs updating after a mutation has been executed.\n\n## How to install\n\n```\nnpm install gql-cache-patch --save\n```\n\n## How to use\n\nThe package has the following constructor functions for creating the patches:\n\n```ts\nexport function createEntity<T>(\n  id: GraphQLEntityCache.EntityId,\n  newValue: T\n): CreateEntity;\n\nexport function deleteEntity(id: GraphQLEntityCache.EntityId): DeleteEntity;\n\nexport function updateField<T>(\n  id: string,\n  fieldName: Extract<keyof T, string>,\n  newValue: GraphQLEntityCache.EntityFieldValue | null\n): UpdateField;\n\nexport function insertElement<T>(\n  id: GraphQLEntityCache.EntityId,\n  fieldName: Extract<keyof T, string>,\n  index: number,\n  newValue: GraphQLEntityCache.EntityFieldValue\n): InsertElement;\n\nexport function removeElement<T>(\n  id: GraphQLEntityCache.EntityId,\n  fieldName: Extract<keyof T, string>,\n  index: number\n): RemoveElement;\n\nexport function removeEntityElement<T>(\n  id: GraphQLEntityCache.EntityId,\n  fieldName: Extract<keyof T, string>,\n  entityId: GraphQLEntityCache.EntityId\n): RemoveEntityElement;\n```\n\nIt also has a function to apply the patches to a cache and returns a tuple of the new cache object and stale entities map:\n\n```ts\nexport function apply(\n  patches: ReadonlyArray<CachePatch.CachePatch>,\n  cache: GraphQLEntityCache.EntityCache,\n  staleEntities: GraphQLEntityCache.StaleEntities\n): [GraphQLEntityCache.EntityCache, GraphQLEntityCache.StaleEntities];\n```\n\nHere is a small example:\n\n```js\nimport { createEntity, apply } from \"gql-cache-patch\";\n\nconst cache = {};\nconst stale = {};\nconst patch = createEntity(\"myid\", { id: \"myid\", name: \"foo\" });\nconst [patchedCache, patchedStale] = apply(testCase.patches, cache, stale);\n\nconsole.log(JSON.stringify(cache));\n/* { myid: { id: \"myid\", name: \"foo\" } } */\n```\n\n## How patches are applied to the cache\n\nA patch always specifies an ID for an entity in the cache. If the specified ID does not exist in cache, applying the patch will silently do nothing. The exception to this rule is the `CreateEntity` patch which will create the entity in the cache.\n\nApplying patches that specify a field name will only have effect if that field name already exits in the cache. If the field name does not exist on the specified entity in the cache, then applying the patch will silently do nothing. If a field exists but have value `null` and a `InsertElement` patch is applied to that field, a new array will automatically be created when applying the patch.\n\n## Type safety\n\nThis package has built-in typescript types, and when using typescript some type saftey can be achieved by using types generated for the GraphQL schema. Types for the schema can be genereted using for example [graphql-code-generator](https://www.npmjs.com/package/graphql-code-generator) and then be used as this:\n\n```ts\nimport { updateField } from \"gql-cache-patch\";\n\nconst patch = updateField<GraphQLSchemaTypes.Foo>(\"myid\", \"myfield\", \"myvalue\");\n```\n\n## Future work\n\nIt would be interesting to investigate returning patches as an [extension](http://facebook.github.io/graphql/June2018/#sec-Response-Format) of the graphql response.\n\n[version-image]: https://img.shields.io/npm/v/gql-cache-patch.svg?style=flat\n[version-url]: https://www.npmjs.com/package/gql-cache-patch\n[travis-image]: https://travis-ci.com/dividab/gql-cache-patch.svg?branch=master&style=flat\n[travis-url]: https://travis-ci.com/dividab/gql-cache-patch\n[codecov-image]: https://codecov.io/gh/dividab/gql-cache-patch/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/dividab/gql-cache-patch\n[license-image]: https://img.shields.io/github/license/dividab/gql-cache-patch.svg?style=flat\n[license-url]: https://opensource.org/licenses/MIT\n[prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat\n[prettier-url]: https://github.com/prettier/prettier\n","readmeFilename":"README.md"}