{"_id":"fastify-constraints","_rev":"36-2e9cedc29ab0837f2623c7fe44999bb3","name":"fastify-constraints","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"fastify-constraints","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/bench-template#readme","bugs":{"url":"https://github.com/nearform/bench-template/issues"},"dist":{"shasum":"99d36c1ca6bc832253887972404c616e722ee287","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.0.tgz","fileCount":19,"integrity":"sha512-PcxABRwKFS5BBL1wfj+weQ6DlcuJxo1Q210sQF1CCYZaFLYQ/MmoU1oAMiZ+twtRqMwhL7e6IkmskienU7xRjg==","signatures":[{"sig":"MEQCIAuLMN/B8HbwEjjFVLsRDAePSjp3pNS41UDw6EQRoIFiAiBaimc6V+ue6N1ZmjDgqRPF3LRPOdPQ4vE2r+/CnCJD3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd1zFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrV3w/5ASxtTmPhdLgXpONkEQLi39tc1S8AzZF0KcWWWraYMns6KINx\r\nHDLORixaSoxQZWVPgAtskHDbISF8CZYYHDgL5l2dizTS+4yF4jvwrLa1gsE7\r\nE8qtMwJgyYGIyuLRlGkoa5WE809NqExvqUjNFGn2waa+goyUYDbAexnuqjTE\r\n4S32Mw3BqF1+YqGRo0X/Y4W9bWmIQwP7fe4chvOObzimtZeMu8ZxmNzbHeP0\r\nIQ938uOHg0CM+EBjE3o0qrIzFrsrtaw+kp8X3nzG02YEqRYS+L5UhYG6pOVw\r\newXh2ySIWfeYhdnZEiyTRj56G0m1iszQR8vP3SpnOu+/2G2hqjf5yxz0EJ+o\r\nAApW9qJ59nnAYpt4FAvC+cDnJJzbI2sFRfUPxnMkWibQE/JXzTgmBUCHoGj7\r\nWFOZ9MYYI41lARkTueH5tAkppIIK2szzBdId4x6mzSYf1JdIxpScnWT73fZr\r\nZs6aksjv5HDlrFBe/OsAd4o8PX86lxi4J0d0rF1gMI0kth3tMEN4XcqX4jeu\r\n9z9UXMTqsH++XP6MEWaDOAKA+7+qQ2+xoS9bwl5CE/XBUSeeGpBhtoinyQA0\r\nu5eHEwZmuQM9D8VCFOCzRsqLhDgA1r5b8D34N9pxCefAZj54POMeyh6MRwwC\r\nmiExGpwOk+1F4Ym0wiWYCQJV8Jzsja5yohg=\r\n=9/zm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","gitHead":"70c24cc5637d28ee76609d71de5807a6f83d29c5","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/bench-template.git","type":"git"},"_npmVersion":"8.19.2","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"16.18.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.0_1668766917678_0.8208814020956845","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"fastify-constraints","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.1","maintainers":[{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"micheleriva","email":"master@micheleriva.it"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"dist":{"shasum":"8799cfe79bd519f185c2f21a417012320420cb4c","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.1.tgz","fileCount":19,"integrity":"sha512-sGH99vP2drsytAaBUE/1lo9G68DKP8S5VdKlhGBi1OizW6Vr38K9zoe4HfnQfLcbIfeSY8jfICLIqaC5tHer1Q==","signatures":[{"sig":"MEYCIQCaD018MLEraJLS7c950w5GKtbdgtaC65igcmj2R3IPKQIhAIuhHsiclFE4wfSHId/u1JosTQI+vFJ3HA7W9GoJl2u9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmvLmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1Qg//UyiDTIJ8rGOZ/LGzjkw24Kfow1Hn6qrA89M9eeJ/hxV+wxU0\r\nEr2SnDYeN4X3Hc0uat+cjNuQaFJfCHAV9Wk9sfJrpSlw9ZJi0SG4T0BQboX6\r\nD5k8QziI7dQ/UbFZHIg2IqZA8aWPafFvE6GVNQRigkM2SoD8C/FjZb8zfjbq\r\nDmybD3VxV9WpF0P7GDLiWtTvF/2lJHFb12a6WHKX0zRkoW4vnooHj9VKF/nA\r\nIXu/JvQYWBrrFL/jBQoGz0eiZsg/2VAdcpgJ0gQN1C6VqQKnD1+Y/s/rA9BB\r\nKVW8yzHdCqbsxhg9z9/LfiLrw/5wxu+y0uyGXoa+quwm3OpCqZgVzihOphjQ\r\ndkCDbtUSBXstejviMCiG2mI2HvWKcsZNdQ3+fuqqIEOV4cY3+KfEd8hedgGB\r\n8OLYCBr70R8XQ7RGR2Cy6gfwF4Sd3WiQhDjuteGiCgS1l+lQPpubYszmUMkP\r\nT/XwdxJuW6GmOym7TbShFv0xLc7smzjiCSicKVidPf2cUXFlMVl1x111vCwV\r\nZPpODvuyoJRCI83+bkFbnNhCfevezIdTmaYfcQp37hV3OhBj4E2Zxcytvs2o\r\nUXo3EyUIG91ElcBAcw6ljxSiBrVnX9CgBsQ3qxN+Y7Fo3GtACkiJtM4dOAKZ\r\nMYMTwS2YAjB/wdQMw0ZyUmO2De18kWONzqg=\r\n=Jirt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","gitHead":"e0b0102b46764ecf1e8e5c11aef3cc4b17a9979a","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"8.19.2","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"16.18.1","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.1_1671099110437_0.3980852677459137","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"fastify-constraints","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.2","maintainers":[{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"micheleriva","email":"master@micheleriva.it"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"dist":{"shasum":"e5d899d00e459681c2c95ff8005274ceee91dd9a","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.2.tgz","fileCount":19,"integrity":"sha512-thF6tu7yadhjG1KfXWroUV1qwRsxdvsp8MmXD0mZ/AFXYYo4PEiIy3VvuhH/YJhTowX/fhFe1YpEOpeErhbOOg==","signatures":[{"sig":"MEUCIQCUPVOcH1t9wvQjxoH4Iep+cEnzqeF3w5Wd4Wd+wteblgIgTzuMq0VC1W5IlhxkjPoabyBrzk4be3MvNwei8P66l8A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwSYpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoT0w//bQ8AgKtMHYy9AGMvNpjg2gHipPIGySadgyByBr3hs2kH4lAK\r\nSFCu5ucwiQ/QoNfHWKPTfDzanZ+0ztfs62YJTBwRtyrlywSNDfbDylaYe04s\r\nGjOkwAM3ZB4mab0qMBCDOtcQhKYmWx+ofK6vDOri51TUnBy6IVnjtoDPueuq\r\n8znwEErZDRE/473AeYjtTcyr8u5/bbKvvD+Al3u9JX+jUjA9qIWaUYZfYOa7\r\nyXnPjcdXzuXR1/HA1/M/LIjNMdYislvgqm607AY40w7KCPeOvNuFj90SenWX\r\nxh2ExrCXOAzLJ0tf++ghNOTjJDAuMG7oiahdnl364AAFFZKBByiinmRFruhW\r\nf7lMr49tLoErbcQUU9tbqsi6wL74ukf6if4l7zVDEeWzoyHA/0HOx68M+Gxy\r\njitVuskR3DtwjyZW8sMsWn6FPTGzTIRq0BrE0q+EGn3MXVDtYWoBID35dhUr\r\nYT6kH2WkxsAJpSABY7PIQAFVcXo9wo+yl6cLEZTND1XUUDBdFstX+m64G0km\r\nG85TrWOHRKAERei/nFco9stvVwrouz6JmIsLkbr9wyfF2bG+jJapLcI2b6AR\r\nbDOCWysVBxttfLWccuPR3kMpl87O74YSu2yOj50eCQbVJNj/F38npSV24vZm\r\nZGRMo5suwZf4qSow+56+FjhgMr550OlLKx0=\r\n=kVqA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","gitHead":"ce53459f0d87bbd8be93bec6fa24a1097025ecf5","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"8.19.3","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"16.19.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.2_1673602601595_0.6543838952475745","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"fastify-constraints","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.3","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"dist":{"shasum":"1f8e259e4707486ac931aa4f33557e9b5b9b32ba","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.3.tgz","fileCount":19,"integrity":"sha512-XI+uSGBK6gmt7NZAvGOc59qfRIhbgHNWVm/6DKjXPS6ANoDHDi7GapTNAjl5VUukUMAzLhmewuu2nJA7pP69iA==","signatures":[{"sig":"MEQCID3D/hUt0N2spVymBh+H3zeDg9HUN2pkNEkVcPkRpGhAAiBn7JGovaHaCU7VUq6ZJh74/1NYvSw9NVfStZsVmWUWtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSPjNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDwA//b2Yo09VY9ieIwPJP+9f6Fgm3bD4XVuFNE4oS31cYgXd7rrQd\r\nfRnjTIZxiMjs6T5rdeTFIjf/JK5YFT3QM4H5wfL524eZfFuiskmmvt+Ywc6m\r\nH0a9nRplyFsseHaxoly8xGAzVJldqJR9AZg4ELOElMZ6gZu3n4sdOtN5I1PS\r\nK9jogF/K4AHDvPHpeY+QRWubLEANiadSl9xHhSNneqKhrfnggrEFDvjMdq3d\r\nnflDpVLUgFIpNRUAMTGZJiIiZCu0FKPYBR57U+18o+qPb4zpOWD6MeCgvbfl\r\nRmrKoJfvhOmwEzQXlacaUn/UOG1H6nzKGbiYnp8Rsc+9LizP8T2Kd2jPwZNa\r\nTbP2AMH7nl2dGnHoztQCM5sDDpQh3nFWQsmtFzCloFRQnNX+bC4slXgXf5EI\r\nbCRrxtA57ZGP45ECOjodXVchfTRWwd0EnlqscvMLWRoSRcxzMHFunPev5cok\r\nklcRj0nPj2gJ0KS4/TTGq0rur8PdYciZLqT7nqJS22llbpn/nmAj2BCb3Bq+\r\nYCl3WKah5DUumpSxxTRLjVIDCznjL/etJ+Zk+l519ND7tm+koBnAuKGoaQOJ\r\nCR0BzySqyoq2hghoiWcb5PFpZ64oK57dh/NwQu1ZCKvjAOXT7MCtXiOxj9hR\r\n0/FK0uVB/401/AjEiQnOxBR0xmzlYftdBS4=\r\n=TNTc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","gitHead":"5c78418d20526b5203fbf2285579da8da6596c90","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"9.5.1","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.16.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.3_1682503885504_0.5788945999914286","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"fastify-constraints","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.4","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"dist":{"shasum":"66832a682a6d53e64ad10d993e62d2bae02af9d2","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.4.tgz","fileCount":19,"integrity":"sha512-0qcIr1EHhL5QkGJ9YZgAkSPG22sPwxE5r2MmVjEzbCCxWvaSllaU+kIdu/n3lFA0Rs1lKoFs5sF5znoYmbBVNw==","signatures":[{"sig":"MEUCIQCni2aR/K92e9mZzFZZDD4fPimuGKBm2RFCMEU98kGs7QIgAezuBhQWMPKlphvcyTNdJ9i3qGRjXVQ8OyJKMaAg52A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVNiTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrC7Q/+Il7mLGSA2uIqFqdeGPfMpzmgtkVDsfJtm+8o5kQ2fWqEoiyN\r\nDzH35Nc5S4tVhVAI1GfrwD1n1gnYcS8mNbIIlUwdWsmVdNBbRElHYJtU6QBo\r\n2NiA1sYLzy/Z//Zq8p7iruyOXuR3PK6Y8aJ6EWiUUCusuNAbWkvT/umsk0Bb\r\nu26qOGQG+t8KewzxXh6DQ8yTRdOnvbJY7BxNthDdqkoHROk3xypwKL+8ueSB\r\nTxMP3oZLIdjJM4N5gD7Sbl6yJs152675tZQQAcQkPcBL5UwpiIL+96Y1YcqZ\r\n04HLj11n8X8NWSAfgjWczIUogUfjXrbtylFm1rqeMCkyTBT63fpL4f/86f1b\r\nKrkxTFtn+QQN3BI1OB8151xWdU+H4Jebr4I/wykx47N01SrZvGeyM4i4BLGP\r\nGY9jXsPjOgu+rjWU/rUmJwNdTXr7QkmwD9Uo19hSeipIPUF7iL5btvhJ4Kyq\r\n6JaalUYtGWm2fqA0TyDmr+P2Iv1hsMC3auw79ZV/uSbZQs+t9OWNCY+HUsJM\r\nBP+9lKxytutXCn23HmlPGFut017IiJhkS8FmCY73apUPBpSjK7enblDqaIC0\r\nVpFHBcXF+ofquaOqeslhQEvR/d3fRYuQJVpsCD3WaOTlyz/vnloHOPHfpPsm\r\n1Q4IzNVW00kRo97Ua7fV9YFvOaLhohCR4lo=\r\n=Rhye\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","gitHead":"ca35c016940de8f007505ec8a8bfd151ff234402","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"9.5.1","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.16.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.4_1683282066958_0.08570923895785443","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"fastify-constraints","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.5","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"dist":{"shasum":"6221d0d73be8e92b50119ddcd9f1d695e3377519","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.5.tgz","fileCount":19,"integrity":"sha512-MI51U+QsVjVCcDlHDI1fOr97BUIelmRUOmutvWzxL+nE0ivby7NeHfMGpGeMAEv8pBToIFTqppikS4LN4HP3pw==","signatures":[{"sig":"MEMCHw9e68P4xGqNA3ZqmOcevtV97+Ef6y2MEsBJPEMsxEcCIFajPWyX/6KuZzZEfjyS04rg1CAtMG2vTuv1PYMy0mqE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-constraints@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":11050},"main":"index.js","type":"module","gitHead":"b3e4bc17c815caffe796cb07a0194145f3277c0e","scripts":{"lint":"eslint .","test":"c8 --100 tap --no-coverage","prepare":"husky install"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"9.5.1","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.16.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^16.3.1","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^2.7.1","lint-staged":"^13.0.3","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.5_1683908067206_0.37052571045187244","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"fastify-constraints","version":"1.0.6","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.6","maintainers":[{"name":"bpantha","email":"birajpanta112@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"williamlines","email":"williamlines42@gmail.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"tap":{"disable-coverage":true,"allow-empty-coverage":true},"dist":{"shasum":"47a15fb5afdb7f9a5a65825cc5b81bf9ef7cfb81","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.6.tgz","fileCount":19,"integrity":"sha512-c7POatF1qV49sdEExqbbJBr5NSeNGt/KK+ohPLH8kNEgdTFF7/tvGHCzO0+AgDsPjmGIAliFbYaQBCrGvCa9/Q==","signatures":[{"sig":"MEUCIEbrR5uChLLtRXmbt4dx4nDwFsRLPKvU2wwuYVgRHxrPAiEAjgo9f3eV41ZMRRVAoONKcISGZ6yfJRfDCPneaTzsvLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-constraints@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11098},"main":"index.js","type":"module","gitHead":"ca213dd72b168e34325662867e5b84cadba35f10","scripts":{"lint":"eslint .","test":"c8 tap","prepare":"husky install"},"_npmUser":{"name":"bpantha","email":"birajpanta112@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"9.8.1","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.18.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","tap":"^18.4.2","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^3.0.1","lint-staged":"^15.0.1","@commitlint/cli":"^17.2.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@commitlint/config-conventional":"^17.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.6_1697633103465_0.8390202669033973","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"fastify-constraints","version":"1.0.7","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.7","maintainers":[{"name":"yuna-iwata","email":"yunac4649@gmail.com"},{"name":"manosim","email":"hello@manos.im"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"tap":{"disable-coverage":true,"allow-empty-coverage":true},"dist":{"shasum":"5d89b5f2482a790615662e681e3bae03a0f474e2","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.7.tgz","fileCount":19,"integrity":"sha512-4olqreIdh3UXbpW/4K/nyw4oxbcch4gtPbzKWiccPZw9K4TMQCZqcsPdb9+8JdE0khkBAa/nLaK0K1dZeSpx3Q==","signatures":[{"sig":"MEQCIHhgkQeIOeQCIVTElEaBOJ/wqB8jRlBbZoAeGnw0Ev0uAiAXwbrIFrvlMi7q0lxMgjALFSgaF7C+lSE2jJgejLkAgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-constraints@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11098},"main":"index.js","type":"module","gitHead":"167537aa9c71c917bb198839f046997ad7a480ac","scripts":{"lint":"eslint .","test":"c8 tap","prepare":"husky install"},"_npmUser":{"name":"yuna-iwata","email":"yunac4649@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"9.8.1","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.18.2","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","tap":"^18.4.2","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^3.0.1","lint-staged":"^15.0.1","@commitlint/cli":"^18.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@commitlint/config-conventional":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.7_1699985241604_0.09037211902897968","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"fastify-constraints","version":"1.0.10","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@1.0.10","maintainers":[{"name":"s-dilip","email":"justsyd224@gmail.com"},{"name":"ademsk1","email":"adam.illoul24@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"tap":{"disable-coverage":true,"allow-empty-coverage":true},"dist":{"shasum":"1ce26e38343c8e67bf8bcbcb8bd3243ed6ff87df","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-1.0.10.tgz","fileCount":19,"integrity":"sha512-d6T66eknVpOSRRLbsaycP7y3mFLAddZj0Xv+M/LACvCabcytn1Y92M7Cz6Pu73ucf352InUmzJz2l5lKwOGRTw==","signatures":[{"sig":"MEUCIFJnJf2ZL9drKK5PKmFUaFz2xeCSVRyW6BVyJobZ7PzgAiEAqa/pHC0nwNm2HYpOXljBZKdgezNAXR924fD7MhfS3Vw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-constraints@1.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11099},"main":"index.js","type":"module","gitHead":"3fe94bcf423a335359184705913b7b0996a60b25","scripts":{"lint":"eslint .","test":"c8 tap","prepare":"husky install"},"_npmUser":{"name":"s-dilip","email":"justsyd224@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"10.2.3","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.19.0","dependencies":{"fastify-plugin":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","tap":"^18.4.2","husky":"^8.0.2","eslint":"^8.27.0","fastify":"^4.9.2","prettier":"^3.0.1","lint-staged":"^15.0.1","@commitlint/cli":"^18.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@commitlint/config-conventional":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_1.0.10_1703082986984_0.5330384916741933","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"fastify-constraints","version":"2.0.0","keywords":[],"author":"","license":"ISC","_id":"fastify-constraints@2.0.0","maintainers":[{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"homepage":"https://github.com/nearform/fastify-constraints#readme","bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"tap":{"disable-coverage":true,"allow-empty-coverage":true},"tsd":{"directory":"test/types"},"dist":{"shasum":"4ec7951bfe6bf2eb03d65cb057a603aa4b5cd7e5","tarball":"https://registry.npmjs.org/fastify-constraints/-/fastify-constraints-2.0.0.tgz","fileCount":21,"integrity":"sha512-i9ojfU9zgmHzTeZ0ZZsEkIPbjZ0zsipJ9dWv+oHaUCsQW6k3zQ1RpnAalMn6/19FnJdZBjWOIZHy7iKcc8XuNA==","signatures":[{"sig":"MEUCIB91C/pt8yGMcnZTRrvcq4Z/fEWAFffBFj3fx+/+Q7UjAiEA5hgvrcTKCVVfsVkMW3RVCGG/x2KZqd2AZPlN+AJWk/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-constraints@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11693},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"a2eb4f945916426c2703aec2517de3605fda5330","scripts":{"lint":"eslint .","test":"c8 node --test && npm run test:types","prepare":"husky","test:types":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify plugin to add constraints to multiple routes","directories":{},"lint-staged":{"*.{js,jsx}":"eslint --cache --fix"},"_nodeVersion":"18.20.5","dependencies":{"fastify-plugin":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.0","husky":"^9.0.11","eslint":"^8.27.0","fastify":"^5.0.0","prettier":"^3.0.1","lint-staged":"^15.0.1","@commitlint/cli":"^19.0.3","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@commitlint/config-conventional":"^19.0.3"},"_npmOperationalInternal":{"tmp":"tmp/fastify-constraints_2.0.0_1732361842957_0.5314760339178695","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-11-18T10:21:57.677Z","modified":"2026-06-25T17:01:36.492Z","1.0.0":"2022-11-18T10:21:57.802Z","1.0.1":"2022-12-15T10:11:50.581Z","1.0.2":"2023-01-13T09:36:41.731Z","1.0.3":"2023-04-26T10:11:25.676Z","1.0.4":"2023-05-05T10:21:07.109Z","1.0.5":"2023-05-12T16:14:27.364Z","1.0.6":"2023-10-18T12:45:03.721Z","1.0.7":"2023-11-14T18:07:21.822Z","1.0.10":"2023-12-20T14:36:27.188Z","2.0.0":"2024-11-23T11:37:23.146Z"},"bugs":{"url":"https://github.com/nearform/fastify-constraints/issues"},"license":"ISC","homepage":"https://github.com/nearform/fastify-constraints#readme","keywords":[],"repository":{"url":"git+https://github.com/nearform/fastify-constraints.git","type":"git"},"description":"Fastify plugin to add constraints to multiple routes","maintainers":[{"email":"simone.busoli@gmail.com","name":"simoneb"},{"email":"eamonn.frisby@nearform.com","name":"eamonn.frisby"},{"email":"donal.moynihan@nearform.com","name":"donal.moynihan"},{"email":"contato@gbdev.me","name":"gbdev13"},{"email":"steve.goode@nearform.com","name":"sociablesteve"},{"email":"ryan@loose-bits.com","name":"ryan.roemer"},{"email":"elizibin@gmail.com","name":"elizibin"}],"readme":"![CI](https://github.com/nearform/fastify-constraints/actions/workflows/ci.yml/badge.svg?event=push)\n\n# `fastify-constraints`\n\nFastify plugin to add constraints to multiple routes\n\n## Install\n\n```bash\nnpm i fastify-constraints\n```\n\n## Usage\n\nRegister `fastify-constraints` as a Fastify plugin.\nThe plugin will create an `onRoute` hook that will add the constraints to the routes.\nContstraints should be specified in the constraints property of the plugin options.\nTo see available constraints refer to the [Fastify documentation](https://www.fastify.io/docs/latest/Reference/Routes/#constraints).\n\n```js\nimport Fastify from 'fastify'\nimport fastifyConstraints from 'fastify-constraints'\n\nconst fastify = Fastify()\n\n// Register the plugin\nawait fastify.register(fastifyConstraints)\n\n// Register plugins containing routes with the constraints\nawait fastify.register(await (instance, opts) => \n  instance.get('/', () => 'Hello from version 1.0.0'), // Add a route\n  { constraints: { version: '1.0.0' } }\n)\n\n\n// Start the server\nawait fastify.listen({ port: 3000 })\n```\n\nYou can also specify constraints for specific routes which will be merged:\n\n```js\nawait fastify.register(fastifyConstraints)\nawait fastify.register(async (instance, opts) => {\n  fastify.get('/', () => 'Hello from version 1.0.0') // This route will have the version constraint\n  fastify.get('/host-restricted', { constraints: { host: 'example.com' } }, () => 'Hello from example.com') // This route will have the version and host constraint\n}, {\n  constraints: { version: '1.0.0' }\n})\n\n```\n\n> Note: In case of collision the constraints specified in the route will take precedence over the constraints specified in the plugin options.\n\n## Examples\n\nSee the [examples](./examples) folder for a complete examples.","readmeFilename":"README.md"}