{"_id":"graphql-validation-complexity","_rev":"19-6f876cb1777aa72257301a00c8e73f99","name":"graphql-validation-complexity","description":"Query complexity validation for GraphQL.js","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"graphql-validation-complexity","version":"0.1.0","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"jest":{"browser":false,"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-preset-env":"^1.5.2","codecov":"^2.2.0","eslint":"^3.19.0","eslint-config-4catalyzer":"^0.2.0","eslint-plugin-import":"^2.3.0","graphql":"^0.10.3","jest":"^20.0.4","rimraf":"^2.6.1"},"gitHead":"9b9ed7c30db2e10440500aea6f16c9bb98a8f045","_id":"graphql-validation-complexity@0.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"integrity":"sha512-AakQxPVDomBbJYx0s4DMUT4nGceWz2i34d0OwnpKFm1cT3H7NEVJkxh+/94+s8C8WKzpHkIwHBAKkc6j3RQN9Q==","shasum":"1d12e0e95ab7a9014b3e10a0cf4b85d48971075e","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhfFncunHMMiWELX81sNj6PRdH101rT4katkOSFMPeyAIhAParhymYAVvTA1Ui6mulplkin0u/kx8m5bD3r4EUDxff"}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity-0.1.0.tgz_1498006323274_0.5954537214711308"},"directories":{}},"0.1.1":{"name":"graphql-validation-complexity","version":"0.1.1","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"jest":{"browser":false,"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-env":"^1.5.2","codecov":"^2.2.0","eslint":"^3.19.0","eslint-config-4catalyzer":"^0.2.0","eslint-plugin-import":"^2.3.0","graphql":"^0.10.3","jest":"^20.0.4","rimraf":"^2.6.1"},"gitHead":"9c16aa406412a8e18e17fa161fefd09406459d09","_id":"graphql-validation-complexity@0.1.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"integrity":"sha512-iCnjUXN03USb48LNt3+pB2CkbUgV1s7ZlvEbvHkp2VC/vM9fudvphEhh7ih8wauJeGq/kyBd0R193LeU0Ir+gg==","shasum":"19b0c7324f2abd5be3da6ad819ecff773f9b9570","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7Sbb2oYlQjKKitmut6xSWngsRAu16UxBRZ7YQQb4eFAiEAlcbFS+yWm8lJFNQdMHFAgIgHB/Az9CSy+isjpJFpmc4="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity-0.1.1.tgz_1498531339024_0.20531200803816319"},"directories":{}},"0.2.0":{"name":"graphql-validation-complexity","version":"0.2.0","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"jest":{"browser":false,"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-env":"^1.5.2","codecov":"^2.2.0","eslint":"^3.19.0","eslint-config-4catalyzer":"^0.2.0","eslint-plugin-import":"^2.3.0","graphql":"^0.10.3","jest":"^20.0.4","rimraf":"^2.6.1"},"gitHead":"ca864009e1e16052ac97ee04ebe03fdf527cb482","_id":"graphql-validation-complexity@0.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"integrity":"sha512-BkFkfzi3ZqPIGwwpGOsvM7xMzKeh+pnX4VNncvCJ5uDd6HgYyUKlBUJDE7R40cPk2MVuxi/x4ccG+hFpBc74MQ==","shasum":"c3e28e3a4afa7716fbea3172fb611386be4c7c45","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbnXS904Ja7RsAtZJWBLYomMtRRn7zRKJEMAXhtAW9/wIgaLUcwaEZwSIunLpR3w1xaFB0A8ro9Zy+g4nGeCHwMfI="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity-0.2.0.tgz_1498620159512_0.0091458884999156"},"directories":{}},"0.2.1":{"name":"graphql-validation-complexity","version":"0.2.1","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"jest":{"browser":false,"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^3.0.0"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-env":"^1.6.0","codecov":"^2.2.0","eslint":"^4.3.0","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","graphql":"^0.10.5","jest":"^20.0.4","rimraf":"^2.6.1"},"gitHead":"d4063d902265e3345ca06e8f59ab20fde18df414","_id":"graphql-validation-complexity@0.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"integrity":"sha512-rk45LZs+IoFlCHRzw9KiIghWeIj4fh1CN14hqo2jDTDWV6NUAPtqoyEA34tMoVrf0+KlM68M3Kl5WmedUsTk0Q==","shasum":"86ba45168012fad9d229d606cf1da4261e745696","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQ9FErt4kR+5F+Ccrrt1rhmCJfZI/cqDw8/dLmbspF9AiBbZD7q+ij1P87auHNVnN5YCMginf7S6lh8TUDlFDKd0A=="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity-0.2.1.tgz_1501189040322_0.04304862953722477"},"directories":{}},"0.2.2":{"name":"graphql-validation-complexity","version":"0.2.2","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","precommit":"lint-staged","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"lint-staged":{"*.js":["eslint --fix","git add"]},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^3.0.0"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^21.2.0","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","codecov":"^3.0.0","eslint":"^4.10.0","eslint-config-4catalyzer":"^0.3.3","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","graphql":"^0.11.7","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^7.0.0","prettier":"^1.10.2","rimraf":"^2.6.2"},"licenseText":"MIT License\n\nCopyright (c) 2017 4Catalyzer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"graphql-validation-complexity@0.2.2","dist":{"shasum":"8626d6e96df3f5d5e1f64431d531acdc3c54821b","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.2.tgz","fileCount":6,"unpackedSize":15834,"integrity":"sha512-o4HFC5SkyWbsoF83tod5hvbiqnS0TX8jbMh5IBbnr4iRtDR+63USZIDVtM3b3ENdFYDmC4X1s2tNosufyQiLCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqWOHfe3rVW1DapiIyBL8WNtx8AdlpgOXe4xu4uOt4IAiAT/leksusdn0VOIZAuX2e7APDvyy87mEM7xX0nZ8vkYg=="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.2.2_1519527692844_0.3538072234936016"},"_hasShrinkwrap":false},"0.2.3":{"name":"graphql-validation-complexity","version":"0.2.3","description":"Query complexity validation for GraphQL.js","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","precommit":"lint-staged","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"lint-staged":{"*.js":["eslint --fix","git add"]},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^3.0.0"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^21.2.0","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","codecov":"^3.0.0","eslint":"^4.10.0","eslint-config-4catalyzer":"^0.3.3","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","graphql":"^0.11.7","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^7.0.0","prettier":"^1.10.2","rimraf":"^2.6.2"},"licenseText":"MIT License\n\nCopyright (c) 2017 4Catalyzer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"graphql-validation-complexity@0.2.3","dist":{"shasum":"ee9dc80437a766060bf0f255f342d0d3dccebc56","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.3.tgz","fileCount":6,"unpackedSize":15860,"integrity":"sha512-A3EFoiU7VtbZTk2TVR+XRNp/Ohp3cE5NYPFXIQMyRT+gwLG8gCtfKw1h5m4l2x+86IJcgAPMGudmzYgDw5zbcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrCGzlkLdNofW9wAK5jZOB0z1ZRIpmdo4YBJNg+TUaSgIgXBBeF4WfLhRTJ4UFb11uVY4AvG8wpWxNUixn79Pv9Jk="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.2.3_1520867102933_0.4449179642122678"},"_hasShrinkwrap":false},"0.2.4":{"name":"graphql-validation-complexity","version":"0.2.4","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test","precommit":"lint-staged","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"lint-staged":{"*.js":["eslint --fix","git add"]},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^3.0.0"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^21.2.0","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","codecov":"^3.0.0","eslint":"^4.10.0","eslint-config-4catalyzer":"^0.3.3","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","eslint-plugin-prettier":"^2.6.0","graphql":"^0.11.7","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^7.0.0","prettier":"^1.10.2","rimraf":"^2.6.2"},"licenseText":"MIT License\n\nCopyright (c) 2017 4Catalyzer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"graphql-validation-complexity@0.2.4","dist":{"shasum":"a1007ba35dc8d256ad901383b99388064318ebe9","integrity":"sha512-mKoBy/rsFcygiIU+xUrvHMkmNuYAud2weU1p2h3tZ2RWJMqpCg6uXWy8rK83IModV8Ncn2QLnEGDrIFSPBUXfQ==","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.4.tgz","fileCount":6,"unpackedSize":15869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu6eXCRA9TVsSAnZWagAAtUAQAJ498zvllzNeQCk5rLlw\nqPmG6KDvB/cIbjYi/bpGSCW4SW1c88sVaBUXwjTKBxNKe+ZKr9HDr0eixwvV\nMjwYQo8SBsrYeF8NbBa+8UrWAD3YrD3lrOcTsojcz/yTKTFfv8TzP4TnJASy\nhL3OjU4bhxmc4J+O7TTJd3VFsVHnnM58i0/AHiKp99NM1ZBRZpZXJJburFCD\nwVSPQmfE5Zz54zRFJ+Obq6SE1aOQYJSby0aT9duadtk97x0kYH5RttX78sdT\nrjCw5zGuIHXu+B355H0Tk2GANE5uSLnsvlZv0XOsNLBdJCaHYmzmSDemKk72\ngXGEz6Kjw2vIsAZD1Wya7hR8nKSYUbU6Qbh6Qex3h9vXwNZVw5dc1F2VphWq\nTT9Dgueew1vpj2ayHwAEH9+QpJJP5NeXrYmYNUpAB6i89xQ8+Wk8bkF7Jtgn\noOqp62TLcmny+11PIQEmT2B0o3hIFUbgrjELCMS4RPaR3mqHEaIar4JUjbg5\nBdrgU/mSb8+eq5vEMNc31xle+7fxEOsAFuXB2MXdWmwxGGs3dryMYh9TlN0+\nlw0/+gabZRhuQKg+Tsx1KGTtR0qnwBm/gp5eEnKq+xiKAbHJ12xfANnAt8zB\nnRCrXGzuy9fpKwV2YPe7QcjuCRsZoTBpB4nN7TqgzGzBYYDFg8DU19fuYFwN\n7lQJ\r\n=wHMy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9Yx2ZPPacPbECLZzqIMG3hsufvUYv4NhQ87ELMV3OwAiBhFknU9w7F1fWW4qWFN5yzSRE4tYNWY07HDGzpgsS4SQ=="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.2.4_1539024790446_0.5752480780343023"},"_hasShrinkwrap":false},"0.2.5":{"name":"graphql-validation-complexity","version":"0.2.5","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"babel src -d lib --delete-dir-on-start","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^4.0.3"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","babel-eslint":"^10.0.1","babel-jest":"^24.5.0","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.26.0","codecov":"^3.2.0","eslint":"^5.15.3","eslint-config-4catalyzer":"^0.8.0","eslint-config-4catalyzer-jest":"^1.2.0","eslint-config-prettier":"^4.1.0","eslint-plugin-import":"^2.16.0","eslint-plugin-jest":"^22.4.1","eslint-plugin-prettier":"^3.0.1","graphql":"^14.1.1","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4"},"gitHead":"b341b0e276add61890628dd6846600ea7a6bba61","_id":"graphql-validation-complexity@0.2.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"integrity":"sha512-THAN3XSNBJ2alzZCdFREJUmDE4dIwlBpQlSzuxBUycihTS8cRrAJFOdGyDPMusjFSZrNNROipQoGAL0aOTPpQA==","shasum":"2eba920aa1aa0278c744ea91ccbd4bf503b697c8","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.2.5.tgz","fileCount":4,"unpackedSize":15932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckS9iCRA9TVsSAnZWagAAkVAP/241JLlJPER35Qc8C11T\nuYLe8PyAocyGAKNr8glRwe6lIaLEHrC6vvmIGCcU6Spcu5DXcU7DB5QZPaKK\nmCxSHZMc14OR7eOQnahif+yx1XP7+shBa+Pc02QZZCjeI/g8gTi/iMLKNT2g\nsj+5hL4iWd0Olu8xM7RGV76LyYTwXxl/BQCX43URHeC7d1FJ2PcZI6puu3qR\nTP9+jztUZcH9DMsKsnPsapeRrhz8zOIrVMR9Q14hderGN3NMw6g6DzHOlQzR\nj4AY9xxwARtFaXgjDo9r1LB0vhF7vnnrT6xeq9dXplsKhfCGxceiTOVji+UR\n2d3M3yLolcJzaeNKOzg6TVdsdYWg45uKv75GLdX11vtT6gPSYj5WfITijvDa\nn4OPAIhnvkziib8+3Gcy5gKJQS6EDIX+ZalxMqueEmM8ZK/mBIg6hix3+VFS\ngzR85bVsmR5DFgSba/elF5Rv5dwl+bvgobSC7iTDkSapPO/2do8yP1Y56fey\n9IZr9SBNtwotezasNhaD4dgshnBkhXYtXFr5w3vc+TSehYBPq4FcSnKl2v3V\nxUWZ5AErtjBxXjvGQ0LI84nOqnBWuX+VJ0FdBisLwvpwzx9NzBXf/dpklZFu\nrQZSRLylzZz5SOz44VkGWXQnf82jf7l41xw2VeOmw3sbyqkVOcrDg4Hz8zyK\noBcL\r\n=WNpl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUEUh7O6SATUKHaWPyAVVtrkmN8Vnyme2SXE9SIwPE/wIgZp5Nf2AzguUfat1i/fMyBsZniROlA1OEVG14VBH6ucQ="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.2.5_1553018721782_0.4231161911193657"},"_hasShrinkwrap":false},"0.3.0":{"name":"graphql-validation-complexity","version":"0.3.0","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"babel src -d lib --delete-dir-on-start","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^4.0.3"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","babel-jest":"^25.2.6","babel-plugin-dev-expression":"^0.2.2","codecov":"^3.6.5","eslint":"^6.8.0","eslint-config-4catalyzer":"^1.1.1","eslint-config-4catalyzer-jest":"^2.0.6","eslint-config-prettier":"^6.10.1","eslint-plugin-import":"^2.20.2","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.2","graphql":"^15.0.0","husky":"^4.2.3","jest":"^25.2.7","lint-staged":"^10.1.1","prettier":"^2.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2017 4Catalyzer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"graphql-validation-complexity@0.3.0","dist":{"shasum":"96c77fc1f66b3e77d8dc52c6ab7286122f0d0ec5","integrity":"sha512-1ULqqcFvr1tY/dSCrBemvHQ8XRt6wb3yfGOEoh5si9lQNtiGFeqGhcFOqookIJBVle7uhFTTZjbmHDJzPDYYUw==","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.3.0.tgz","fileCount":8,"unpackedSize":17297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiLjCCRA9TVsSAnZWagAAsPEP/1Pg4djRidFDAuGJWFsf\nHS2VmvZ9FGpneZyK9WTaFZodna/AXf/hYKTEu19jyko5jECZjF0LedYoFYCu\n4E9GVe//X7ZRXx8EFpL/f4103RHKDgobXheWSiyvcM5TEQ4sty025plWVxR3\n8P6YDLpMAzzG7iZ2XTj9JopSA1IucfQCaSUuQCwu7Fhz4AyxiDIEE0wTMAid\nVtvDBIJXo5KsQmOkOAw0dd1kPwc8Tnn/Ousd2m+eqXgfP63qn34JBeuhARtU\nodwDoTtgbussvxtrXQgP587u3nuksDOzQbusRac93zoGG1ufSSHyZz+68rP/\nFBhGVbQxwG/sA1NOqnE6vfCBIi/vEo1rcon2pw9fmTlkXvgWm5+H9RCA5bYd\nByKl1K+zoxtfn7rRno6Nxj+iUTWlLAaeBwYh5ZESDgsEbtCqEFX4j6zlpezg\nerYDhaRnjiaq9w0kdQb/YXbQSkONIeDWqc/D9Tu/svehZdFU2u244oFrv3bt\nqGrFrOimPM1FlcZQTf48icfSg3tVH2I094zn3zgabJ2nGKAbiOYfdtXOWMEq\nPB2Lfcf/OR9B2uMViWSvIHnkG/2ssst6EVI/kE4FntMUFuJZ+34S8PjDHCR6\nmsNLR7HoQ1w/K8n4Q7j44D4n5TQnec2fv8GkhiQh5kWLd/TIsq5xZLQMYJf4\n2mPd\r\n=7o/U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu5jg9e8NgEBDelNT3LTXCiTDTiLac70KU1Je+iFV4SAIgX0546qnOSbrw+ubJC1Yu4JKNvUW5Nm+5geBQuNcHT4c="}]},"maintainers":[{"name":"taion","email":"tesrin@gmail.com"}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.3.0_1586018497738_0.5517144502791467"},"_hasShrinkwrap":false},"0.4.0":{"name":"graphql-validation-complexity","version":"0.4.0","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"babel src -d lib --delete-dir-on-start","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^4.0.3"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","babel-jest":"^26.3.0","babel-plugin-dev-expression":"^0.2.2","codecov":"^3.7.2","eslint":"^7.7.0","eslint-config-4catalyzer":"^1.1.3","eslint-config-4catalyzer-jest":"^2.0.8","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-prettier":"^3.1.4","graphql":"^15.3.0","husky":"^4.2.5","jest":"^26.4.2","lint-staged":"^10.2.11","prettier":"^2.0.5"},"gitHead":"4a6e7a76c85a54d9c34c93a67c38f8752a3c95f2","_id":"graphql-validation-complexity@0.4.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-FPZgf0141KI9oR1WWGrhdSzkZdGoWYloKL5u5HMHen4iayirzSQ9gmIekPf+9MuJsu7a+vfhOOrBHoVlEd4aWg==","shasum":"98213d18a774fc3c1e9e316b0ccf74e4c0517d22","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.4.0.tgz","fileCount":5,"unpackedSize":18893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR/4oCRA9TVsSAnZWagAAGwEP/2tZvW5yUuwfPX67ASHP\n4yYI/xTFpSDL2H+KyYSEILtJreuzYa1b55uKp6SW6YKQ8OVA26mlg1soGGPL\nXqGjNqqbB4kJ6go6ArVQab9aMU4Eo0rUcBRYFi1rPtOpK19vnSGZih+LXENk\nmFplJmiBhpDJYFbj6O9QWBd3QXi1N7h2kfhEKh1Wwm9oKuI1spMWNR8ijG9D\nSLQJpDkJrpeETXQpt1kNI2wu1It9hHs0R2PGL1S1+7CX+FequvhTn5lzmqnt\n5umY/cu3PupCGO6duif9/787cap9WDa1Iip+wu/BwVwnnMURgLIRVis35kDD\nJFxi8DPZ4Nn3JNo5F5hLynAqQR1mCOs+4Co2lTSaCio+kSD7Q3IH8y6rt/0m\nvld8/qYqbl459etfOZcvmgPJyIgWuWTl+t7+5Owc+MCr2yIflJuhpYMx2qUT\nRVI+9P9cc/Tpntk+fZJXFVC/flBd4N4a/Ihk81zMAO1ZTQkdcw/Re2fjemU0\nTrTEg7wU4/1mBv+eiocJZYZ9udRdLobfm5UWemhWmFh1KUB91GrBy6h03MvN\nNVztdMF1K2G5ArKcleTuIvE/VNo22fhJ7HYeZGVRW81FVF47LovGxLAXfDEe\n5VIzHmrMyrBoMHd0EAeyWJvdf92HrnC2NukTZ5r+PbvwftHDnmDBD9j3rMbp\nQh3s\r\n=Ff0L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTFsEY5NJ+Jpf3HIEXeC2kCj25tA/ctrj+UR+R+LhJGAIhAO3LXRWRDtF8htn4B84SnHbQlOAs9KJtAkPFfl9Eg5KS"}]},"maintainers":[{"email":"giacomo.tag@gmail.com","name":"itajaja"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"},{"email":"sloria1@gmail.com","name":"sloria"},{"email":"tesrin@gmail.com","name":"taion"}],"_npmUser":{"name":"monastic.panic","email":"monastic.panic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.4.0_1598553639990_0.08109947876462731"},"_hasShrinkwrap":false},"0.4.1":{"name":"graphql-validation-complexity","version":"0.4.1","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"babel src -d lib --delete-dir-on-start","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^4.0.3"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","babel-jest":"^26.3.0","babel-plugin-dev-expression":"^0.2.2","codecov":"^3.7.2","deep-freeze":"^0.0.1","eslint":"^7.7.0","eslint-config-4catalyzer":"^1.1.3","eslint-config-4catalyzer-jest":"^2.0.8","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-prettier":"^3.1.4","graphql":"^15.3.0","husky":"^4.2.5","jest":"^26.4.2","lint-staged":"^10.2.11","prettier":"^2.0.5"},"gitHead":"b391d53a8d7dbd27a32977baf9905db302542e24","_id":"graphql-validation-complexity@0.4.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-CgvwoG5PehNsgpHyeUCZZkkdu+BnLsVAb3t493/SlevT0VPojgqMVacWn8srrFy0brX1rEU18s8gLVXAs0u6aw==","shasum":"23598a09debedbc9f91ea2a1f2b91916d20d0243","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.4.1.tgz","fileCount":5,"unpackedSize":19424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSCDWCRA9TVsSAnZWagAA180P/1afdeACApiCJU9YBXSK\nH42ymZnKEpvEhfbSgHA+NDJ9xuIZFNg7un7u9w9U22I3SqpHds6fqS98BbED\n5zjtXqI7DL7/KtRSMQs9KhVbymnJM2CeuM+QEUdMNJEvq9hZeWo/ZfrJ0Ceu\nG3pAwqAZHoJREmQUq/ZhmgyEU7p5ISwa7koeE7/dsf1v1A/D/AyJ1GCDSS0m\nuinC2c2w/5IUxtRcKw0qEcL2lUdKPyxD4JJYagBkqBmtg2JRgPFLYNF/k0yi\nDVgqJ/xh0K4XTyo2itbkmA/YbBiepYPAxJbLCAqvbWQoWlhdqJf5DivwQ7wE\nX1pBxOCvW1to/mchJTRL4omWfmYi4E7cd50x40ezc2FJhBD3+sopQydY9C9Q\n2pDDTh7SS4+4WkMf6yJ/hqBqAeO8fgRbLfe2QcIKcVkzEeVzM7NwmtydtHI0\nW8JgksyIwhOkhZWiYZxGFUe55DSOlf5M7KRElsP5HOhctsr1eWLN9l/iqMmS\nq0soLi4MpK3Rl9GibK2rVy2uS7rB3/xkNubx2S7fUJa/jJUWepS9iRocELDf\njR3sMPpiRDs4TU9O/EY7Mvg6SkRjWoIVhnaBI+2upQBrZHwqz/wnSc7NNzmc\nxA9sM93w33xcsQu9ZFoakYuRxdDlrIyjPM0Skj/l14oevwoZy4JIvqDZC4zr\n8IzC\r\n=kYQV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbnUDCcWhIymoINB9cGGM4wCZjuE+lC2aPgOYEZwqWmAiEA90iGtkUDVo8WBDTz4XuQlkRy2UHIpPKfC14wqYQk0Oc="}]},"maintainers":[{"email":"giacomo.tag@gmail.com","name":"itajaja"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"},{"email":"sloria1@gmail.com","name":"sloria"},{"email":"tesrin@gmail.com","name":"taion"}],"_npmUser":{"name":"monastic.panic","email":"monastic.panic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.4.1_1598562517399_0.6698684019589651"},"_hasShrinkwrap":false},"0.4.2":{"name":"graphql-validation-complexity","version":"0.4.2","description":"Query complexity validation for GraphQL.js","main":"lib/index.js","scripts":{"build":"babel src -d lib --delete-dir-on-start","lint":"eslint src test","prepublish":"npm run build","tdd":"jest --watch","test":"npm run lint && npm run testonly -- --coverage","testonly":"jest --runInBand --verbose"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"jest":{"collectCoverageFrom":["src/**"],"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"keywords":["graphql"],"author":{"name":"4Catalyzer"},"license":"MIT","bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","dependencies":{"warning":"^4.0.3"},"peerDependencies":{"graphql":">=0.9.5"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","babel-jest":"^26.3.0","babel-plugin-dev-expression":"^0.2.2","codecov":"^3.7.2","deep-freeze":"^0.0.1","eslint":"^7.7.0","eslint-config-4catalyzer":"^1.1.3","eslint-config-4catalyzer-jest":"^2.0.8","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-prettier":"^3.1.4","graphql":"^15.3.0","husky":"^4.2.5","jest":"^26.4.2","lint-staged":"^10.2.13","prettier":"^2.1.1"},"gitHead":"e9238af76fe651a61285e432a9c99c36d5774033","_id":"graphql-validation-complexity@0.4.2","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-4tzmN/70a06c2JH5fvISkoLX6oBDpqK22cvr2comge3HZHtBLD3n5Sl6MnQYMVhQqKGlpZWcCgD00MnyKNzYYg==","shasum":"653d53b94aa67b76858e4c4ce5d3c2473f92a73e","tarball":"https://registry.npmjs.org/graphql-validation-complexity/-/graphql-validation-complexity-0.4.2.tgz","fileCount":5,"unpackedSize":19217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTUaQCRA9TVsSAnZWagAASVAQAJPcGVKmJ2DeAExW9IJj\na3jSp0/S3HgFs+9szQObiqdYAWuWjY+RxGs7PZdA+iFLV7LJd2SNq9dLPUm2\nq+Mj77K9mQRTg7AgMyDRIHKUhIcU5TpjyHBH8B9kqvt4hmJkjKju4qG+icud\nmLH0PxvYHpq2TTEd4ONC89iVshphbm6aL7gG5VuxWpTsCcFRmkbzXhHtOxGB\n/jC0oTfcFCH8jxPPv40FjoGs6uO9npsHXWK3NyabxxGUDnup/n+dz2rFjeJT\n7aMabT6SW3rjWO8B+GzhpruXZUCK6Er9QPMjwitb4Ba4cJyDUE6GEpsXpJ2q\nXRzuhmcjVW49eTUVTwDXsbWgHchI4VZVTDlRPTvupFUX2l1KlG+BiVFg1vZ/\nBfUT8sEpPyUHm9Rt7QZZWCPVULpvc80dp5AVVWpTK/3AmS7mIKcLxgEO6yYh\n1Br2+Ayp19EDC8Zhfg6/A26hZC8x8rfcgKVxjF8sGHPsELjEX5Dgjzkj1dzm\nYlAomTD5GkL4g/EKVTMbJUUkb70HvzBp4o7J/1tu3faGu1CC5Ug5Q59NWYhS\ngEyoain9gZuW91Y3m3rg+n3u3JYupxe7M9F1acQJMlCITAKiX4GCNeuiDgqg\nd2EGM6BiyC7Rwqcigl46PwmoMVDX+7PAbZEJieATLnRS5aqmOJ88HP4899Xw\nHJkT\r\n=Zkoy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUxi/neNlL2RgKdNX6N6t1Rg9DZXuNMYQc8aNmUpOhXAiEA7F3sfhqx/sCT7zkhIRWX45ghYvR6JbswPljSpqeSLCk="}]},"maintainers":[{"email":"giacomo.tag@gmail.com","name":"itajaja"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"},{"email":"sloria1@gmail.com","name":"sloria"},{"email":"tesrin@gmail.com","name":"taion"}],"_npmUser":{"name":"monastic.panic","email":"monastic.panic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-validation-complexity_0.4.2_1598899855717_0.26448289374613787"},"_hasShrinkwrap":false}},"readme":"# graphql-validation-complexity [![Travis][build-badge]][build] [![npm][npm-badge]][npm]\n\nQuery complexity validation for GraphQL.js.\n\n[![Codecov][codecov-badge]][codecov]\n\n## Usage\n\n```js\nimport { createComplexityLimitRule } from 'graphql-validation-complexity';\n\nconst ComplexityLimitRule = createComplexityLimitRule(1000);\n// Then use this rule with validate() or other validation APIs.\n```\n\nFor example, with `express-graphql` or Apollo Server, pass the complexity limit rule to `validationRules`.\n\n```js\nconst graphqlMiddleware = graphqlHTTP({\n  schema,\n  validationRules: [createComplexityLimitRule(1000)],\n});\n\nconst apolloServer = new ApolloServer({\n  schema,\n  validationRules: [createComplexityLimitRule(1000)],\n});\n```\n\nYou can provide a configuration object with custom global costs for scalars and objects as `scalarCost` and `objectCost` respectively, and a custom cost factor for lists as `listFactor`.\n\n```js\nconst ComplexityLimitRule = createComplexityLimitRule(1000, {\n  scalarCost: 1,\n  objectCost: 10, // Default is 0.\n  listFactor: 20, // Default is 10.\n});\n```\n\nYou can also set custom costs and cost factors as field definition extensions with the `getCost` and `getCostFactor` callbacks.\n\n```js\nconst expensiveField = {\n  type: ExpensiveItem,\n  extensions: {\n    getCost: () => 50,\n  },\n};\n\nconst expensiveList = {\n  type: new GraphQLList(MyItem),\n  extensions: {\n    getCostFactor: () => 100,\n  },\n};\n```\n\nYou can also define these via field directives in the SDL.\n\n```graphql\ndirective @cost(value: Int) on FIELD_DEFINITION\ndirective @costFactor(value: Int) on FIELD_DEFINITION\n\ntype CustomCostItem {\n  expensiveField: ExpensiveItem @cost(value: 50)\n  expensiveList: [MyItem] @costFactor(value: 100)\n}\n```\n\nThe configuration object also supports an `onCost` callback for logging query costs and a `formatErrorMessage` callback for customizing error messages. `onCost` will be called for every query with its cost. `formatErrorMessage` will be called with the cost whenever a query exceeds the complexity limit, and should return a string containing the error message.\n\n```js\nconst ComplexityLimitRule = createComplexityLimitRule(1000, {\n  onCost: (cost) => {\n    console.log('query cost:', cost);\n  },\n  formatErrorMessage: (cost) =>\n    `query with cost ${cost} exceeds complexity limit`,\n});\n```\n\nThe configuration object also supports a `createError` callback for creating a custom `GraphQLError`. `createError` will be called with the cost and the document node whenever an error occurs. `formatErrorMessage` will be ignored when `createError` is specified.\n\n```js\nconst ComplexityLimitRule = createComplexityLimitRule(1000, {\n  createError(cost, documentNode) {\n    const error = new GraphQLError('custom error', [documentNode]);\n    error.meta = { cost };\n    return error;\n  },\n});\n```\n\nBy default, the validation rule applies a custom, lower cost factor for lists of introspection types, to prevent introspection queries from having unreasonably high costs. You can adjust this by setting `introspectionListFactor` on the configuration object.\n\n```js\nconst ComplexityLimitRule = createComplexityLimitRule(1000, {\n  introspectionListFactor: 10, // Default is 2.\n});\n```\n\n[build-badge]: https://img.shields.io/travis/4Catalyzer/graphql-validation-complexity/master.svg\n[build]: https://travis-ci.org/4Catalyzer/graphql-validation-complexity\n[npm-badge]: https://img.shields.io/npm/v/graphql-validation-complexity.svg\n[npm]: https://www.npmjs.org/package/graphql-validation-complexity\n[codecov-badge]: https://img.shields.io/codecov/c/github/4Catalyzer/graphql-validation-complexity/master.svg\n[codecov]: https://codecov.io/gh/4Catalyzer/graphql-validation-complexity\n","maintainers":[{"email":"stephen.liu@alumni.stanford.edu","name":"stephen_liu"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"},{"email":"sloria1@gmail.com","name":"sloria"},{"email":"tesrin@gmail.com","name":"taion"}],"time":{"modified":"2022-06-18T14:01:44.691Z","created":"2017-06-21T00:52:04.277Z","0.1.0":"2017-06-21T00:52:04.277Z","0.1.1":"2017-06-27T02:42:20.021Z","0.2.0":"2017-06-28T03:22:40.433Z","0.2.1":"2017-07-27T20:57:21.292Z","0.2.2":"2018-02-25T03:01:32.942Z","0.2.3":"2018-03-12T15:05:03.076Z","0.2.4":"2018-10-08T18:53:10.592Z","0.2.5":"2019-03-19T18:05:21.916Z","0.3.0":"2020-04-04T16:41:37.944Z","0.4.0":"2020-08-27T18:40:40.089Z","0.4.1":"2020-08-27T21:08:37.535Z","0.4.2":"2020-08-31T18:50:55.853Z"},"homepage":"https://github.com/4Catalyzer/graphql-validation-complexity#readme","keywords":["graphql"],"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/graphql-validation-complexity.git"},"author":{"name":"4Catalyzer"},"bugs":{"url":"https://github.com/4Catalyzer/graphql-validation-complexity/issues"},"license":"MIT","readmeFilename":"README.md"}