mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
ce7dc2be92
Adds support for running npm package lifecycle scripts, opted into via a new `--allow-scripts` flag. With this PR, when running `deno cache` (or `DENO_FUTURE=1 deno install`) you can specify the `--allow-scripts=pkg1,pkg2` flag to run lifecycle scripts attached to the given packages. Note at the moment this only works when `nodeModulesDir` is true (using the local resolver). When a package with un-run lifecycle scripts is encountered, we emit a warning suggesting things may not work and to try running lifecycle scripts. Additionally, if a package script implicitly requires `node-gyp` and it's not found on the system, we emit a warning. Extra things in this PR: - Extracted out bits of `task.rs` into a separate module for reuse - Added a couple fields to `process.config` in order to support `node-gyp` (it relies on a few variables being there) - Drive by fix to downloading new npm packages to test registry --- TODO: - [x] validation for allow-scripts args (make sure it looks like an npm package) - [x] make allow-scripts matching smarter - [ ] figure out what issues this closes --- Review notes: - This adds a bunch of deps to our test registry due to using `node-gyp`, so it's pretty noisy
1 line
No EOL
49 KiB
JSON
1 line
No EOL
49 KiB
JSON
{"_id":"exponential-backoff","_rev":"62-40faf9e51af4abbb68c12553db70b70b","name":"exponential-backoff","description":"A utility that allows retrying a function with an exponential delay between attempts.","dist-tags":{"latest":"3.1.1"},"versions":{"1.0.2":{"name":"exponential-backoff","version":"1.0.2","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.2","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"1ebdc70047d7cffb331b6d322abf05be535acad6","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.2.tgz","fileCount":7,"integrity":"sha512-REOnVtQCvBz5NXc+lQ7lmt7/NIY4N57Vz+lOT92+HgYJhN3vI+IKYTRDNf1OA3GPMGPVEX2APxYMrL3Vs1cFDQ==","signatures":[{"sig":"MEUCIQCy8eIggQojNKUi8OPtB2KNGUJzya5a5d5UWSDDJfC4RQIganxTQMx8I3KcWgzHYGYoG9s4jv3RRgYmCt42Ybv42gA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP7+wCRA9TVsSAnZWagAAcOwP/2Krfk+7C2f6T+gi3UMS\nrpRebAx/74DpZXHw7vGJCQ/mLzNgNbVsQ1kjJZtqMiObE/nRoNuMNZID/AGc\nqVDEv2Wx2BdmqKYWTx7BgMVvb3s7vKbUNXfo1dQdcuBHTHbN2+zFe+8/vJMU\nlFdRg0jXZLwbRItp1jsxTR4SP3hNvU/aWMuFTWJ2HGv/ob5nnG+KG54whgpl\nvDTPDm1ICNTqwD/SCugO3Aa7/ZxF4G9AF0MQmeqVe5nqynEriYjdV07uV3CD\nyPKszfJ4zcDd2qKCwbbAl/mpTZkm2KUJzGzqhSJGhf7Gh9wWw8Jdi57BHFak\n/KskRcBXRS0YRjXmWtvg4GG5JrcyxeeBicZ/Tb+4hVj7N1pQaz/ZauywbduX\nghs/DPZ3t0hQTgubKzjOwQpJwb+NylvvR8eg7ObxmgRkUf1fT3oTGCc6Mtwb\n1NgI6M+Sp6P8WPY2OzcjkGXSSoBIj11pzGCj3ociaf8ECM9jkl7dEgXiDO29\nowr6RzjvXuzkYyf6qdontpefbFcd1uat4QWzZdtICI4C0jRMUfvMy//mdS3U\nZW2tOu0ubhOFaD+R5fHvykF0jA89KWTm7mHE9q1/pfkRjndNfBAfNuoNjNEN\nHncoDQU7wAjKTVu5CRwMXlYgFXQ3doNVEEYOrW8/IKks8FsG5B5MA1a2bqGV\nA1PL\r\n=Fxaa\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"d428482556b175fb77e3df8b533df0854f91b48f","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.2_1530904496494_0.7217311129828938","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"exponential-backoff","version":"1.0.3","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.3","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"7d6b5000f7b74a78b355298d7471146e0b90727b","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.3.tgz","fileCount":3,"integrity":"sha512-IeCxOTQyV2c8N+U6W0Nas4KLalWkcf4vdKbP/ULCER2Vf0xSCw9lIAxRLtIaAB1y1fuIjnRfWgf9iZUsWYL9xA==","signatures":[{"sig":"MEYCIQDqPI0QEpCFB4UEWVPMwmUSkH9Px6vSXty4/GmqPVmO4gIhAJ/a5tO6pDog2RBgjRsWowbpNzQPQ7pjyQ8crNu0zdj4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP8OrCRA9TVsSAnZWagAAik4P/0gkKhC168CY1lRSGtmw\n5/xazoSUOH/Yd7B+QUqpC1DQavd9QvjEeAgfNAo0Ro0XgbMfCA0Amntt+CLH\nglhehtf5vMNXxgK8SEY1zijQ5Ev8+yoYWjiDac0/k+S+8llY8l7By/ZcI+0C\nK6zKsKeXYInSQ29xFW/zxnmRIpWNLVMHj/leu3KbvHrU0pYGISxuss3tSByS\n5+77gQlXMHIMiMwvDclly4SdWVl37crcDp1KxeQvBlSU2fP1It6T9oZDivRN\nn4JaeVx+Uf+MzGjWDOniuyBTGZHe3gsK6N+wI9MCuQ8BOwDYfg97y5oghDnR\n4PVWXlss4Z6vq+p5KXmPGykMeAj9mZWDly5l7FNFElcwxqX37GZEr8n3YFLn\nCnWyzfyQSwc6Xq/uJI85veuNlo70gtrCBKskRIovqH3ZASSSXPNhejgzdIbq\nMVgJN21F+YdjeJcqlVMfn0IYx6zoMmAQSzUVTDshuM652NlOncjgejS7NNt5\n7nuXMLKRRo5XehhJrrAv/M7ngK9AJ9OKDHVzqzUsgG9cMTBuhPwCz8ivx0Lo\nRNhAqiShxYGTPacBbELW+Xm3kFCT/yPUieV4wLN7gJjkHyJebOg1lb6CBKM2\n9zmkSIdh/SlopVoM1TcgTVCQAMKl+Mk37j0ll5sniG3I/zswEIvBIe4rnxzx\nbj+n\r\n=h75g\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"ec98875ef624cba47ccb63c19406148797a58849","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.3_1530905515786_0.0044678065214354135","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"exponential-backoff","version":"1.0.4","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.4","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"c4daed78ac0c4edd7f4fe3f807d8080f36a79d2e","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.4.tgz","fileCount":3,"integrity":"sha512-qB/sz80DCMz9GygxxrqcZkT4qXlDGP4qPdbQbN1yhM8WOFia+V/x1bXpk+R1mvhnrsPtFMsJ9xmvmvjmC13dpQ==","signatures":[{"sig":"MEQCIAbFLmg1HUOOQDMu2Ng2b2lFB4SazrIdYQLbC4Wyh3aLAiB874dgEvcz66iTH6NP8L7Cl+YKzCdN7pV0LgOHBN4arg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP8m+CRA9TVsSAnZWagAA3i0P/04WFXMZHe9tE2vAjuIj\nYsj4EY8O0jlbMTrr+Z/uh+lejmRHbH2ogos68yUQm4BkB7FU10bba1hHTI1n\nxT2LHaW3J/cLqxD51rPTlegBXlygcKxPZ01M519yomLr3ksgyynoeQWo5iZ4\nPxElUKyN7UZFpEorOK9Jr2ITYfOLeGELx2jfPm0CYn4PJ1e08AvF+w8q0XrK\n0IjpjZ6oEj4vFjEIn0wdOTeMQYa/ZdJsHkcdslXL18MxPGGvVpad36mu5/5P\nARn59YIemrdcTrifYo3l/WSvNjyVrxy8m+8YJZWcFDykEb4J3Af1Qgpoz3Pp\ncHE1HJQBwiB9ASaMFsnWFoGSswSqMft8kZ9KNNYT0fiyO1W+KO3z2GMtQIhi\npXfWfHPqa8uDkBXSjTJABMxk+Otp2VTL20PzPzkFri4D8NlQ9iJIwobSiFDS\nhTOk1zlwNreac37wByXmVSvRPW0qQ/4iYZz4q2XMrHuzfW6udd51Bjggkj2H\nx4UC+FK+H4gcdkymybGfacFPUo0gkIBap+e/lMajNM1wRaus7t56J7HIaqPk\nbxmioi09s1GYBSyKQpkYZ05du6nddSVtavgnPgJ0MIhKIS1UY4fG7MR8Fym0\n5AKtHBrCLPXrcM7K5idH0+7q0pvjyYb/IRBWN/nYskckAq/TvqdBo+Xd/jxL\n8eXq\r\n=ZFqm\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"497e755a9d8ff5aff199fd442b5bae1de6fd1dab","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.4_1530907070666_0.08801442882746713","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"exponential-backoff","version":"1.0.5","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.5","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"bc2efab67b946424cf53b7ab117a59ebe78cb920","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.5.tgz","fileCount":6,"integrity":"sha512-XlwAcBzxCsTqTxVJST2JKAojmg46mArccm1PCusX5S3mDG5ecOUj2HLwoXDErOo1HlvhBpe/1DriVZZ3Nd6AOw==","signatures":[{"sig":"MEUCIQC+bH7EpBqx3nVXGppqOC+n5bL4hEjDs2GHtsxNhhmC+gIgIWH13neJQeCAmrpscSqi5X7i8GcJAmAgwKd2VGiVjQ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbP8q2CRA9TVsSAnZWagAAJbwP/3MoWCYkhAUne7XjIXvZ\n6ln4LRrWLXaOP1CkLF4b7QyeMo5ScGf9ItfhFTOaDz/HsE6hMyiVpfcmcaZN\nIsFlmUHX+Uptec8G5u8YArApvWdAHbUdLNEJva2XHX/C48CLuKO6iaY/kJ2O\nG1cM6bvKScwLGoNPDZ/cLfI66CjUzWjn0mRZtrQv38pFS1o0K4BdZAGE11mu\nWAUWdIyTVcCXIlQQmym5TkzTJF4d9+4mg+qUvbY+WC6lygCwBzqb7w1y9W1K\n0rl1KOBGqwUGW7hP6gRXNPIjuCmRhkIiMFQV8/9AuriA+8+40V5l0V7ZZClM\nuLPgltEByAUs/awQK7mS28bsZkK6hlXsPa1DF1YnhQ26z+zBcdbf7gLzKGm0\nNufooSXxmFLd/0LaalBeKLSAFvdfElXeuOiTRRZpRFbLnmwc55xfCZclJ5GR\nb9Qjx6i5HAeoHDW3u4e5eJQ0wEjZXro4T1DvpXLr0/eQLRsRgwMiQ0Vdw2Js\nahiHzUnX1orXlTXY3N2paEHs9Z14Dbx7fNCx2UyxFAQKCF3yJKePRWpEYTOv\nlyD8p4sIXqIaEWR6ZDc4PzE5CMNEjiUnd73j2mJTtDocQPAaZ9QQXPydTn6a\n8+WlkkxfUs7JklR2j6DUNkr68eForur0XjfVo5mvWkk9tci+reGKX6GOGwda\neza4\r\n=sFb/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"5a9652142203095ac75b8dc3fa6736dd9a7ec0e5","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.5_1530907318673_0.6259392282958995","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"exponential-backoff","version":"1.0.6","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.6","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"a2a68006cf932e83c4441512fc508a4b1e1b20ee","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.6.tgz","fileCount":6,"integrity":"sha512-vmlm/chsHQAhRNWMpnhRkY3Dy3m2k4k6cCSkkAF5J8kD688HQEhMD8jctRzNFC08LZ3L8v8hqWhGMLcNDtZ62g==","signatures":[{"sig":"MEQCIB42tl64TU5vuqImquLh0rd6VqLxxWxzc51UdsNtJXGfAiA/OeLPfbnr0WGwJXev44QhmcGhKjdi3GxW2UXbwSZTdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQX+LCRA9TVsSAnZWagAAFJIP/jNvSiuwGO2Trj6sEAn+\nC3RMFQ1F7okN4uYUP/TSuHhKNqE8TrlH+WYEd4N1JS040ho//FltUuMZRcup\nUzcKKqdtN5S6oggj+L3yFUFTz12DQ4Lr+RhZeCMeY7LaffZsLVVMZ/Uvsjo3\nsuQHqx1M9+Iy9LflTl6rM4bUbYI4+o+G4F/YLfD8z5Fhq0fwPk7qAVEGTi3N\n1+Zm3mP6lR9kFnWeMYXhOlsxoaMs0NPu+11Qo/9fgtSwWB2vy7bSSqwiAkph\n9YKkFro8bb1qa65jN/YNYoz55Ub5+VHeXwaGdc3oOeVx3oy1TkJjPOlPAUSw\nqghsZwsK0nQbW+hijIylo5QhcmaA87nBi9F703g7AaC/VNpC6vzD24AqHeXI\nyDPkf9RMwp/IW4dLpsCBkJP11BCsVyGULmI/NTUSmRV3RXiBp/cNIw1+80Pl\nHYemLZY1bfHBUrYFbiqvptep1zJF9OrbF1VeAzR4pG/hipGB7ouVH1kD1LmK\noYHcw60rBBy5ao80G2amg4yVHKXJGA74LFb+58dPkmsdK8wavXFm4vSUfhE6\nx6KDfyq20I0WC3gKgm3qsk5QB5eELnpb7jAgOiaQRfmyKPxw1Q1W7yKa7Zqq\nS1B70swV6xgEWEzuA1y7R/F67OxAoQTJjUJDp2z8jTuJy8QgSAo6bArP7Fkn\naLly\r\n=7FKj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"6812932b6b313b03e2fd24e462d760d529304dd0","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.6_1531019147588_0.5256082320607378","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"exponential-backoff","version":"1.0.7","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"MIT","_id":"exponential-backoff@1.0.7","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"0e7302c022cc184e6599bfd3b2475f09ee30d66d","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.0.7.tgz","fileCount":6,"integrity":"sha512-VzOLfHHj4ElWcwI108cV15gBxjyn8BB5pj9pPFCAcfdEYEUcF8F/1VTSgdx3WW2ZtPM45JPSmR0GYOoXxhJjhA==","signatures":[{"sig":"MEQCIGG64sQtxiPLIFUArb/gyZ/Lj3mxk48t7WT2/2Tp/AKjAiADrnnbNiEbBLn7MCx8R1KwOX/mSpXCSWdXReUBHgIoaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ3V1CRA9TVsSAnZWagAADnUP/R3LqxLch611pRrtamKN\nOii8Df7icZWzJ49Ql7S3Uwi0JvzoOgasOcj94J8P2gG8rg52oq8HmL9XAE21\nl02OTYoJ03CI19coMHF3Y4DR5hcqLlytI2EHXIllRHNMgcuynb+6zebM2z2G\nQcqH27JkEmcXgUF4S6+hgHYdaQntbPA5tNeY9d0Y88C6L+ofk94JmMc0pSJD\nEri0q8/ZvQFVVhnnmB9H58b8W+KaM7kDj7jIcGhMScpjzKfl19yZPBE8es36\n2111COrvhucOIx2pauQmvRISYEXtpGd2U3kudDi+zZV7J2kYmvE+1oI+nWdo\niLmECmIXRau/3KzXAECnSxF5TyZ2Us1wwgmj3Mj5xKq6KNld832RCj3LONqD\nj0MWr20wZD5P64azIjcCAONr3j2RK7gPB11K1PQQMKs6c7sx+n7Z7MZWltGC\nNPvUZMWIC9XeC7IrsVeJpWj/L8wOJuhgnYcwVO7MEDEU+5gGPzB6vuKSLHwJ\n7wiqJPczzmdopIoeKtYssfeMs8k1+a9TDqpKthQdRfTehzPKaljcIA4Zfc8j\nGV/uDANVCwknL5MP4HIPOQCfBBtv4bBcEw9WNiM1CW1pE2sHCvSnJmE+OuJ+\n62dGxcUeRMHgSy3I4CPmmOpBeRYkmSkFIDKNNHjZuO+mBJ8X/D7NsIibPZYV\ngbBp\r\n=nzN1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"ecf7d1dad1235a5f686edd30df3297b9b817de6a","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.0.7_1531147637712_0.42953850143360306","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"exponential-backoff","version":"1.2.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache 2.0","_id":"exponential-backoff@1.2.0","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"065f39428f293ae4458efd375f9e297ee80bae20","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-1.2.0.tgz","fileCount":3,"integrity":"sha512-wSmYKRAXV9EeiEL+QZrknDJoZu5YObMqRqHEw612eVSrNtPIHOE45+KDZF4oXGLiTHmxhcmupOTzUaScDm/xsg==","signatures":[{"sig":"MEQCIDFmdpmbEXP3MFSG5Jdo9lMphCLyx6Y3GAtB0QtJsC5zAiBlO52USxQBZAQfJowuoxKT6sJHkPslZkX8ptzP/g1vWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXGURCRA9TVsSAnZWagAAyZIP/3P/TH8x75KT5cnK7mse\nNoG1PC+gNZ8jDfhUt2G6QpcGS+5QtI67dRlVVhz2haBUEZ9/o3UvZTH3tYqr\nYp8orTJBomOy1KfRAqxkRyHIgA896G1vyyvEmnpHVWWNBhx1Ws6iusuiomYU\nnrqnOH/iufQQkOxAi7Dtmg27rITLBUtjQcuKo0B4rmWP8EvEmpsty1M2ifsj\nMxwQDGGbr/8Sbsq6aABcsVezj3ItcAjkGDrvYcdMYs6e2EvzjAr5sQsNs4nL\nsAsYnKf1lGwQRgxXipn0XvxREZc5cJiJmNNisPNcnhWA17S5pFf5YETBBaBb\nBgG1q2JTU97t42lg7LFZzpn++MWfsD6gMhmLwQnxO/62FZd6MPA6RwXBTdgT\nqA9gGadDn8kQhKjFrXp/YSSUaCQmg0PksmZMA0ZrULZNYNFKTK4iUNe2YCuq\nrny8jBAtL2xA0yG2YNxjQetv8BV9GmDujNAdDWs5LpcP0+GZ7yGPd8Z2iWBQ\nWUKTmHrIIIu4bC3pckGaD5F6YDKFuyIXSb94JqnlAOZBOOWtvPdhpg5rqDZE\nxmCckztpNvzkhI9OHYtb9xkpj7ifl0zZZkp8+HyETWnolRcrXb4kXw3qqghj\nTGXGYPedgYBGDLUVhB7L2u67q1riqjXxj6+uBR0aYyN9jJqlNy8L4Bb7UHDN\nt1IH\r\n=huRB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"322791d52d9fd6fc6592e1ea7ea82cd27619af60","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"deprecated":"missing distribution files","repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","husky":"^0.14.3","ts-jest":"^23.0.0","prettier":"^1.13.7","typescript":"^2.9.2","@types/jest":"^23.1.4","@types/node":"^10.5.1","lint-staged":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_1.2.0_1549559056441_0.15477201968371435","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"exponential-backoff","version":"2.0.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@2.0.0","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"d7300b1c3529a6f9ff699bc27f7ce9939569678e","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-2.0.0.tgz","fileCount":4,"integrity":"sha512-2iG75+MjCWxR3qWb6kMvDrw3vocpfYWXLf7RTNavZVY4cJLkpGYkHxymNFOlhu056S0mAvB4IYavI7BM84wYbw==","signatures":[{"sig":"MEUCIQDb/B3OXgXHCf3gphbqAHn6+d0e1srtyt43kGKLfN9ChAIgLi4oxc+6rMEjpCQ21bv0k5u36JLSe8JrUrAMUi/CGgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXyb2CRA9TVsSAnZWagAAXPsQAJ0DPh+1rMZ5AXNhrEYd\noClTCdlTxpbtTB0GF0R3Xz1oQyK3TMv6PUFDZDm7LDV19U4p0z1MqpQWI2Jp\njcFclH1PkWAgW9zRhRT6DW1jATzIMWIU6SRLkD58HGTc6EM8Kma1SUbv0vNc\nCu1peFk5o+WjKYHWh52NvpEi5uCSi7y/CJDNwdugMOGKYfqWXShU2NY8TOla\n0Hu7tdCSDVYbPBzWnAPH4S3f9aPgWmAAWhjDf08tF9gj0O3TeBihACx6JyBq\nC9Si1iWvNOf00+joL1U77QFj/EW/sj8daYVEmDqY2P6wq1UQfTCzyGKSn+/9\n+fi9pq8ezrDpTIhpojxiKVO+zqFkxs7bhElpznBlQaVnZlgeI0W2jiMDE5y0\nlf1m/ql52Qu77hntcwL/9SlByE/bLvaqFf5ahrpenmj6o+pYgRmw/p+yX8d3\nSxASRnYO53Z8wXWBiTp4Bpsp6Y2wei3cvve05jHps66RXlBng8lLsoLVMJmv\nOzt3xslGZOr5jHmyXfUAqRbFDhYV5MzNBlPtOiul4SEvLmCQ3g/oZtbKtuwF\nD+b140ga+/zoXB818q5LfUxlHBdOfqN5SW5qElpDeIhbcDlXIpQOUBYtiCDm\n9t5EpniLEzoNkG4bPGZ1Q7f7A2RQBNfX3/ar4L7VV9eDquLj3JV2lGAk/yYU\nL6IS\r\n=agQ8\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"7f30fc74c1267a12c47e13b0a2f156cc534d9225","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"deprecated":"missing distribution files","repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","husky":"^1.3.1","ts-jest":"^23.10.5","prettier":"^1.16.4","typescript":"^3.3.3","@types/jest":"^24.0.0","@types/node":"^10.12.24","lint-staged":"^8.1.3"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_2.0.0_1549739766045_0.08421184819923","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"exponential-backoff","version":"2.1.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@2.1.0","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"5255ac6ed645f5b03d1cc8a02c4eb3d604ce06e5","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-2.1.0.tgz","fileCount":34,"integrity":"sha512-buTH3ntwm/M82KawZWXEuWk9HnOPpGKbAdtNK7FvhyWm5Z0oRG2MLArnv1d1t2+57yA9OwrGaRlyJBVHMHYoOA==","signatures":[{"sig":"MEQCIEL0wu51aFY9OmChTqtH2tXBw5rReWe0qWkjJ+egfzWUAiB9JayMwgdXwyP8Hc3Rub6xam58tkCPUuBmE9kLezmoUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaCrLCRA9TVsSAnZWagAAt9gP/j+3wRt8rz7UUE3Vuf2/\n29DCIcKYVvFfPNRYdoWRIgbvzZASDFN1YB1R959OwB9BdNKFU9WDRocGqamk\nmLKwUExZS63KGrJraDXFaemXUgM3fFLC5MZrIkDUWCKY0ypx2s56leaAbbcX\nOHwrjh8MJA+a6HQX/xuLCSWGphpn1YXZfWp3Ng84LFkCOuQTPhK/JQ8bufch\n2MUGRJakxnSbbGvLtEiDchjw7PPvgW8tEwXDk47yWApCnIYjeykTMoW1z9hT\nxFOxtRiOUaS5AUs5skaIAgBS9x2smPYdAEOcR7Uua83bLVmwDvpDpf2CxUEK\nQfl/yikBdlqXFvHHcgGvrCim8isGTT3g9vmIaWa3bk5I/c0v9yowR98U17KV\nJcZ6hUT7h/e1CYhq/kNQGeRhttxZwq6/qqZ6WoeekZLBn73As/L+uogtWMcp\n4efoNYaBdSf6DuYqZrYriRUNSouppFGRuk+h2RU8tVZ5ZVNsnidMfGzNtMRw\nr62ICTHynHiNkboLb2UI65mikWt6pfDp2cyf9+J6jGJVgpiAj3bUfrTwLmeC\n++3VBy7ywnGYxoqlRqkAGWxGC9wewCg8fbfWoRxlcSqEM+thtC03tXC5jLpC\nZc1r4DqzamSoR1d2dWfzo4/pjEzyAv4hxpq8VMV8+AmxhqFnNmHa6DQbLPgG\n0ucM\r\n=+itG\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"f364dcaea7417fb046cdb8798e455dc974ba2b01","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","husky":"^1.3.1","ts-jest":"^23.10.5","prettier":"^1.16.4","typescript":"^3.3.3","@types/jest":"^24.0.0","@types/node":"^10.12.24","lint-staged":"^8.1.3"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_2.1.0_1550330571193_0.25643656303238016","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"exponential-backoff","version":"2.1.1","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@2.1.1","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"acaec650b7dc5f52a5ca87b3cb931b025b1640ff","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-2.1.1.tgz","fileCount":34,"integrity":"sha512-Qtd9ShD299u+xglU+eDVkjxWqDUer7c3ACIKuNlo0BJYqdPRU+x0rm86Oj9MpKPW/e+zdgvsJLISAzXxXWw7Rw==","signatures":[{"sig":"MEUCIEvbkZkikfb/S7Pp0JUTCEq40Svqfm5zWuq+47HiVsjJAiEAyNeYPXrzm0CL9fUk6ZQrdeXyfPutp/D8S95tG/ahxWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclYb/CRA9TVsSAnZWagAAO0oQAJ17+DaNOLQ79C+Nt9Kp\nfL0B3PA1I+J4TfMhs3zA7p9U3K7lsZWkuX/LnlwOeAV3FTkml1kZWgylH9wA\ndL+D1gC5N02lrc2JfEC10lhhBBr5g9qYBfm/Ay12/dY2kLI2v4qHabjss0gr\nHdA4kvfbhMv1fEgOXxNVn/efnlTHkoZILBkQCrZci5/CukYzUBTmeiyXx/HH\nZn2wjuhAc2sN66qXGQ4NYRiDLGNgVvkNKFKs+pAteLFM68MU4UDC7Xk83I+O\nl7p/GR6No1Pfy2eyBr5mt06z8OS6TxElhs/DA1ThX3Okqy95kNf9NmmThjJX\nq4WPcjxgqQL2BswCTH/q8BDO67kIBO7bP3kBW98kyrXa7yY9e6ZFV+qAee+J\nAS7zhIIDtTIJUCO7naNRC8y62MYQW1nk+x2yD3DrHFjWlBabQW76Z6AlBMRG\nEvZFv0NTTfvlsnTe6phBrKIeCAi3WVe7mRxG7yB2JYILdTP7YwcG65SUEB/4\n7d6wFIhzwy59xeSGWXI+IKa5IYgexDdintXlXVEB75gUMc1peR4/RSXZufLp\nz9RDO3bl7ZdETKxVe36yP+Lrtx2AeRkHsUW3Q63blos313MQprAtOUHSC7eT\nRsLKGZbYSGM+aZAxugvR3mDcpUbHw+6hGuDP2Kw8osrsZUaKlfmqzy0Mf5CM\ns2md\r\n=OXdS\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"e80a896eb8a631a66b56623ec3cf4c27ccc05c70","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","husky":"^1.3.1","ts-jest":"^23.10.5","prettier":"^1.16.4","typescript":"^3.3.3","@types/jest":"^24.0.0","@types/node":"^10.12.24","lint-staged":"^8.1.3"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_2.1.1_1553303295022_0.46190891705941683","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"exponential-backoff","version":"2.2.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@2.2.0","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"66bd0e6e574f045cb71562332031c3588306eabd","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-2.2.0.tgz","fileCount":34,"integrity":"sha512-ame/WSRrwDDH3yxRTCayuIccYDdhREVAVUbi5gzeqMRVbs1gBT6ErtJNgUGNxBJXu/TkTifNqhmtWOUHnHt+wg==","signatures":[{"sig":"MEUCIDkO4PLwFiY5tyOg0u1Z8KVuWo8ZGTK3AEXhRnjLtQKEAiEAje99MoswPKyiYkMhlo39RCgSlIbPPIl4XcLVqV3HBac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwFK7CRA9TVsSAnZWagAAhXgQAJgGqI7+7lKaD/Zyiyv6\no5dHi9W5AbqZfrlsELrxqF/UvLDWIm6qVqSOxLZtiis0WJDaC3GuGyRqDLV8\nV4Fn77rmQ/rfEmtPf8gHzx/NpfK5PXTfWvm5fGjTvnaZYrZ3/Uxfb6vhG9ck\nkEbEFhle4nVihVBm0LnYrdT+FYUnou+VcEWeOjl2YiM+HiuW1D0kj0TrSMLS\n6iqnz+vNyeBQXRxH/ju0PziY2Lxr9DSPOWe0E0s1chfspisMYL5Nx6DGS48U\nBC7vsiTUAWqNk1nlcXpVoXLvPIgD4UOyBxr/rBAC4yVW3qRAF7X8iVuQbHxh\noyCdUNPWqum4g4K04+seSmdxb2uLk4BFGbi6ay1LNGrsnLvzUuri9HU0o5BP\niolBLWXiTkLRPwUnvTUfEGXrEfpsX86Lc68Kzrp8087jR3Z9Eqd5ZZafldru\nrQHwVpSOYrXAqu8vtKAZiyvdE0zdqjp+6yQPJ0sazlPpHFACw9UGAmqJ9Agy\n76wnk0FDawzRaDPKWspBihTdSp4F4Qb7YCUpn6ci7O8YS/k+d5eD8iZCMqgf\nxLrjcIhjgn+lUU/mMFNbk7Skhh2TWIodJNcIc16iYhz8IPRiImV46A9x+rPe\nrBRl/WfcSczmnfnIfbeOgMOR91afQtOMA4GV+WpNa5YGOmw0R7dUYknqHT/+\nYxZM\r\n=cqDY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"0e1508881f35835e37a534745cfde662fa693397","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_2.2.0_1572885178933_0.5338163564151102","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"exponential-backoff","version":"2.2.1","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@2.2.1","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"ea3937ce2cc22442547c02579690c1466bd42156","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-2.2.1.tgz","fileCount":34,"integrity":"sha512-53+Tl7I7mJMDHf90mAZR8t1cg+7IKgx/W5p46tOfuIE9EWqPbyCMIvGk4bhcSE2w5AWO8YmEhLj7qYfxyo/2rQ==","signatures":[{"sig":"MEUCIQCjen/ngqTIVpRGzLnS3p8JOGRFRBxY2lf7QQnfINa20wIgXs1odJ0nEIcJTXBxQ+9SgDKHAmn+IkKcpNofBgDsxDs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedDZaCRA9TVsSAnZWagAAmwsP/RVyCLaMWapdkrnHFBU6\nl8l6O+WC14OJJQkA8rrYPRFpZnhjeWXQrNv9/8aynahSX+XMw7C+jb8Z1qVF\n6frZ3yYxxVeEDL6Ar9qdy514tTqhxrpAc6RTwm4wXgzFDv9Dp7eZTgqRXa8T\ndeSNVmC7546Vp61nyKemhkvcMBUijuMzoZpFf/wJUqVOF9W1r6xv0/Xc4Ms0\nC2UfSqUEJxAucTd8Wl9MRrtcJSCC8ICtEqT5b11Qf3pVmDHbuLrO70IdWUkF\n/yO7QQdKjFRcengvNbjGLwnMuiD489senkb2tjtBKXAWiczmJxO0Xroa8q2j\nbDhnj+1jE1WMjY/NySUedCAFkUtFdpF6ZSGTcJ23NRB/IpFBg0+Ymz7EXrvc\nJK2SMMRYsOSyH0jdgujhJKusXvu9H2uXQQEEH6vAsd7xHY+XAzGBYaS/ikOP\nwo1ILI2G+R7UACgv4sk3o/Rbt4A6oaP805bqPf+y0R/0+9qifkN6xIPMTRSH\nhG0kUUMNRqI4vAQ7vpHmyCQjj2pPPUp92Brux8TztfjjtcW2FwPzp68wFamy\nx5KkaD+Vu5QJwQ+8FeMeJx0voZBw0DwdfcoLzlb5CdiFCfLbK/W+tEqbLZWV\n4RpoZrCVrqLFES5euvrzTD3kXJuLWVpJHWNITDvXvL2c5BtWuGbkT4GDAm0r\neoaL\r\n=hDL1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"de279bc9447f025ac460b967955af3f2a268156e","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_2.2.1_1584674393354_0.7785820462652746","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"exponential-backoff","version":"3.0.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@3.0.0","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"f1436e719cdce67e63799544024b4f43c4948e8c","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-3.0.0.tgz","fileCount":34,"integrity":"sha512-dmsTOUWCoU931Y371dBehfXAcK4S6FLMwkpO2247lmDU4ujipPCkRciRFTWtfNoj3mw6eyzxEm8m5YTLNda7Ew==","signatures":[{"sig":"MEUCIQDa5rJk8Fl4RZnKSdTHhmXKXxL/2Gp0x0KPtPvke6bJgAIgNul8RdHWRenrn3hF2JuH7/ZiomZy4vtKomq7gsrlOa0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiU3KCRA9TVsSAnZWagAApXwP/0rBTyuZ/CJ1mWTQf8vw\nCwO7LzT7cjPOEjvx02ZIlsRoQF4LeNGMj6xssP3MKqqMebzTF7lYseodkaWa\nyfUfp/bPixbzHbHrRr38U1WLatWZGdBrUq5P+RUwZtGNO9IvjD1Snw9UevjG\nG2EHjJTQJCcpAsLtHwuWc73vlKfXmD0oBarTc6ioh7yS83LV1430/j4OaUvl\naJnF+L/Sz8IvEhDM6qAPaQItNVMvkCS8r0QF2f5KItpa1y6F0uZi3mIAFjsd\nSDH0XQ63uXfwkv+4qH9540RIDmyllLypZ2RRmD5xjarOUNIBMQoSWFKohJ1y\n/xPUMcz2mRkGFB2dec9ex3NYWGnxWUqxlG+30rv7XZ+hTO+8i5iQRT+mCr30\nN6h1b3JKrJdw3P8J7Yxao3Hrh8HOz/OLKoAGtUMSTwFejMrvq3Na0BIOTPKD\nfAZIuffK13xhlG21aAMKFnXZwMAdko0FRJ7+p4oT6fAatW397RO8iFzkhr3M\n+UbeohQZdg+isLeA9TrVSTC0fZ3iSTlykz7lxiFOgckkMCTNu0dWvCDPQLvq\nmx+5f0Fon1S//8uf3AX+mLK4qJMLFRnOcvVKzOLDbPZ48XB8cXODOB/RAiL+\nCGicmuRo8DQbq2o+sJ2LXaRNlEDt0TZPHRtDls/VTRRcmOB+RuF2IENjXBf5\nEmEU\r\n=3FaL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"2adf902c3c532b958ed1a891df8e88e8c08d67a2","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_3.0.0_1586056649566_0.797903928930046","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"exponential-backoff","version":"3.0.1","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@3.0.1","maintainers":[{"name":"coveo","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"c83c5036fea44bcf7274cd40ae207ae234a0c215","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-3.0.1.tgz","fileCount":34,"integrity":"sha512-YOpmVqDXqyLgYrfU2k/RFVvSjy3p0A32aGDmwbR+lbmhROVmeCg6WSGqBgr4HB5AZNElg7Oj4Cm/vIbodLu2Ig==","signatures":[{"sig":"MEUCIAT7yM8PNOi5/dn8WjgZ4wfAlGmpe9sjbc2n3cVJVfUkAiEA1M6yQfrWJXtVk06FrX/zfCqhOvQR2uimY+jLuAvlHVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe28w9CRA9TVsSAnZWagAAFecQAKSCBDR8ctQ8np8wMS2X\njtUGvH2Nf/PtC8tEweIYutIwjuqNLbOAaY9p/fnK1QtnCDXYnY8yxfXn58Zi\nSIjpiQiC1bss9qqIGXtBV0gpJswGXhqmNL6OwPzE0VJO2DUecadT9EXEEGB9\nNlzQ0UQ4CZS2PtcfDI2Av7xUDsFvlgRFcv+fVhbOYOICMruMCaeNbTYsCDMs\nxawETrnz5TL2CQmB3kYNJ6JKmxZyweDZfgRAj2KRdTlrF8K0VkNjgPCcdFvv\n/LnyZAZA5GUKmJXY7iHbXTqi6Z7YECYhvdwYv9kln/ZdYJxhztpsWUTB4SaZ\ncQd+Xh2KJkJXIUmro2YOB43QW7I4Ly40wbNSb6iUOJaQbMNQGMd9yOEU71pQ\nh8I+tfPzE0ib/bWk4cLFKc3YxdAHbVBRqu7RjXfCbVyEbS2NySr1UzMAY+s6\njh4JMBj1W1q2Wg5vzqyjTXKBKqip79+KegNzQl5OWzdz34JiTQJMQQqlWmGc\nP7dhDwBJcHH8tgUClC7kq1hGuaLGCZLs1XB7VyMBIbWxEEGj1qnl1baApTbI\naku7AcAJjVK74fUrnxezdqxiQY7V1fOYPADg2Bj0w0zYkuh6ltAZwTx2eRCn\nq/asKz0MXlxVzS3iWk7RDfeLYwEIrFqf8QE3M/Vn5tqJfzZr0VG8n8GHpqHh\ne5em\r\n=tX/E\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"ea476ef56b163b87754a40693dea6e3ab53933ed","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_3.0.1_1591462972920_0.07935891686982655","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"exponential-backoff","version":"3.1.0","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@3.1.0","maintainers":[{"name":"coveo-organization","email":"sandbox_JSUI@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"9409c7e579131f8bd4b32d7d8094a911040f2e68","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-3.1.0.tgz","fileCount":34,"integrity":"sha512-oBuz5SYz5zzyuHINoe9ooePwSu0xApKWgeNzok4hZ5YKXFh9zrQBEM15CXqoZkJJPuI2ArvqjPQd8UKJA753XA==","signatures":[{"sig":"MEYCIQD5cUxXB6iCmeANhl0uqffowj4UnfCFhxoktVbWQJ5e3AIhAOKKdbtmfUOX7ET6GcPibLkVWukQqgSKkgNbYHSRIL1X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK17sCRA9TVsSAnZWagAAk/wP/i+dq3804O667VkFU/iZ\nl8DBJf1n8O3tN6pDf2DgsGB2cs7zitBz9r25hRyKmFuEC4rfdGcgTmWxlSEE\nWVdfiHGiN1QQg6ES6uv7U1Dg0BX4uwLO+dHfvjtSrr5oVu/lYHVBM2njckH5\n47wCvKo/N/f8nVAvn4RXtGQnrmAVVfS2uY/WGPvK+KKpeBlv25m4lKOTWPYv\n5fKhJNobrckJicb68SX3yHdEOGs5A56GfyqIn1gXYa3i9YCY7r3Cxyw9zezQ\nVyG1oqlgsIAICEIgqGVA3i/VD19JCtfRn1UXU/U8mVOqv0cEisQ7rND5Zkk5\n250tyHUOwF957NNZAVNeDV0Mcp9nRUsHF4OnjjdV3M0D0G0k/NmlJ9G8i1wZ\n4MfA7LBKvyUa9PF1KJ3MkceslUMGAqU2WrMQFqjhYJpYyNcsNjoNPA3jCgVI\nCw90jTrxpF/4/1Mp1T0Q+QOvCuxtmLCEb0PCVnhgi7MJb3NzPi1zGfJs8FYT\nfIK02GpvA/CHAmRIMdbfpK8V5VdzheQkJ8y510HQ/VaK/9tBK0pzThIR3XzN\n3wlDSoApXLqvbCd0q1PMYpHDM1HNjiLZvCZyutjyAHNpCOc2oclUgevUR5Wb\nrktdCTTZK1C3rNKUbGH8jsl9sV32xGw6sPveQH3XWOM32NkHCHpcRQyGK4y1\nuDlc\r\n=NTot\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"085a97294520b2c2150ee4cbf32955c892812677","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"coveo-organization","email":"sandbox_JSUI@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"5.5.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"8.9.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_3.1.0_1596677867944_0.47548900717885645","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"exponential-backoff","version":"3.1.1","keywords":["exponential","backoff","retry"],"author":{"name":"Sami Sayegh"},"license":"Apache-2.0","_id":"exponential-backoff@3.1.1","maintainers":[{"name":"mmitiche","email":"mmitiche@coveo.com"},{"name":"jkatofsky","email":"jkatofsky@coveo.com"},{"name":"agong-coveo","email":"agong@coveo.com"},{"name":"lrett","email":"lrett@coveo.com"},{"name":"pixhel","email":"lbompart@coveo.com"},{"name":"ndlr","email":"ndlabarre@coveo.com"},{"name":"npmcoveo","email":"npmcoveo@coveo.com"},{"name":"camarois","email":"cmarois@coveo.com"},{"name":"lcoolen","email":"lcoolen@coveo.com"},{"name":"coveo-organization","email":"sandbox_JSUI@coveo.com"},{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"olamothe","email":"olamothe@coveo.com"},{"name":"jfthibodeaucoveo","email":"jfthibodeau@coveo.com"},{"name":"btaillon_cov","email":"btaillon@coveo.com"},{"name":"sssayegh","email":"ssayegh@coveo.com"},{"name":"ylakhdar","email":"ylakhdar@coveo.com"}],"homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"dist":{"shasum":"64ac7526fe341ab18a39016cd22c787d01e00bf6","tarball":"http://localhost:4260/exponential-backoff/exponential-backoff-3.1.1.tgz","fileCount":33,"integrity":"sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==","signatures":[{"sig":"MEUCIQDr+out+uvlHUvEC7/599hD5V9fPzhl76LLZb+Kf1CkXQIgH5Jm+BY6CLJ+e6gJGBSYkBgV6twi6/0GhGZ4rfGLMyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj87BBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIzw/9FJrP3q6G51DaBfQcrCOf7AyZjBdmdzLJ0Qj0SUPxFccR4slF\r\n9D0gc2T6MwccogbNSRoNBPnw6pyPcg4DvMIClmCocbpbBxXrIg3muIOY40sZ\r\nlbnnkWlGS4LixGOq2hv+EubRc/ye7InUwPO9/vO3m1vnGjOnzjAF30r8kmkV\r\nX+WVfhTYbH1gc6vCicK7lr+ydDmodjiI2pOMxD2V5chuV71KrDgxexnnfUEw\r\n0D0b98LAuBP1nV1O5tdvypS3l8LmF6s8hopm9C22ZGhWWk0RG/H+GJD+hQms\r\nkTenT3UnHqkZwb6GFF0jtne6wBkvXLiNRoVb9WDNdh8uglR96P0SKbB+OEDC\r\nDTV12NCOPgl5GJN+xmX85ZVJb4HMxbrg/OZEnGoZZf40eJFU/GFnf4Ez9C3D\r\nkoEut5cK8+nwpsqlDv3i9pqYpxg2xXsO2Z+uQe7BmEepHq7MxTTLfMpiEdeU\r\nhazeD3U2MR0U20ERuB3e/EOcVLpBFJzeMLWv7ROv0vQbB4BAB3RVX8VNPNS9\r\nRSh1bA3PdhpcJEL1ItxuSmWbB19BFXJVaKpX8VunoqRzCq9hiJVad5ykOMzH\r\n9L6nm32F2Dt8j1H4MrB0H0vJkMSOV8MS4CSgONR6P7k20NtzH5KVAkb07fSS\r\nIxMeNnzfsVnLRP8rQd5fAAm3TYupq4KSjLM=\r\n=7l6+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"moduleFileExtensions":["ts","js"]},"main":"dist/backoff.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"dist/backoff.d.ts","gitHead":"47b552aa6007a1320e851118d638a476cf765516","scripts":{"test":"jest","build":"tsc","test:watch":"jest --watch"},"_npmUser":{"name":"sssayegh","email":"ssayegh@coveo.com"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"_npmVersion":"9.3.1","description":"A utility that allows retrying a function with an exponential delay between attempts.","directories":{},"lint-staged":{"*.{ts,json,md}":["prettier --write","git add"]},"_nodeVersion":"18.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^3.0.9","ts-jest":"^24.1.0","prettier":"^1.18.2","typescript":"^3.6.4","@types/jest":"^24.0.18","@types/node":"^10.14.21","lint-staged":"^9.4.2"},"_npmOperationalInternal":{"tmp":"tmp/exponential-backoff_3.1.1_1676914753100_0.9897631504405433","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-07-06T19:14:56.493Z","modified":"2024-07-02T20:06:33.630Z","1.0.0":"2015-08-04T08:05:36.562Z","1.0.1":"2015-08-04T08:05:36.562Z","1.0.2":"2018-07-06T19:14:56.577Z","1.0.3":"2018-07-06T19:31:55.841Z","1.0.4":"2018-07-06T19:57:50.738Z","1.0.5":"2018-07-06T20:01:58.789Z","1.0.6":"2018-07-08T03:05:47.667Z","1.0.7":"2018-07-09T14:47:17.802Z","1.2.0":"2019-02-07T17:04:16.809Z","2.0.0":"2019-02-09T19:16:06.165Z","2.1.0":"2019-02-16T15:22:51.331Z","2.1.1":"2019-03-23T01:08:15.154Z","2.2.0":"2019-11-04T16:32:59.058Z","2.2.1":"2020-03-20T03:19:53.513Z","3.0.0":"2020-04-05T03:17:29.709Z","3.0.1":"2020-06-06T17:02:53.061Z","3.1.0":"2020-08-06T01:37:48.076Z","3.1.1":"2023-02-20T17:39:13.327Z"},"maintainers":[{"email":"sallain@coveo.com","name":"sallain"},{"email":"aboissinot@coveo.com","name":"aboissinot"},{"email":"mmitiche@coveo.com","name":"mmitiche"},{"email":"jkatofsky@coveo.com","name":"jkatofsky"},{"email":"agong@coveo.com","name":"agong-coveo"},{"email":"lbompart@coveo.com","name":"pixhel"},{"email":"ndlabarre@coveo.com","name":"ndlr"},{"email":"npmcoveo@coveo.com","name":"npmcoveo"},{"email":"lcoolen@coveo.com","name":"lcoolen"},{"email":"sandbox_JSUI@coveo.com","name":"coveo-organization"},{"email":"itaccounts@coveo.com","name":"coveoit"},{"email":"olamothe@coveo.com","name":"olamothe"},{"email":"ssayegh@coveo.com","name":"sssayegh"},{"email":"ylakhdar@coveo.com","name":"ylakhdar"}],"author":{"name":"Sami Sayegh"},"repository":{"url":"git+https://github.com/coveo/exponential-backoff.git","type":"git"},"keywords":["exponential","backoff","retry"],"license":"Apache-2.0","homepage":"https://github.com/coveo/exponential-backoff#readme","bugs":{"url":"https://github.com/coveo/exponential-backoff/issues"},"readme":"# exponential-backoff\n\nA utility that allows retrying a function with an exponential delay between attempts.\n\n## Installation\n\n```\nnpm i exponential-backoff\n```\n\n## Usage\n\nThe `backOff<T>` function takes a promise-returning function to retry, and an optional `BackOffOptions` object. It returns a `Promise<T>`.\n\n```ts\nfunction backOff<T>(\n request: () => Promise<T>,\n options?: BackOffOptions\n): Promise<T>;\n```\n\nHere is an example retrying a function that calls a hypothetical weather endpoint:\n\n```js\nimport { backOff } from \"exponential-backoff\";\n\nfunction getWeather() {\n return fetch(\"weather-endpoint\");\n}\n\nasync function main() {\n try {\n const response = await backOff(() => getWeather());\n // process response\n } catch (e) {\n // handle error\n }\n}\n\nmain();\n```\n\nMigrating across major versions? Here are our [breaking changes](https://github.com/coveo/exponential-backoff/tree/master/doc/migration-guide.md).\n\n### `BackOffOptions`\n\n- `delayFirstAttempt?: boolean`\n\n Decides whether the `startingDelay` should be applied before the first call. If `false`, the first call will occur without a delay.\n\n Default value is `false`.\n\n- `jitter?: JitterType | string`\n\n Decides whether a [jitter](https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/) should be applied to the delay. Possible values are `full` and `none`.\n\n Default value is `none`.\n\n- `maxDelay?: number`\n\n The maximum delay, in milliseconds, between two consecutive attempts.\n\n Default value is `Infinity`.\n\n- `numOfAttempts?: number`\n\n The maximum number of times to attempt the function.\n\n Default value is `10`.\n\n Minimum value is `1`.\n\n- `retry?: (e: any, attemptNumber: number) => boolean | Promise<boolean>`\n\n The `retry` function can be used to run logic after every failed attempt (e.g. logging a message, assessing the last error, etc.). It is called with the last error and the upcoming attempt number. Returning `true` will retry the function as long as the `numOfAttempts` has not been exceeded. Returning `false` will end the execution.\n\n Default value is a function that always returns `true`.\n\n- `startingDelay?: number`\n\n The delay, in milliseconds, before executing the function for the first time.\n\n Default value is `100` ms.\n\n- `timeMultiple?: number`\n\n The `startingDelay` is multiplied by the `timeMultiple` to increase the delay between reattempts.\n\n Default value is `2`.\n","readmeFilename":"README.md"} |