{"_id":"@7digital/mysql2-timeout","_rev":"12-630e36324b79ea1662850c58aa092b48","name":"@7digital/mysql2-timeout","dist-tags":{"latest":"4.0.1"},"versions":{"1.0.0":{"name":"@7digital/mysql2-timeout","version":"1.0.0","description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"watch":"nodemon -q -x 'npm -s run lint && npm -s test'","test":"mocha","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"1.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":"1.x.x"},"gitHead":"66375dbfc55b12c8fd37ed7b5431e2a328cacc79","_id":"@7digital/mysql2-timeout@1.0.0","_nodeVersion":"11.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-WDKzMWTbkSaBoO1mL0N4lKcac3TqEPyn9/FCyu3Ly59wvAiNxQ5Rra/buAWNYTGucqHxcQFACGCKIQjeBkx8DQ==","shasum":"10c45bc1c9c420bb62d512678e1c1820aa4591f1","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-1.0.0.tgz","fileCount":4,"unpackedSize":4115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsLITCRA9TVsSAnZWagAAh24QAKHkaKz4FALYoQiapzXV\nTqtP8yQEkkamj3P9FsYSZMMWeo319klslr00VtFE6GPLlUyR3x1jRmadAgeE\n55QaL4bONby7+ioasWQuNAXSZ0HEu8iaTx8kJAwfjvHF9tG4bqy+TRSCXdbk\nprjPVFkhZuJ59v3Tc5KviVVp423os1arkEDOJCuw6Gkvsc02wKJMErxqpsfm\n6xy47myf3PhiiFF3hfMW+eWdObs4N4CzQs3SIB3a8sRpoKa9N7d28zo3vUln\nlDg1VatyBvdJbuEvwp4k/h0xw6zo3AjNyqBu5ZONivwl70qSfJBn9h5A7bGi\nZMcgv6ma00TN3y+/QVviWzmZ+Uub9Wnf8AxMFhsxDn+dA52khq99qUzhMPBc\nrV0ZWJCFPnsNTDfSuAses+N9wgm6gA2MXjJWrd1Fvbk5ASGsVN/1wL9UXsBc\nhjHlTNa2acaiOgFo+1MOm5p5JYhLKhLI+ADpmXAlSFl2R2liwuz4hC+mR5QF\nQ0M0pN5RdmT08GwE9ENGE6UIUz84BMtL1v9AgJBdyxVoYU5vti5b7kU7XeE5\nFcb/4SqMe/HWlJhpYeulFSyZRqyBWImkIakEkTeuhkj+cAYrc6zBrHcsP/fC\nNgDxnblerWrpQ2YGG6pm9rT8q9IXT6NjWff1u9QPubCdHy098g5UTcilWh5e\neJ04\r\n=7HHf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPSVOTuw6tx9I7rWgtTDq5E/rOYNIYYQ2cbWh/+mYH6AiEA8OQq9n1kYxh419llgMJGgoAxdRTb1pZZvSUpDK7URPE="}]},"maintainers":[{"name":"gregsochanik","email":"greg@sochanik.com"},{"name":"7d","email":"tech-team+npm@7digital.com"},{"name":"scooper","email":"sophie.cooper@7digital.com"},{"name":"c24w","email":"chris24watson+npm@gmail.com"}],"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_1.0.0_1555083795029_0.40824743964335974"},"_hasShrinkwrap":false},"1.0.1":{"name":"@7digital/mysql2-timeout","version":"1.0.1","engines":{"node":">=8.3"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"watch":"nodemon -q -x 'npm -s run lint && npm -s test'","test":"mocha","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"1.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":"1.x.x"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"ad7fb19777a7716a8e12eb4aef7084f4ae87c2a7","_id":"@7digital/mysql2-timeout@1.0.1","_nodeVersion":"11.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0eF+CFjpl0IWkFSs/6nIN5fqkKMLVYyeV1aS4/3YKxpbU7dufRx4sNY5DCzY0H1gUb30Qqcb0t3HBBCTveJqOw==","shasum":"619335e18a7b2a601cbef5d88e87fc17ab537655","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-1.0.1.tgz","fileCount":4,"unpackedSize":4339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsLbICRA9TVsSAnZWagAAZnYP/1Ier0T/MI5R4JFhlI0s\n9d6KZHHE71hdmU8ALcZg/SPEzfPgw2lJRNhWnvi8ShT1SE7FvdLhc+TC4eMd\nW2g5c2/daeaPDD0UUDLWaWqT/OBp2PkNKCleAoNtoVFMK5iLR/JXeV9hxQ/n\n7wEzHL1LJStfUUsc8HmQvOsfEuEQfkNKbDbksxmoCiHfnJoyjQ4WVqa8b2CM\nj2j3j98b563HJcXcuG+y5/uVQqVPm8ka3U3Q9o8487ZHCYjSTt2T4JdoTkwa\ncqw93BaSTPIXLYV2EERhHwOB8xcTsmLQFb2wIbBEg5Ys+DszpPVaNN/xnRj8\n/QxGbn9SoVlxyTlZq4o76DaS3/moILk+tJHLXoQwgeQD2YeGzxhI0eAfZCl+\nGqujWzwjpuWSav8FCVcIFc0FKundowyJpKlMWyclFg4DogTkF8+25dykKSTf\n6ZqWjCdE/M8n8JHbiG0oSLkDOpvxuyl9H7mfztQuQ1NpOt3mSBlr11ypzwLp\nXh/2GHAJz/WT/RMG1GQuACXV8o2e90EIRU7SVFGJ9CS0D1ATpWAldj6uC9aA\nEBkU/zhHsCNjYBrdn7HsB4KFKo0qFdjGgvgSeNWJx7/MfkQaA/dzhD7cNCII\np3y+m/ic9TYwOEBIUdN4Mn+0mEgE8QmzwEaEjrIw2EFprrabVa056IFQoWYh\n/UaB\r\n=X89n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsfP15XeIEas1ztaHp6xXMe/SyNDTnkl+ShEPf3KIo0AiA4UiWqfXHWutcbWYdTRJsWDcDhEFqj4X8J0wxcuGeuDQ=="}]},"maintainers":[{"email":"tech-team+npm@7digital.com","name":"7d"},{"email":"chris24watson+npm@gmail.com","name":"c24w"},{"email":"greg@sochanik.com","name":"gregsochanik"},{"email":"sophie.cooper@7digital.com","name":"scooper"}],"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_1.0.1_1555084999746_0.0781950211561242"},"_hasShrinkwrap":false},"1.0.2":{"name":"@7digital/mysql2-timeout","version":"1.0.2","engines":{"node":">=8.3"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"watch":"nodemon -q -x 'npm -s run lint && npm -s test'","test":"mocha","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"1.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":"1.x.x"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"3159c73791ca4ffd1b84d731fe5b645f087c8015","_id":"@7digital/mysql2-timeout@1.0.2","_nodeVersion":"11.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7bQTqxqoOB6c31lMy33WLhb348YoxHw/al6k9gVTY2T8mQbsUDkoHrK25yi1cThEN2259iXmcdOr97TJ/zOiSQ==","shasum":"025d1560ed79c0b64d60e1a517cddbf8a73f435f","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-1.0.2.tgz","fileCount":4,"unpackedSize":4866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsMCWCRA9TVsSAnZWagAAUtIP/38bw5Q6aEIEFeutAVmk\neaBb+Kf23CbyYv24S5x7shhDIiIvOWuA03+0RdNfV4Mqu/OQ112yxTOIz8WI\nk1oAV2zY4Z7AJm2uweUbMhySarQ/e5h97u22WAFJgzOFzcXfDaaSxtg3R23o\n954oRSxRzgvS43dgBztzBUkdgt0dCM3vRW5LBTvjZ/90cj6oNodWe2ctuvYT\njtHROj7c3dJl4zr7pbf0cUOH5dsS2KQcmD1nAyeBhQjA5cu4chay1fWYS9pt\n6EuBQCp377lg2ncyLoobCS60C7TQ6jyHnZ55liQEQBmgbRTTIYtRMVlbgL/D\nxV4Uqu1PfBcW7GcKbqRxPX1ZYr2BXQQJn1Y2PX4HMOuyvHR/fxMGAOYIsB/n\nfbatYvti4qwmD3xkpQmczD5MSN43jYKA+j4RcUAtcSIUaKi1i53xp8lpTIy1\n6cju+eyfKeIkDfNNQomyztYFmCe+fFwVFuMMTW3hYDc9+bWdlGZ8afrlRYiX\ny7JEIdHXXeXFJi1tZvoiWYv5FK5NwVg2/K9Y/r/EsnHPOakWLwW2YC8iPSjC\ndGKjUoh0WxJ/wRCSFrxZzGAL/PEaUijPyIpiIbAPa0sKrnCqXLltwpk0Muhp\nmLTGlCsLNfcS9OI7aXVKujxDnbKcevNz2+bZNo+HIurGHglKpy4SpPPqHeaN\nsESc\r\n=a+yf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF6nJhA3MPrCd5LroWUWM4lyE20CMBHx224w7XWR9+HgIhAKZu4TmKMP1AFzmS7cYu0PHrA8BA2nPGqr8Y06hTDNIC"}]},"maintainers":[{"email":"tech-team+npm@7digital.com","name":"7d"},{"email":"chris24watson+npm@gmail.com","name":"c24w"},{"email":"greg@sochanik.com","name":"gregsochanik"},{"email":"sophie.cooper@7digital.com","name":"scooper"}],"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_1.0.2_1555087509498_0.8076810549647802"},"_hasShrinkwrap":false},"2.0.0":{"name":"@7digital/mysql2-timeout","version":"2.0.0","engines":{"node":">=8.3"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"watch":"nodemon -q -x 'npm -s run lint && npm -s test'","test":"mocha","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"1.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":"1.x.x"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"2180a6c98cd54591056433b89d5f52af3990d297","_id":"@7digital/mysql2-timeout@2.0.0","_nodeVersion":"11.14.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-20kuJ12e1oDbwPOSz0iVLZUjXSCPyXOaCUQhPZJqsiz7Gql3jjd7jHogj9hbEqldrE29C81L/SOZYqeigiIQzQ==","shasum":"5338eee2b4129ee923d1c0bc5cf58d60dfb650b6","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-2.0.0.tgz","fileCount":4,"unpackedSize":4853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcta4JCRA9TVsSAnZWagAAKe0P+gJ56M+v0HOpzFfUjRqK\npCqtGqkvY30Gvz0NltFQuF82nQiYmxui4cPOsBNE+mRfjuxV0Nkbn045nA33\nd1RGBXTGMV+GTYHEXASAOxrlDzpBikTkbhObZOIwt2yr3vNec9T5nVqg3Tms\nhr3SGTf0DTUhtTqHSLuu2XyC4icTIHTBt/9iPnFYewon2RNMMZnIvRO2SdIN\n5PhZiK7hGDX4a2sR4MZKGXLYwPL8U+khVAUHypcX4Rnl9xUEL28VjWPIr56T\nN6QeUOQblHnmr/m5Gcx9xQEC9cHmWRALaOOdayLJ3El752wWjIbAMfBMU+7x\ng3zbY0zohI93qGgL+E9arNbDgTEw+AzbF9Wl+KAdfTb9YdjWOXFnMqoVsWFN\nk3s8k1H+7vPfHSATbACCFdHO5nTesQsiXbZl5QXsX0kJRCEJbecr5sAee+oL\n32eWFpdfTcj2VKq9vnkdUvjarF488roro2qIeiSShXn0Wt41/Z2ubrhX+b1P\n+QNcaVkhTO2wRXKRLZb/yd9EON6/XSvbssGqocQSa3B/MuCXZCMD0UthaGyl\n0o6bRy1zVoDdUtAhz/RhpLW+HvhnYZW7rVHBTp2rIdFHQuoOF4VhccenNDyX\njbIMJSsibSUW2mhXh1GLxyzvYL+YhuXlnu9/xt5y1kdO4Bi7qstalkZhU1O+\nddDu\r\n=wg6p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkOmgMAhS2xaVA5oyqfJfgKGpBhi9mYBKJN5siL+k9uAiEA6PATCQxL/xjMTG5UZnCZ+t69ZmoJB3p6GNSoemQFv3M="}]},"maintainers":[{"email":"tech-team+npm@7digital.com","name":"7d"},{"email":"chris24watson+npm@gmail.com","name":"c24w"},{"email":"greg@sochanik.com","name":"gregsochanik"},{"email":"sophie.cooper@7digital.com","name":"scooper"}],"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_2.0.0_1555410440924_0.5929563853239828"},"_hasShrinkwrap":false},"3.0.0":{"name":"@7digital/mysql2-timeout","version":"3.0.0","engines":{"node":">=8.3"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"lint":"eslint .","test":"mocha","lint-and-test":"npm -s run lint && npm -s test","watch":"nodemon -q -x 'npm -s run lint-and-test'"},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"1.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":"1.x.x"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"824619ae6c6337e9f87437242b8df9224c84314d","_id":"@7digital/mysql2-timeout@3.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-kml+t0CLMZ2N+1L6ZCJXwWpBDl0TSj66tHxlYb8mK6W+xjx+fCRWyugCdivWvwG1X4XJUmyejIHGWv44rQ7J9g==","shasum":"1a38ffd72ee6e919d2ee38561aa4d08672a8bbbf","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-3.0.0.tgz","fileCount":4,"unpackedSize":5293,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeOMZP8fe7yUpU7vz4TkaAeDVdPhh1tjPl7sc9F+d0BAiBVOo4Qo9xJ4+OAnIHGlDRYVZujErc61bsuaTtEJ4Ulkg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqxOxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI3A/+LIhI4MOgWbGqaRZ0dqvDb/BmUrDq5uAbVG+L6pqFdpIWDyBt\r\n7mGIOlEWI+x1gABnzXIxYcqAgAiPAE0VrqvqVnz6Hb+6DhgfqnkpSyWrbEa/\r\npQcF+MICq+uiModgSkZkRZl2IhsIc57e5dFKAaM+jbfZAcXFZoHaUVUwYRbz\r\nMEJ47PbwplI6beafDEclcMBgYnYzZzrp/mrZpVUUYcZZfV41mGlQNiHKxRja\r\npaqkoMFxRgqxp4RjUjdg6XwEEd7YMRzcCe34zKM/O3Meg28Jrm+Q0gYCISV3\r\n6QYot9T1ngEm03M0AKVLzU/FTtyDh1k1+9NdJk0/ZDmkEVTo3htwU/mV1D7b\r\nO0n6Sljsabun/WSOseDSJLPob9R5BfD5pc/KL+FDHHh3EZXivp2ZROSf/QdX\r\nRujs5Oxg4X1e/788hr1er6Mkwp1OBFdACAnFHVpqixcEl6ObPm/P54ctsNz2\r\npf407Yo9bWDXm/PpOWO50yROl3kg+9gPKIkfAfBWedhFno4gWYNFP6X/CrJn\r\nsp8dQ6deSTwFdHau/Bj+lWoDvw3IjwlFAaz+61IAqorlIrAP/hsaFuyIDlZG\r\n54JBbNxvE4p2k4V7rT51sSB5VhBSXBwWfv5GfgUL7NkgmnHowq+Mavlkh6+F\r\nlC5ObnLhlDxiWS/wvwUr2Nkb8sXN7UTf9ig=\r\n=J5VF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c24w","email":"chris24watson+npm@gmail.com"},{"name":"scooper","email":"sophie.cooper@7digital.com"},{"name":"7d","email":"tech-team+npm@7digital.com"},{"name":"gregsochanik","email":"greg@sochanik.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_3.0.0_1655378865659_0.14330764517527528"},"_hasShrinkwrap":false},"3.1.0":{"name":"@7digital/mysql2-timeout","version":"3.1.0","engines":{"node":">=8.3"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"lint":"eslint .","test":"mocha","lint-and-test":"npm -s run lint && npm -s test","watch":"nodemon -q -x 'npm -s run lint-and-test'"},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"*","eslint":"*","mocha":"*","mysql2":"2.x.x","nodemon":"*","wait-on":"*"},"peerDependencies":{"mysql2":">=1 <3"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"c42024048dde37a64514330451fca8900d395d2c","_id":"@7digital/mysql2-timeout@3.1.0","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Uqzd/30e+tqg7P4ZMHEvTNT4Vf/yQU4IWlEmIkJrQ+CfwrHn/wrJT4X9sM8+MV/OG7emgID+PoA/S5uzLSlgTw==","shasum":"b992f19f4e1a09428060f18dff708f6f8adb3c7f","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-3.1.0.tgz","fileCount":4,"unpackedSize":5294,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfR1Fbki6kr78ttNlaq5J3qA3Q6PYV0uCnUZO58kvL2wIgB5C62chXM6Q5c2Zl+wVIGeSDmFShSAHe0nAcbHWL+9s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqxlbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp96A//V41nAANVxNpbWwbw51W5Kt9DRYn5b1obgEbgQR82SwgA9KUQ\r\nOzEJI1VRkOqIaaCjuLR2u+V63E1H3Te7AOrEB3zHLbJdlXMW8s1ZT2CWTjZ5\r\nb8xMS/pvDC0jEz1zytOxeSMnCCZbqHy5GS6Hc+n/uS2No1zvhPEkx1Jntiim\r\nZXJHVaU/ww0mhtDfrDohAqZ95XiZlW0z7rR4G4OPc5LqXPVzKpg194N47ynN\r\nSgWPnUnjUefHXUORrfWE6O8yACz3yt6/iJ2bqYKquCVUyX27RBMgBGi5wfJ5\r\npIeAI7BZ0goHPP3XFcORJpU1AuFc+i2dwKQCfIK6Za+VGSYChDzorzatGWPv\r\nkWBCm8LAOxDFZfrsDK3yNcPQ0RMEaFKp101fYuizOZbfOpzOtex61FJhuCs1\r\n5IYz4Bj+d/KwF9iFDk9i0Or0BE/nk/i1lqWDpNP640qRQMp/HzWqufs86Ntn\r\nxt45Ypb80n61cd3s4EDYdyCf8NSvWEg12mO/J/pk6VxsCASXkzHfpAIFhhiU\r\nQO6w8qM9Vt6TmyvM6FMk2LKgTwghMw5hJq9WBvuImu9f2ybUQOKZJQqv4yqk\r\n/KBMw0/MOicRadOrKA3EZBjvJvqFVV0RXDhUq37TAAS3n6RWmWQkeGEqX8IH\r\n7bxHwEhmRH8cPvGU+ghNhJytkWivbJ2bjYk=\r\n=BLKB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c24w","email":"chris24watson+npm@gmail.com"},{"name":"scooper","email":"sophie.cooper@7digital.com"},{"name":"7d","email":"tech-team+npm@7digital.com"},{"name":"gregsochanik","email":"greg@sochanik.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_3.1.0_1655380315094_0.31107835180843346"},"_hasShrinkwrap":false},"4.0.0":{"name":"@7digital/mysql2-timeout","version":"4.0.0","engines":{"node":">=16"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"lint":"eslint .","test":"mocha","lint-and-test":"npm -s run lint && npm -s test","watch":"nodemon -q -x 'npm -s run lint && npm -s test'"},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"^4.3.6","eslint":"^8.18.0","mocha":"^10.0.0","mysql2":"2.x.x","nodemon":"^2.0.18"},"peerDependencies":{"mysql2":">=1 <3"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"dbc820bcdd7a638e1f02bf983beb6bb52059d07f","_id":"@7digital/mysql2-timeout@4.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-r9G3UPx/yiajnqBcMCCfibYc60SvBYpkAseMPz33HpndNmATiIHf2u8bP2x5vfjR7e3vdjR1nafi8+dhyCR5oA==","shasum":"7d2eda5638a4a6922b3d2d9f67c88b6504a10072","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-4.0.0.tgz","fileCount":4,"unpackedSize":5509,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ33+icLpp83z041u6RENx6kOEID/s1OR6jUHrTBTI/QIhAOjMVtPceoDl0cPfhaaX7gT0wgmDlqrsMxlqubHaUXl8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivDWuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmod/Q/9FGP1wjd3oXj9SoGjareecE7WZyymkbjxPEu/dXkCXhm+cJQZ\r\nh2OjSw1GFO9H9PQgXub1XCLh3XTq2MIkEM4aEVy4algNpfjMeBO4fsTs4iBL\r\nvuEysaLExrC+U3RXdY01/ZXWVMOkM85n6pCCBnOGOKSHsUCMrub7I9NE59lu\r\n3M82oMmS6mf1lJpc/rR00dj+wSUfTGzvzLgI0jYvQwnXNaw/RU12FW7BZrds\r\n8hJT8j+WpzO1oqJN2rWrkf/ORCcbgX1rlc6nWkn8bkbp3mfOKLnu2UaZcfjN\r\nHkRcrkVkuGDYjZzMe0EdU3vFh7mHMxqoPfM+iNuTxXAVUiCtuykGMPOioRpn\r\n71zW2ftEIykKvWfZzqZjSvmMskRFxhegp6x2ofHGVx3g8/srGqaWhBA0O4SC\r\nrFGsdeS9TSNnGuEzaL9qQSiZZttMUKZnDi5JfYVV7LkCoHHuRrUcWIOuBBPj\r\n9TJ0O8n4RMtIg8AUczuny4sPfUqk8Jq7RncBdBZIuBTC/hAr8N/EtoWdOLU0\r\nn6r7ai0ABNKfcHGZmZQIpmaTTOeoc7AqdcCupia5RRD1XTnyHcXL/xD1t340\r\nD/hesXQk/yMP50o6XftZ4DJ0WMASJa1hK/1kCe9wIMKEWThrWRuV+GRWeBpR\r\n5rRn4SXew3BN1O38eKEfi/ZZUZXchsUuDCQ=\r\n=CjjI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"scooper","email":"sophie.cooper@7digital.com"},"directories":{},"maintainers":[{"name":"c24w","email":"chris24watson+npm@gmail.com"},{"name":"scooper","email":"sophie.cooper@7digital.com"},{"name":"7d","email":"tech-team+npm@7digital.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_4.0.0_1656501678198_0.7021144342545644"},"_hasShrinkwrap":false},"4.0.1":{"name":"@7digital/mysql2-timeout","version":"4.0.1","engines":{"node":">=16"},"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","scripts":{"lint":"eslint .","test":"mocha","lint-and-test":"npm -s run lint && npm -s test","watch":"nodemon -q -x 'npm -s run lint && npm -s test'"},"repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"license":"ISC","bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"homepage":"https://github.com/7digital/mysql2-timeout#readme","devDependencies":{"chai":"^4.3.7","eslint":"^8.39.0","mocha":"^10.2.0","mysql2":"2.x.x","nodemon":"^2.0.22"},"peerDependencies":{"mysql2":">=1 <3"},"keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}],"gitHead":"d4de28fdd911e3bbaf0a042e71fb45aa3e3b89d9","_id":"@7digital/mysql2-timeout@4.0.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-F6kEcM6E7vgZSqtRyWS1MkUGbfojjaaBJ8L6e4akgmHWrPMjCJiBZPX/y51hxBkVbaNvNlzmh9UugmYlr3triw==","shasum":"7a10290cf8e8c2abfaa0e5bc1b5325696b4f1209","tarball":"https://registry.npmjs.org/@7digital/mysql2-timeout/-/mysql2-timeout-4.0.1.tgz","fileCount":4,"unpackedSize":5811,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQuxrx2lQGsVQyzvISrSd65KltcUVYqqNWXguM0yL6MQIhAMYlrQxxMrbqRSR41z3ua0C/bFG4hDWJQVpDBqSQKt9x"}]},"_npmUser":{"name":"c24w","email":"chris24watson+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c24w","email":"chris24watson+npm@gmail.com"},{"name":"scooper","email":"sophie.cooper@7digital.com"},{"name":"7d","email":"tech-team+npm@7digital.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mysql2-timeout_4.0.1_1697033479962_0.30801056685553263"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-12T15:43:14.838Z","1.0.0":"2019-04-12T15:43:15.176Z","modified":"2023-10-11T14:49:12.871Z","1.0.1":"2019-04-12T16:03:19.900Z","1.0.2":"2019-04-12T16:45:09.633Z","2.0.0":"2019-04-16T10:27:21.145Z","3.0.0":"2022-06-16T11:27:45.755Z","3.1.0":"2022-06-16T11:51:55.259Z","4.0.0":"2022-06-29T11:21:18.438Z","4.0.1":"2023-10-11T14:11:20.151Z"},"maintainers":[{"email":"richgled25@gmail.com","name":"richgled"},{"email":"chris24watson+npm@gmail.com","name":"c24w"},{"email":"sophie.cooper@7digital.com","name":"scooper"},{"email":"tech-team+npm@7digital.com","name":"7d"}],"description":"A wrapper for mysql2 connection pool query to support acquireTimeout and queryTimeout options","homepage":"https://github.com/7digital/mysql2-timeout#readme","repository":{"type":"git","url":"git+https://github.com/7digital/mysql2-timeout.git"},"author":{"name":"7digital"},"bugs":{"url":"https://github.com/7digital/mysql2-timeout/issues"},"license":"ISC","readme":"# MySQL2 Timeout\n\n[![7digital](https://i.imgur.com/StUnvCy.png)](http://about.7digital.com '7digital')\n\n---\n\n[![Test](https://github.com/7digital/mysql2-timeout/actions/workflows/test.yml/badge.svg)](https://github.com/7digital/mysql2-timeout/actions/workflows/test.yml)\n[![npm](https://img.shields.io/npm/v/@7digital/mysql2-timeout.svg?style=flat-square)](https://www.npmjs.com/package/@7digital/mysql2-timeout 'npm')\n[![Node.js Version](https://img.shields.io/node/v/@7digital/mysql2-timeout.svg?style=flat-square 'Node.js Version')](#)\n\nA wrapper for [`mysql2`] connection pool `query` to support connection acquiring and query timeout options.\n\n## Installation\n\n```shell\nnpm install mysql2 @7digital/mysql2-timeout\n```\n\n## Usage\n\nJust use this instead of `mysql2` and call `connect` passing `acquireTimeout` and `defaultQueryTimeout` millisecond values.  If not passed, each will default to 10 seconds. All other options will be passed directly to `mysql2`.\n\nIf connection aquisition times out, a `DatabaseTimeout` error will be thrown.\n\nIf querying times out, it will\n - kill the connection\n - attempt to kill the outstanding query in the background\n - throw a `DatabaseTimeout` error\n\nYou can override the default query timeout on a per-query basis by specifying `timeout` when calling `query` with an object.\n\nThis only exposes the `mysql2` connection pool promise interface.\n\n### Example\n\n```javascript\nconst database = require('@7digital/mysql2-timeout');\n\nasync function main() {\n  const db = await database.connect({\n    host: 'localhost',\n    user: 'root',\n    database: 'test',\n    acquireTimeout: 2000,\n    defaultQueryTimeout: 5000\n  });\n\n  await db.query('SELECT 1');\n\n  await db.query({ sql: 'SELECT 2', timeout: 1000 });\n}\n```\n\n## Developing\n\nRequirements:\n - Node.js (see [package.json](./package.json) for version)\n - Docker\n - Docker Compose\n\n### `make test`\n\nSpins up database and test containers, runs the tests once, and then stops the containers.\n\n### `make watch`\n\nSpins up database and test containers, and runs the tests whenever the source or tests change.\n\n[`mysql2`]: https://github.com/sidorares/node-mysql2","readmeFilename":"readme.md","keywords":["mysql","mysql2","timeout"],"contributors":[{"name":"Chris Watson","url":"https://github.com/c24w"},{"name":"Sophie Cooper","url":"https://github.com/scooper91"}]}