{"_id":"xhr-mock","_rev":"55-5397ab0ef5d8e29bb04358b2b9f60364","name":"xhr-mock","description":"Utility for mocking XMLHttpRequest.","dist-tags":{"latest":"2.5.1","next":"2.0.0-preview.15"},"versions":{"1.1.1":{"name":"xhr-mock","version":"1.1.1","description":"A utility for mocking XMLHttpRequests in the browser. Useful for unit testing and doesn't require changes to your code.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","gitHead":"31df23e23e9376fafad5b922f1397f6d1c08f7a9","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.1.1","scripts":{},"_shasum":"98d456889c9e7feca8e5ac1568d8e2fe5e41b3a2","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"98d456889c9e7feca8e5ac1568d8e2fe5e41b3a2","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.1.1.tgz","integrity":"sha512-OLZB8aCjaSpuogt9SIWLOnQblqxV7rfajcfsKT9Ay2zUjbrH/BvDObvIE0FJMoVOiycCl7VrwYPEuvW/lLNttA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfAtk8CCWrDBwklPl1ZhkDX0Z1DwLsvY6Pr9YJA4LGZQIhAKpGxXnzM0qF1p6zhG2A6IkWD+zjsm21ZB16HQxw3Ddh"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.2.0":{"name":"xhr-mock","version":"1.2.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","gitHead":"45336703ce32eead81403bf2fcbe3854560fb718","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.2.0","scripts":{},"_shasum":"2b7454df62b22489a2ce789a93776171dc47596a","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"2b7454df62b22489a2ce789a93776171dc47596a","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.2.0.tgz","integrity":"sha512-U0LupedLhZDqUZLv4Mg/wruBIu+AsplJgFIPOK5h/yZ1VRvrAMW/o/SUM9nHN4I3bTeO8Py6WRgU/9zPYSKd4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjCuOZaGWS9vuqX7R2ar4C/u9O0Ian1ZvFA02k/uiuCgIhAPIdD/YlCN2rkPHPDyFKB4/aVrPU9wDX7u6SEousB4U0"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.2.1":{"name":"xhr-mock","version":"1.2.1","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","gitHead":"f026f6c56ec88fa6af7ab0ae238a7425998a4038","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.2.1","scripts":{},"_shasum":"42f652599a64e827ed80341cc7c401c3ac08bc48","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"42f652599a64e827ed80341cc7c401c3ac08bc48","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.2.1.tgz","integrity":"sha512-q1NcY6lG8D5JfejVHL6PIUX22GxwzHPq8qIgIY1w0Ikp64NuZfPQOECh2HibFnb/0L8WvflIsS7cTVwTq/L93Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGPfGcR9V0ujksV5sxPc76rQ0uYK5x0MtSVXaQtvlznAiArdrx3+kSlifK6qGJBUksYtFPLqN8hON4xZrv2zKQ+Fg=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.3.0":{"name":"xhr-mock","version":"1.3.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","gitHead":"a1955604aeff450a6c790f433d4d59f85a9d6044","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.3.0","scripts":{},"_shasum":"b1eefa52edd6f6af2f8138706fcc0499f05a16dd","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"b1eefa52edd6f6af2f8138706fcc0499f05a16dd","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.3.0.tgz","integrity":"sha512-UNGBTQrBNIR0Z0gGcgRHynjcCB/xr3OhH9G5HWo8UrJSWU4tykEvuirlQRZHIAkU0c83KJJvtuVwhoZzibRcYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBDmrxA4MvmR3SEy4+L6Yr6UpF4ZpWyJoxEwZRRenLgAiEAiF4Ojg7nZE1ua1XYDHAaegRwAbptKGCrkqsXT+9OKZo="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.3.1":{"name":"xhr-mock","version":"1.3.1","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","gitHead":"e5c7cd2ba3c011a91e633328191295d55a3fb29f","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.3.1","scripts":{},"_shasum":"fce3a9ed8842860eb3cd51eb832d61ba4b6a93f8","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"fce3a9ed8842860eb3cd51eb832d61ba4b6a93f8","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.3.1.tgz","integrity":"sha512-ZAA71e3gq06MPHcE1Sfc/fnSB0J21r8bhHwLycd3lcySJgyR+uvZHipX6HQ7gcGM+urb88InPyqWG6nUOHyGGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyGj5MYIgydSv0AYDlXJwZo4qkm1OS5GQ0ntDe2xPuvgIhAIKWjItKAs/xCpkNXklVrv07QaievyWU6B/qfZ0KA6pq"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.3.2":{"name":"xhr-mock","version":"1.3.2","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"devDependencies":{"browserify":"^11.0.1","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example":"browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"af34f53d7d3ab5c95600b4ee046abb2e929e0e35","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.3.2","_shasum":"d43e81d9d152a173d007a76970d653b1d10b83df","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"d43e81d9d152a173d007a76970d653b1d10b83df","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.3.2.tgz","integrity":"sha512-D4J9HTbhSwUMf2lJjMXrPL1h8rkGLHuv9n06iEQ4uRFv3y9vhtyAa/rgJvQvHCFotvgXY3PQy/9B8XKeC+he4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfPsMY3vrBfNwWMeisxa9DyxsPH71KPTmPKY8MpmYeIAiAlCbowiJZk48Zx5iwzR18WKXnaenDkReVWIFqA64OdnA=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.4.0":{"name":"xhr-mock","version":"1.4.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"devDependencies":{"browserify":"^11.0.1","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example":"browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"7249b71586ab00ffa3c71b75bb8bbbb333d64c59","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.4.0","_shasum":"cf6374fab9b1e20c91ef6b1a00cf12c424718155","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"cf6374fab9b1e20c91ef6b1a00cf12c424718155","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.4.0.tgz","integrity":"sha512-4iPWzNEOU6izFcLRHJmlSV58ybP1A6QTDIUZnEy1AsnsaTLhZfnOUwVY4AJjJ6ySqbRE8L7hpwyMjPCWFfDHbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjhqnHydOXPQHwgjC+4f+e4aRomfdzdrikycs9PNzLdAiEAmJ4wm40bnAQlH27MpMFViU9TtaGSNRF4uKS3C9fKDyE="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.4.1":{"name":"xhr-mock","version":"1.4.1","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"devDependencies":{"browserify":"^11.0.1","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example":"browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"64456ca2b8b28cd6226ddff4a35bccdd16a8acbe","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.4.1","_shasum":"278380e5c497587a0825ce51798f9c3f9df20d8d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.1.2","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"278380e5c497587a0825ce51798f9c3f9df20d8d","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.4.1.tgz","integrity":"sha512-kL0Q9VYYY3/KTau91q2C4+nHKu2htvF8/qjm5cP9Z94tHtH8J4CnMKtiCbdEFdphp57jzCGTk6Ba5hfO1D1uxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOVZtglzqthfF50UO+couI7RN+jshFH/EiK4akqORl5AiEA4SJDhTZaMMgGQe0P1bFE2qSwU/NgVgAa8C9eVJWnU+g="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.5.0":{"name":"xhr-mock","version":"1.5.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"devDependencies":{"browserify":"^11.0.1","global":"^4.3.0","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example":"browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"b1501776778992b36000d36f2f53914d630b9cc5","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.5.0","_shasum":"01de6b850e0cc48de5141cfda89d7d1f10764538","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.1.2","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"01de6b850e0cc48de5141cfda89d7d1f10764538","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.5.0.tgz","integrity":"sha512-FmWEYe3WtGjJmBIq61KGH5R0pInWxYb++lL+ZJJr4jAkW8m3ReNUMUnJKMgctwwITgMd/1k+70Sdtea3nni3wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMwQ/VgOqProygOe7BiOloUXdBD8bwXs4tk9d8zdZTWAIgerogD0nr00SmNAgejit/fIpC5vc4pjT7qYtV8CZFW9Q="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.6.0":{"name":"xhr-mock","version":"1.6.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"dependencies":{"global":"^4.3.0"},"devDependencies":{"browserify":"^11.0.1","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example.build":"mkdir build && browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"60eb51b792ebcc623fdde6b10f834205eb0158ba","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.6.0","_shasum":"a5b94ed681ae7992e268e76b3dd79f266ae19172","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"a5b94ed681ae7992e268e76b3dd79f266ae19172","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.6.0.tgz","integrity":"sha512-ajULWXfRljb8kd8hNoQLHT7KzKVWINzPGy78qIApMyZfacRAuQWuQZXU1Sje7q81a44auGqLpBwkwmhdIb7Tkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnicVgeNQgyd2h62rDIObnIoMFxHYS6S2HvwokkwLSlAIgdm77oP+Q5wHUgAuZ44DP5tLKZSn/qHelqgL1X1F2Fjg="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{}},"1.7.0":{"name":"xhr-mock","version":"1.7.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"dependencies":{"global":"^4.3.0"},"devDependencies":{"browserify":"^11.0.1","mochify":"^2.13.0","superagent":"^1.3.0"},"scripts":{"test":"mochify","example.build":"mkdir build && browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"afb70f5f58cc8a3063b55220c36f86369bb72714","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.7.0","_shasum":"c3749f2c68d34ee88af7af5b84ac50764c604351","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"c3749f2c68d34ee88af7af5b84ac50764c604351","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.7.0.tgz","integrity":"sha512-fKav0Gtj4Zi4K1Uv9Vgta7+kcn0sZgEijcDa0dltlMeP8RcFlGcsK0ZGG0LDNr1hqLWSb4RyOb7q4PYZQw6M+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi86ma6IIg2izcEwf600zUEyLiJwj7bUhOJ2quCh9OkAiEAmZJpPoVMc7CtpXbHCakXcECqIvEMCXV7TnBUECRzLKs="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xhr-mock-1.7.0.tgz_1479767002401_0.410626616794616"},"directories":{}},"1.8.0":{"name":"xhr-mock","version":"1.8.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"dependencies":{"global":"^4.3.0","url-parse":"^1.1.7"},"devDependencies":{"browserify":"^14.0.0","mochify":"^2.13.0","superagent":"^3.4.1"},"scripts":{"test":"mochify","example.build":"mkdir -p build && browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"45d8a5239d90366bc19de41647dbcbe523fd7ca5","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.8.0","_shasum":"306c0e9eeba2654c7b25d43450b4224c45b97cbe","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"306c0e9eeba2654c7b25d43450b4224c45b97cbe","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.8.0.tgz","integrity":"sha512-fy9RP28eVyhwsq0ZAWouEFMSqNifnX9yxIZnNHBT8Tu4dyDtfYOPgNxSBlaDJ20IGdFFf01qAS3Gkc/8zlcwlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDa1RVHqXDhnHC+DHuDe3Nv9MOw30h52xgtW4Tnc8SPbAiAN5XQw29G62LvJAx/gIORBjlraQWAiecpAW0M1kCt8vA=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xhr-mock-1.8.0.tgz_1491948774186_0.1132672131061554"},"directories":{}},"1.9.0":{"name":"xhr-mock","version":"1.9.0","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git://github.com/jameslnewell/xhr-mock.git"},"dependencies":{"global":"^4.3.0","url-parse":"^1.1.7"},"devDependencies":{"browserify":"^14.0.0","mochify":"^2.13.0","superagent":"^3.4.1"},"scripts":{"test":"mochify","example.build":"mkdir -p build && browserify -r superagent -r ./index.js:xhr-mock -o build/build.js"},"license":"MIT","gitHead":"3b4e1ad79cacc472014b8f92a70ff13b2ff7ecac","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.9.0","_shasum":"529191abadc75512fb20dade34c75fa095a262b0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"529191abadc75512fb20dade34c75fa095a262b0","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.9.0.tgz","integrity":"sha512-TRV+2LvIehzKn0tcY/HosyoiVBfjaqk5rNgD+GMPKEHSySRTBQ31Y545qBhXU4DRjAUn+pi8jzNRuQACm7BTjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNxsfSsVzt1zmpqOUL+mw8gRC7S2BRsgKif+8NdVLUsAiEA61THDDDh4fGDNJ9ADefyAEjJ9GaUBdhPXgri08Aft30="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xhr-mock-1.9.0.tgz_1493300098388_0.45261742174625397"},"directories":{}},"2.0.0-preview.1":{"name":"xhr-mock","version":"2.0.0-preview.1","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","dependencies":{"global":"^4.3.0","url-parse":"^1.1.9"},"devDependencies":{"babel-cli":"^6.24.1","babel-jest":"^20.0.3","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.5.1","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1"},"scripts":{"clean":"rm -rf ./lib","build":"babel ./src --out-dir ./lib --ignore test.js","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","precommit":"lint-staged","prepublish":"npm run build && npm run test"},"lint-staged":{"*.js":["prettier --write","git add"]},"license":"MIT","gitHead":"c61ee6191ff9ec66c8b04ae37cc341f2b2f34437","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.1","_shasum":"afe83de4ada453f053f9d680fb35cca5be3ccb92","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"afe83de4ada453f053f9d680fb35cca5be3ccb92","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.1.tgz","integrity":"sha512-TqIOdFZ2R0+ibHHhFVwhGoegJWAdOTbwvQEZ/i4Sb4ywyPBbQ9Bwqh7DG9guMPIHFWZ8Pe+e2iuuc1mOm+zbWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPfGIMo8PWh2oGjJWsRzXCN4jxnh21d56Rgvg6eFHSxAIgQXj4JEokksKaOosChbj7e5LpjBaGT4Huq5NbWAx5zKw="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.1.tgz_1504090001400_0.10842916648834944"},"directories":{}},"1.9.1":{"name":"xhr-mock","version":"1.9.1","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"dependencies":{"global":"^4.3.0","url-parse":"^1.1.7"},"devDependencies":{"husky":"^0.13.3","lint-staged":"^3.4.2","mochify":"^2.13.0","prettier":"^1.3.1"},"scripts":{"test":"mochify","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --write --tab-width 2 --single-quote true --trailing-comma none --bracket-spacing false --jsx-bracket-same-line false --semi true","git add"]},"license":"MIT","gitHead":"86548679c1b87d9faba82cdf9dd8ad060e55ad59","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@1.9.1","_shasum":"5263290be52f02f52bc1c56a8acfa6879f287140","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"5263290be52f02f52bc1c56a8acfa6879f287140","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.9.1.tgz","integrity":"sha512-sgkV2RrMuz7XAt49BTMufDd7uPnwDpemvIkKIdlA3E+YPGM4PV0oyr9dr0qw2kE6eMFk05xbULPS5Z1KMpCoSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCajlS88V5yRJSMEEGGyMy+OsZ9qfziUTTeZgb4Ulj46QIgOfJdLtsLUZN20xKw3u2Qa2odqYSfkZ3iZNBZwMypb0U="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-1.9.1.tgz_1504131327634_0.19510576082393527"},"directories":{}},"2.0.0-preview.2":{"name":"xhr-mock","version":"2.0.0-preview.2","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","files":["lib"],"dependencies":{"global":"^4.3.0","url-parse":"^1.1.9"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","build":"tsc --pretty","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","precommit":"lint-staged","prepublish":"npm run clean && npm run build && npm run test"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"8f698a42858cf30a8f5ad650f60c70ccce66b2d1","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.2","_shasum":"924e629ec363d9cafb247e7974684c9f2e4de0c9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"924e629ec363d9cafb247e7974684c9f2e4de0c9","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.2.tgz","integrity":"sha512-9HRrSG28Qc2BNpOliarUzzj5Ye3qPBJcD/fQX3afauE7ocMvOWziH/Yu5j9xiwj4+qHqzUy8mAgLCCfQ6ENDHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgcfep0khA3esj3Z55mWbo7bpSfbatNaCoACewhO/crQIgUj/AV3gU2gVMgbrtEQySZm2Q5AKfs3mGGPnJCeRRlak="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.2.tgz_1504365437803_0.7201534069608897"},"directories":{}},"2.0.0-preview.3":{"name":"xhr-mock","version":"2.0.0-preview.3","description":"Utility for mocking XMLHttpRequests in the browser.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","files":["lib"],"dependencies":{"global":"^4.3.0","url-parse":"^1.1.9"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","build":"tsc --pretty","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","precommit":"lint-staged","prepublish":"npm run clean && npm run build && npm run test"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"0bf854528924d429e9abb5154ded96009d4c9ac1","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.3","_shasum":"1846bf59ea00c211964286f79b6808847f72638f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"1846bf59ea00c211964286f79b6808847f72638f","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.3.tgz","integrity":"sha512-T55W2BzO6Z3js34ZFDkJVjn+37+XA7lp2+MnbK0yu5HCa2GOxXDVif+ztDwmNQhDKQkg5DOWg0OOeEbA0OdkrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBr/gCDQiLy923DFDFPUtVQdCR7qQiEVAmtUPbcsAQKVAiAEGcBshuKNfZe0h6YhnhCrrhWNuvCk+UjPzRqDxRLC3A=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.3.tgz_1504415929175_0.6622577938251197"},"directories":{}},"2.0.0-preview.4":{"name":"xhr-mock","version":"2.0.0-preview.4","description":"Utility for mocking XMLHttpRequest in the browser or in NodeJS.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","files":["lib"],"dependencies":{"global":"^4.3.0","url-parse":"^1.1.9"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","build":"tsc --pretty","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","precommit":"lint-staged","prepublish":"npm run clean && npm run build && npm run test"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"061a76884d50db1282d5d57fd8b3b44d5669362f","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.4","_shasum":"a147d3c1ab2bda9ecc8af48be6259799e075e38f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"a147d3c1ab2bda9ecc8af48be6259799e075e38f","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.4.tgz","integrity":"sha512-CVoUjb49YIoFyqadjA2+4807k8iCWmbC4x0usxc3ief1SlfrYaSul6WXeaW4nCRr9jNtMzp3w90NxP7nPcghKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVNFikwjrueBzYu4IezdgaUv6W0R1U6V/1gSTF9ZLQLAIhAMD1wyUT+KciavCCgptYu9WCGyKrx67B+S1I1pirhwqz"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.4.tgz_1504451699963_0.353225709637627"},"directories":{}},"2.0.0-preview.5":{"name":"xhr-mock","version":"2.0.0-preview.5","description":"Utility for mocking XMLHttpRequest in the browser or in NodeJS.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"9d05f571eca475783d8cbb11d7180dfc66915209","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.5","_shasum":"8c55e0dab339b3b056bf3de81394c73559d2b9e0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"8c55e0dab339b3b056bf3de81394c73559d2b9e0","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.5.tgz","integrity":"sha512-qXM8yHjxnO5EgCdoDEuWoi/yYG8ABPo6AOM8Z+ez35r3ScsnjnFoRfMnWx428dZ8WPuICKXtPdZGnvjLqEJF6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQYgpsEpiEDnQFOUb+nPDvZNJXTigxijlL7gI0NqYKRQIhAMBwIiUHpO3qw7ws/rZYMfEiFSEujap5geKelCUxE1O2"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.5.tgz_1504783628795_0.48760792589746416"},"directories":{}},"2.0.0-preview.7":{"name":"xhr-mock","version":"2.0.0-preview.7","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","testem":"^1.18.4","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"72ecf23c7b03dce3e72a98bfdcecd8efde58c3d5","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.7","_shasum":"6e5443bfe4795fd6f8886449344bb0ad49a15c0d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"shasum":"6e5443bfe4795fd6f8886449344bb0ad49a15c0d","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.7.tgz","integrity":"sha512-SNn02SZdMEFPPIeno5YSu2c/uG5BnfmgYTDwtso8F2SrlbpF+bB8N3S/JiWMhkz0L+d9JHP+5odM2JIKQ9Q6fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5wGrYSxIEdahcyg4w6LwAwmvUOAfjOOSsRelgeqX4awIhAPYJKsq7/c2ls6p3whvUlZzVB2m2A8U0qvZUkS79MGzM"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.7.tgz_1505223482017_0.13355102529749274"},"directories":{}},"2.0.0-preview.8":{"name":"xhr-mock","version":"2.0.0-preview.8","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","testem":"^1.18.4","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"b718200c4bec9440f3446a205faf7993ab3d360b","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.8","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-TBgIFtKq98cuH64hpivZpNxL2pX5tKKz9UB+ZSAXXVFra01uLvO9N7g1eKSZOmAyL/CPdaTt5mH3j239Dpo2Iw==","shasum":"c3d88a7a073ba597af47c1e0ec4805ad372df82a","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBqYLEBpVN4udZvfY1U0JngyMG6FG4VVmvXpCG8tj5xgIhANbClXYXhPm2AEp37PPRpXCXkQvjb6bytrsXO4SSwmyH"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.8.tgz_1505900595690_0.7120338971726596"},"directories":{}},"2.0.0-preview.9":{"name":"xhr-mock","version":"2.0.0-preview.9","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","testem":"^1.18.4","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"92ace05306069f9ccf0d1e802938f466afa63f38","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.9","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-pFC0cITF2nDEWjAfBToQpnKe4XZC6OvnxiT1RqdD3FKXcqRVhXb9qzAyAyFHvT9uPdtaWazthwr/OUCah9HVVg==","shasum":"f5ef6f1c5c086775716f6475df98d88eed8da845","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSpt3Sqto2LzF7q/RvCDCNRdsLEMiabd4j9JcQxIfxXQIgfc4pLcPFBFByk/KfONliae80Gvk0GPomw5fqRXm6Duw="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.9.tgz_1510137638391_0.7304016705602407"},"directories":{}},"2.0.0-preview.10":{"name":"xhr-mock","version":"2.0.0-preview.10","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","testem":"^1.18.4","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"9b1dbd670daa9eac0a6cbc340f00f770c8e246e7","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.10","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-INliNm2aoGxJGgf7A5lUjJv4Bfy2MEcj2KID6bFRKlfqpf7euhhqSnguVJff9ldH2fL8VLvlFLRuIT1tA64HwQ==","shasum":"ef80f309a3e1c9ebee3ecaf0eeedded1295ada57","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsBaEUXEEj9IQQ4lU8SsAG3gTKbchvuVGrJq089MmLlgIgDmQRD2Uy7u5562EEAkCkBj9k88f5Wm0FzuckD1Jkw3I="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.10.tgz_1512114111246_0.8091403192374855"},"directories":{}},"2.0.0-preview.11":{"name":"xhr-mock","version":"2.0.0-preview.11","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","jest-environment-node-debug":"^2.0.0","lint-staged":"^4.0.4","prettier":"^1.3.1","testem":"^1.18.4","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib","lint":"tslint -c tslint.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build":"tsc --pretty --declaration","watch":"tsc --pretty --declaration -w","test":"jest","test:watch":"jest --watch","test:debug":"node --inspect --debug-brk ./node_modules/.bin/jest --runInBand --env jest-environment-node-debug","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"09aeb3e34a2e4774d98cb4f77b0bcd199b244cf5","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.11","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-vRYRUIJmqRAxmEU3ep1iiUHEsOTGGYiZ5jsIz4bvzLYfzfSeEQTaYMPbBqEJIlacBMBNpReQJsWcGnazlqRULg==","shasum":"ec8f0d6ba63b286d6407a4cd544ddc7475a486bd","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzMWxMcALsgAS7b46Ih/ZAKGCeWt7M+402EMo0ME0TjwIgULGInM8qVzYJR5xtLexidMVCRc9g5Hyv5wxzYaGpdC8="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.11.tgz_1515378596196_0.5255641045514494"},"directories":{}},"2.0.0-preview.12":{"name":"xhr-mock","version":"2.0.0-preview.12","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","lint-staged":"^4.0.4","prettier":"^1.3.1","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-typescript":"^0.8.1","ts-jest":"^20.0.13","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c tslint.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"4028e47271d395baf50798635736cf559ab87895","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.12","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-BWn3qyr87pV9m2J2dAjLgfF5im7DYb6BmK90pZcJovw47Aad96jL2QSbn4TSvXtn+1zWzfZ5kWDLfOLvaixjMg==","shasum":"45b91e1ef5aa981f9b5d97691bf7da65817348c9","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBc49C6BuI5TfIfN06+f/mj0SytodpTfEWb2dXAbZ6JiAiEAjBWojPN13Rfm8feNGlTWzL/Jz2ShdbDueMIRH+TAnJk="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.12.tgz_1515384020695_0.8761848823633045"},"directories":{}},"2.0.0-preview.13":{"name":"xhr-mock","version":"2.0.0-preview.13","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^20.0.8","husky":"^0.14.3","jest":"^20.0.3","lint-staged":"^4.0.4","prettier":"^1.3.1","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-typescript":"^0.8.1","ts-jest":"^20.0.13","tslint":"^5.8.0","typescript":"^2.4.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c tslint.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"6c21c17849c4551400e4d63203b4f5741f97cdd6","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.13","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-CF9V5ueLtnISSrAed4MEJuGMlDcqXHx1C0Dvi6KLwqF3yHlYsv83pRuUxCkn6PmDn7F0fgTUTvI/tdwC8JlYaA==","shasum":"6cbdea6f2b12df9c9c94fb979764188a72a5b388","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.13.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZQkjIEIvQaHoB+guzqGXMdqsfluVfYTUX3iQoGEwcQAiEAllAhXoFQ9PcWvZUYKgOnN19h2JkKgWKCM6WoAh3v2Ps="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.13.tgz_1515387469521_0.12541009509004653"},"directories":{}},"2.0.0-preview.15":{"name":"xhr-mock","version":"2.0.0-preview.15","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^22.0.1","@types/node":"^9.3.0","husky":"^0.14.3","jest":"^22.0.5","lint-staged":"^4.0.4","prettier":"^1.9.2","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-typescript":"^0.8.1","ts-jest":"^22.0.1","tslint":"^5.8.0","tslint-microsoft-contrib":"^5.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c tslint.js '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test","precommit":"lint-staged","prepublish":"yarn run ci"},"lint-staged":{"*.ts":["prettier --write","git add"]},"license":"MIT","gitHead":"d7b3e06b366668e72e3e3ddcff302042ee8c0a34","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0-preview.15","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-o/fjafJv4/lOLwo/HpozbXmgmh3ZBqMEtr/Wi23z1yFnWnw5MgW3fgXvqjc8H075kM0iLuB0dX6Fb/KN4W/+0g==","shasum":"a88c3173dd3787aafdfb00de9b8e8b32fc46d517","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0-preview.15.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPF5nC3OSG4y/hcsYRvd9AWptTKkTgYCE6na3kQ56mAgIhAMpSEd2MFDqbvb1JrtDooMIxUdGI6EHISSKlcVHtvTob"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0-preview.15.tgz_1515569165875_0.6385565081145614"},"directories":{}},"2.0.0":{"name":"xhr-mock","version":"2.0.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-typescript":"^0.8.1","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-Eyj1owt4c9Ov5uyM4z63k9+BqIttlYXECQSxyHbbNpoY89CMoLZjwGbqEfrsamycVSOYTKJFU+yTswbniAnKGQ==","shasum":"06ede3c6fa27e4bbb8ad4f10a0ca99eac1c828ae","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAk2YdxSCp7hEQewCJr+JQPvaW5lG+XCH+9foD0CUeOOAiEAotPutfJijgz6Q9MblD+js7eyfEH1tXosMWuP0xXDOM4="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.0.tgz_1515600800377_0.05030664871446788"},"directories":{}},"2.0.1":{"name":"xhr-mock","version":"2.0.1","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-iSA3YG2gYQQq2YL0xAS24s000WB0Y1sDRCHitwKm2z7gyNyQFyV688NmxP/2xsBgnAcCJ+qK39NjFcM4i3uVbw==","shasum":"d8e95661032f9e120503448d5c8255d98e9a5eb5","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo5F6VgVyMxJe5iU/t8sdWs2amfsXj3C+f/4cjhxTl4gIgT4rRveGMKX3Ci0+/1ybh1kxw8AplWw++a9kmryzDk6U="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.1.tgz_1515602033232_0.5729123509954661"},"directories":{}},"2.0.2":{"name":"xhr-mock","version":"2.0.2","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-VJX+Avhdi1bh71x+C4Rx7EPKCZvoCBn+5YHLnpkpR1mQKMgtGDzbzmwnRm4Z0zOH8RUe/6TMqpO0cxtHVYTrnA==","shasum":"2eb4809676f2f8a9d7313e00d78db3088bc0681e","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmAtkB19WWKK8mh1LUgO7uOg24flhE6KtKQEuxgq8MKAiEAxS1JUEh2/ueQo16ier6ZUWjo+OLVwRsBnl/uIrfRhfU="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.2.tgz_1515602423052_0.25450199260376394"},"directories":{}},"2.0.3":{"name":"xhr-mock","version":"2.0.3","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-ak8hskRhUHIun///klTuRKmqmp9wMmSCsBaKKlvh8j6i0SmO/QU7F5hVQxsgYDR4mNCyJ8q/YpPk+DOMo2RpRA==","shasum":"fba204c8f20ec197766c42a3578bc477db6925f3","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1NEusQxACmykJjg5fz1y9KE88JtAzFiiHB3yx5gZAdAIhAMn//zKQrA8yVY7ShTZDQi/1rnLVi3+NWFHIk4GFJc+8"}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock-2.0.3.tgz_1515720805643_0.10751699423417449"},"directories":{}},"2.1.0":{"name":"xhr-mock","version":"2.1.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"dist":{"integrity":"sha512-VMwQ23sHUh0AX70f8uPdCeTosOlTq6vjVNWhBLhFz5f/vg2samdlHZYpvYi9MtHVIlJFiG7uZgh6vABmIKqt/w==","shasum":"22930930838dbb5ea1cebafb4704054f2ac17292","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.1.0.tgz","fileCount":41,"unpackedSize":161331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzL6HGFRmtqdjCW33PIIxE8PKpLcddSQrEZi4vjgwOIAiAb6EUTkX0ip+AeZL5t4RZMvxqTdxyWK4J5VhYlC0ttlQ=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.1.0_1518608637948_0.512590370186276"},"_hasShrinkwrap":false},"2.2.0":{"name":"xhr-mock","version":"2.2.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.0.1","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.2.0","dist":{"shasum":"4df2338eccd14914fadb01cfe227a8f85ad7be35","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.2.0.tgz","fileCount":44,"unpackedSize":161745,"integrity":"sha512-qlIaXEiDVuFQZ7/yHVpcAgD8LmjZdHtJnDdunAT+91ggSr2IU0KlemWw1NE+jL0rGsFJxLC0ZrFTheuOyv8YFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFopbMLTx+bhyk0CremyYJC9lkU9xzb7N9emyGdIzuf3AiBmqa9sRKBUycrL23Ni9AD7RiWDcL5pvBq+eg/UB9w/uQ=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.2.0_1519103439276_0.9827401136962348"},"_hasShrinkwrap":false},"2.3.0":{"name":"xhr-mock","version":"2.3.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"^2.6.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.3.0","dist":{"shasum":"cdb7247acd6fed55f979eb746772f5cd7160484c","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.3.0.tgz","fileCount":44,"unpackedSize":169176,"integrity":"sha512-Jmm/pa81CLDpn+xx3GPi52MM9hCggI2/OuGjKKU5h8E8vPt1HG8eHCoDrMSZbr15Kdz4+0BHo4uJLhJiD056yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETXK35bgP589uW1t77egGBlsp2Xdg8Vf0qOB60ZarXnAiEA45EIZqDSFMsaVKhPNHk47FVw1Od+VefmVLhagdhlgDc="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.3.0_1521499614181_0.6149508510052015"},"_hasShrinkwrap":false},"2.3.1":{"name":"xhr-mock","version":"2.3.1","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.3.1","dist":{"shasum":"a28135eb56cc8d30fa0a4e66341de5223bea76de","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.3.1.tgz","fileCount":48,"unpackedSize":173115,"integrity":"sha512-j7/PcFDpFG4VvzSMbfyA00nT15/qLLRDwEsF0/KvrvkjiX2XCpIuZ+Gd0+sdWNqykZgLdvvzNXOPJSeYbzMRNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmQZ9hSf3kCUiL46kXjsw6BqSKGZbm8pIs905BJwgm1AiEAxfONMb9Yq+0Xgua1KwNs7Wy42ltaFjuKuV123sXCZCI="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.3.1_1522214140835_0.7071993216377959"},"_hasShrinkwrap":false},"2.3.2":{"name":"xhr-mock","version":"2.3.2","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.3.2","dist":{"shasum":"dc4336229459845e8653843a6ac4f59b0bd33385","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.3.2.tgz","fileCount":48,"unpackedSize":173229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6GBlCRA9TVsSAnZWagAAc5gP/30z/heEUslZoXBvVKai\nMz2HrGD4mLliDqCFXeYTqhV5TmGW3kdIWOcmjGCCaK7za0ynZMh+HanscqsC\nOhn7pS7fIlNpjCMyoFBV9mdH+e/uUMbWejq6hX7OK8Ef9wRniruQuT9827Z2\ny/Dg4EcmBuh77IyffAPtlCjbBfxPV1anYZCwmwRO84oYc02xh/ExB9lepScf\nWm9vtmHP9oqqRUbGuXhgeg0gJiamnL6L06+fiZHosd261KVCkXDSnOdkEZ1V\nBjL1yKeaMfA0azvEENd8qveMtdeYTU4K1bUc7WUJgnaCMMIlrl3r7rf9NlrN\nf7e8fFJGPRja6hyEp7zb5IMFHVLkjoEZt6d8IVVrs5XxUPFz0VzAGyN9v88q\nlNWPKBWcy/5a81PXObrX6wBMMQCF9pUgGqZZ09wVWzZgY4xUx4FXmPaEauBA\nSd9c2ONWu2kz2JDAagoA3IrioCL3jUJ5opc28zY6r1mrSKQmh7YZmK5COGCq\n4Xe2zNbv3UIT0chiUhwMdtxR542lpS2TAI9RxZ5lYRBzW/P0Ih9NfT7GdCsN\ngTUjuY6QaLS/pXpghy9658elKDoF8JJ2LRMBHpAfuj/nuofG6qio5hrq++le\nsAIn7Cour20/CwQYJxLQPZM/iMiUbKcrX0Ft9D9adwQ1ZQp0NCNtIIrRwh4Z\n5ZFN\r\n=nvKQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-RZISrV/xKZhonxSXDA3YyjquK6cpBn2uARsnHijIDDYOh8MztjASPAn28cNZkcfTo168f2apqAkl9K+i5i5bIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCP2aYt8fTqIDJ/e7eDJThcYijqhHwO69UxbvM1cXy2QIgRLex11y8se1si5jmc3hzV/Dgm75ZHsjbDLAZzzBXRXo="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.3.2_1525178468637_0.9066245838314015"},"_hasShrinkwrap":false},"2.4.0":{"name":"xhr-mock","version":"2.4.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.4.0","dist":{"shasum":"a48a22ac4f790131b4b29e18c1abdfe6deeef881","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.4.0.tgz","fileCount":57,"unpackedSize":176427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDeSECRA9TVsSAnZWagAAMwcP/R4qoT4VMQ6Htoppynhi\nU0a/1aL6iTELjr51K/BnVh5eCH98JUU0u54FFCbN6UrQasBLenmzPD42LFtJ\nxaDNmQ8PbRmZazPqVW+Zu5FpoARu7CtDmqBlOO886XvTBl2i1XBDSY/MVnMp\ndkHJ63IT9Yy2e1rnsu5mH6OZHwFHbcWS6sWa0vnanyCnXCp/GnvrKZn11r89\nhmJ9ErX0bCFt7ahoVVFdeX/ROp2aGG8u7w26bDLfjRAIJ6U75ycdsmgBXhBh\nGKs5k+r/NMoz+yqWhPzNApmXUMLoWJlowdstRDJyhKpo+bKWHstwvUN8v99x\nXFsW2wPm9sRSs9I854recnfWynGlPD218Lftd1VzdTTn7HH+py5MbIekwL6m\nnVwsY7E1LcHZbRJtdOygUdAjIX4MrJgUFXyWtgFVGLEAm3aWT9tFgA5O40lz\n83/dqGrRCyswBXVEZhYIjGlPQBji7n+OiwJx9NQQRg0YWgaMdhS4J9dq5pX3\nGQmCoZg368HFpJXzjz1vMH1OcWoXUWQkaUnfFtQqZ2SgyF5/Xn8y1ELJBeUu\nmnrxMQAv8s7x8WqPMWk6QW/FKq7r5RJVR/0QnU9bK0Ga2bYK4ncGoogHoZOp\nf0/9S7vG+w7da6FHqF4Sw3If6F8d74sy7JHKjHqriby4x0nmaNzfqFw88tpv\npgR+\r\n=wsTB\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-/xveR1OZMUS7FO1jZ9wpeUZ7z4DPqZfVXdAIf/sHSe6p43acPYMPnp5NWshOeE54uLWapoYH02S1f+8C8wWmSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/jMjhhcc3RUKhmhR7yu4zYvwe8OqqomiD2YDnFqNMQwIgc5+S9qxpbiSDkR/5mxj4dlikPm0HvK6n9/uIti+Rb2Q="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.4.0_1527637122735_0.6618828477672345"},"_hasShrinkwrap":false},"2.4.1-preview.1":{"name":"xhr-mock","version":"2.4.1-preview.1","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.4.1-preview.1","dist":{"shasum":"8b004f22230316d3a9dc3077f691b26e1ccf2ed5","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.4.1-preview.1.tgz","fileCount":57,"unpackedSize":177013,"integrity":"sha512-DymCdmxJmX8QyzQGOBr9KXp6iUaDMAl5KzDR7QlQlSrgqCynbSOk7URxBNmMSS7zYwDxe+f9xEXPJDzMMyAZPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4BmAuGwN9TSsBurqPxpPt5dT7SCQV0zfjxCq8Uwix9AiB4HtlQQQ3vOQ5UFcd8nKQir/xTTymiNMExsoiSjW7weg=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.4.1-preview.1_1529009987470_0.08957955579560828"},"_hasShrinkwrap":false},"2.4.1":{"name":"xhr-mock","version":"2.4.1","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","dist"],"browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.4.1","dist":{"shasum":"cb502e3d50b8b2ec31bd61766ce516bfc1dd072f","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.4.1.tgz","fileCount":57,"unpackedSize":177003,"integrity":"sha512-oJZu6xQeRzMlmlvWHYA8Olib9LzrDhWoLU11oihzSayH303UkgGV2p+PY3VRx6sIvuKNihiBgrrLx8hk3dokYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr7GA8+xzE8WBuf67B3W08Am8y2lSnOE26VhB9h1/6EAIgEyWxNeGaAxwnLlfg6zTMS8NLD/a7dLUfUn/ufA5mI+w="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.4.1_1531348479486_0.7365264176555626"},"_hasShrinkwrap":false},"2.5.0":{"name":"xhr-mock","version":"2.5.0","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"git+https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"^22.2.0","@types/node":"^9.3.0","axios":"^0.17.1","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","bugs":{"url":"https://github.com/jameslnewell/xhr-mock/issues"},"homepage":"https://github.com/jameslnewell/xhr-mock#readme","_id":"xhr-mock@2.5.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-OFd7nm5mJTVQl9rC3Orp1HiJqWOqlh7W1hem/Ld/At+bjs7Dy2FuWYwTuP3gP8Y51FjGbIRAW9B9hbQdrZOPzw==","shasum":"e9ebb6bb705e26e33c56dc986ff184b5c8a1d424","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.5.0.tgz","fileCount":55,"unpackedSize":178221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLyexCRA9TVsSAnZWagAAyOsP/3bdHx3g/R4ZfSKey70V\nYLdJvSh4chXiYUHjARa0mSRPWJoEjyRO/pL2zHKpHE1nM7tgGSKPg2S72/DT\nwMfuxaKVIkpcZ0iwOkYw6r5AJnBhaaXBY0+JlY/h2GOjLV6OYOv04cp4l/Ht\n4/7p5sxriIu2G6idzXW8ycL/gAKgGcVK4YEIdJyXwg6qBMWeWG8XzeASHiEp\ncBCzfriAA/zRNFSX/sqDADLxZhI085YvG4o+Qd+RgwgaTLNqPw5qF6eRPODV\nHDdJnMsY6MzrIcGdEAXOzMF468tVuOZnzWDCk6zdKCtd7Ra3UNYbDN93O95P\n9nM6HcgMe/NXW3XtjFMMrdMEjiTsOCBN00//n4by6/WtrlRFxVlEdkqvgtX/\nvvZhDCSfUYoWnGZlVMYjpcz18q7zYbO6faXXtAyRNFiHTUQp0PMs0hYcf7vU\nR658NfvAvOK8rQ3uDfJ50VfPBv8LI7OVuF4Q1WQl+c3POWpNXZ6MT2uiPqBQ\nBOdtajUKgTmAVKzy4gvlwU5lNXz9juTshY9IPU+F+rGyZFa2dDtYyzC/hXBo\nLRQKDYDqyD+NC4+VXfJpMwloeYiyGpmzRGlBpsg4H14lgND0uhFcjR+63vkA\nErrD3HgrHSpk66tnGbr9XKQ+OsbtXhZY2qHWPM11Mcwg+/+Ye3WuvHfyKOFe\n5Cbo\r\n=c7SA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOw7+tO1sI51rnXqBS/LVX2w+s+Tj0xDiaHXWGJtLK1AiAFMw6ZBEmmiA8qmPAep2b4FjxYvn8a1h0pfA7msBm8iQ=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@digitaledgeit.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.5.0_1563371440589_0.04759067623445845"},"_hasShrinkwrap":false},"2.5.1":{"name":"xhr-mock","version":"2.5.1","description":"Utility for mocking XMLHttpRequest.","keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"main":"lib/index.js","typings":"lib/index.d.ts","browser":{"./lib/proxy.js":"./lib/proxy.browser.js"},"dependencies":{"global":"^4.3.0","url":"^0.11.0"},"devDependencies":{"@alexlur/rollup-plugin-typescript":"^1.0.4","@types/jest":"22.2.0","@types/node":"^9.3.0","axios":"^0.19.0","jest":"^22.0.5","rollup":"^0.53.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","ts-jest":"^22.0.1","tslint":"^5.9.1","typescript":"2.7.2"},"scripts":{"clean":"rm -rf ./lib ./dist","lint":"tslint -c ../../tslint.base.json '{src,test}/**/*.ts'","check":"tsc --pretty --noEmit --project tsconfig.test.json","build:cjs":"tsc --pretty --declaration","build:cjs:dev":"tsc --pretty --declaration --watch","build:umd":"rollup --config","build":"yarn run build:cjs && yarn run build:umd","test":"jest","test:watch":"jest --watch","ci":"yarn run clean && yarn run check && yarn run lint && yarn run build && yarn run test"},"license":"MIT","licenseText":"Copyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"xhr-mock@2.5.1","dist":{"shasum":"c591498a8269cc1ce5fefac20d590357affd348b","integrity":"sha512-UKOjItqjFgPUwQGPmRAzNBn8eTfIhcGjBVGvKYAWxUQPQsXNGD6KEckGTiHwyaAUp9C9igQlnN1Mp79KWCg7CQ==","tarball":"https://registry.npmjs.org/xhr-mock/-/xhr-mock-2.5.1.tgz","fileCount":59,"unpackedSize":178697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxS92CRA9TVsSAnZWagAALQAP/1HMAw5AKPTY8cvHUp9V\nzz33mAQ8Euk7yD7h2HyakLdpfjYfgxEvTunABe7aRtBfrCy64zS6BUHwhX0w\nfHo4TEUAxA9sZg+sehwgdtjujCAuX+eAJ22H5K4FIqVcdQowouxiyN1sAg/f\nJCuVM4Y8emjUDTFBoaRSYvRaVz5RECeKmBnIjmmz3xXPKGL9CxWmUlJjUtoU\nSQPPLTTD9KiAKXcuSTJI6b4p8KMw6RPH1iAu/OkKwvbh/W8Dgh2lZaIwygtn\nxa8PL5M+5au6Hlt7nE51rJQYtc/zwmEIlabSp9lRQv3q8ItQwYb4va0vEF8C\nX0+FcX9I+jfxqGwMAzxFV2Z9kFk7CUGVxTf3krnHFQpGcjt7EcxVpUU2XaFk\nLO8uvve21QKcWpiZ7oxpWrmA5kUCjv7lpFpCkK4zdr0DXtjGuXT50gWZBmUf\nHHjNYNkAU9UR8YEh3sxibnHKkhoFf1gy9cTyjGuoFY/W2Qf62bkN5kuG7hag\nJivn6UeAf+oy6fKHzOu8xIBcwgu9zKsZpRtDmQBlJhYCCyiu7tmSvEyiCmMm\nNglhHZJ/mcKawlTZX2F/I5u6sWWNXgxQHSRNhZFHapj5UqGioCmoCqcz/NBz\nNBkRLEIh69ez/TKDFJBrLC5EuM/5H2PT9iRXX3lpubxJVwjKz75mgzhHou6J\nHM5l\r\n=tv22\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0XNFmbsbyJj74TSA5BQTLzLSaw0A2J5dYAm+98H+2RAiADsw92S48CXuY2funPzZwd8Du97UsgkzpO+ynZl3U9qQ=="}]},"maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"_npmUser":{"name":"jameslnewell","email":"james@jameslnewell.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr-mock_2.5.1_1573203830313_0.25647837248152494"},"_hasShrinkwrap":false}},"readme":"# xhr-mock\n\n[![npm (tag)](https://img.shields.io/npm/v/xhr-mock.svg)]()\n[![Build Status](https://travis-ci.org/jameslnewell/xhr-mock.svg?branch=master)](https://travis-ci.org/jameslnewell/xhr-mock)\n[![npm](https://img.shields.io/npm/dm/localeval.svg)]()\n\nUtility for mocking `XMLHttpRequest`.\n\nGreat for testing. Great for prototyping while your backend is still being built.\n\nWorks in NodeJS and in the browser. Is compatible with [Axios](https://www.npmjs.com/package/axios), [jQuery](https://www.npmjs.com/package/jquery), [Superagent](https://www.npmjs.com/package/superagent)\nand probably every other library built on `XMLHttpRequest`. Standard compliant ([http://xhr.spec.whatwg.org/](http://xhr.spec.whatwg.org/)).\n\n###### Documentation\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [API](#api)\n* [How to?](#how-to)\n\n## <a name=\"installation\">Installation</a>\n\n### Using a bundler\n\nIf you are using a bundler like [Webpack](https://www.npmjs.com/package/webpack) or [Browserify](https://www.npmjs.com/package/browserify) then install `xhr-mock` using `yarn` or `npm`:\n\n```bash\nyarn add --dev xhr-mock\n```\n\nNow import `xhr-mock` and start using it in your scripts:\n\n```js\nimport mock from 'xhr-mock';\n```\n\n### Without a bundler\n\nIf you aren't using a bundler like [Webpack](https://www.npmjs.com/package/webpack) or [Browserify](https://www.npmjs.com/package/browserify) then add this script to your HTML:\n\n```html\n<script src=\"https://unpkg.com/xhr-mock/dist/xhr-mock.js\"></script>\n```\n\nNow you can start using the global, `XHRMock`, in your scripts.\n\n## <a name=\"usage\">Usage</a>\n\nFirst off lets write some code that uses `XMLHttpRequest`...\n\n`./createUser.js`\n\n```js\n// we could have just as easily use Axios, jQuery, Superagent\n// or another package here instead of using the native XMLHttpRequest object\n\nexport default function(data) {\n  return new Promise((resolve, reject) => {\n    const xhr = new XMLHttpRequest();\n    xhr.onreadystatechange = () => {\n      if (xhr.readyState == XMLHttpRequest.DONE) {\n        if (xhr.status === 201) {\n          try {\n            resolve(JSON.parse(xhr.responseText).data);\n          } catch (error) {\n            reject(error);\n          }\n        } else if (xhr.status) {\n          try {\n            reject(JSON.parse(xhr.responseText).error);\n          } catch (error) {\n            reject(error);\n          }\n        } else {\n          reject(new Error('An error ocurred whilst sending the request.'));\n        }\n      }\n    };\n    xhr.open('post', '/api/user');\n    xhr.setRequestHeader('Content-Type', 'application/json');\n    xhr.send(JSON.stringify({data: data}));\n  });\n}\n```\n\nNow lets test the code we've written...\n\n`./createUser.test.js`\n\n```js\nimport mock from 'xhr-mock';\nimport createUser from './createUser';\n\ndescribe('createUser()', () => {\n  // replace the real XHR object with the mock XHR object before each test\n  beforeEach(() => mock.setup());\n\n  // put the real XHR object back and clear the mocks after each test\n  afterEach(() => mock.teardown());\n\n  it('should send the data as JSON', async () => {\n    expect.assertions(2);\n\n    mock.post('/api/user', (req, res) => {\n      expect(req.header('Content-Type')).toEqual('application/json');\n      expect(req.body()).toEqual('{\"data\":{\"name\":\"John\"}}');\n      return res.status(201).body('{\"data\":{\"id\":\"abc-123\"}}');\n    });\n\n    await createUser({name: 'John'});\n  });\n\n  it('should resolve with some data when status=201', async () => {\n    expect.assertions(1);\n\n    mock.post('/api/user', {\n      status: 201,\n      reason: 'Created',\n      body: '{\"data\":{\"id\":\"abc-123\"}}'\n    });\n\n    const user = await createUser({name: 'John'});\n\n    expect(user).toEqual({id: 'abc-123'});\n  });\n\n  it('should reject with an error when status=400', async () => {\n    expect.assertions(1);\n\n    mock.post('/api/user', {\n      status: 400,\n      reason: 'Bad request',\n      body: '{\"error\":\"A user named \\\\\"John\\\\\" already exists.\"}'\n    });\n\n    try {\n      const user = await createUser({name: 'John'});\n    } catch (error) {\n      expect(error).toMatch('A user named \"John\" already exists.');\n    }\n  });\n});\n```\n\n## <a name=\"api\">API</a>\n\n### xhr-mock\n\n#### .setup()\n\nReplace the global `XMLHttpRequest` object with the `MockXMLHttpRequest`.\n\n#### .teardown()\n\nRestore the global `XMLHttpRequest` object to its original state.\n\n#### .reset()\n\nForget all the request handlers.\n\n#### .get(url | regex, mock)\n\nRegister a factory function to create mock responses for each GET request to a specific URL.\n\n```js\nmock.get(/\\.*.json$/, {\n  body: JSON.stringify({ data: { id: \"abc\" } })\n});\n```\n\n#### .post(url | regex, mock)\n\nRegister a factory function to create mock responses for each POST request to a specific URL.\n\n#### .put(url | regex, mock)\n\nRegister a factory function to create mock responses for each PUT request to a specific URL.\n\n#### .patch(url | regex, mock)\n\nRegister a factory function to create mock responses for each PATCH request to a specific URL.\n\n#### .delete(url | regex, mock)\n\nRegister a factory function to create mock responses for each DELETE request to a specific URL.\n\n#### .use(method, url | regex, mock)\n\nRegister a factory function to create mock responses for each request to a specific URL.\n\n#### .use(fn)\n\nRegister a factory function to create mock responses for every request.\n\n#### .error(fn)\n\nLog errors thrown by handlers.\n\n### MockXMLHttpRequest\n\n### MockRequest\n\n#### .method() : string\n\nGet the request method.\n\n#### .url() : MockURL\n\nGet the request URL.\n\n#### .header(name : string, value: string)\n\nSet a request header.\n\n#### .header(name : string) : string | null\n\nGet a request header.\n\n#### .headers() : object\n\nGet the request headers.\n\n#### .headers(headers : object)\n\nSet the request headers.\n\n#### .body() : string\n\nGet the request body.\n\n#### .body(body : string)\n\nSet the request body.\n\n### MockResponse\n\n#### .status() : number\n\nGet the response status.\n\n#### .status(code : number)\n\nSet the response status.\n\n#### .reason() : string\n\nGet the response reason.\n\n#### .reason(phrase : string)\n\nSet the response reason.\n\n#### .header(name : string, value: string)\n\nSet a response header.\n\n#### .header(name : string) : string | null\n\nGet a response header.\n\n#### .headers() : object\n\nGet the response headers.\n\n#### .headers(headers : object)\n\nSet the response headers.\n\n#### .body() : string\n\nGet the response body.\n\n#### .body(body : string)\n\nSet the response body.\n\n## <a name=\"how-to\">How to?</a>\n\n### Simulate progress\n\n#### Upload progress\n\nSet the `Content-Length` header and send a body. `xhr-mock` will emit `ProgressEvent`s.\n\n```js\nimport mock from 'xhr-mock';\n\nmock.setup();\n\nmock.post('/', {});\n\nconst xhr = new XMLHttpRequest();\nxhr.upload.onprogress = event => console.log(event.loaded, event.total);\nxhr.open('POST', '/');\nxhr.setRequestHeader('Content-Length', '12');\nxhr.send('Hello World!');\n```\n\n#### Download progress\n\nSet the `Content-Length` header and send a body. `xhr-mock` will emit `ProgressEvent`s.\n\n```js\nimport mock from 'xhr-mock';\n\nmock.setup();\n\nmock.get('/', {\n  headers: {'Content-Length': '12'},\n  body: 'Hello World!'\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.onprogress = event => console.log(event.loaded, event.total);\nxhr.open('GET', '/');\nxhr.send();\n```\n\n### Simulate a timeout\n\nReturn a `Promise` that never resolves or rejects.\n\n```js\nimport mock from 'xhr-mock';\n\nmock.setup();\n\nmock.get('/', () => new Promise(() => {}));\n\nconst xhr = new XMLHttpRequest();\nxhr.timeout = 100;\nxhr.ontimeout = event => console.log('timeout');\nxhr.open('GET', '/');\nxhr.send();\n```\n\n> A number of major libraries don't use the `timeout` event and use `setTimeout()` instead. Therefore, in order to mock timeouts in major libraries, we have to wait for the specified amount of time anyway.\n\n### Simulate an error\n\nReturn a `Promise` that rejects. If you want to test a particular error you an use one of the pre-defined error classes.\n\n```js\nimport mock from 'xhr-mock';\n\nmock.setup();\n\nmock.get('/', () => Promise.reject(new Error()));\n\nconst xhr = new XMLHttpRequest();\nxhr.onerror = event => console.log('error');\nxhr.open('GET', '/');\nxhr.send();\n```\n\n### Proxying requests\n\nIf you want to mock some requests, but not all of them, you can proxy unhandled requests to a real server.\n\n```js\nimport mock, {proxy} from 'xhr-mock';\n\nmock.setup();\n\n// mock specific requests\nmock.post('/', {status: 204});\n\n// proxy unhandled requests to the real servers\nmock.use(proxy);\n\n// this request will receive a mocked response\nconst xhr1 = new XMLHttpRequest();\nxhr1.open('POST', '/');\nxhr1.send();\n\n// this request will receieve the real response\nconst xhr2 = new XMLHttpRequest();\nxhr2.open('GET', 'https://jsonplaceholder.typicode.com/users/1');\nxhr2.send();\n```\n\n### Delaying requests\n\nRequests can be delayed using our handy `delay` utility.\n\n```js\nimport mock, {delay} from 'xhr-mock';\n\nmock.setup();\n\n// delay the request for three seconds\nmock.post('/', delay({status: 201}, 3000));\n```\n\n### Once off requests\n\nRequests can be made on one off occasions using our handy `once` utility.\n\n```js\nimport mock, {once} from 'xhr-mock';\n\nmock.setup();\n\n// the response will only be returned the first time a request is made\nmock.post('/', once({status: 201}));\n```\n\n### send a sequence of responses\n\nIn case you need to return a different response each time a request is made, you may use the `sequence` utility.\n\n```js\nimport mock, {sequence} from 'xhr-mock';\n\nmock.setup();\n\nmock.post('/', sequence([\n  {status: 200}, // the first request will receive a response with status 200\n  {status: 500}  // the second request will receive a response with status 500\n                 // if a third request is made, no response will be sent\n  ]\n));\n```\n\n## License\n\nMIT Licensed. Copyright (c) James Newell 2014.\n","maintainers":[{"name":"jameslnewell","email":"james@digitaledgeit.com.au"}],"time":{"modified":"2022-06-29T05:10:57.394Z","created":"2015-08-20T10:40:04.372Z","1.1.1":"2015-08-20T10:40:04.372Z","1.2.0":"2015-08-26T01:45:27.234Z","1.2.1":"2015-08-26T02:41:32.927Z","1.3.0":"2015-08-26T03:08:59.858Z","1.3.1":"2015-08-26T03:12:20.596Z","1.3.2":"2015-08-29T10:02:49.492Z","1.4.0":"2015-09-01T00:32:51.630Z","1.4.1":"2015-11-05T09:31:38.198Z","1.5.0":"2015-12-01T20:44:46.054Z","1.6.0":"2015-12-03T22:08:11.598Z","1.7.0":"2016-11-21T22:23:22.620Z","1.8.0":"2017-04-11T22:12:54.444Z","1.9.0":"2017-04-27T13:35:01.913Z","2.0.0-preview.1":"2017-08-30T10:46:41.599Z","1.9.1":"2017-08-30T22:15:27.754Z","2.0.0-preview.2":"2017-09-02T15:17:18.146Z","2.0.0-preview.3":"2017-09-03T05:18:49.435Z","2.0.0-preview.4":"2017-09-03T15:15:00.064Z","2.0.0-preview.5":"2017-09-07T11:27:08.907Z","2.0.0-preview.7":"2017-09-12T13:38:02.141Z","2.0.0-preview.8":"2017-09-20T09:43:15.763Z","2.0.0-preview.9":"2017-11-08T10:40:39.023Z","2.0.0-preview.10":"2017-12-01T07:41:51.339Z","2.0.0-preview.11":"2018-01-08T02:29:56.290Z","2.0.0-preview.12":"2018-01-08T04:00:20.904Z","2.0.0-preview.13":"2018-01-08T04:57:49.599Z","2.0.0-preview.15":"2018-01-10T07:26:05.974Z","2.0.0":"2018-01-10T16:13:20.484Z","2.0.1":"2018-01-10T16:33:53.305Z","2.0.2":"2018-01-10T16:40:23.208Z","2.0.3":"2018-01-12T01:33:25.934Z","2.1.0":"2018-02-14T11:43:58.058Z","2.2.0":"2018-02-20T05:10:39.375Z","2.3.0":"2018-03-19T22:46:54.283Z","2.3.1":"2018-03-28T05:15:40.903Z","2.3.2":"2018-05-01T12:41:08.760Z","2.4.0":"2018-05-29T23:38:42.788Z","2.4.1-preview.1":"2018-06-14T20:59:47.544Z","2.4.1":"2018-07-11T22:34:39.583Z","2.5.0":"2019-07-17T13:50:40.674Z","2.5.1":"2019-11-08T09:03:50.434Z"},"keywords":["mock","xhr","test","fake","request","ajax","browser","xmlhttprequest","jquery","superagent","axios"],"repository":{"type":"git","url":"https://github.com/jameslnewell/xhr-mock.git"},"license":"MIT","readmeFilename":"README.md","users":{"thebearingedge":true,"hualei":true}}