{"_id":"graphql-filter-fragment","_rev":"10-bff2c57ca5718f98910ad30e50171ff4","name":"graphql-filter-fragment","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.0":{"name":"graphql-filter-fragment","version":"0.1.0","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@0.1.0","maintainers":[{"name":"amann","email":"jan@amann.me"}],"dist":{"shasum":"176aec59f28d34e0b6c6465ef6f6cee56050f84c","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-0.1.0.tgz","fileCount":25,"integrity":"sha512-XFSZcLoSbb5s5FEXjdI4YLkEua0b93rSdTh8MTxqXdpVTp531/zVAVP5bRHKYoW2GqkqCj7W07Cwe8KvzM3tGQ==","signatures":[{"sig":"MEQCIDQK/V+6yXC6paax3MMYY8ZxQd95+VikfGhS7vxXFti5AiBBi7FH03zCnw+ZkRkMSN220tynSKM9u2lFZlyDmH1YUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1Gc6CRA9TVsSAnZWagAAKPQQAIuac6vcBeTTLSphcTLJ\nykgiUXlf6qTe9aNVf0PPQsHzu7iygWz6tXR98yJa+JBex7XYvfHjGj2HHTpH\njWePPn/eL6ski/v3l0oieEC4DivRHIzZqsxaaXZFSit4tqG1zeHO+TA41f3g\nngkqWymYcLv8GxxK3578FBPFHsVzpMA+6nWmbpn2n1dsOVzo/nEFtWkNEstC\nY82A2vI3StzWVPbsuily5ib5O/D5E3gCF2QGq0ourBF2aMkATl+WzryeyHJI\nXYV4aUOnoxnUcxFN4Qxnjepu3K+DFEyyRzwUrQdazH4Aa7p7JzuzhIDZNqTN\nm8ZOGELu9KltQ8uPhEc9nNXtKHm85fV4VihWyZl8PfpIajJSTO4lE+aKfZAv\nOImYdGYEl2yd9OyedFP2cK2YR2UbjXcade9rEPWg435zzZwC+yLc6N0DcE8T\n1bc1q4+jYLqBpb6wbTpUzHC2VmsISIPpqV21TG7/xFLO6pYV4JXt50a1wVfT\nZTTZdTowdNcSX/2/XMCmekkn7Z5MVDg+v7+iEjg1esGezmF9av6XZR2FaWqV\neLlbbwgXEw21BELojRGTW+KF3Y7XK4hi1K/RIZ4ShYcYVqrQO2oURdbGCb1+\nH+1sO26PY1aBf0e8kZ/e8nSoyk/PNHXdHqRSyHaSiehS7awOfJHTplIBgGuX\n8t8S\r\n=/xyS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"dts build","start":"dts watch","prepare":"dts build"},"typings":"dist/index.d.ts","_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_0.1.0_1641310010650_0.2465487660463237","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"graphql-filter-fragment","version":"1.0.0","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.0","maintainers":[{"name":"amann","email":"jan@amann.me"}],"dist":{"shasum":"aae1c7b64201a9ebe007ce1e048f1ae10d954e89","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.0.tgz","fileCount":25,"integrity":"sha512-o1EDjrh91Nyw/y0mMZ52pa5XzS+kt8foWYfmeQ4NPTtBnMwuiuVlDIXIKqO5qAtpmOHPKgQFoQRioYwBIGfFYw==","signatures":[{"sig":"MEUCIQCEvEapQa33i4xbHOcz9vvui/sLrm7LKuZge3Z952SazQIgTqyyIT4CXiUhW6AVBORXj54Xx/KIiE+XOU+n8awkVw0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1GxNCRA9TVsSAnZWagAAXvgQAIBQSZJ7N7eSTiSPS06I\ndy3kizA8NwQFdNxS6tIG+BtsL9mcwgabumI05vMNTEe6shmciEEp5+Y9/kAm\nSwrA0wqo7AgI3hDVuFE/dwdvfMjEF6bWyNR85PdjGfw3sXFrlVdJZThxSJEd\nNbDlfrB/Ypm8ZTCy4iOssUKlsigb7kXrJ+zeYz0LiXG0I8AYyYHD+7942mSV\nxalDSawoKVr3CHLZAtT6WiUphNl/PnzXIiyt/M3xjL3y0QU5jGVTMNMxxVCm\nFxIePM1jKQd9pAul/OaNGxaa3xQ4A6vLvkh1rj9azIrBlULZgWxVV+UrDT0u\nj9DdHkGYan9lvQ3qZSC7mBWFSF1rD58BGHfj2nbuvRc2pEgbvrHuukY4EBDe\nTz/gvPV0EVX5WOB0GcDvxfcqq8TUyY6YPaPtBIVTH3heFe1xBzEd+ugQmBMV\nw6l7JkijYTN1ea0ppfqu9+A5BuO/QMX5MIyNxgXU/a+bse6XHBtfSlirnuVs\nVYuBKkgrYMVlkqWuEPhaGLvFFwAaLNWe1LiGAhQujuuEvSMBV2oVOL9QmBfw\nTemHCZEvRDPCFJxEPmFJEFRw29GA6j9DF3yT7dvURJp4mWVSznSwviOK/VVw\nsxonihtuZHkwVovuAt+c4gclRrAyBF5a++QRKuo+EPkNa+G+h7CR3kYK3iy6\nA/JF\r\n=9VAx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"dts build","start":"dts watch","prepare":"dts build"},"typings":"dist/index.d.ts","_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.0_1641311309819_0.6456496569554531","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"graphql-filter-fragment","version":"1.0.1","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.1","maintainers":[{"name":"amann","email":"jan@amann.me"}],"dist":{"shasum":"1099266f164de8a6895ce2e3c2ee4e9a6703c8e8","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.1.tgz","fileCount":25,"integrity":"sha512-Pvwd+afMw6V5P3MUxUqHhqpRCepDXIMXD/3+cs7EFR086xDPpwVCVASHhLJpqgMvDWg96xaMvT9iYDirdoQkOA==","signatures":[{"sig":"MEYCIQDc9PRf2NPyS/C9URJfYPO1J+Z4cdOxCcpsW0N9jxymTgIhAOLMWFx5jiJ/NVwZ4VmDgAPdziIqY81KYTBKm1FwqIpE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1G75CRA9TVsSAnZWagAAzm0P+wbVH1l/gPkHkYKd4xnY\n1ZmyKmnZizWuEVUA1nnaMjQNTIqt/ObSECN9dSkRB4Uu/4OkKyJ4FGtGIdX5\naJQDTr4sC+bEDoJ2bY04yjPZBZTPnRtLE77xOft0FKRSHNfByY+/zPVgBM9U\nPBHXgls4Q3sKcjR6ZG2zA9ehd5kZ2gT1IeTWnopMwMtx2eCH03xKOR9SEFAn\n1YobjLnmiz1v4QhWHqcLZENFn2ioPTCvENsBsoeuLM/spb6b4KSWT5tc9smT\nQrVM7QIvAhAoPIaLCnkOiBxzy0CVchaS6WRWjy1sRa9bb2XduUETZ7Bo64g0\nYHjdD/TJ2DmT9gqt6kFpOHo6WorGYPIkxLTVzWBoo1UjUcMlZoj8fdAeHfUJ\nbl8BWVFUCD9rJoWLVQWIvIoNIo3jicnZ2a8QkZ9f/KMB1t3+kIFJKWfngQY5\nNxwcboHwwEQGmHt5q6wF68OUuAk8xIqSskHOP7slVGUNhBulwPbVlT5AIxt6\nvOkayW/LuqXQiGWQCGvWpsf4i3BCyjgb+PaAVHNNmn+C+yrqyg+2laK7e0H5\nPjZmKeGy3Hvlz7739jSoVqdMiSbltiBg55qE6lHGSwSsljNmbRMsCDdf/hBv\nQxE6YcnkrqyjN1fCdzXCsP92cmhITH+szkEi+BtM/1xalkN38SmlGse54oCm\nG9j/\r\n=RSfM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"dts build","start":"dts watch","prepare":"dts build"},"typings":"dist/index.d.ts","_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.1_1641311992920_0.4376656350188912","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"graphql-filter-fragment","version":"1.0.2","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.2","maintainers":[{"name":"amann","email":"jan@amann.me"}],"dist":{"shasum":"912a51417aa9d6a7420a49fb1a67d41f20bce1a5","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.2.tgz","fileCount":19,"integrity":"sha512-43SjlagKuQhDxBLJ8eqALAxuLlprb4yB1aafH17DxjZFmwWC8fi2ayyAmd1ljY+dY/ldZOHVhRxDYA6iXT+FdA==","signatures":[{"sig":"MEQCIE8gW+jsiNToDzACcl7lxNGMoYbzHqvQ8Wd+ifD5mFbMAiBhjPffKb1xzhC9Dgr8iudpCgs9g+aT0BWnwc1skGz1qA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1UmuCRA9TVsSAnZWagAA2O4QAIM1pwZacLTOMcW0TcLQ\npVe22nkcPEw5WTvVOWd1aOn6aBfO5+fHEN38yHUWv6kBsg/IcrLyNEO+AcmT\n+rtZrY5Tbkg5pWDH6NNT245PuMrNu8obRBTJvxJuUJuybfMpMSCGSwAA/Y1S\n/sUFudlhqYwMgURgN4nWYE4QKbXV/HR31CAAoAtbsQR7JMWazoHnzXjQfHFM\nEOU/U/sKxaV5Shum5J75RVT60joeacD5aFsYtwpkFZ3jRO18C0HQvZJQBJ1t\n2iu7o2xCOaSeK3B2OYGcKDUlsURdt8mcLdELi4L8k/d5K7RGiZqDeA39A48N\n97KrRLJIKnodV0mpcv8rUF8CDuDXDtleE1gTHUWuHAq7V8BqlXRc3e/oxRr/\nK8SCKxnHeJ2SKTf9Z1nSvZ5rjfbER5TzdxTB7gLjbk6vYcW3KrEGrp5QKMrj\nWyKwG28jsL1KFj8yC8y8TcbpLDufydhgWrUDRVxsYE9jOXUELu8n0Mz3pB9y\nu62rSLjQlrhGVyxI2w5jdalIP5ODR6w2YLhPWZGUTw09xnj9VElRqRmR7wV/\nfHEZF0yiVjurWulnHgMA4p35jvI1EDb+bWLet011p0uPF7ePTxzGtKT94OT2\nKFADyPrbgPrqPCymGmycIH6o24Gc/tlBVbBrSe8SowQuyTHbV4wkNEyEqkSm\nrQ29\r\n=+nhW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"dts build","start":"dts watch","prepare":"dts build"},"typings":"dist/index.d.ts","_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0","@apollo/client":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.2_1641367982525_0.40977063168671","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"graphql-filter-fragment","version":"1.0.3","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.3","maintainers":[{"name":"amann","email":"jan@amann.me"}],"homepage":"https://github.com/amannn/graphql-filter-fragment","dist":{"shasum":"2593b466ba31af1122c80e79758367048170c6f0","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.3.tgz","fileCount":19,"integrity":"sha512-8jhBfsQLrS0Nd7ukRoBEyFPcc0mvJBFHWtVal5BJ8W02HfhbULW1A8c7A4af1vY014JihydKjkhkyE6xuO3qGw==","signatures":[{"sig":"MEUCIERi1W8CUKteyQCF9krOCyYqSS9JviqyEKd0l9q4Keh3AiEA06EsMt92HfyD2OkICMUjKJBaea0w9jsBadHWEFgiod4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNsdZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3UBAAhJPqGety1dytA9gzY+Se1NDp68gQZCjIGpHeRDI4NsQl++xa\r\nZBl7Ue7F0bI5sF9Zbg6b+BIqWxqmeRp6LEM+fL4wp2rVchpN+MtC9k0FWRtq\r\nTHxJsggp2gI661oKOUnUoBKMQZAi7o/LH67mdAQ4dct6i6SZh487NuPpIM7q\r\n0wVMMN84+QttLRhkxR3cvUlrBAn/Cw8hszA1HUy4pY7JII47GVAZb6/9ffP+\r\n1yHsMNPt5Eh+D5ijQPBxNbal4IkhgPoBEC0HhV/xBzEp9IR91wfkhW3g0jXD\r\nZW9ylQXIoK1i+8aiOZpC3iBOZguaPhwLYIyrmc5Q23oNpeQAE0UQ0GMJb/Vk\r\n5gaQS7Z4B7/9LqhiQSGiC9yI/F10NnbyR3KtjHdJ+04AMCzQ8NZz4T+DNdr8\r\nPb9RnZ5C66esOLOdMzdGEHTrXtGbRpKOX2jnRtVNtBefTHSmhu/ZIuJTi/FU\r\n7xdTuJSnP/jcPsTQGQjMRYmbpFagbezt/8iWzNPAgZ4zC+7i1EO9C3+CDrRj\r\nfhp7dDtafmViICFyvgwZ0eIMEU8sdozoJjhERjEcoLqf+6gvXAVCW26j4UI1\r\nrHThnWdmojE4Lts+fcW11nrlC5t9j9W1d4Paad4inWj2w8KNnsliACRcvjvg\r\nivhehFYm9+H9LhIUBr1oxi0S6V49euR42ms=\r\n=ZXqq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types/index.d.ts","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"dts build","start":"dts watch","prepare":"dts build"},"_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0","@apollo/client":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.3_1664534361300_0.8538800224857217","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"graphql-filter-fragment","version":"1.0.4","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.4","maintainers":[{"name":"amann","email":"jan@amann.me"}],"homepage":"https://github.com/amannn/graphql-filter-fragment","dist":{"shasum":"bd3c1203ce7349d924843091818f8d6750a7f5c3","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.4.tgz","fileCount":19,"integrity":"sha512-Q9D9KsVJiYAsmAjlgjFbyKmiGHOTUILxZeI60y4eF6P0BkqK3MgT8CmGzxlnjjwp+YGoKXjWqg6jKtCknhBMeA==","signatures":[{"sig":"MEUCIQD6GCoWGICNmIOChx4UJYdirzRIv+rtdY0pHiiKjlihmgIgMFVyqd31sNgbWshRYC83/Lj6/TS4uL16KOKl7VXsBFY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNtmXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSmQ//euGTMOytkKFEUPoiWeHiDPBeqIwyYlSWrLttdp3b4WjMDAD4\r\n5u4CUKXnvgrnstgyTJzTYHPUhCMzvFVz1t/GJTH1XcpKINw5m+yX7hOjQFL1\r\nHB9zcGSiqauVzZy4Lryrl6yXtzaUMDzTFhb/RrZQgKoR2g1Lq8s9DrZMb4ua\r\nZYfx911FNJIccBHREFcSEGvD3k+JwVnHfczjbYYcLcDCi7oO0kRgR0IAD11V\r\nDyM0lSa+8sD7AY6uYWaj71aGQdr33bmgmnsHHw0OgRVU0CMVxG82Wi34zSQX\r\nyFJvJyJAnQXwgzwBdzD/V0lwHIAt+uElduulLfdVU9UR+/Ohjji/KR1/e64F\r\nPcFtIMx7XQQb7hXZShvmyrKhK5yNeu+0rnVOvcRnM5ZcWeEGqUbSeJI/Q1AD\r\n78iA1oZMvU96A3Ei996YtKOGws5mKoUWzDb0675jvD9LSRumt9FBhq9tE6iF\r\n+T133zOgq3b4UVyCmXGS2HAOK485rtaVMBydXEpJvD3aLTqlJp+/BGiVn1AK\r\nHb2WyekPqkNFsmK17NWmQS2z6ByMaEVMi9CglMsonRgOCRFJcF1iDQKYMFz0\r\n4yfmbZV6ZV/4q0LGBGEuJWyRaO5IohFAX4lh/dBWr9JAO7nXd3fxAHiC+nuu\r\n3GPy15sIK2lNT3L4VjxsC9RyS4DSjZYCAB8=\r\n=AeLJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"rm -rf dist && dts build && mv -v dist/types/src/* dist","start":"dts watch","prepare":"yarn build"},"_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0","@apollo/client":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.4_1664539031042_0.1516580066791915","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"graphql-filter-fragment","version":"1.0.5","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.0.5","maintainers":[{"name":"amann","email":"jan@amann.me"}],"homepage":"https://github.com/amannn/graphql-filter-fragment","dist":{"shasum":"4c9c6ab8154e355321979cd3a3ff86d3070b7ecc","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.0.5.tgz","fileCount":19,"integrity":"sha512-CoZJBzuFqv65N/Zwi2qcxAv1AolV9jHmyJC87TAOIpWgu1aTzZH0HmSyWL5t+ZYVTudwCIJe1Pt+H85LR4q8PQ==","signatures":[{"sig":"MEUCIQDBugdNTmnHiUt7tP6Tr1dAMQs7f9wxM72o/HGuhlRSvQIgVHTvSz64ckFtAOwUPWnCC8p7zL02oqqNgCOdx1guW5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNttUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3yQ/+LHha4PTKe3MC7MlgHCAhTGh9IBKvhylWT3bK7fCTznwVVvId\r\nyi7Y3lYs6XyFRfDpBezTcpdkIU337Tv4iFu94H/Yr6XbcOZALKBRaDW3RtVd\r\nT2JbZOAj04uKgyrQS9ra7dnNnEXslpmAC7pGe3ImnCjw9qT7oCoC0fFg5Eq4\r\nYirzYfj7w+57gVCoMM95D40FgnWWTfF6ceTa+/eGsrS/mJgqdSc7u22CiPoS\r\ntxLcAtYwMiw3p6UfJfuMeujkk1bUA2l7EanJO7T6GJ55Liy6PbDK2BTAkNhC\r\nud2y2EzbxDQk8VOwa27a32DZZyMHGVY+BLoynSfQTygYmsEZmd5vfDnLtsCc\r\nZfJC822A20Z5TbVxn5ZTiCK4slGWK08Mfy9Hv9rGslpdfKi4u5UlpfNw+q7x\r\nmHXAjo17PLczPZwR6pQ0WXG22IXDYJA6FoHClyQn9MctkAB9dS4m9cc8cJjC\r\nSqZcXlAILbpfsAU3qtECjhjy2xkKVN6uKh+m+1g48Spi75ejM/CkjQ+95BS1\r\nXiOXC53hqVM9OUxliEE/E+cBX3GKyyYovXg5lFodJin1vEC81b+1/+AjkCcV\r\nJdIEBwZQCrq5ETzNVITxkvrYQwbyy3aMs05J40vs/yWd7p1RF0xBGjNGqj7A\r\nDnHf3XCU8/GpXSoc9YxqjGj9e+ZsA6bwBbQ=\r\n=tSHB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint src test","test":"dts test","build":"rm -rf dist && dts build && mv -v dist/types/src/* dist","start":"dts watch","prepare":"yarn build"},"_npmUser":{"name":"amann","email":"jan@amann.me"},"description":"Filters a data structure by a GraphQL fragment","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Jan Amann\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","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","@apollo/client":"3.5.6","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0","@apollo/client":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.0.5_1664539476443_0.5220588588280362","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"graphql-filter-fragment","version":"1.1.0","keywords":["graphql"],"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","_id":"graphql-filter-fragment@1.1.0","maintainers":[{"name":"amann","email":"jan@amann.me"}],"homepage":"https://github.com/amannn/graphql-filter-fragment","dist":{"shasum":"473fc3dbe31fd469abe577f16f4ee55fc960eefa","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.1.0.tgz","fileCount":16,"integrity":"sha512-P6h+L6zCNF+sthv7lJB2SuTZjvoeMlKB+sA+g3kWPKA1WA5+qeQqzQe4coHPWNWakDEwzxL/E9H/qMfsSxhWSw==","signatures":[{"sig":"MEYCIQCQ+Bez+oATNTgrmx0+SotqEFiGJJMHadzXK7FJ0/7W3gIhALMZmvU/f/flmgasxtu5peuICKQmTJVC2LQNy2gFVEDJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120003},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/graphql-filter-fragment.esm.js","engines":{"node":">=10"},"gitHead":"1a0bfce2599145ab84f78fbd53d84f992f56c0da","scripts":{"lint":"eslint src test","test":"dts test","build":"rm -rf dist && dts build && mv -v dist/types/src/* dist","start":"dts watch","prepare":"yarn build"},"_npmUser":{"name":"amann","email":"jan@amann.me"},"_npmVersion":"11.14.1","description":"Filters a data structure by a GraphQL fragment","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"2.3.1","eslint":"7.4.0","dts-cli":"1.1.4","graphql":"16.2.0","typescript":"4.5.4","eslint-config-molindo":"5.0.1"},"peerDependencies":{"graphql":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-filter-fragment_1.1.0_1782471959279_0.11542504654770092","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"graphql-filter-fragment","description":"Filters a data structure by a GraphQL fragment","version":"1.2.0","license":"MIT","author":{"name":"Jan Amann","email":"jan@amann.me"},"homepage":"https://github.com/amannn/graphql-filter-fragment","scripts":{"build":"bunchee --sourcemap","test":"vitest run","lint":"eslint src test","prepare":"pnpm build","build:check":"attw --pack . --ignore-rules cjs-only-exports-default"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/graphql-filter-fragment.esm.js","keywords":["graphql"],"peerDependencies":{"graphql":"^16.0.0 || ^17.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.5","bunchee":"6.12.2","eslint":"9.39.5","eslint-config-molindo":"8.0.0","graphql":"17.0.2","typescript":"6.0.3","vitest":"^4.1.10"},"engines":{"node":">=10"},"packageManager":"pnpm@10.32.1","pnpm":{"ignoredBuiltDependencies":["@swc/core"]},"gitHead":"b68911d5c80759b89bc5d19755d1caa2183ad7a2","_id":"graphql-filter-fragment@1.2.0","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-2JkHxzFIN6Jxb8298uINgjSkZPLIX7ojaTGJ799OBp9ki40mjppcickM9uK5qKZ0wA2JBjlZhiZh2vMIaB8iRQ==","shasum":"81b3548cd9c2f35374d45dbd1393b8b2f9d45120","tarball":"https://registry.npmjs.org/graphql-filter-fragment/-/graphql-filter-fragment-1.2.0.tgz","fileCount":11,"unpackedSize":91171,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICGisPIxXYm9cDZ8b8XBQhi6y1yPk/lLQdRIGEOp7yhOAiAr+YFJuab8HiqhaqcyFlrdHPr5u9l+WJXUGSFKnK6XAw=="}]},"_npmUser":{"name":"amann","email":"jan@amann.me"},"directories":{},"maintainers":[{"name":"amann","email":"jan@amann.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/graphql-filter-fragment_1.2.0_1785318885926_0.5842595519710754"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-04T15:26:50.649Z","modified":"2026-07-29T09:54:46.220Z","0.1.0":"2022-01-04T15:26:50.797Z","1.0.0":"2022-01-04T15:48:29.993Z","1.0.1":"2022-01-04T15:59:53.045Z","1.0.2":"2022-01-05T07:33:02.795Z","1.0.3":"2022-09-30T10:39:21.470Z","1.0.4":"2022-09-30T11:57:11.249Z","1.0.5":"2022-09-30T12:04:36.625Z","1.1.0":"2026-06-26T11:05:59.408Z","1.2.0":"2026-07-29T09:54:46.065Z"},"author":{"name":"Jan Amann","email":"jan@amann.me"},"license":"MIT","homepage":"https://github.com/amannn/graphql-filter-fragment","keywords":["graphql"],"description":"Filters a data structure by a GraphQL fragment","maintainers":[{"name":"amann","email":"jan@amann.me"}],"readme":"# graphql-filter-fragment\n\nFilters a data structure by a GraphQL fragment.\n\n## Example\n\n```js\nimport filterGraphQlFragment from 'graphql-filter-fragment';\nimport {parse} from 'graphql';\n\nconst result = filterGraphQlFragment(\n  parse(`\n    fragment museum on Museum {\n      name\n      address {\n        city\n      }\n    }\n  `),\n  {\n    name: 'Museum of Popular Culture',\n    address: {\n      street: '325 5th Ave N',\n      city: 'Seattle'\n    }\n  }\n);\n\nexpect(result).toEqual({\n  name: 'Museum of Popular Culture',\n  address: {\n    city: 'Seattle'\n  }\n});\n```\n\n## Why?\n\nThis utility function is helpful to [remove read-only fields before mutations](https://stackoverflow.com/questions/42631523/remove-read-only-fields-before-mutation-in-graphql?noredirect=1&lq=1) if the data was fetched previously.\n\n## Credits\n\nAll credit goes to the [`graphql-anywhere` package](https://www.npmjs.com/package/graphql-anywhere) which is unfortunately not maintained anymore and the utilities no longer included in recent `@apollo/client` versions. The code in this repo is based on the original code with an updated peer dependency version of `graphql`. The GraphQL AST helpers (previously imported from `@apollo/client/utilities`) are now inlined, so the only peer dependency is `graphql`.\n","readmeFilename":"README.md"}