{"_id":"resin-request","_rev":"86-6ab0b8a674548ba89d637e6ddcc532ca","name":"resin-request","description":"Resin.io HTTP client","dist-tags":{"latest":"9.3.5","121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72":"9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72"},"versions":{"1.0.0":{"name":"resin-request","version":"1.0.0","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0"},"gitHead":"4095ffc6b68d39eb5a54c8b2d4bbcef500cd2afa","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.0.0","_shasum":"fa3b53f85f82affb795319bb2215d9f7953b8d15","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"fa3b53f85f82affb795319bb2215d9f7953b8d15","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.0.0.tgz","integrity":"sha512-BXB9K7rm7dTtP0h5nbUPfT9yac/FvAkRUqkndu4JJQnKcJxEAV8SUjSAf+qo207GnEKZeNteVHgfBllR61N2ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICe7+LdeuuYbos9w66bP06fJSndbzZ88RW1ZiBxG+VDiAiEAyFjjKmWexlL8puEdZ/9Dm/NCuDGgC7mPdMG2XvpBQ1I="}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.1.0":{"name":"resin-request","version":"1.1.0","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-token":"^1.0.0"},"gitHead":"e7dd50946e54cbbfefa0e6d911e9f73854575b9a","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.1.0","_shasum":"78b029b10e3d54add5558477945654e1a980c8dd","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"78b029b10e3d54add5558477945654e1a980c8dd","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.1.0.tgz","integrity":"sha512-m/4TRs6n3AXbWKG4vgLohzG2DjcpvA9QCHhSt7LaGx9R2OXwY8QOZXO3sPrfzCx2c2Ci5RQamG/kA0Z3lZZYVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3yGE+xF9VwTZJQUQKon8DI27AV+YOO2B6HU3R+SeQgAiEA5qW/ejbKe3dbVVWiOy/nrL5LJfWXK5RuAsnyEIrRCnY="}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.0":{"name":"resin-request","version":"1.2.0","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.0","resin-token":"^1.0.0"},"gitHead":"2667082a08b81c975381c717935bc88568b233ea","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.0","_shasum":"9241394b1288da4120527019a86c9a80ac486f96","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"9241394b1288da4120527019a86c9a80ac486f96","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.0.tgz","integrity":"sha512-GhVMCu4MP0QWp3O1H1Tt9YMuelGxJbhhwNh8YD6vzGxNDcQJ+CDjZdMOfSD/tYRAiMebq1zwrVUSjuN5t8hKUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQD8JvmxFHYjEWtLyQeEy9RJaOF9UTBGyXS7uXbhOrlgIhALGBn3rXt9fB01955U7TUi+gU2T9LL9KRZ11SV/jzjkb"}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.1":{"name":"resin-request","version":"1.2.1","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.0","resin-token":"^1.0.0"},"gitHead":"bdbac25fceb6a09476d7c36b1e1bd0cf6784fcac","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.1","_shasum":"62223b261a3080330115683208ccdd24f13588f5","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"62223b261a3080330115683208ccdd24f13588f5","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.1.tgz","integrity":"sha512-cNjJvdZ7WkPKQpmUR0b8MrchHBfA3r7gnY83t/G3Ds01w6VhFHOofSZ1OPaCxik/NLMBH6pBw5PRA59ovaHVKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9YjzKponVnDm1DCWcRR+VAo8RtVqpDNgSo3LEEP8yGgIhAMWLFEwMwgbvKmfEODV/JWwTccE03jXHQ048jtTBkZwN"}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.2":{"name":"resin-request","version":"1.2.2","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.0","resin-token":"^1.0.0"},"gitHead":"188bf4cea0e4fc1bf523ad1b5670007ec1023242","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.2","_shasum":"9cd0efae82cde143742acbd56a0bc20e1c72404f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"9cd0efae82cde143742acbd56a0bc20e1c72404f","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.2.tgz","integrity":"sha512-8VybC/9smypqVTzuf/MOasIzLE7/VrzDrkLa6jHqzBAYTib1lUdYvVyCsuWL/30JSkmTKMh8a882O8xeZGU7lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOdfZG4z/sc5p39ePm/qb6/Syz66op3bNb2DrYlEVcewIhALzzQ/CwaoA1XlkuXJvh9yV461Fwys56RGwxtWRnla0B"}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.3":{"name":"resin-request","version":"1.2.3","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.0","resin-token":"^1.0.0"},"gitHead":"6cb3ab42004ada715829f9b3edce22a00490c3db","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.3","_shasum":"564b157af9ff981c175b0f3acc8e58a21dd684ff","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"564b157af9ff981c175b0f3acc8e58a21dd684ff","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.3.tgz","integrity":"sha512-T8ahinwpoBv1z1jkG+lFjdlAEv9tB8qLLyzk6pGtQB1VGTo4X5dyDcjs3JvXZC3l6ux5/6YBdTFlfwV3K7zi/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFySkl3kKHJFhrLreBbDwLwoFJTBdEbl/xN/849qNwjwAiBGWXT8iWyABQpbpEkPK0lShIdjALnqD0/4lvNZcTv4Fw=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.4":{"name":"resin-request","version":"1.2.4","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.0","resin-token":"^1.2.0"},"gitHead":"86f8acf0abd72de4a882e8c407186681bcb3ea38","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.4","_shasum":"1f3ed67e7bf955cae72ef03b1abc1aff66bd8c4e","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"1f3ed67e7bf955cae72ef03b1abc1aff66bd8c4e","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.4.tgz","integrity":"sha512-24FrtnE4fTQVlJPq7RsJOQdHVrqoDZbaDlzQPm9QD5sWu6DrIWEO/W1teIH45+lqGkaXJHb3NCrrDxkREe0tzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHD/GFRPctpxXJ0b+GTcqXckEymcMcAptxngw19l/6KFAiAuPxQoI5ZAFjzQ1Gmtg2gc59sAW9Wn9condGoZZt2AoQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.2.5":{"name":"resin-request","version":"1.2.5","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.1","resin-token":"^1.2.0"},"gitHead":"388b24a3d9bf2d5384d374c3a10a36310d0a592e","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.2.5","_shasum":"b72ea918f618f55ead237707732df8bea761fbd4","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"b72ea918f618f55ead237707732df8bea761fbd4","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.2.5.tgz","integrity":"sha512-T8a6hUnBsKx5NzhcvrCO3LmAeYyVb6dsBnbhnpsBOp/KzkCRMNmdzWAkLD9ay7FlHY+F6Rh4gxpf+OzG15U/Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBL59UD9nC1XeMg1vNzVr5TOlt4zZigyEZLTg57sAERuAiAiaUhYnyM4tgABEU2OH7IAaUuFGYrR/isOe59A4E+m0Q=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"1.3.0":{"name":"resin-request","version":"1.3.0","description":"Resin.io HTTP request client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","mock-fs":"^2.5.0","nock":"^1.2.0","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"async":"^0.9.0","is-online":"^3.1.0","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.0.1","resin-token":"^1.2.0"},"gitHead":"d4b07c6f1dd42f50a4a4cbac6db66202638a14ea","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@1.3.0","_shasum":"188138387d837cd92f9f1c9d014d2a144ea6f9ff","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"188138387d837cd92f9f1c9d014d2a144ea6f9ff","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-1.3.0.tgz","integrity":"sha512-OWik6uzVy/5Ga25nqCAMO1z0MjOUJMqLQtLn7gGeNy0o3XlNHpsAnYurIY2TLNRWU/ZvyUtwAYGfnY8R/WHVxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrbETPSAgKSXXZAmFJMdV9FNhelkr6cl3YRtshK36A3AiEAgR1ZEiXiAqIOepqKv1a0wMCoZeJKkQkuXAVrcOmDVJM="}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.0.0":{"name":"resin-request","version":"2.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.3.0","resin-token":"^2.0.0"},"gitHead":"8de2b9b041696e21dc29d152c8e412e823db368a","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.0.0","_shasum":"50fb2e4dd196519d21f3547a95f70196eff9e538","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"50fb2e4dd196519d21f3547a95f70196eff9e538","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.0.0.tgz","integrity":"sha512-RxM9OFtOKBT4mtFMTPjy6iNEA/ZVLMldiu0tb7jbmAq2MdNXfSATFXVGUdlL2zdaD/euqsev7kSQIDmA0ADi2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuqklaMg2q/Iw4kidRTtsy5QS5aAkWdT3Z5mZyzd8dyAiBoABBRV2y+YGd7gWdhcQRTtEvqaLnphmAzeWCctKTJIA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.1.0":{"name":"resin-request","version":"2.1.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.3.0","resin-token":"^2.2.0"},"gitHead":"16c7aa146f74c3efdfa5707ebb1187ab77357ba7","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.1.0","_shasum":"500c74c5714fe5f1e9b98592a5499bf29e88f14a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"500c74c5714fe5f1e9b98592a5499bf29e88f14a","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.1.0.tgz","integrity":"sha512-0FDyDC47eczYPHgH5uTEiCGlyzNt/19KlXiQvSetmAEJZkEE4WyMqHjJ24QI2KvqPbNUN8CdXg4Nx0onXMYJKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuNTxcRTXVrY0+4+E6AucYFCOqNeLJQCU2M5IOwE3oLwIgDopDFBBC5MPghZZrDN+2T1ddqg1TT+BVnvMVH8NSwbY="}]},"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.0":{"name":"resin-request","version":"2.2.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^1.5.0","resin-token":"^2.4.0"},"gitHead":"1e56f3131e585d627ba8200e751a09f92d2d63c7","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.0","_shasum":"99962837916bb6a76c53cc1df70a8b4d1fc15dce","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"99962837916bb6a76c53cc1df70a8b4d1fc15dce","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.0.tgz","integrity":"sha512-QDaQeXzpW06xjmmnYHysLgEobw/Pvbx2uBg3uGErcW4AnKL/jLCqAKvpe+k4QDwEg3hsR7dIzHVgngzwiZ/Ufg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHDYMtjEdOsYljxcWoE/m71FMG10ATFIXRzp0Gg/rqSsAiEA7fWF84mUBKvJsd/0SyngeQwK97CgvoBUllPJ9RFPGH4="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.1":{"name":"resin-request","version":"2.2.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.0"},"gitHead":"04e9ab435fc27a8286339ddb0c9a62a608e994ad","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.1","_shasum":"8f413a4e5b99d9bf4026cf1c925f753587fc24b5","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"8f413a4e5b99d9bf4026cf1c925f753587fc24b5","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.1.tgz","integrity":"sha512-GR11+etUfB0eTvFeH3NAwiC28NI0oy/zymb+JvWUXCB5MixHnv33h/TdVf+B+9hdYGOqGrihn/JkF09UO9qUow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvOqscxvsvo+Ci0EzQddxFLxTDaKC9Va6VWF5XzS3HnwIhAMw9hYGg1xRW1Kt7R02m3lTQDCNnOkvkuEyrE1Z4n58e"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.2":{"name":"resin-request","version":"2.2.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^1.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.0"},"gitHead":"1b530ec2e7c760ab9f3d91749ad8673cb93835b5","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.2","_shasum":"9d67e35a3225488a0bd8d14c380bbcde89ee7c63","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"9d67e35a3225488a0bd8d14c380bbcde89ee7c63","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.2.tgz","integrity":"sha512-477+c61Zn1bclXXMQQkkfapNJVJ2gCfb35SjYsrzYY0665+L0OxdJKRV0q8+K8XI+3YJtfW4Orv6/psioIAP8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECs0UT3XFCsqiVOWp2Vj52Qm2reAdIeJ+5WQkfNWCixAiAXOeTJJerp+LTTMJ3PUpxZmOwmbqGef2+Mh9kfy8Xp0g=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.3":{"name":"resin-request","version":"2.2.3","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.1"},"gitHead":"2d4a14d9c9c013ebe0f8b14af576744c4cc2bbda","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.3","_shasum":"e2fa061055c87016891c16405d7d49044f59009e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"e2fa061055c87016891c16405d7d49044f59009e","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.3.tgz","integrity":"sha512-mHVfEWTDxbbWN/RMs6rbh8mpHvdgW4Blpt+NUkcKsyiCLUvp+czvZd1ri/H/EOvZtSmiX6uhhJDE+jGsGzhkNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQqu8slAPBOyxttI5PM6jklS4p8nqkXeTEncmbqBcl0gIhAJu3YVCn6pH5hGnHeinNhzU8gjDf6zMYG03rUhtpqgUL"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.4":{"name":"resin-request","version":"2.2.4","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.1"},"gitHead":"ff0b31e89b5bfbdf3d9566f76a6088cb6200a1fe","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.4","_shasum":"ad1d80e6b0a1836e286fc549fb0ea54f17f154e4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"ad1d80e6b0a1836e286fc549fb0ea54f17f154e4","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.4.tgz","integrity":"sha512-mGA8DBgySIlPkCBZEsKgk9adHbAjptyx+Zw0tOCfffzbP4S7cxjE0If/IbOs2YykUMPUZiJqspCavT7/+EWk5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxrisLmo44o7w/KfyZ8LLY9Y6iHXmA7SNBOvcDOskNYAiADNl+5n6U5Ab5xo6W9OAKDjc5G91UAlYMn369eKvu7Pg=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.2.5":{"name":"resin-request","version":"2.2.5","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.1"},"gitHead":"edc0c756f8ff543cafe88c5b6c3f3985bf65a260","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.2.5","_shasum":"0c76175ea138060164944b50df5410638042fb24","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"0c76175ea138060164944b50df5410638042fb24","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.2.5.tgz","integrity":"sha512-Q83pXfHYfmxZoHciydCWpnh9672coDO75WhDzxyhXdVS0CW0gJs8D4s6C+ul2jZcyiDF8xb6WIUAWiCKaZuAww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+Xzg5YnLxxf3FkD9Q3rJvLpOYOkXPkd0hEQyiuw3y4wIhALnVmAHgg66qWg9KV3pbZrIt3Q8HkSzMmVyjHXTWp/vo"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.3.0":{"name":"resin-request","version":"2.3.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.1"},"gitHead":"5c64e67de329f210b701c16b02023bf75d70ae62","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.3.0","_shasum":"64191bbd003d60ef7a6e503be01237c61e713467","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"64191bbd003d60ef7a6e503be01237c61e713467","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.3.0.tgz","integrity":"sha512-Gs7RZricGozh06aYO6oN0G62tB0cP/gBD10A+c4o80xtu3ISCrCTM57KnvCQj2HYb6cPifhtDmNXL7chN3IcUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk+6Zye/IEfTx9iDbMPlAEbqwXx22gvYDX33JArneQ8gIgdUmDHfoo0nwdCrJ5QGIL5/dc/lW3849PKndfh3wrPe0="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.3.1":{"name":"resin-request","version":"2.3.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^2.0.0","resin-token":"^2.4.1"},"gitHead":"b99da1e21ac84c659dc52bec2b4c5f3e128345b0","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.3.1","_shasum":"57b584815b03979e637ef414825a743f33cacb21","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"57b584815b03979e637ef414825a743f33cacb21","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.3.1.tgz","integrity":"sha512-HrRPyA7fWn1u8mnbrjbPIHEFJhMnlBT9fiIdnlJkg63Mp++kSR3nQT3ZlYFaXY1Zz5LlVQ/ezPZrf5mQKIVx1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfVfJomxUBNFuqa2adoMn2SXXNZpc3I7aI9ffbcXtoagIhAPdDajxSPS+k/TkoV2mW9sfipQ5nK31A3fJVaAaFgeoh"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.3.2":{"name":"resin-request","version":"2.3.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","request":"^2.53.0","request-progress":"^0.3.1","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1"},"gitHead":"6a050ac4ac32ce8ba1c96791cf69ea433a1fc105","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.3.2","_shasum":"ef2a58a8f6acba6a963a3e167850ce8e8d7e9726","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"ef2a58a8f6acba6a963a3e167850ce8e8d7e9726","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.3.2.tgz","integrity":"sha512-9yYxUshtXWfVBeHoUUe6wPX5NflNdZSk/t2HNXZUCdV3J8pZASxHQw6CvAsrIeM/A8fPQHTw4NF6uUvYupmK7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1+rk2p8o8+Mpdi3LLxcwBPglW/zIgodCLtpI/5Q5UEAiEA/K29Fud7RS31cwdnY0869eZLELtS2nxiZpN0h4o89iw="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.4.0":{"name":"resin-request","version":"2.4.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"91d3cf3ad19e058b72f9bf466e60380b0ecf3c20","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.4.0","_shasum":"ed3fce3a4a10063031151d76204651536c5d5043","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"ed3fce3a4a10063031151d76204651536c5d5043","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.4.0.tgz","integrity":"sha512-GBh5BobIAyQ/HlVEqqnl0j42qTmU1/NIn1xUXeb2SMLReO4BHpLgJlHqOGFaiYZlYpa9kuq7CZ3tZyW0vfWGcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbhpYZCHyI5q+GQtYISY1bF9Qe9FI3aJHx0uzqGZXZsAIhAKghjv3VTRLlCBCYV0LtDtdUlx50V+6dT8NBF0EScB8J"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.4.1":{"name":"resin-request","version":"2.4.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"MIT","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^1.2.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"416dad64c5d996150941cee1521b2e2a2ff1a309","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.4.1","_shasum":"6b85fc71f3799c8c52c4ed3dce185a90955f4015","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"6b85fc71f3799c8c52c4ed3dce185a90955f4015","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.4.1.tgz","integrity":"sha512-lgfTgz6Jmc6pI4GOyihDHrARnp4adBl/XYXLuexbMoDMhRagFmwk3a81VuL7gdqL0yikxWBJsqVCo1/ePyC6vA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOFTT4aSjeg/1huJZV5hJDTK4vJ8IKA0GQYUi+fQUASQIhAOGOD8vNzI8hsMgbQ4uafxTpdNppwPC1RTGPKWec+++s"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.4.2":{"name":"resin-request","version":"2.4.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"6d0f58cf953fadbcee6eeb1f06cb9e0c090b9f7e","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.4.2","_shasum":"9daeb2c3460d4cfea9aea64745f172b8366379e5","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"dist":{"shasum":"9daeb2c3460d4cfea9aea64745f172b8366379e5","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.4.2.tgz","integrity":"sha512-sd9Q2dnl3Tk7jO4QrUNFWZuucv6o8xyqLBoPuoXYwDrhAUTNH1KTYWgKN02rcpzBmT4EqxKWWoMNzKSObnnR/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmjhbzS98j8qXCg15i40/GZM8iGPYuFvIIvs4dmkifaQIgDHGNnrCray+SeVnKrOcCqqP0EPohH78XG9KWYB6JgrQ="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"2.4.3":{"name":"resin-request","version":"2.4.3","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"654fce255a738bfd9a528f94ea6014d36df06654","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@2.4.3","_shasum":"b27bb06009f00ed04459c1165b5b0b073c899146","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b27bb06009f00ed04459c1165b5b0b073c899146","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-2.4.3.tgz","integrity":"sha512-u5ibFHcCrvt22AyWgBfN2AB/AsHBhKLRGstCcWHnf+RKvKipgWn2dh1hAETsOR0JqpusKZHZWO+K94ufPPcg4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9G6oIRZk7Scc2j6OzoSZTSXKxCfnAncI5p51iHEuRRAiEA04EPxHNaXH/sDh9wBJOaOO0biYB33l2X0JQtL+dHF/s="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.0":{"name":"resin-request","version":"4.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.0.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"a3fc6f9441974a47af7eb8c12bd86550a9f353fe","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.0","_shasum":"a74fb41082d0b1db6925cfc0cae0b857c08a4f94","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a74fb41082d0b1db6925cfc0cae0b857c08a4f94","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.0.tgz","integrity":"sha512-TZWT1GCFq2PoJ2V9KTksQ1Lj1ncLj2hQw++3T0A2JzJ61ubuYFD2qbXYlV3Va/a3cAGfdxZLEcOqmd6OcfSNbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClIhFiIBnS8RFiXsR3GChvivYwKfXHkp7hLaV6KzkX6AiEA5DphD0U3sD2S0/evD9qGcUHXhaspPOeLr8RPEUPEXHU="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.1":{"name":"resin-request","version":"4.0.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.2.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"6898e10a99e7325ebf1a1934f1b091fee2758629","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.1","_shasum":"26e815df3c4d6c72617bc4b760fe40dd302f58b8","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"26e815df3c4d6c72617bc4b760fe40dd302f58b8","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.1.tgz","integrity":"sha512-T1pR+wIP5PP8NhvT0yv7kdJ9qGRCpUjDU8jn+FLUqSf5/S0xpxS2owkbELGS/DnHhd2Fle0OUszBp83vGW9mpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBpdi/szs+iItF25w05eHZ8MIML471yMx/WKo4lc+MoQAiEAsYB0pJS8n7hjS7gfuzqwt7Vut4bYhy8u0NMqb2MSfk4="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.2":{"name":"resin-request","version":"4.0.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.2.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"daf29e7576ec1215ad50b26487fefb0220fe8bf4","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.2","_shasum":"42c25064797d2ad8ae46fe99b5700a5f5c06c21b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"42c25064797d2ad8ae46fe99b5700a5f5c06c21b","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.2.tgz","integrity":"sha512-s5ytMfPq5cn9bKRUMIeIkyOmmvdUcwMfaay31XNRRc+llcSrLloinurZf1iNDRyHUpEjae3TDIXh43QKRgE9mQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZ7D3wi+HWKqq769vcL24LFm1twzMynbiCmsy57mICHAiEAkZi6TfUR2YcEKIV2OAcLrodtq17W03MWBvyR/fvuLgc="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/resin-request-4.0.2.tgz_1455320221411_0.675711533986032"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.3":{"name":"resin-request","version":"4.0.3","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.2.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"ab39b4b39d64fecdb32985416accca71da5e4ae8","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.3","_shasum":"e7a172c24c1bbe404b543f986c69d368ea54f909","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e7a172c24c1bbe404b543f986c69d368ea54f909","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.3.tgz","integrity":"sha512-G39xks6TBNiBw0p0xDIXpMH8YgVuRGzZJoOXGIfV2URKZo2/6wDRdlL972a0GtgwBOlzdgf5WfysE0afkcmZ4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBkMU9DK01QIb718eBmCl+VfXWdOu+L72Xl/56t61sSDAiAhRFvX2mdQkIN8KeqH6duSrloATRcUN8+CqfoM+Byh9A=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/resin-request-4.0.3.tgz_1455747642128_0.2506240578368306"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.4":{"name":"resin-request","version":"4.0.4","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.2.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"6a47879069e3105d6c160550d34c19d3e29513a0","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.4","_shasum":"07835f8d114a0b5f7032b301d951b4cc317a463c","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"07835f8d114a0b5f7032b301d951b4cc317a463c","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.4.tgz","integrity":"sha512-gvTOXzN1tMsw7sTfXknFrBdvlTdus5sTPBM2zM2EOYTwWEL8MpJra4eUASdaTj2UBEuweJI8nyfG3bUIlJu3mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFCbxkWg10MoCRmI3YvkZIgLK+OHvPHNEEpkH7mdSvbAiBEaBMbAgHBe/CgFo7qmzTxMytuwwtDsFrcQp0+Tey6IA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/resin-request-4.0.4.tgz_1455849064486_0.5683209812268615"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.5":{"name":"resin-request","version":"4.0.5","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io/resin-request","repository":{"type":"git","url":"git://github.com/resin-io/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"6618436d626bb98d90b491e5e767acb00fe87525","bugs":{"url":"https://github.com/resin-io/resin-request/issues"},"_id":"resin-request@4.0.5","_shasum":"b3fb9a7891ff448f40e4e15f3eec1003722cadf8","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"b3fb9a7891ff448f40e4e15f3eec1003722cadf8","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.5.tgz","integrity":"sha512-xVXYVaZk9S6IatEMUahnKJxt1vgmrumG45/rYJ8VhLkXQLqm9Lu1Knn/Zc6jD8J6JtpOa2LzaYHUwGsaD+oHHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwJSyE674lEgwgTfK7BQZVTcMY3uPN0FA66IMrjEV/fQIhAJq1dlmRdKCL3zf3DNwwFSM218kll1SlwbZD5s04Ft7m"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-4.0.5.tgz_1457019541737_0.4323018288705498"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.6":{"name":"resin-request","version":"4.0.6","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"~2.0.1","mochainon":"^1.0.0","nock":"^5.3.1","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^2.9.30","lodash":"^3.5.0","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"d3a7083e2c267ff5a6ec0043d59b562c5d858c6c","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@4.0.6","_shasum":"6ba0865e0a9ea34343fb31170aa008bd6729f85b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"6ba0865e0a9ea34343fb31170aa008bd6729f85b","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.6.tgz","integrity":"sha512-l00fhsETk66UcF6A8h3r/w7Cx1fGQ3QJ9FednnhO9blS5Ye4bmSfI38JzrZmZO2xfXnw6vTPyn6XHARXKGpmCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD5HJjfWFDaqwh86j8WotjwBHhcGoplA6beyBSU8lsTgIhAPPvq5h5ZX1RPS+PxYIxxTmIWkbnxl/bXRhkq1tnzpag"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-4.0.6.tgz_1457545065710_0.8580937783699483"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.0.7":{"name":"resin-request","version":"4.0.7","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","nock":"^7.4.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"0e29000b65804da4a594350d5eeb37ad7fc9c557","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@4.0.7","_shasum":"c9536391d7b0bb01df3b6d5c6306c1e474dc0f91","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c9536391d7b0bb01df3b6d5c6306c1e474dc0f91","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.0.7.tgz","integrity":"sha512-DTW+fooSnqYRDxO2znBUa/FY93jYwtJunEE9sYGONVrQ3n5MRl7zKZHmVuOXKNSYEF4j7TyuP8+xESvgkyTVxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6DKmiRcw4lVUMqfQnSh3Hw/k5XVCD7czMs3vn2x9j7gIhAKX9aDw/hdyTRv9t61wWolnRYFMOwIrrdLZ3yJ5mYPyG"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resin-request-4.0.7.tgz_1457552682639_0.6834814236499369"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.1.0":{"name":"resin-request","version":"4.1.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","nock":"^7.4.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"8116dab892d7fdd2be62a3cb80555e291ccb7092","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@4.1.0","_shasum":"d94341b73fd5cb2dc077d9cc6885489aa8e723dd","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"d94341b73fd5cb2dc077d9cc6885489aa8e723dd","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.1.0.tgz","integrity":"sha512-5l2PsB5E5rbDU3pz903BG1yn9tFMLkMNf/bFO5/L02XZamrv0V94zCr2Ikx7HR/H7MVd2cm3oJ0zrYM6WfVZ5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT98wVwX1GQez3P05IwcvuCdq07LW6uWPkGw0vP4vkfwIgev/eyjRrAcmBqaN9HuU99x2t6DAd2kmUMKPSUhJDeRU="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resin-request-4.1.0.tgz_1457921722074_0.6471333401277661"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.1.1":{"name":"resin-request","version":"4.1.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","nock":"^7.4.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"1e68dd62d8cdae8ceb83441d5e665f8a37f2cd94","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@4.1.1","_shasum":"f5559b399dbab255876de9228b8c34642bcd65b8","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"f5559b399dbab255876de9228b8c34642bcd65b8","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.1.1.tgz","integrity":"sha512-K4wjRZGnD8E0QajHpLCrlaJi9WWMQyyAkBZPmaCHrZtLC/T3YW/oXB3Whlr24yXsR2o1A1e5UKg84PgBylTjLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGc/zTNzpBSkbcGuUwp24fWYXIUzwzTaxQGQzqvCRhjsAiEA51ny62+m8Fjxo8tpG3mHlVfM7o2n+wq5i9cWtk6uLHM="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-4.1.1.tgz_1457973200368_0.09790781303308904"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"4.1.2":{"name":"resin-request","version":"4.1.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"gulp test","prepublish":"gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^1.1.1","mocha":"^2.4.5","mochainon":"^1.0.0","nock":"^7.4.0","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-settings-client":"^3.0.0","resin-token":"^2.4.1","rindle":"^1.2.0"},"gitHead":"1adbec8307be9231430c6670f2f925ee0d3ace7f","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@4.1.2","_shasum":"0a2c95ba3939327c97da239e329eface836b21b3","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"resin.io","email":"accounts+npm@resin.io"},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"dist":{"shasum":"0a2c95ba3939327c97da239e329eface836b21b3","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-4.1.2.tgz","integrity":"sha512-fsGJybnW056qxFHFKH7g5ICCAsTowdaxdsvbmOAqkC1yASpPW1Q95ro0ALs12lc/vKAWM9yhPKvDJewqT+hHTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdzAMeXUpz5vXxOx7kCYX80kmc8crs9Oe40PdZM9CBJAiBnUWJH6dJ6Y/38HenrZJuJCJd1fpSF3is5YBrcuItj1g=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-4.1.2.tgz_1458228618118_0.14908353611826897"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"5.0.0":{"name":"resin-request","version":"5.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","prepublish":"npm test && gulp build","readme":"jsdoc2md --template doc/README.hbs build/request.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"^1.10.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^2.2.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^1.1.1","karma":"^1.3.0","mocha":"^2.4.5","mochainon":"^1.0.0","nock":"^7.4.0","resin-config-karma":"^1.0.4","timekeeper":"0.0.5"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","request":"^2.53.0","resin-errors":"^2.3.0","resin-token":"^2.4.3","rindle":"^1.2.0"},"gitHead":"ea4f6b697cb5b4fded79f29a460eda851a5f5628","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@5.0.0","_shasum":"74e2b56109288030ff9610fb5d2724be351c9933","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"74e2b56109288030ff9610fb5d2724be351c9933","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-5.0.0.tgz","integrity":"sha512-YCRnj9hcRBjh5/CNdLGixEZ99TYJw805Atr/4UC0j8o5rKhvPg3T3Phhbm7U+lKUq1W+lYAgfV90MGudDQ2xLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9pz1vxD4wK62ch7pPQJ9C6xjo+jBjF7rdMGt6AJbYnAiEAoYdcs2cLKdMx35UE5mz4KvEAu9YmL3Mubfi1ZR6dn4U="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resin-request-5.0.0.tgz_1473943650664_0.0984054240398109"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"6.0.0":{"name":"resin-request","version":"6.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.11.0","fetch-mock":"^5.1.5","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","isomorphic-fetch":"^2.2.1","jsdoc-to-markdown":"^1.1.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^0.1.1"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"afdafe5d22f3acb00ee64821a9decd0c1b3017a8","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@6.0.0","_shasum":"c25aa6fb65e04b5cf3c63577834bd8cbf4f75d4a","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c25aa6fb65e04b5cf3c63577834bd8cbf4f75d4a","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-6.0.0.tgz","integrity":"sha512-3gNbR1/emJ9FwLFgvnapjpBhAtpf6h6+jlIbemZf/I+lnuTXDIayIGALBNpF0t1TtjCq2D6cHuKNzRKauPHcdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHa/cFaJJ7H/njQB2a7zID7UbUBOo/zv2ps+RxmwYHrVAiEAzm6opYuP2PUgCIMKxXjHB/z93eCR3ZZ6KbdtEqyfWkc="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-6.0.0.tgz_1479672630149_0.4215043461881578"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"6.0.1":{"name":"resin-request","version":"6.0.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.11.0","fetch-mock":"^5.1.5","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","isomorphic-fetch":"^2.2.1","jsdoc-to-markdown":"^1.1.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^0.1.1"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"2b680e718f2e8f5dcdcdd35129746aee1490ca73","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@6.0.1","_shasum":"00d68fc8586c44021b0d96819914d62fb4514e07","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"00d68fc8586c44021b0d96819914d62fb4514e07","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-6.0.1.tgz","integrity":"sha512-1YPV7bRv8pGFxlmnOe+U/xJ/+kj6y1Jvj6wlxBcq+IKHGb2khFrkFah5+KTvyuLX/9IXiV/x0ZkR+OKos+VXcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMQy+cbHc8Q+58s0mRIJurFk89bRIvT13KDTRpZU5u5gIhAKLuO8tVsrtEx9DgUI3TyjmKoVDpI2P4hK8mStDvuHaN"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-6.0.1.tgz_1479983619194_0.18194658285938203"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"6.1.0":{"name":"resin-request","version":"6.1.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.1.5","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","isomorphic-fetch":"^2.2.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"4cd6d2419c48aa9c3cb58e93b6aa007738640766","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@6.1.0","_shasum":"bfc569638be47beaa69b89fcb38c0c23385b15c4","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"bfc569638be47beaa69b89fcb38c0c23385b15c4","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-6.1.0.tgz","integrity":"sha512-bzEoL5TAr8A8+DtvONWlHVH2gCLX0udBTm1KfMyO/S91+fMAMQI+5600JUnfCRiBu0w7Quv/Pajisw0I8eBFIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+IjLH2p4RNcdQvLUV03aTx3xs2H/sKt2UqVTNg+bubAiAFV8/ggZhn0p9N0RXAEtaAmgj7o1Fui8PaxQpLIUnOIA=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-6.1.0.tgz_1481626912431_0.726199013646692"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"6.1.1":{"name":"resin-request","version":"6.1.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.1.5","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","isomorphic-fetch":"^2.2.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"6d1b31ebfe230afd3b3b4d36aca4abc4b822d61b","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@6.1.1","_shasum":"381a9d87bdb38c713ae612c676e5a0b869074cef","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"381a9d87bdb38c713ae612c676e5a0b869074cef","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-6.1.1.tgz","integrity":"sha512-clpmhmIzHW3C5IwhGv+6LdQdF6R+JZssYmZf3rKFfG6mwvnm7pf4eR8lPFXJot+JmE5pAFvzTQIFRQQWj8oUMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8uLnLPSWSpX8u6Tc4sKYRH3IcyKobxymP+ViaYWKdHAiA26VHP/6+DrJ1ft15cuQSI86LiR5juJQN6JRIgpEJd5Q=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-6.1.1.tgz_1481642051751_0.6627716983202845"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"6.2.0":{"name":"resin-request","version":"6.2.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.1.5","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","isomorphic-fetch":"^2.2.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"0e7eb64596d019d6e7844fa6090bcce6710f251c","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@6.2.0","_shasum":"66c93c983cc8e9587efaffcd968c7a64575a6239","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"66c93c983cc8e9587efaffcd968c7a64575a6239","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-6.2.0.tgz","integrity":"sha512-QaoEPxMUgd9Py7Lb6O5zEa2Pd2BBHlxSl52uyVcawF5U8tUC0fv95kYwY6amUxUlw3QaVVD69ODBtQS22wV8eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMnN5gFH21pBtAVihws9mA/cHUixvuKuHOqz95olv55AIhAKyIBaRS4LWr2Gc1ZefXETZldNpOli6Ugq0c9Whga2Bp"}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-6.2.0.tgz_1481659501986_0.8921557778958231"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"7.0.0":{"name":"resin-request","version":"7.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.8.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-settings-client":"^3.5.2","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","resin-token":"^3.0.0","rindle":"^1.2.0"},"gitHead":"c0abed914e3ad5411bb8c5a289164c6bdd05364a","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@7.0.0","_shasum":"a503f59214d3848f6012e4aeb0131fa4f634fb1b","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"a503f59214d3848f6012e4aeb0131fa4f634fb1b","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-7.0.0.tgz","integrity":"sha512-9P9G36OWQluoyHhZecvrO65ef+WeO/4Ki/zNQxIQ22zQU1HVY3LNcf1rHh+7WdTK4WaXE/Vj1rjoWak+ePknbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWgqf+C/NbiHDGF29Db+SK/TqCD6amsgIOVck+yNJ1eAiA6v7nk4XYVhs8k+dErAREuMThuLE2bJgXGLMd+Yrs3+Q=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-7.0.0.tgz_1483363094500_0.2694050136487931"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.0.0":{"name":"resin-request","version":"8.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.8.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^3.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^3.0.0"},"gitHead":"20164ebe5e78e77fc48de785a41fa5d4c2fa6866","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.0.0","_shasum":"0e0f97397dd36fe09b98f1547f01fd7a66d0e5d2","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"0e0f97397dd36fe09b98f1547f01fd7a66d0e5d2","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.0.0.tgz","integrity":"sha512-TJutfU/wjYXvRSfEdHc6RWUvuOjyTpB5SXi0DJngQjhbYSbuqvSiHRZvezXtVHKcdIz7tQSF4Kj3PWdrElTO/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3uTg05E90AjKk3bLmzlpbkwiWj1jQf6QwSS1jWEjagAiEAiKe4UBq3wF5hFj85X6HxNMCBw0ym8n17i1BrPF6/B2w="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-8.0.0.tgz_1483542690033_0.1383484259713441"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.0.1":{"name":"resin-request","version":"8.0.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","fetch-mock":"^5.8.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^3.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^3.0.0"},"gitHead":"141f3be87300aff109f1a0a94e4065f98eb4c107","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.0.1","_shasum":"dbee7f976684c0589cd3841d58838038c6e6dd25","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"dbee7f976684c0589cd3841d58838038c6e6dd25","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.0.1.tgz","integrity":"sha512-K8tn9UPRQ0TKL79bXm5efWXZ7A9TK+2nZtvyhsA38lQaeBOGm5uUP0gKN9qZH0E1+AnhsUt0++MUP0OKpVmQ0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUplZKPbhKcKbvVByPr0XGQ0uvMiuxiLnAA1Cg+KA2kAiBhQFLOcaqegdXAJF9MZrJiWwNX1ag1pLh1eKfWFKbYTg=="}]},"maintainers":[{"name":"resin.io","email":"accounts+npm@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-8.0.1.tgz_1483626572260_0.18308921623975039"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.1.0":{"name":"resin-request","version":"8.1.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","resin-fetch-mock":"^1.0.1","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^3.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^3.0.0"},"gitHead":"6909fe8c21be9b041c7e7ffd42a8c98400064880","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.1.0","_shasum":"2c39ca667bc8655724af771e1c81be73e874dbcb","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"2c39ca667bc8655724af771e1c81be73e874dbcb","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.1.0.tgz","integrity":"sha512-qm1FssWIOVvOSOaUZEmWuDVR5D/geTQScaPWUt/FfGtb7E/RkDyAWpfpf3DvHk00V6W+KYois7YTd2EpczOBbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQZIEFgldAA/gCksQTnA08+3kahfta0oY7opJRJZ/xIAiBlsq4uvLZsB3gtQvdJFgV5BCS7JUfQUPtj7YurHADbgQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-8.1.0.tgz_1483714003001_0.8864190028980374"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.2.0":{"name":"resin-request","version":"8.2.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","resin-fetch-mock":"^1.0.1","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^3.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.3.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^3.0.0"},"gitHead":"d4385c11df4c0da67ef43a51f2a4b79ca8283112","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.2.0","_shasum":"3fb9b6a4668335b2adcd0024e258f444d49dfb1e","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"3fb9b6a4668335b2adcd0024e258f444d49dfb1e","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.2.0.tgz","integrity":"sha512-OK6nxjvXtv3FsoFUOoXKbXqyaaMISyFp4RarMdL0Yz+rNQfwR3nUuf7DtwG3kw+e3KzL20sZwaCtKSS3HNQkOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVCxkuvl/dXAIHwhVMmXeY2iHVEjEm/sw43mVO+QVedwIgXYRm+HsK3ZPCwTIDMRMePxgXpX9JDMOGeLa7q4Mhg6s="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-8.2.0.tgz_1487594296925_0.8730031414888799"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.3.0":{"name":"resin-request","version":"8.3.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","resin-fetch-mock":"^1.0.1","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^3.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.5.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^3.0.0"},"gitHead":"804a1ed815f2468a0230f96f332300e7f5852fb8","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.3.0","_shasum":"8d756e168af1127553f1450ed6257c6378b477a1","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"8d756e168af1127553f1450ed6257c6378b477a1","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.3.0.tgz","integrity":"sha512-Ea9xI+vbWrQr2o9Z3SoHnz/a5I75hQDAIC/0Wl3R6t9Hw/YA9aSIWdK6JlART8xpTlWtYeLn9dPkeAHBZUwANQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCmxXCz4j4jBtuvTPZHIiZWXpTmsGrcw8Dd1U6U7hurAiBcHzbkXSyROtdZ4B5GGzy0d7dtmJuh3BxMgjkFRCotqg=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-8.3.0.tgz_1487878601285_0.3731930726207793"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.3.1":{"name":"resin-request","version":"8.3.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","resin-fetch-mock":"^1.0.1","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^4.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.5.0","rindle":"^1.2.0"},"peerDependencies":{"resin-token":"^4.0.0"},"gitHead":"93b61e9d6ef9ec17d81de47aad1078a81f66b131","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.3.1","_shasum":"caed62aceeaf1ccfcadc6f606883a6309526c3be","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"caed62aceeaf1ccfcadc6f606883a6309526c3be","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.3.1.tgz","integrity":"sha512-J5NMDlfLTBDfvOMQbsJPZjzR/tFkPb7X79Decs1Y7bi+SoSJTtcBcO2Ikm/e4adPxDUuiorNs33LcywLGQFj7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFnejC/QaEtFs7hID6LsOiRTJajufKeawNPeav03wTtSAiAkoakAEDfQEiDBNIj3P4B83vBLW/gbtLoKg4M9tT7lOA=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resin-request-8.3.1.tgz_1491225944309_0.4905095212161541"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.4.0":{"name":"resin-request","version":"8.4.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.1","resin-fetch-mock":"^1.0.1","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^3.0.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^2.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","resin-config-karma":"^1.0.4","resin-token":"^4.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^3.0.2","lodash":"^4.6.1","progress-stream":"^1.1.1","qs":"^6.3.0","resin-errors":"^2.5.0","rindle":"^1.3.1"},"peerDependencies":{"resin-token":"^4.0.0"},"gitHead":"18e7e2d35b4c8377cfa3ceff4e34f90230b8ca4d","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.4.0","_shasum":"7ce11540d568129ed0a3cf092d1eba307b2943e3","_from":".","_npmVersion":"4.0.3","_nodeVersion":"6.9.4","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7ce11540d568129ed0a3cf092d1eba307b2943e3","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.4.0.tgz","integrity":"sha512-nsJKzVpwU6rGj29CWQv1310NNGpH6XEH61ft5Mrl4G3/bVBcZebPbFQakiI69Oyj1/rMHaqaZVp3kQCfUdH4GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDstc2klauimySOKevs16PaB/QvtHL82oLZg52U+aARggIhAOnccd0UWrxUjkzbePCI6/4Pzem5ri2fxm2Y7qGUstcl"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/resin-request-8.4.0.tgz_1491865087581_0.36417799256742"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.5.0":{"name":"resin-request","version":"8.5.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","resin-token":"^4.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-token":"^4.0.0"},"gitHead":"ab53036480d6ed7e6835452400edd3077e82cf76","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.5.0","_npmVersion":"5.1.0","_nodeVersion":"8.1.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-SyUWTlQ8h4Zj0GHEP4+dz7zpGMeymM0L1aieaBzFilBRA9/iPh+MVDHUqgn545EySfSB5HLg9pdfpF3oPJPQ0A==","shasum":"bc1500690fecad92c44f56ff9c89ce9970d662ff","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxETDjUXTrGhlbeI/DlmYDxFxbx/rqjPMQY+/svzamtAIgPQDmGgU8X4PltRGCf+CnqQ/km62PWLNXICRFV7/zQ4Q="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request-8.5.0.tgz_1499436861704_0.35275144688785076"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"8.6.0":{"name":"resin-request","version":"8.6.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","resin-token":"^4.0.0","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-token":"^4.0.0"},"gitHead":"ca1cef5b744e9a0370c446fbce54a8fda68363e7","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@8.6.0","_shasum":"79365f3e5cb39c195fd782b638b4217374213994","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"79365f3e5cb39c195fd782b638b4217374213994","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-8.6.0.tgz","integrity":"sha512-mN+0u8abrosEMAgnbd1cY4nDNSsxtJX7Jq2ulgegeO0uMPaahTx2g22dV/6s/SeEn/WUHgkgJEuXGvNSzSyVMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEig4q6PTUfIsTkA7fcRt8Wyzc+EFLHsMjFWVFd8kc0nAiBZ01GfTe6bLj7D4DfXto87ts9bANqLcuJD7sB4eYLRMw=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request-8.6.0.tgz_1507221146172_0.28092725365422666"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.0.0":{"name":"resin-request","version":"9.0.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"ff3a44883e7d6ed226a77bc00ccbb0f1f936a2cf","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.0.0","_shasum":"e7fdebeff03d3a1be88f7fc636cdbed5073135f8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e7fdebeff03d3a1be88f7fc636cdbed5073135f8","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.0.0.tgz","integrity":"sha512-J9LtKYtqkPnm0cHMVZmmfsfVWGYJ9zKC2YTxEieAZZomqH1Yg4yI5Lr82hop3G7K4w/UH9cHldcXKGC38/pgeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/irj+oA+Gii6LTZKenfEaSlOetwoCNTSm1JaJaGAvMAIgW8bB6UtSUn+Ha65Ic2y5zBcl2ipeBrssTfOFzbaYsvY="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request-9.0.0.tgz_1509444112003_0.310853757429868"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.0.1":{"name":"resin-request","version":"9.0.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"ba918d4637ad816f36c7f75acb55fcdffe9b9b6d","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.0.1","_shasum":"df8d640322bf1560a8bfa0a24d85807baa978a58","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.8.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"df8d640322bf1560a8bfa0a24d85807baa978a58","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.0.1.tgz","integrity":"sha512-+wepQ/x2SakwoXEf1S6VujN3AsbrWalNhr+RkSMTsqXfNWSh8NOiMbO6dV7e/aPeSGiUKFosv5Bm9WaSQBgjAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClU7sG8WudBgON8kvNM0+AUVO1n6IHU7ERFUiLVnmb0QIgKiXa1cG6i3a6w5T1AeNBfKElmc9ZDYzBl7ug4yTLCjA="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request-9.0.1.tgz_1509541388837_0.7577314106747508"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.0.2":{"name":"resin-request","version":"9.0.2","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"^2.0.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^3.0.0","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"f10ffc47ebaa91176da8a2e66c4ce0a7665e98cb","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.0.2","_shasum":"9428794c352d260cc7b8d0a60c2cc0231a107521","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"9428794c352d260cc7b8d0a60c2cc0231a107521","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.0.2.tgz","integrity":"sha512-n8V/yiUWJrb8znZLWr13FZCRxSuxPjSkKUVCqzds4wT+LI45R+k9R4sUcsZd9HOR9RVVAbPFWCpdqC20utjWKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKCyFDfWYObD7D4Vb+YiumQL0U2d7yj7eYdEL7lZ97sAiEA1PF0XXSk/M7/aDTaLSnV9hkqPJ9xg9JkFU/HYkNmrYA="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request-9.0.2.tgz_1511372955732_0.047226328402757645"},"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.0.3":{"name":"resin-request","version":"9.0.3","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"2123f5915c515994d248771b683dc6b1f3886edf","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.0.3","_shasum":"f631d43a70d61e03daaa28cde166357f98b666e3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"f631d43a70d61e03daaa28cde166357f98b666e3","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.0.3.tgz","fileCount":34,"unpackedSize":432074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4FHtCRA9TVsSAnZWagAAYuoP/3KPF9bc2z8sewLsEw+N\n1g7+rt3kuzTdvj2i66jXCSg2dwSXmJOBKPCl9E2YXFbiFkdbRhIkt7NQF+5y\ntb4m2expryneWG4AL/Uq3Bcy8eVzGVAtrDdHZkFeu2IrzB395v7nLsTA1FQm\nmpjJ4JM3kQtwTwkvV9hxoP11h62IrlTpRSERnFYbeQ9o8g7M9DeyqD8ouE0M\nefPhtnRwiRlkWxKfiocyJLxDfHQnQ1/IsFH32rqPn3tiNYoPtUgHUvOzrgxm\nRJw/g97KcwL9CK7LTtM3QVSq6DDkj7SITbwW/g3rotiDgypVZD7Y/T915SW+\n866Q5/KL57en7+MgtfTxqwgME7cn9Ex/CrJJa4XISPNhrVAnqcZTzeSob4OG\nU/S7EwUCnHfL+6AReiIB6fQZQABK5LkKDPL2kuu5tzSD7xeMQCJGJmdbqBFE\nLvvGlscbaf96vfiWXgVtiOulV7pwzAYOYkTUOkE6yb+Y5QSClKVvngiglizR\nCQ7DXiO2ys2+LN/kEa1YuBRFWzAgMftD8Mazc/x4gZ7XBdLLeg/3hbQH+pU+\n1KtIj2HZAUGpXZBh3UfAyjaSRlJYXhG/xFW5gj9U4RCRFI5lXDuhrXoL54yU\nSP9QhCgcT2QRkHHAvPuV4YKugoEOZ9JchW6crgLNCfhtROQdyaBENGaGNYil\nIQh6\r\n=DVlM\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Gx4lahTPa6ASHX3jzo2meuNQqhT1C6JwHHYHJPtByYY/1Q3gVM1yMIzs0SyL6CaelMr9ch29UTnPXEznKhNcPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcYHMeHs+Zp1IiqUYkZeCRg6/yXEXkxlEGHunoNxn8cQIgOr4jAnNVcpOr2sJ25wfDHiFN4oebtPpjyJOPyzJm/JE="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.0.3_1524650476581_0.8437562579690754"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.1.0":{"name":"resin-request","version":"9.1.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","mocha":"^3.0.0","mochainon":"^1.0.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","resin-fetch-mock":"^1.0.3","temp":"^0.8.3","timekeeper":"^1.0.0"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","lodash":"^4.6.1","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"f5ec2190a445c2059236538d551cf4f0a26176c8","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.1.0","_shasum":"e60684355059d158660761aa469a4275c5af0084","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.2","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"e60684355059d158660761aa469a4275c5af0084","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.1.0.tgz","fileCount":34,"unpackedSize":432619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH69qCRA9TVsSAnZWagAAO7YP/2e8wHA15dSRA6llJQAH\n/md0qP21tnpeAUjMSwAoKdsh32xcCZ680UW7lXWDzzYB9V5K9SSU93dR3/ZC\n3fVn4V5wM3PEcYUj1vpXpjba9b01tUlgLjD7T4p0gR3VvUuG7r65Ax2fTpZV\nC+k5HZLZf4LmzFUPe68ONuJLTlTNKUCO6QDsaJcfCcN4iuI5hP0dufa4ZenG\nGEoQtM3+8bFspmlLi/yj/qAcKcQFVvH+E05jkuP8RDI22pLKejJf7pq2eq8w\nuE5uKnGTyqvtnYa1gWJq2LHSrPxrsnofE5YgBJmtVuFow+Fok2wAFUsJ3x9/\nu1uc5qeeOGa0XskoIniJeJIygRrZjFr6YEcMdvSDHoD6ftAOzU+H7S7kqyOz\ndfC3NQ0JE0abvA7UpXfab2PUJAVIsLGYE/wd8rTbmlrlnPLplRyvH5sy/zOG\niRzCyZv6clCWxlJeQG1T5FhGF1mPjWkGsehr2t9zhOxrFtsVSlJjjSO/BFMk\ny8oG79iYzMzoP/MbN6jt+kemWsTCvbqQKWQ+CY0y4U4pNlPF51P57owdTc+a\nogDeOE+CzfWoxRn6F5P+Qi/7cJ20EVqYX8Kqu3s0UH+4HaCS6+nKkEiD8Swi\nti+xrEpMZGm7MIOLHwO5HwASC61HY13hoaexxCpPXXg4N63FRy18tfxuQ0Rn\nEM4d\r\n=8KZG\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-VSD/twzd8lXqJukC9JHYxbC4mfxowT9dWevoRiMYjojQPsd5yDqJFj9xnt0he4HoxQGt2wfvpKqAi1w6xIEqlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFsubQMxatjR55L8m5EcyR9Uc7nhbl8uLIL/RnP5OZOAiEAneYEDkp1PNkzmDI7hX5Cp6sVYwhwOFh+9hrH4xBSa8U="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.1.0_1528803177476_0.40857128927022246"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.2.0":{"name":"resin-request","version":"9.2.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:donejs/node-web-streams#newer-version","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"3fab83e9309f5dbb4a1bf9333fe2bbbca8be208e","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.2.0","_shasum":"d240325591a314db722c433a91a90e24d5b394d6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"d240325591a314db722c433a91a90e24d5b394d6","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.2.0.tgz","fileCount":33,"unpackedSize":132287,"integrity":"sha512-Sof3cWLMr5nMqRQK/LLoitIxz1iV2f59HR7kKwweA6A4rCb0SjXxn3vFxR/GaJ0C5k0pn1Vcae/Gktg5m7hHhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCmdRJ7eIwIwCDhpS9kPOTCibuKRJSYmLyu62c8cOqUAiBNb+oVDvVhlmw4jv2wOZHCmkos0ci0IDSIB6pa29kg9Q=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.2.0_1530537992470_0.894661302414836"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.3.0":{"name":"resin-request","version":"9.3.0","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:donejs/node-web-streams#newer-version","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"0f9bd124fcc62477ae633e98190aefa121dee920","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.0","_shasum":"c81794e3b18f0dfdf7cf213d4f3230d9f88686b1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"c81794e3b18f0dfdf7cf213d4f3230d9f88686b1","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.0.tgz","fileCount":33,"unpackedSize":135835,"integrity":"sha512-dfKH1UG7/T9f8v2Ojz8ayqAtaX3mIW6pmH/D4t5vtJhkclItSiT7bjxebqXd4vaFD+oh6e4yYhFMBDVhbtHrEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNIQCxZOJHdTK5An/tn6dvTJ3ud3pRE2TusQu4bU3m4AiAiqZBhAyaQgKXibDw8/tkHmvDf7C4cTF15dvh2H6nbiQ=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.0_1530795003180_0.7487164484120452"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.3.1":{"name":"resin-request","version":"9.3.1","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"b51b0ec1107c3b5e5439d14544783f48cfbafd2b","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.1","_shasum":"7cc7cd1c2e691a3d1bce4ac347d58f31bd14db4f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.3","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"shasum":"7cc7cd1c2e691a3d1bce4ac347d58f31bd14db4f","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.1.tgz","fileCount":33,"unpackedSize":136310,"integrity":"sha512-jYg24pbtsuAL6hWUszVfe5uEyvhWiNESOWAhB9qwhFDON6zd0AHVRA3iHSzuzZ+GlTlQCf/wbLsFj8OPwxoUIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqvkWNrdrBB8x+wF7NfO+poKw2DRH/ju6jXQcklVA/aAiEAjSP03oicFz4Sqq112PlP/UTshwEEo8UGQgb2O+1Ysl0="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.1_1531132050235_0.19696843337082726"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400":{"name":"resin-request","version":"9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"ddb939decbb444e6bb44994e18ec1a6abb285400","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-b+knNaDmqfmim3e84IB0bh06AlShbj9XxQW6OHaKWfDKrKYteHVadW1cTndwTf9oOFAQaXQe2jRSKV9U73JLJQ==","shasum":"e2a1223305011a8d7439fd8ee4771523f4336b7e","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400.tgz","fileCount":32,"unpackedSize":138798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm1mvCRA9TVsSAnZWagAAvL8P/1JmGWrbfK8BBc7mbLWB\nRVsXafNvTCCpyJbQr/515+fDx9y4kdhjjM2PrmJUeqcZY+nqOZmT14YnUIFd\ngkgrCPxwyLmOXOsWR18D1TDxXyzRlOZbRRK/CGf/EAACZx0LLAFOVvnnNCra\nWydGq9lzK1byi2JkHH0qnuvmkxa8mP+2x9lIyoGHNTogXmE8aWuqvKoDu60s\nRECbqgWtNiNarmtKV3xcdpqbTyASJHSi7brLv7bFH7YyTmDaeDOqvzTXl3m+\nuYyvuQsEnfk3dygU+5EzXq9MCpq1cpUOTpV5Bo77K+A4Cvy1zk7Fx1AriEP5\ntKfov8IrFwCOCJ0h/g2gPpJ4WSYjJTNYEnMyjBB+01QKUhS8CON6ng95eg+n\nnplqGQDrZY7lBVrz1N4b5j+Fb4ND37Y/HJ1IDhIBr4wXqADi2FWZQ6jADG60\n8ctGupNCoev8Pdv5kIGk+hX50LhL1lgjxs+oQL88kYEcd8lbSiWdn8hFQm1c\n34q816smRIax/ErMD+54CxxYKirTrIPqvan+OcXXfT15gShFxd7p03UFxo9B\npMqx4JXx6dRulQhQWHVzkdko3CY31YexBrW0MMrNPTabr+NxUxauRehBGCaV\nauro5lH7A0jJ0boUGgGQccCG4BLYUX/9xjJtQ16u3tR3O50Z8KjN9sfbownP\nRdnV\r\n=yep0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbosUm7l/arqbv1VYXblAPgyGjH6+7UQWvGeraf2hxMAiAtixaZxJAw+8/J8cIx+u5BVIqyZjd5BZheKbc9cWh3cA=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400_1536907694970_0.5188268982155784"},"_hasShrinkwrap":false},"9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f":{"name":"resin-request","version":"9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"ea7378ef49177dc48669ee9e8457f322e4b9199f","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-ELvTD0wBh22scCCvOq+6hCZ5kgENr+ONEbNlC/eVh4dAShA54rt1WcWSPZUcQyi/X8Dj/8uVULc3fG+bUWz1gg==","shasum":"0f5bdba49be19e121f5c58dfe78ad2f1cbed3848","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f.tgz","fileCount":32,"unpackedSize":138684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm2kfCRA9TVsSAnZWagAATxsQAJw4z2zMibwX7BgwMIDW\n17JYtbyZysDH2I/18lrNn5e8ZC+pth6YtBTx/v9HX2bCWqz5UBQlHRDIqM1t\nufdWUoaVasFcVxpuuXPe8BUZzdWhigktLr6039c429VRp5JNRIX9Af/pQn+4\nkohq5WWCJokCkLIJrpxSpqNijhFySlEL+x5cHhiY1/9hvB9Pqnu02mUPvHh8\nPOT1p0zTA1vrcp7HYA772uIR5sEoU+FlVfeaT8xrYmVvop99ZsS0SJdAX1Bm\nmhZZK9SSwOoZ8nAEgkw2/1o/UQ6zOIFJ/GdmGOSMIfzp168xM74OY6/eFn1P\nSOufZulSjmUazBZ0tn09BCm+weiveR2PKxgJAS/N31WQMPDAeHx0kTjiVD2a\nzgEoAhB99p3Ss4a1amxWU3MO56Rn3zj4Y+2AbGYQvdux1jv2ajHhe9/dmSS6\n3kxYWQk3qx+z/VkhVgknnLa1e48UhQMlMcUBJXXCD0c6lXsUV5wMLVYFHnN/\nT+/7fATwWfQrzL4gusxIbQhlrCDgbIASUkkhROxhj9iX0hc24BhRQo2L5HLD\nIQSSY11HIMU2CylfXqA7Xh353qJci+o1AGqM+lGtqS6K3mn4QWq9mdtSuxnK\nGTaByKLKqdWaXdweQGVjTgTWCaBSKgRC4pN6mbZGL+0Lih1Sdq5OzagBQDIo\n/zZB\r\n=YnFf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOsBrGfPZHnYaG1gBkp6qDdOAt5147uASgAvy6HTfDtAiEAuSzRZYbAQgu7JtpvIexbNOmqh272oa3hxIbUH2kTQ14="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f_1536911646952_0.664782747883665"},"_hasShrinkwrap":false},"9.3.3":{"name":"resin-request","version":"9.3.3","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"465e8717799de56c96f1fb9a2e5a915920fbc80d","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.3","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-4hCrJVNh4CYGEduDiFokGiJwLg4i1WRAM7H70tPLOne5nK6r+zdt6RJSbYjsLNXJJrR8T64aZ66aMc74KNqTQw==","shasum":"e6598918cce4b142dc8bca24a54dce2cfbba3262","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.3.tgz","fileCount":32,"unpackedSize":138618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm3JmCRA9TVsSAnZWagAARrQQAJv+Kr+z/JmcCw0U6KV+\nRtHrC8LpjffC9HMPX+8llDuWv2CSP5cCZyDlyxhz80eemr7HNcRrt+KlvrVd\nL7difFsbvNWek2Rx/GVH3ZGAml0q9rFuRtF/LO3uptIDSWAzHZTymsrbcpb5\nfApPkWfutXbygw3LpSdbqi84WgbREw5IZs8EvKBKXfFAbt3yoI3XiKIN6Zh7\nGc1goUwy6nmAUU3vJ++Ch3UKV1vySvdi3bHXVpuavJczLJYf/tqCrK6or669\nBcQhuZvzL+OHX8ZGkUJDZGuW55NhQZUPN24fbfgoazI+VxkH3sW0mncVA07F\n5B24kKDMCXAgPBvCgX4Q8SvbvbdJkzNbqu8brVQqJwnnF9airuYcDWOTn0e/\nPCkUlV0SqsfJtovwmk7hPvlupwHFA9eNzWe2mJmc9ZWKVVfjBTj+w9uY/giG\neQmTdq/NX+kbAjvFywPDJ6onz59RI8ma1eeSezYsbf7kxZp9K5a45SLcP5Hn\nTUwfIwOV5hYRqx4lqFCmtPnaXXIJVp5YVjiPmKPVoTzwPjL9v6daKWvDCp2V\n04qOX9CwhQTimtKapCUXoHC3gLdXCd5hzKTuXaFsU4PMMzv2jZSq2MQ8G1pW\nm4dybvi04qlPv9+vYDV571hpw7orZuinFKJvkIsq3kjaYmQKlwy6YZ8dvRYf\nAOP1\r\n=9/2a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSc9PsqvurpxgNGmT+GchFWmL2ul0C/Hob3J/EJYZScgIhAOjTfmJ5K2FarKGNTgyw1YdwH86ox4sCYvG4+ASEmiW0"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.3_1536914022175_0.8092571881564594"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"},"9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72":{"name":"resin-request","version":"9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"npm test && npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"c8e5b5ced6100ea4b8d47059edd2eee046e05a72","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-f7n5Bjiw5sYt6VKhC5RGkvIxfXyuTQAMhgs73O2N+fZQbm7Zq5Znd9lX1BKY8Z7dwvPoM15Homv7PkTAt5kZQg==","shasum":"ed8fdca54f17b48f258b57e15e336a575c8b588e","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72.tgz","fileCount":32,"unpackedSize":139724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm4c3CRA9TVsSAnZWagAAEJwP/Ak84zXmr6Q8XBEOdOXo\nu8+a4mt0YgHin2kb2WtHvCK+T9wGRsFDvxDkWYoWd+pLZteiMXdn1OhRwzMi\nABKJ71FyRkuxnGWBeslhD2xPuYhUx9oXPdVdh7KTtmHf/Jbp48giNKoyupk2\n4EoV/wU842aAod0XAsKDOlnmwzRimxaZ2jRIb27Mmv4XER/7wMr7gvHk8qPD\nb9NLoUCcTEtTLZIdDl//c0ZXYVgqwlijJ2k5UoT7GNKfmgbOFfqWowYHYTKs\nJdurkCUx5bcE5FTi2GlLd30w/03tA1JZ68MNomUMeqy/Y4BuPBsO3JKyOsJV\nchtQdv6ltdkVVp1Bt6Pa0fJoddIa7lDtY23zdEBbd35jL/zFnSR/1Bixu3hh\niDnzFIPfAz0ANtJx88n3Zrg9EAybWvLjbij5QJi/OXptiz+pCChH8ac83zAD\nK4uXqtrAhOWpHEcqeeYXOZHUJUVV7YD0abrIOW/qSFjI1JN0h2TrkA23XXn/\n3g/jKGm3QGr053b7veyKCZZgIPyNJNUeGV3NermS+ftQsmWfLBGyAh1QhIdJ\nuWnJjSD0b6DhY+ityWUKnFdmtJy0AzEJ+DBr3MTP41B+E0v+L8QXj4ic3aCh\n9NHA4C1rCpbeeuqO2vEs1v0E62EdycnYARmrpq78fcziLWHMM6VMA0i7Z33w\nQNOQ\r\n=LXY4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADBQ90WuKKgshDr8hVMkzyLQ/PmqW97Lk+/bTsgE/pjAiEAqgjiC4+WO3bTBaJwWctMgYc6dUbijGKrJFLI1TGKrQE="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72_1536919351048_0.38003473833758394"},"_hasShrinkwrap":false},"9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27":{"name":"resin-request","version":"9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepack":"npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"82a73d271b24dd968473934b5600136fcf77da27","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-FpMOxhj6c45TmNV5gHMEuqkNsETuqvVz3SMgNR5hleQ8qtgrX7Ij5hFQGDFX+9AxaX323iXYvQUpUX7STLVuLA==","shasum":"c912d298a308e977f65da7d326a079e89bc1c71f","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27.tgz","fileCount":32,"unpackedSize":138823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn1a5CRA9TVsSAnZWagAAV24P/2/uQYUOhuE7xBj0CsMx\nviT1PP5wqny50IfbuxJ9ocEpQI1DrvYeEXlDJbq7NTtsxxpbJyD/8GxcCsaj\n/LEMFbEDuqHUVoKT2GBnykPO2pQGK2BxoyeZoQl5sEmUza73tm4lqrRiqgWo\nuiDIfyNxT969FSh4hHn3scLkOHCJXER4PWA8mHWS+gkV8eYY8BNf54C/WpoD\njZfQWPPWIBl+L0gykZgb0sLG7KkR/CiWjCTSFXeMSisv1hoxzYWLBeo5tU/7\nc8gNLkWylakZJSNzSl17Af090DHAA94YCgHUy8ttGaE9Q/TrymMFEhrn1I7M\nrz5QXcm1ctz6qcFHUnjF8CzA5nRr2f4s4TrOe6yCceVbOu2Mou+sizkfSsRC\nj5nv9RxedYi0Uh7R0ZLcUgTavMZEK9jUesliGidsrWtuRQ12LPnKV6+h4zWu\n/9k/jBIACqpsD70/xzCR3eBXyvBK5jhdMkqXM3C5G+qZql1aEfLR/31Fvw6P\nNbvzlJDJ7e5IBuaEJMvxIPlXelmECyQrXK1wVZxwOMaFsval0fDR++efLThL\nI8gVu4tj5exUnIz7UlLMx8RfnMa5Pu21pEpbEYfrSmX8S4RqZ1rq+w7soyEj\nLwmoF5NJfesImFD/uV6RAwXVbb8dDKeNr4n/HXKwi5uiqgzMMFgY9iotetu2\nX5B7\r\n=YEEz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+4RLgsai567ERKT+j2+ImnBzNNU8/YOuGeeaLDiDBxwIhALWCxd+Np+RRzvNj4hjaOtv4092B+IhtqIxcK8g17VLr"}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27_1537169080831_0.7399260539115144"},"_hasShrinkwrap":false},"9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6":{"name":"resin-request","version":"9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","require-npm4-to-publish":"^1.0.0","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","readmeFilename":"README.md","gitHead":"ba50fe34f970182279e4ec580c9a2d209d11b9e6","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-v2q8h0c03ecyKK2dZfmPCh2bezW18sMsfY9faeZNrJmeidpuxxp7E/lpdpaZt1gIwnKdwgTSYUF1Ct3+pyyJaQ==","shasum":"354b3f30592f90d9a446d8a1673990199f65cd47","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6.tgz","fileCount":32,"unpackedSize":138916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn110CRA9TVsSAnZWagAAJzcQAJxnBLMbq3JzfsV2cs3/\n5vKoqj464+m3PA4e6oJqH2Q7N41GDz6lfiOboZANCWaavY1w6RUc9WhhpkTY\n+1NbPzxmi58sQis+iFFgmjOnISmHLls6aoaJ5jPIClOxoVfWnMW8OA4pOXDM\n0zIDTVVoL2V0tReK+7qBqIbZ7/BsXbzMR2LRe698pG2ujyW++pc/Nd/A91PT\nrpp/EUniCw8l7gIBX3skeF1kgbbso9VYpigY6ddskClM+iiUneACT3G60jRY\npfZUkBYDNuoOPH9GD54bbpxyZqddh7in0XpT+IFISdUVd1+YnV0SWAY/eRaB\nXIIu974/us9hu2ge6qmu7+DWrjk14p3n7nbxtRU8FZAfkdtFB8UBTXVqI3kT\nF//NiESTgnQa2ZMfFcNAF9YyRqU17CDNKWkiUd8A0npEuBt41EcfZHHvgcSD\n5xZPl9htPcFYO0GCZI/Uqq/P3q3uhCAhTpKyz8VUo/7JycVMWaIW8LvMdeGA\nWEngNYMS9jtGmn8gxihYD0+cSITovFTmSmhRqVBCz4SaZKWajbIOCqe/j5qi\nlbUn//qKAEIah+DS9yVJn9jU1A35Mbm7/aR4EeySZb7JDKi4oQp+XEL8jiK/\nTvMyyJBd9Z1fiNTNy582ezlOx/7Ua04ZcCSD/b5Acy9MyLshCe6qun21CX7a\nOILJ\r\n=DMuo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaKve5TN7ehoojCVZZt3phtbT8/FnoxsrrmunFE4GU0wIgRhS8blkpuxVnJaosO6eFMFs6cnbZlGAkNqLeWQOUaIw="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6_1537170803869_0.8747884284603216"},"_hasShrinkwrap":false},"9.3.5":{"name":"resin-request","version":"9.3.5","description":"Resin.io HTTP client","main":"build/request.js","homepage":"https://github.com/resin-io-modules/resin-request","repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"keywords":["resin","request","http"],"directories":{"test":"tests"},"scripts":{"lint":"gulp lint","test":"npm run test-node && npm run test-browser","test-node":"gulp test","test-browser":"mockttp -c karma start","build":"gulp build","prepublish":"require-npm4-to-publish","prepublishOnly":"npm run build","readme":"jsdoc2md --template doc/README.hbs build/request.js build/progress.js build/utils.js > README.md"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"license":"Apache-2.0","devDependencies":{"coffee-script":"~1.12.5","global-tunnel-ng":"2.1.0","gulp":"^3.9.1","gulp-coffee":"^2.3.1","gulp-coffeelint":"^0.6.0","gulp-mocha":"^4.3.0","gulp-util":"^3.0.1","jsdoc-to-markdown":"^4.0.1","karma":"^1.3.0","karma-chrome-launcher":"^2.2.0","mocha":"^3.0.0","mochainon":"^1.0.0","mockttp":"^0.8.0","proxy":"^0.2.4","require-npm4-to-publish":"^1.0.0","resin-auth":"^2.0.0","resin-config-karma":"^1.0.4","temp":"^0.8.3","timekeeper":"^1.0.0","zlib-browserify":"0.0.3"},"dependencies":{"bluebird":"^3.3.4","fetch-ponyfill":"^4.0.0","fetch-readablestream":"^0.1.0","lodash":"^4.6.1","node-web-streams":"github:resin-io-modules/node-web-streams#emit-errors","progress-stream":"^2.0.0","qs":"^6.3.0","resin-errors":"^2.7.0","rindle":"^1.3.1"},"peerDependencies":{"resin-auth":"^2.0.0"},"gitHead":"17ef73e57668a683e8ace04e4fc07ae9ebeb790d","bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"_id":"resin-request@9.3.5","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"resin.io","email":"accounts@resin.io"},"dist":{"integrity":"sha512-bSXjportGzs8MufGfnRPPoQlvcGnhdmqtt++y1KlTeUgcVK3r6d4tbFvnIv4SehFeUztigOZ7TWXcMYyYiaQmA==","shasum":"a0aee360096aa90b7b0b41e296ede0d6ed6b8f3d","tarball":"https://registry.npmjs.org/resin-request/-/resin-request-9.3.5.tgz","fileCount":32,"unpackedSize":138852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn5GDCRA9TVsSAnZWagAAqygP/jlycr5EpsCLe+VQ93sC\nfrV3xXs/amfQAz7fTuqFTsTq6qk87kCi+rdWMSlwlq72Gr2CGBv6o7UeZpz0\nyQwNBreY3uhHEs5iC85UsGDk5ovaek5+z+gzaHSkshdb3OMjhUS3t2t+0F9P\n1jCxgClHV4bMYJB2I+rtKL69WkRAJ8mVPswg7klzQPk5UuhYPCqhzJIQpDdG\nOUaQj14uR3fGR67ZBz7JhqCV/02K8siprt0HZJ5U6m4vo1k9eA9PnGiQf/9y\n8j+MlxO0+w5Ry9pTDQGt7SnUNwe1I2kFn69B3poNgHrw1DuhYosMxLCeGasW\nff/ZvzQTrpeoEr8KCB2JzHsZ0A20ljdwWV001seOtB5EraaC5ggnXn8xI0lo\njqET6cQbY/qrDo1/NjoO+h0PHWjavzMg4Rldj4MliqR5f15bwIgA/3OEdUj6\njkFcF3mDR4Qk/KgnH0lL0idvywwveUY7L8pbKdSTrW7pK31CML9S+VG5+rWT\nnR3+Ru3QAvbBjOWe1d2U6qmk1TmAl7flrpWAfmP8hD2G35lztk9QglCLiITl\nKMXfzZRj2sIFa4Fq3Oyqn9lDIoiWHEPMADrAHDPCv5c4tsFa8QIX/j0paoEx\nIDfrWVIVJxvgmQYpEYe/shH+0d+XueBCb3ZxSRE7IADhc786Fr8a8py1CHCR\nUqhT\r\n=xwVy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHll4/Kz8ILT1P/3xZJM6W8vuZ+qYNTjPQdIWuPUGUBhAiB8S9Ilk66ch33TtkwbHutpBm4LLT1SGNlDfCpCpW/oEw=="}]},"maintainers":[{"name":"resin.io","email":"accounts@resin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resin-request_9.3.5_1537184130812_0.025633226776158757"},"_hasShrinkwrap":false,"deprecated":"resin-request is deprecated, please use balena-request instead"}},"readme":"resin-request\n=============\n\n> Resin.io HTTP client.\n\n[![npm version](https://badge.fury.io/js/resin-request.svg)](http://badge.fury.io/js/resin-request)\n[![dependencies](https://david-dm.org/resin-io-modules/resin-request.svg)](https://david-dm.org/resin-io-modules/resin-request.svg)\n[![Build Status](https://travis-ci.org/resin-io-modules/resin-request.svg?branch=master)](https://travis-ci.org/resin-io-modules/resin-request)\n[![Build status](https://ci.appveyor.com/api/projects/status/8qmwhh1vhm27otn4/branch/master?svg=true)](https://ci.appveyor.com/project/resin-io/resin-request/branch/master)\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/resin-io/chat)\n\nRole\n----\n\nThe intention of this module is to provide an exclusive client to make HTTP requests to the Resin.io servers.\n\n**THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY**.\n\nUnless you know what you're doing, use the [Resin SDK](https://github.com/resin-io/resin-sdk) instead.\n\nInstallation\n------------\n\nInstall `resin-request` by running:\n\n```sh\n$ npm install --save resin-request\n```\n\nDocumentation\n-------------\n\nThe module returns a _factory function_ that you use to get an instance of the auth module.\n\nIt accepts the following params:\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options | <code>Object</code> | options |\n| options.auth | <code>Object</code> | An instantiated [resin-auth](https://github.com/resin-io-modules/resin-auth) instance |\n| options.debug | <code>boolean</code> | when set to `true` will log the request details in case of error. |\n| options.isBrowser | <code>boolean</code> | set to `true` if the runtime is the browser. |\n| options.interceptors | <code>Array&lt;Interceptor&gt;</code> | An initial array of interceptors |\n\n**Example**\n```js\nvar request = require('resin-request')({\n\tauth: auth,\n\tdebug: false,\n\tisBrowser: false\n})\n```\n\n\n* [request](#module_request)\n    * _static_\n        * [.interceptors](#module_request.interceptors) : <code>Array.&lt;Interceptor&gt;</code>\n        * [.send(options)](#module_request.send) ⇒ <code>Promise.&lt;Object&gt;</code>\n        * [.stream(options)](#module_request.stream) ⇒ <code>Promise.&lt;Stream&gt;</code>\n        * [.refreshToken()](#module_request.refreshToken) ⇒ <code>String</code>\n    * _inner_\n        * [~Interceptor](#module_request..Interceptor) : <code>object</code>\n\n<a name=\"module_request.interceptors\"></a>\n\n### request.interceptors : <code>Array.&lt;Interceptor&gt;</code>\nThe current array of interceptors to use. Interceptors intercept requests made\nby calls to `.stream()` and `.send()` (some of which are made internally) and\nare executed in the order they appear in this array for requests, and in the\nreverse order for responses.\n\n**Kind**: static property of [<code>request</code>](#module_request)  \n**Summary**: Array of interceptors  \n**Access**: public  \n**Example**  \n```js\nrequest.interceptors.push(\n\trequestError: (error) ->\n\t\tconsole.log(error)\n\t\tthrow error\n)\n```\n<a name=\"module_request.send\"></a>\n\n### request.send(options) ⇒ <code>Promise.&lt;Object&gt;</code>\nThis function automatically handles authorization with Resin.io.\n\nThe module scans your environment for a saved session token. Alternatively, you may pass the `apiKey` option. Otherwise, the request is made anonymously.\n\nRequests can be aborted using an AbortController (with a polyfill like https://www.npmjs.com/package/abortcontroller-polyfill\nif necessary). This is not well supported everywhere yet, is on a best-efforts basis, and should not be relied upon.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Perform an HTTP request to Resin.io  \n**Returns**: <code>Promise.&lt;Object&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.apiKey] | <code>String</code> |  | api key |\n| [options.responseFormat] | <code>String</code> |  | explicit expected response format, can be one of 'blob', 'json', 'text', 'none'. Defaults to sniffing the content-type |\n| [options.signal] | <code>AbortSignal</code> |  | a signal from an AbortController |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.send\n\tmethod: 'GET'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/foo'\n.get('body')\n```\n**Example**  \n```js\nrequest.send\n\tmethod: 'POST'\n\tbaseUrl: 'https://api.resin.io'\n\turl: '/bar'\n\tdata:\n\t\thello: 'world'\n.get('body')\n```\n<a name=\"module_request.stream\"></a>\n\n### request.stream(options) ⇒ <code>Promise.&lt;Stream&gt;</code>\nThis function emits a `progress` event, passing an object with the following properties:\n\n- `Number percent`: from 0 to 100.\n- `Number total`: total bytes to be transmitted.\n- `Number received`: number of bytes transmitted.\n- `Number eta`: estimated remaining time, in seconds.\n\nThe stream may also contain the following custom properties:\n\n- `String .mime`: Equals the value of the `Content-Type` HTTP header.\n\nSee `request.send()` for an explanation on how this function handles authentication, and details\non how to abort requests.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Stream an HTTP response from Resin.io.  \n**Returns**: <code>Promise.&lt;Stream&gt;</code> - response  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| options | <code>Object</code> |  | options |\n| [options.method] | <code>String</code> | <code>&#x27;GET&#x27;</code> | method |\n| options.url | <code>String</code> |  | relative url |\n| [options.body] | <code>\\*</code> |  | body |\n\n**Example**  \n```js\nrequest.stream\n\tmethod: 'GET'\n\tbaseUrl: 'https://img.resin.io'\n\turl: '/download/foo'\n.then (stream) ->\n\tstream.on 'progress', (state) ->\n\t\tconsole.log(state)\n\n\tstream.pipe(fs.createWriteStream('/opt/download'))\n```\n<a name=\"module_request.refreshToken\"></a>\n\n### request.refreshToken() ⇒ <code>String</code>\nThis function automatically refreshes the authentication token.\n\n**Kind**: static method of [<code>request</code>](#module_request)  \n**Summary**: Refresh token on user request  \n**Returns**: <code>String</code> - token - new token  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.url | <code>String</code> | relative url |\n\n**Example**  \n```js\nrequest.refreshToken\n\tbaseUrl: 'https://api.resin.io'\n```\n<a name=\"module_request..Interceptor\"></a>\n\n### request~Interceptor : <code>object</code>\nAn interceptor implements some set of the four interception hook callbacks.\nTo continue processing, each function should return a value or a promise that\nsuccessfully resolves to a value.\n\nTo halt processing, each function should throw an error or return a promise that\nrejects with an error.\n\n**Kind**: inner typedef of [<code>request</code>](#module_request)  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| [request] | <code>function</code> | Callback invoked before requests are made. Called with the request options, should return (or resolve to) new request options, or throw/reject. |\n| [response] | <code>function</code> | Callback invoked before responses are returned. Called with the response, should return (or resolve to) a new response, or throw/reject. |\n| [requestError] | <code>function</code> | Callback invoked if an error happens before a request. Called with the error itself, caused by a preceeding request interceptor rejecting/throwing an error for the request, or a failing in preflight token validation. Should return (or resolve to) new request options, or throw/reject. |\n| [responseError] | <code>function</code> | Callback invoked if an error happens in the response. Called with the error itself, caused by a preceeding response interceptor rejecting/throwing an error for the request, a network error, or an error response from the server. Should return (or resolve to) a new response, or throw/reject. |\n\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/resin-io-modules/resin-request/issues/new) on GitHub and the Resin.io team will be happy to help.\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ npm test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/resin-io-modules/resin-request/issues](https://github.com/resin-io-modules/resin-request/issues)\n- Source Code: [github.com/resin-io-modules/resin-request](https://github.com/resin-io-modules/resin-request)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nLicense\n-------\n\nThe project is licensed under the Apache 2.0 license.\n","maintainers":[{"email":"accounts+npm@balena.io","name":"balena.io"}],"time":{"modified":"2022-06-26T11:49:41.106Z","created":"2015-03-17T16:34:11.953Z","1.0.0":"2015-03-17T16:34:11.953Z","1.1.0":"2015-03-18T20:39:58.151Z","1.2.0":"2015-03-19T13:03:51.227Z","1.2.1":"2015-03-20T14:02:46.048Z","1.2.2":"2015-03-20T19:13:49.730Z","1.2.3":"2015-04-21T15:12:38.437Z","1.2.4":"2015-05-07T14:38:13.806Z","1.2.5":"2015-05-18T16:47:10.409Z","1.3.0":"2015-06-12T11:23:55.697Z","2.0.0":"2015-06-19T12:36:25.107Z","2.1.0":"2015-06-29T13:10:54.606Z","2.2.0":"2015-07-17T14:41:53.142Z","2.2.1":"2015-07-17T18:24:32.209Z","2.2.2":"2015-07-27T15:50:33.550Z","2.2.3":"2015-08-07T11:49:02.665Z","2.2.4":"2015-08-24T11:45:53.078Z","2.2.5":"2015-08-24T15:09:44.086Z","2.3.0":"2015-08-25T16:59:54.854Z","2.3.1":"2015-08-26T11:59:35.668Z","2.3.2":"2015-09-07T06:14:50.740Z","3.0.0":"2015-09-23T15:27:25.436Z","2.4.0":"2015-11-17T18:04:16.293Z","2.4.1":"2015-11-23T15:57:44.625Z","2.4.2":"2016-01-08T20:37:57.327Z","2.4.3":"2016-01-20T15:23:33.805Z","4.0.0":"2016-01-20T18:36:00.009Z","4.0.1":"2016-01-25T00:23:02.791Z","4.0.2":"2016-02-12T23:37:05.181Z","4.0.3":"2016-02-17T22:20:46.565Z","4.0.4":"2016-02-19T02:31:07.072Z","4.0.5":"2016-03-03T15:39:04.708Z","4.0.6":"2016-03-09T17:37:48.168Z","4.0.7":"2016-03-09T19:44:45.121Z","4.1.0":"2016-03-14T02:15:24.595Z","4.1.1":"2016-03-14T16:33:22.740Z","4.1.2":"2016-03-17T15:30:20.765Z","5.0.0":"2016-09-15T12:47:31.954Z","6.0.0":"2016-11-20T20:10:30.707Z","6.0.1":"2016-11-24T10:33:39.737Z","6.1.0":"2016-12-13T11:01:54.393Z","6.1.1":"2016-12-13T15:14:13.598Z","6.2.0":"2016-12-13T20:05:03.723Z","7.0.0":"2017-01-02T13:18:15.114Z","8.0.0":"2017-01-04T15:11:32.015Z","8.0.1":"2017-01-05T14:29:34.329Z","8.1.0":"2017-01-06T14:46:43.590Z","8.2.0":"2017-02-20T12:38:17.665Z","8.3.0":"2017-02-23T19:36:42.014Z","8.3.1":"2017-04-03T13:25:46.756Z","8.4.0":"2017-04-10T22:58:09.429Z","8.5.0":"2017-07-07T14:14:22.800Z","8.6.0":"2017-10-05T16:32:28.199Z","9.0.0":"2017-10-31T10:01:53.226Z","9.0.1":"2017-11-01T13:03:09.997Z","9.0.2":"2017-11-22T17:49:17.410Z","9.0.3":"2018-04-25T10:01:16.649Z","9.1.0":"2018-06-12T11:32:57.529Z","9.2.0":"2018-07-02T13:26:32.741Z","9.3.0":"2018-07-05T12:50:03.316Z","9.3.1":"2018-07-09T10:27:30.337Z","9.3.3-resin-ci-headless-chrome-ddb939decbb444e6bb44994e18ec1a6abb285400":"2018-09-14T06:48:15.200Z","9.3.3-resin-ci-headless-chrome-ea7378ef49177dc48669ee9e8457f322e4b9199f":"2018-09-14T07:54:07.101Z","9.3.3":"2018-09-14T08:33:42.363Z","9.3.4-121-fix-stream-on-edge-c8e5b5ced6100ea4b8d47059edd2eee046e05a72":"2018-09-14T10:02:31.215Z","9.3.5-126-resinci-publishing-82a73d271b24dd968473934b5600136fcf77da27":"2018-09-17T07:24:40.993Z","9.3.5-126-resinci-publishing-ba50fe34f970182279e4ec580c9a2d209d11b9e6":"2018-09-17T07:53:23.991Z","9.3.5":"2018-09-17T11:35:31.026Z"},"homepage":"https://github.com/resin-io-modules/resin-request","keywords":["resin","request","http"],"repository":{"type":"git","url":"git://github.com/resin-io-modules/resin-request.git"},"author":{"name":"Juan Cruz Viotti","email":"juanchiviotti@gmail.com"},"bugs":{"url":"https://github.com/resin-io-modules/resin-request/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}