{"_id":"superagent-mock","_rev":"83-5f02c3cd040426e0fbba3ad53f685db8","name":"superagent-mock","dist-tags":{"beta":"3.4.0-beta.6","latest":"5.0.1"},"versions":{"1.0.0":{"name":"superagent-mock","version":"1.0.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.0.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"4feaddfd6ce9afe418a322214bd14be4051a3b8b","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.0.0.tgz","integrity":"sha512-HkRqYlS+tGNLRt4aXP28YTuU8yJNG3R3SbdIvfenzjXIb9xOGLzEqhTCnqAt4O2cs2CBTO1W9FtrFpf4fEl//Q==","signatures":[{"sig":"MEUCIQC6zrqOz8I5FaWh0tnuEU5pjQm0FXHiTBiiTQOChw84gwIgaOLjo0vJA47RIt4Um97UnP7XQEnl1/DDYTRL85wz7f4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":"./","_shasum":"4feaddfd6ce9afe418a322214bd14be4051a3b8b","gitHead":"b719633d0808264672684d52465dc1d7574060cf","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"oziks","email":"brunot.morgan@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"_npmVersion":"1.4.28","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.1.0":{"name":"superagent-mock","version":"1.1.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.1.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"4fb213c3c4e5430570d0f96590dd7475584ad7d0","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.1.0.tgz","integrity":"sha512-v9Av0ePamW7NY2yeOKBohiuw/d7/u2vpVyKRKo18Ifus3oazpGCpn5LofkKkP4cpXNB3FpswhubDFaneWBlqyQ==","signatures":[{"sig":"MEUCIEDAg4i7zEe15qMHjxq3keV37nIkaFyebQy/1jcy3JhlAiEAwz1HOtsfnJyCbOCEZz+EdRJ+uebOYQ/sEDhQUFeI8oc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":"./","_shasum":"4fb213c3c4e5430570d0f96590dd7475584ad7d0","gitHead":"637ddbd5ac18991a911465f6e8473ce68ab34d45","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"oziks","email":"brunot.morgan@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"_npmVersion":"1.4.28","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.2.0":{"name":"superagent-mock","version":"1.2.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.2.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"d87460ccce3e72c9e5ab9a2e625833224d38e837","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.2.0.tgz","integrity":"sha512-QUu9jSd0tQu0ZflSCwGOYjsO0Juru/EK22kNJOwEJOaeLL9uiNatnRUsRe0giLAd6eVi4Dk964f+gwhZwr03jw==","signatures":[{"sig":"MEYCIQDSWTLprNRgx4g1rP0zxQ4k+BLNL+S3n2zz7adRuOiiEwIhAN8LAQLALZoWMkjY54EWI56QSEoA992G2LEr9YZwHxxg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":"./","_shasum":"d87460ccce3e72c9e5ab9a2e625833224d38e837","gitHead":"5a141b11769698d1b6d72692ebc209bd607a454a","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"oziks","email":"brunot.morgan@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"_npmVersion":"1.4.28","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.3.0":{"name":"superagent-mock","version":"1.3.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.3.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"0b8940b6599f7ea44d089b2865b364ae2e5c2ab2","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.3.0.tgz","integrity":"sha512-zTAfc/BZY0ePaKW47IUm16ecKBcYahT7lVlIQo8+aeMpMLrTDxPbIkoOCR+mlHEcJQ2TpROEtaTgh83nXAur0w==","signatures":[{"sig":"MEUCIHEe1fJJ2dwBZEJIq8vi81Po9XarKf7kx31QbEeoEz88AiEAvtzb3FQPUAg0ir+QKVLybw0G3lXweKKdIxb27EbJ+JU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":"./","_shasum":"0b8940b6599f7ea44d089b2865b364ae2e5c2ab2","gitHead":"43001c5a3ed3cab6185d9998d3ab73e0dd53d7d2","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"oziks","email":"brunot.morgan@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"_npmVersion":"1.4.28","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.7.0":{"name":"superagent-mock","version":"1.7.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.7.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"36d8d0e71feee4948087c6e4472f99c22ea12154","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.7.0.tgz","integrity":"sha512-k/0QAPNEtigzkiOgRABg8ftdd8NBNKfUL1KvUnptAPShuB7TyoV8jqoMS5U64u1P7bZwUUNRxXplhTBBmjVISA==","signatures":[{"sig":"MEUCIBNDp03WGEDF0abu1e/Dac3NvUlXixsLV1Xaz3Vf+zUSAiEA2QYc/tVS5O48+Z7Tf7v1Y0sLOf//7q6seV8K9hBx2FE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"36d8d0e71feee4948087c6e4472f99c22ea12154","gitHead":"07dffacb104aff842b1c637487d39f288282bcf4","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"_npmVersion":"1.4.28","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.8.0":{"name":"superagent-mock","version":"1.8.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.8.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"dda8cec7fa2fb33a58db8ada254be152b6025958","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.8.0.tgz","integrity":"sha512-qO9WJ3zu7ai5hNnlEsJTDIqfvC9JazsxVjFARRDyV6FQfPQghMj/T1xeIO+yFKtrqtiPc+UHQUrni7o0nZ39CQ==","signatures":[{"sig":"MEQCIC/co+b3I8kvFqES1YDIkmz2zfUlMfsk5SD02VrVjMh7AiAL0brcikYsjarDVMqn5KqMzl0pIkKa/iOyNNmBV4YfIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"dda8cec7fa2fb33a58db8ada254be152b6025958","gitHead":"fae25e34535acb94231d82b8e6a86b37f034972c","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"2.14.8","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"0.10.38","dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.9.0":{"name":"superagent-mock","version":"1.9.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.9.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"75022394e90f71c8895b78c961d82cf21f727085","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.9.0.tgz","integrity":"sha512-EID9ro6GRpc70L1F8yu8pug29QUownvAogo+5ZsJDlA6j+ikHQALlCb2Ua6j7IQyQo2hLL50eVESdweyS2ZzVA==","signatures":[{"sig":"MEQCIEwGfa6PZYvsxuc5+1fCbcQ483iKYNAKSW/gAh9CZY2oAiAU6HfqFKUtKhvGwFKyVjNiy1Naq6uqs8ZBQr0gEvsUZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"75022394e90f71c8895b78c961d82cf21f727085","gitHead":"efba63035961dc94df9371ef9d933e024f042185","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"2.14.7","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"4.2.2","dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.10.0":{"name":"superagent-mock","version":"1.10.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.10.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"dad0f8b92053daeb8a2a0698564ad2dec3f69ab1","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.10.0.tgz","integrity":"sha512-RgILmF9H2nnJtxHZ9jqT05cl8zLtjcFmD/bqAxQ/ubrR0rrJXv6JfWJvhtqp47BBdJx//KmXFz0/pkzYr3/FYA==","signatures":[{"sig":"MEUCIHnIgiNBgf52dtCTAoe/D0qM9oW6H7AG8992Hdpi74WjAiEA8HJv6voJZzCngkcHk/wvAkuQ3GdEUgrl6uIYGSCZG90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"dad0f8b92053daeb8a2a0698564ad2dec3f69ab1","gitHead":"09a03343e70bc1ea5bdfa9c6628d465c5cca9d38","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"2.14.7","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"4.2.3","dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"}},"1.11.0":{"name":"superagent-mock","version":"1.11.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.11.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"dc8403cb8b900624b92d9ba6fbefa16275071492","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.11.0.tgz","integrity":"sha512-T4TKRWqMr/umzLBx5JUs08avdv8/YUBQqYLLycztSxqVlLgwxxwpi3+Gz5NQ63tHRAAz9ErfAljPab8WDA7xWA==","signatures":[{"sig":"MEUCIHJ476jjUVMJepXRom7RKutMDlc2eY8/KPpB1l9m95UeAiEAu8q3pyuV/ZDiZjRgjIllY2xuGPjZiDGp0r0CBlzzc1Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"dc8403cb8b900624b92d9ba6fbefa16275071492","gitHead":"fe05765a110d5361e09f00649bbbfc9a30093626","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.5","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"6.3.0","dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-1.11.0.tgz_1470317863435_0.0059230634942650795","host":"packages-16-east.internal.npmjs.com"}},"1.12.0":{"name":"superagent-mock","version":"1.12.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@1.12.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"85c9e7ae8b83e391c1b46a32ff3b0241395ce47a","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-1.12.0.tgz","integrity":"sha512-jrQDaHRhRtoE3GD2BiT14HfRdwveR8plbChhdHXw+7/Ln5kV26iPrga5hjhe0dAehOTPUgwtH4ct2TzvPyAr1Q==","signatures":[{"sig":"MEYCIQCKeloLjFxmV0oZRDZIxRLQw9pDS4fGCDn4SvQtIjJDaAIhAIKwd+/DRrXDq06c/Uqf3FMpzLAb07s/37eJVi0d9ndL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"85c9e7ae8b83e391c1b46a32ff3b0241395ce47a","gitHead":"9bb92d5d1e5d1ad602c6cce0ada7665afe940413","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.7","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"qs":"^2.3.3","superagent":"^1.1.0"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-1.12.0.tgz_1473175770946_0.35870492993853986","host":"packages-16-east.internal.npmjs.com"}},"2.0.0":{"name":"superagent-mock","version":"2.0.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@2.0.0","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"76d06332fa98c3c4bfe85e1fcb617450a39fa66f","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-2.0.0.tgz","integrity":"sha512-8PclAg4SXzEWdY/0YFPDAIjI7ioAkaSrgE3fvvq98mKj6gu2UQjMn2aYAj2mCcsZZiWbZFF7kTGMffGTJjbUjw==","signatures":[{"sig":"MEQCICOZrjtYDlYr32R/yOB/tR2YnRRbvsQOaixcu2Dr8K3dAiB8BEKz/gn3CvTYJo72bKQ1wCKCVJK5RtRRdJBITh4dXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"76d06332fa98c3c4bfe85e1fcb617450a39fa66f","gitHead":"9df93110689613fc3a8de2136d5c2efa4ee91939","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.9","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"7.0.0","dependencies":{"qs":"^2.3.3"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-2.0.0.tgz_1478536094328_0.28025901690125465","host":"packages-12-west.internal.npmjs.com"}},"2.0.1":{"name":"superagent-mock","version":"2.0.1","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@2.0.1","maintainers":[{"name":"oziks","email":"brunot.morgan@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"7ea48d714cb391449c4f9232f522457c3b238037","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-2.0.1.tgz","integrity":"sha512-t/Zi9/rmXSab8koZY+VZCVMqhxxA0kjlQAaLHz6OD1zVjtuC75MVuED53wQB80nUl5O+paHcApHvLR7NA9Sr1w==","signatures":[{"sig":"MEUCIQDzMtG9WPlZMskuzsA4RiFfsox8oCrFTTzEZMROUX3jIQIgCDhhhqZbtxXDW1ZmxRxlV8uzQw2h+AXP89izMg+MY6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"7ea48d714cb391449c4f9232f522457c3b238037","gitHead":"ae7283265015ba21630224de2b5c07a8035c1267","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.9","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"7.0.0","dependencies":{"qs":"^2.3.3"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-2.0.1.tgz_1478707343411_0.6480606971308589","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"superagent-mock","version":"3.0.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.0.0","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"371c4466f6b7ab57f859fb1106c011e8cd814e2e","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.0.0.tgz","integrity":"sha512-RHZhDBDjCuUaD2RgMf4q+2LBrow/LKGUhjZiaBstjcDLb+SW/m7rkTDIapXJb8XeshGEVO9u3Dj19/mFD0Y4Zw==","signatures":[{"sig":"MEUCIC5Cp7hZ36WoYEmZJumudAPHqNEGM0Bj2lK7PeTEVvENAiEAllLCY3BgczohaP6xrbYTJq2Th6utpUk5tBb7hu0JohA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"371c4466f6b7ab57f859fb1106c011e8cd814e2e","gitHead":"81013ee45cc9cf3243459c7656a62552fa774624","scripts":{"lint":"./node_modules/eslint/bin/eslint.js ./lib","test":"./node_modules/nodeunit/bin/nodeunit ./tests"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.9.6","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"qs":"^2.3.3"},"devDependencies":{"eslint":"0.12.0","nodeunit":"0.9.0","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.0.0.tgz_1481724001370_0.18877647491171956","host":"packages-18-east.internal.npmjs.com"}},"3.1.0":{"name":"superagent-mock","version":"3.1.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.1.0","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"42f7649e1402f5df228946c6742c68d98f03d24e","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.1.0.tgz","integrity":"sha512-izxJZUBfF/W98IR0zmN/BA4zPykaVrjPAY+yE0lNNENex61cnem4LFnUEZY7dVX2I5su4grFDUZK1JUMoYXS2Q==","signatures":[{"sig":"MEYCIQDS1GAdeL9D6U5OQPJ+tlcLsoPcXstMfrb8W+MyeTj66gIhAKXYUcp8Nnms+qRH2qGcTisZTOXfdHWZaq/6feligxgy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"42f7649e1402f5df228946c6742c68d98f03d24e","gitHead":"59d648ce7c3cc3b438db0b481343fe7884bd1ba2","scripts":{"lint":"eslint ./lib","test":"nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.9","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"7.0.0","devDependencies":{"eslint":"0.12.0","nodeunit":"0.10.2","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^3.3.1"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.1.0.tgz_1483956281224_0.0014698440209031105","host":"packages-12-west.internal.npmjs.com"}},"3.2.0":{"name":"superagent-mock","version":"3.2.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.2.0","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"40aa5e2a124226163928671e3ddece27c286a22c","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.2.0.tgz","integrity":"sha512-2tSHI+0PRSQUCeiDPsO0oHIJQERtz3WJYXFJMiqssg6FATamtv4d1IWqvfkAKriPgywLGnxXCgCXw7k5ivunbw==","signatures":[{"sig":"MEYCIQCPIQW2VvvJxFZe6TerN+i5tN9FZqeyNw51l9h4fIxDOAIhAN9S4D8L0FHW0YTB4bIuC9RO/KAIWEhhQQsdwb+NKtJD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"40aa5e2a124226163928671e3ddece27c286a22c","gitHead":"c05a413ab6db54c12d029fa3f2d8c5c903650565","scripts":{"lint":"eslint ./lib","test":"nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.10","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"6.9.4","devDependencies":{"eslint":"0.12.0","nodeunit":"0.10.2","superagent":"^3.3.1","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^3.3.1"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.2.0.tgz_1485163476951_0.9653686399105936","host":"packages-12-west.internal.npmjs.com"}},"3.3.0":{"name":"superagent-mock","version":"3.3.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.3.0","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"oziks","email":"brunot.morgan@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"c5039c2deb46c2ea6a1f48019b36edc6d9e2d3b0","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.3.0.tgz","integrity":"sha512-xd0bMzknGudXPP48ePxlUsXnpchAz/FUFJsDB7tWGoyHrLJFvDFwk92JAgKds+5NP+bQa6ZcxvWQgRVJtZ0aKQ==","signatures":[{"sig":"MEUCIBWkQnCohqIlFEsBsppGzLTpxxMLRis2e3KWgrMPdfo9AiEA+ObU7Z1JqwsAvg8oa2pEJ6GW+6OYkF/cEwYZBB4Wx7M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","_from":".","_shasum":"c5039c2deb46c2ea6a1f48019b36edc6d9e2d3b0","gitHead":"3c89c5ed780ac83dd1988842951e561ddd942178","scripts":{"lint":"eslint ./lib","test":"nodeunit ./tests"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"3.10.10","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"6.9.4","devDependencies":{"eslint":"0.12.0","nodeunit":"0.10.2","superagent":"^3.3.1","component-as-module":"0.3.0"},"peerDependencies":{"superagent":"^3.3.1"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.3.0.tgz_1486983464928_0.8563041442539543","host":"packages-12-west.internal.npmjs.com"}},"3.4.0-beta.6":{"name":"superagent-mock","version":"3.4.0-beta.6","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.4.0-beta.6","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"}],"bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"05705385d5221f0387e6ddaefa8553ff8934f7f9","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.4.0-beta.6.tgz","integrity":"sha512-r6na2qZyWIiaUmZh8jNxO66YfrooAG2sZOxEo+obgvKkqnZQpi4rRBEzXiAtKvR8ovyFjIt7fBg+yxDF21ZYoQ==","signatures":[{"sig":"MEYCIQDCOFvO+p0CVWPh1hW62RfKIikDenIj9vIgzPiipuxWdgIhAJGtf+8v+A+cFg/tZqiNZiJLDU6BcnCL2PGk0CLm0ije","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","scripts":{"lint":"eslint ./src ./tests","test":"jest ./tests","build":"yarn build:commonjs && yarn build:es","clean":"rimraf lib es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es","prepublish":"yarn run clean && yarn lint && yarn build","build:commonjs":"cross-env BABEL_ENV=commonjs babel src --out-dir lib"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"licenseText":"Copyright (c) 2015 M6Web\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 furnished\nto 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\nTHE SOFTWARE.\n","devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.5.2","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.4.0-beta.6.tgz_1495556670985_0.6622489616274834","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"superagent-mock","version":"3.4.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.4.0","maintainers":[{"name":"devside","email":"thomas.triau@gmail.com"}],"bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"8c872abb2604531ffdf33cc3da7b83b736a5c490","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.4.0.tgz","integrity":"sha512-KCaHy7Chw0bGfU7q52pK1c3hOQN50N+e9UX04OUolBt+PBMmmFGpd3plZwT9HuvumETSCh3Eg/yaCAG8+8HmRA==","signatures":[{"sig":"MEYCIQDKAuG3TydYdup5w/rMpe2b7G3E4U2d6X4v5sx3ABkQ+wIhALEu4S/VnX4VA72qj4Gyf0tZeDe1f27mXnknXc772HyK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","scripts":{"lint":"eslint ./src ./tests","test":"jest ./tests","build":"yarn build:commonjs && yarn build:es","clean":"rimraf lib es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es","prepublish":"yarn run clean && yarn lint && yarn build","build:commonjs":"cross-env BABEL_ENV=commonjs babel src --out-dir lib"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"licenseText":"Copyright (c) 2015 M6Web\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 furnished\nto 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\nTHE SOFTWARE.\n","devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.5.2","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.4.0.tgz_1495630808494_0.666366315446794","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"superagent-mock","version":"3.5.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.5.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"tzi","email":"thomas@zilliox.me"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"ab6cefa4f18dc2b9d22bf5df4ad61d2c0ca5b7a9","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.5.0.tgz","integrity":"sha512-VaauyCaMnPYtN+YC75EggWoZ5kMNHiEaMF/TQ79DFasO2g6MvOQhzrHuPY3BrK7KflwgGzEi21MBWfxr2uuxng==","signatures":[{"sig":"MEYCIQCYaJgQVLXO3o8sm55DOF01lcbewlGztpTNOgGZn8CkAgIhAJGJJlNrWhD3xRmjaQxwY8zTV02iEnr45IImqtioq5eR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","gitHead":"8fcb428451c19b808009085d1c5866bcdcde78a7","scripts":{"lint":"eslint src tests","test":"jest tests","build":"yarn build:commonjs && yarn build:es","clean":"rimraf lib es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es","prepublish":"yarn run clean && yarn lint && yarn build","build:commonjs":"cross-env BABEL_ENV=commonjs babel src --out-dir lib"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"5.3.0","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"7.10.1","devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.5.2","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.5.0.tgz_1500983844109_0.44109227205626667","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"superagent-mock","version":"3.6.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.6.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"tzi","email":"thomas@zilliox.me"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"8562b05fc9509fe24dd925b1c444c001ce874e7c","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.6.0.tgz","integrity":"sha512-F1EjBf4Ug3BKV7HFeTkX3G+XZ3lAUBrXGKpyoH+C932fuiIvc8UeFmTZ1J5jZFDxGw67Vh3GDZ7OcfDnpZPHVg==","signatures":[{"sig":"MEYCIQDw0PAHx9ceUM8YpSH3Xxe7t1whQPrHdg8iL4Ug6lR6OgIhALum4tIruM/rH2DDu1zNfN90TxtCu0vXr2ZuitG5ys4a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/superagent-mock.js","gitHead":"6e246bb1f1ee03ad979fdb2ec1636b4f885e7877","scripts":{"lint":"eslint src tests","test":"jest tests","build":"yarn build:commonjs && yarn build:es","clean":"rimraf lib es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es","prepublish":"yarn run clean && yarn lint && yarn build","build:commonjs":"cross-env BABEL_ENV=commonjs babel src --out-dir lib"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"5.3.0","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"7.10.1","devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.6.0","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock-3.6.0.tgz_1505399047418_0.9575595171190798","host":"s3://npm-registry-packages"}},"3.7.0-beta.0":{"name":"superagent-mock","version":"3.7.0-beta.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.7.0-beta.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"flav","email":"flavien.pensato@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"osirisxxl","email":"osirisxxxl@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"maximeblanc.dev@gmail.com"},{"name":"tzi","email":"thomas@zilliox.me"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"def222d2b81f22fe6908ea4e71df6232e6f008a8","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.7.0-beta.0.tgz","fileCount":6,"integrity":"sha512-Tqa2DvjCo83o00srDen9mcA0/HmUBFHWNfHpIRrs5GHlKyB+CFK9UMENGE/qTzmPFHXqpvzZD10yD6Hw5OjwKQ==","signatures":[{"sig":"MEUCIQDLwhJfSmLX7wWeQ2Rg+7RQ/dIlDmfScXgO6ZVW0TwPPwIgGdcdhP7XCvPeY4lId/B4YvK9dzkAh2EEYMf01CBlCPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33031},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","gitHead":"c53f189395974dc6dafe420d2c63bdab14c37501","scripts":{"lint":"eslint src tests","test":"jest tests","build":"yarn build:commonjs && yarn build:es","clean":"rimraf lib es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es","prepublish":"yarn run clean && yarn lint && yarn build","build:commonjs":"cross-env BABEL_ENV=commonjs babel src --out-dir lib"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"5.6.0","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"9.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.6.0","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_3.7.0-beta.0_1518540561300_0.4813144816352901","host":"s3://npm-registry-packages"}},"3.7.0-beta.1":{"name":"superagent-mock","version":"3.7.0-beta.1","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.7.0-beta.1","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"flav","email":"flavien.pensato@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"osirisxxl","email":"osirisxxxl@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"maximeblanc.dev@gmail.com"},{"name":"tzi","email":"thomas@zilliox.me"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"700d553dda7635eac3fc2d6280d7d1c4c3f070fc","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.7.0-beta.1.tgz","fileCount":5,"integrity":"sha512-Hoefq/YFJfRKk+sAezQMJkFJiOJlXHccRsRWxmWTT1/P0fXn78Ozy4CHrGykckw2Nl7NjF7ph606TJn+xsOBsQ==","signatures":[{"sig":"MEUCIAckEnoBxgZ+G4+7lx+xVsnr3sCe2z9zQIu0m5amDooSAiEAlsRnpOD1E6BuM29GbFzLmwXE+CCmc96IcpRopxsxGmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25198},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","gitHead":"b7b63d533c860000317e62a6410e7e038d733b99","scripts":{"ci":"yarn clean && yarn lint && yarn build && yarn test","lint":"eslint src tests","test":"jest tests","build":"cross-env babel src --out-dir lib","clean":"rimraf lib es","prepublishOnly":"yarn ci"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"5.6.0","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"9.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.6.0","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_3.7.0-beta.1_1518540734560_0.7728932218834406","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"superagent-mock","version":"3.7.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@3.7.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"flav","email":"flavien.pensato@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"osirisxxl","email":"osirisxxxl@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"maximeblanc.dev@gmail.com"},{"name":"tzi","email":"thomas@zilliox.me"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"d424909e2dbb0bd0e5ab213ef8df91e3cbbcd613","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-3.7.0.tgz","fileCount":5,"integrity":"sha512-+vWnpMgRw4X0tlN2c4SPbhoVG4RSdYdErJ4AiwCK0r2XqGbHvVNbpZlY0RBfzOy6F5eN5Q1+d1sncmakxnjbiQ==","signatures":[{"sig":"MEQCIA86V4Z6/IlkDWsRlbG2/t2pu3PR+5YMrsPOYrMGeDbmAiBQvbnM8l1xBHWmvBx2um3wH1liJ8WkvdkVUQUJDfbk/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25191},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","gitHead":"35958cc1ee439abbab3fa73e7d9cfd29aab77065","scripts":{"ci":"yarn clean && yarn lint && yarn build && yarn test","lint":"eslint src tests","test":"jest tests","build":"cross-env babel src --out-dir lib","clean":"rimraf lib es","prepublishOnly":"yarn ci"},"_npmUser":{"name":"devside","email":"thomas.triau@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"5.6.0","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"9.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"20.0.3","eslint":"^3.19.0","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.0","babel-jest":"^20.0.3","superagent":"^3.6.0","babel-preset-env":"^1.4.0"},"peerDependencies":{"superagent":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_3.7.0_1518543815994_0.8924231713805073","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"superagent-mock","version":"4.0.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@4.0.0","maintainers":[{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"themaximeblanc@protonmail.com"},{"name":"clement-berard","email":"contact@clementberard.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"6c33457c312c4dc4082220c8b9c4eb0067dc67a9","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-4.0.0.tgz","fileCount":7,"integrity":"sha512-+xj+q+sL5sJIcFxwmj5Wuq59Kns0ocOd8OrMkbEXEwseWImAVvM7cP8G7raQRZ+vloUN32t/yKosD+YAXa9rcg==","signatures":[{"sig":"MEUCIQDCMVK1TLlp0049tLDWS1r1+fA92IKT0ZcIZY9WEebbdgIgO/ONGtttP6TK11h1cAbwsie1mnHUXji6b/73rs8oQVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":260771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUQCLCRA9TVsSAnZWagAAAhUP/09Oq6WapepCYWNmunF5\nzcnyTlziDMSRvlPhp1o3P2uFc7BpzoAphKKPzfJ1wUk5wYVr2uy7iJCHDtgh\n9f11gPn1qX0psro66vxSsJjuN9CbTCJbicXR/wvG+VNsefNm0oI3rE5RoIGF\nIy8Usw1A8WwGvKkwIr6WHcqs12RtmwO4o4cR7wH7AyWlFMKuFkQ5lad/6haw\nhtHo9Fh2TvLiTPb53Gfevm1wo92uWCegCrVDviV4fAGmNj3bzsrxbTOp5k2R\nyJOqtZu1wYv83vZKLZB13Wjspx8rQSbG2eyE2GlS1FAwrpfxhyY70UU52aPP\nIepxgiXO/bSje2kHl1wVU0eE/PcNHUkKWZoXFs+wqU2+rK8wX9ITei/yrEtO\n+7iiwTOa/pLf3mdHWQnN/zECV0AcKgxAJrEsxtYjmjiqJrtNywDItB2kbduN\n8DFGBTFe3/+RZ80YcPU0njw4IRZQSSGNXfpidUgx+3ujeYPIxdkqmuXGnbea\nVJuKXbFJjSjxU5tzw3sAdutihPDTE01AarJC2HuLUMJtrS8EF4ccPmHLT0Ot\nZGYYKEX9uSbWVIRjCaOVPdxzbOQUFyLZECGkZ8JhswMwPI3OQ1hwnqgKXrLe\nhxFnZsCajqgxkKkXP1nr6rO8uUZIG6xQfxGGXi43aDBTEkudwO5eBVYVDrTT\n3QEj\r\n=y4GW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","engines":{"node":">=10"},"gitHead":"1435251c22b4de1ca4d4506dbdb015a6a503c004","scripts":{"ci":"yarn clean && yarn lint && yarn build && yarn test","lint":"eslint src tests","test":"jest tests","build":"cross-env babel src --out-dir lib","clean":"rimraf lib es","prepublishOnly":"yarn ci"},"_npmUser":{"name":"slashgear","email":"antoine395.caron@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"6.14.11","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"14.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.22.0","rimraf":"^3.0.0","core-js":"^3.4.7","cross-env":"^7.0.3","@babel/cli":"^7.7.4","superagent":"^3.6.0","@babel/preset-env":"^7.13.10"},"peerDependencies":{"superagent":">=3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_4.0.0_1615921290602_0.10950407154904873","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"superagent-mock","version":"5.0.0","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@5.0.0","maintainers":[{"name":"tetsu9901","email":"theodore.marion@bedrockstreaming.com"},{"name":"jsulpis","email":"julien.sulpis@gmail.com"},{"name":"martinschneider01","email":"martin.schneider01@gmail.com"},{"name":"jcoquet","email":"jbc_1984@hotmail.com"},{"name":"agory","email":"gory.alexandre02@gmail.com"},{"name":"nbazille","email":"oltodo@msn.com"},{"name":"valotvince","email":"valot.vince@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"themaximeblanc@protonmail.com"},{"name":"clement-berard","email":"contact@clementberard.com"}],"bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"091665826193bb4a1471dd0b312383a48363b2b9","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-5.0.0.tgz","fileCount":9,"integrity":"sha512-pmbeFE2Sso11DRe1FZhMUWi/naqwdm+ICD4D8uQKIJpjEbMPigewuO8RZCL4+eaLLSc1m3zpM2WgvPpOqXjq9w==","signatures":[{"sig":"MEUCIQDUaBd1lGD/2fwihEcEulwDjFO0eHPi5QS4oiDeDVEoegIgL8WhhOvHLmXeXa9CguyEgEn7GC1dkqlD15R0rO6scCQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26700},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","engines":{"node":">=16.0.0"},"scripts":{"ci":"yarn clean && yarn lint && yarn build && yarn test","lint":"eslint src tests","test":"jest tests","build":"cross-env babel src --out-dir lib","clean":"rimraf lib es","prepublishOnly":"yarn ci"},"_npmUser":{"name":"slashgear","email":"antoine395.caron@gmail.com"},"repository":{"url":"https://github.com/M6Web/superagent-mock","type":"git"},"description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"licenseText":"Copyright (c) 2015 M6Web\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 furnished\nto 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\nTHE SOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.22.0","rimraf":"^3.0.0","core-js":"^3.4.7","cross-env":"^7.0.3","@babel/cli":"^7.7.4","superagent":"8.0.9","@babel/preset-env":"^7.13.10"},"peerDependencies":{"superagent":">=8.0.9"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_5.0.0_1690965987419_0.8668896691697443","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"superagent-mock","version":"5.0.1","keywords":["superagent","mock","isomorphic"],"license":"MIT","_id":"superagent-mock@5.0.1","maintainers":[{"name":"tetsu9901","email":"theodore.marion@bedrockstreaming.com"},{"name":"jsulpis","email":"julien.sulpis@gmail.com"},{"name":"martinschneider01","email":"martin.schneider01@gmail.com"},{"name":"jcoquet","email":"jbc_1984@hotmail.com"},{"name":"agory","email":"gory.alexandre02@gmail.com"},{"name":"nbazille","email":"oltodo@msn.com"},{"name":"valotvince","email":"valot.vince@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"slashgear","email":"antoine395.caron@gmail.com"},{"name":"the-smaug","email":"themaximeblanc@protonmail.com"},{"name":"clement-berard","email":"contact@clementberard.com"}],"homepage":"https://github.com/M6Web/superagent-mock#readme","bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"dist":{"shasum":"5cc46c9fc7ae154e002a5ebfc08489140c397d0e","tarball":"https://registry.npmjs.org/superagent-mock/-/superagent-mock-5.0.1.tgz","fileCount":6,"integrity":"sha512-FEOEtGuv0hYEh8NyO2Ftfl1MJdkcAenjM5f5JVyDlwfQVHoXQGvSh3TgFf1qpU3MBLgdqZRfmfNxJ2AuhGZY/g==","signatures":[{"sig":"MEUCICqi3pGMVs58ckawNwtJ2427CTt/yx8YBiy+FsTUsyy0AiEAjEABaDEa2Hf60tt82cwDAbMz2owrmsWAmpYfAJJ/534=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26941},"main":"lib/superagent-mock.js","module":"es/superagent-mock.js","engines":{"node":">=16.0.0"},"gitHead":"860eac630c095cf936564b0eea05b5e6b53d556e","scripts":{"ci":"yarn clean && yarn lint && yarn build && yarn test","lint":"eslint src tests","test":"jest tests","build":"cross-env babel src --out-dir lib","clean":"rimraf lib es","prepublishOnly":"yarn ci"},"_npmUser":{"name":"fdubost","email":"florent.dubost@gmail.com"},"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"_npmVersion":"9.8.1","description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","directories":{},"_nodeVersion":"18.18.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.22.0","rimraf":"^3.0.0","core-js":"^3.4.7","cross-env":"^7.0.3","@babel/cli":"^7.7.4","superagent":"8.0.9","@babel/preset-env":"^7.13.10"},"peerDependencies":{"superagent":">=8.0.9"},"_npmOperationalInternal":{"tmp":"tmp/superagent-mock_5.0.1_1697623208080_0.9911891324074065","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-03-27T13:19:45.632Z","modified":"2025-03-12T10:24:03.956Z","1.0.0":"2015-03-27T13:19:45.632Z","1.1.0":"2015-04-30T13:43:43.853Z","1.2.0":"2015-05-18T13:42:53.051Z","1.3.0":"2015-06-29T13:38:55.838Z","1.6.0":"2015-09-09T08:45:50.433Z","1.7.0":"2015-09-09T09:12:54.134Z","1.8.0":"2015-10-29T09:53:38.586Z","1.9.0":"2015-11-18T08:46:02.607Z","1.10.0":"2016-01-04T10:02:58.123Z","1.11.0":"2016-08-04T13:37:44.876Z","1.12.0":"2016-09-06T15:29:31.825Z","2.0.0":"2016-11-07T16:28:16.420Z","2.0.1":"2016-11-09T16:02:25.269Z","3.0.0":"2016-12-14T14:00:01.967Z","3.1.0":"2017-01-09T10:04:43.182Z","3.2.0":"2017-01-23T09:24:38.639Z","3.3.0":"2017-02-13T10:57:47.014Z","3.4.0-beta":"2017-04-18T15:39:26.278Z","3.4.0-beta.1":"2017-04-18T16:44:56.109Z","3.4.0-beta.2":"2017-04-18T16:57:17.144Z","3.4.0-beta.3":"2017-04-18T17:08:10.533Z","3.4.0-beta.4":"2017-05-23T12:51:12.868Z","3.4.0-beta.5":"2017-05-23T16:18:02.052Z","3.4.0-beta.6":"2017-05-23T16:24:31.964Z","3.4.0":"2017-05-24T13:00:09.550Z","3.5.0":"2017-07-25T11:57:25.167Z","3.6.0":"2017-09-14T14:24:08.490Z","3.7.0-beta.0":"2018-02-13T16:49:22.374Z","3.7.0-beta.1":"2018-02-13T16:52:15.663Z","3.7.0":"2018-02-13T17:43:36.626Z","4.0.0":"2021-03-16T19:01:30.816Z","5.0.0":"2023-08-02T08:46:27.565Z","5.0.1":"2023-10-18T10:00:08.351Z"},"bugs":{"url":"https://github.com/M6Web/superagent-mock/issues"},"license":"MIT","homepage":"https://github.com/M6Web/superagent-mock#readme","keywords":["superagent","mock","isomorphic"],"repository":{"url":"git+https://github.com/M6Web/superagent-mock.git","type":"git"},"description":"superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.","maintainers":[{"email":"florent.dubost@gmail.com","name":"fdubost"},{"email":"florent.lepretre@gmail.com","name":"flepretre"},{"email":"gory.alexandre02@gmail.com","name":"agory"},{"email":"valot.vince@gmail.com","name":"valotvince"},{"email":"poissonnet.jules@gmail.com","name":"jpoissonnet"},{"email":"yoann@frommelt.fr","name":"doubleyo"},{"email":"theodore.marion@bedrockstreaming.com","name":"tetsu9901"},{"email":"etiennelyon69003@gmail.com","name":"etiennedoyon"}],"readme":"![npm](https://img.shields.io/npm/v/superagent-mock)\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/superagent-mock)\n![npm](https://img.shields.io/npm/dy/superagent-mock)\n![GitHub last commit](https://img.shields.io/github/last-commit/M6web/superagent-mock)\n![NPM](https://img.shields.io/npm/l/superagent-mock)\n[![NPM Downloads](http://img.shields.io/npm/dm/superagent-mock.svg)](https://www.npmjs.org/package/superagent-mock)\n[![Continous Integration](https://github.com/M6Web/superagent-mock/actions/workflows/node.js.yml/badge.svg)](https://github.com/M6Web/superagent-mock/actions/workflows/node.js.yml)\n\n<p align=\"center\">\n<b><a href=\"#installation\">Installation</a></b>\n|\n<b><a href=\"#usage\">Usage</a></b>\n|\n<b><a href=\"#supported-methods\">Supported Methods</a></b>\n|\n<b><a href=\"#credits\">Credits</a></b>\n|\n<b><a href=\"#license\">License</a></b>\n</p>\n\n# superagent-mock\n\n[superagent](https://github.com/visionmedia/superagent) plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.\n\nSee [this post](https://tech.bedrockstreaming.com//how-did-we-mock-the-backend-developers.html) to know why we use superagent-mock at Bedrock Streaming.\n\n## Installation\n\nInstall with [npm](http://npmjs.org/): `npm install superagent-mock`\n\nInstall with [yarn](https://yarnpkg.com/): `yarn add superagent-mock`\n\n## Requirements\n\nnode >= 8.0\nsuperagent >= ^3.6.0\n\n## Usage\n\nFirst, you have to define the URLs to mock in a configuration file:\n\n```js\n// ./superagent-mock-config.js file\nmodule.exports = [\n  {\n    /**\n     * regular expression of URL\n     */\n    pattern: 'https://domain.example(.*)',\n\n    /**\n     * returns the data\n     *\n     * @param match array Result of the resolution of the regular expression\n     * @param params object sent by 'send' function\n     * @param headers object set by 'set' function\n     * @param context object the context of running the fixtures function\n     */\n    fixtures: function (match, params, headers, context) {\n      /**\n       * Returning error codes example:\n       *   request.get('https://domain.example/404').end(function(err, res){\n       *     console.log(err); // 404\n       *     console.log(res.notFound); // true\n       *   })\n       */\n      if (match[1] === '/404') {\n        throw new Error(404);\n      }\n\n      /**\n       * Checking on parameters example:\n       *   request.get('https://domain.example/hero').send({superhero: \"superman\"}).end(function(err, res){\n       *     console.log(res.body); // \"Your hero: superman\"\n       *   })\n       */\n\n      if (match[1] === '/hero') {\n        if(params['superhero']) {\n          return 'Your hero:' + params['superhero'];\n        } else {\n          return 'You didnt choose a hero';\n        }\n      }\n\n\n      /**\n       * Checking on headers example:\n       *   request.get('https://domain.example/authorized_endpoint').set({Authorization: \"9382hfih1834h\"}).end(function(err, res){\n       *     console.log(res.body); // \"Authenticated!\"\n       *   })\n       */\n\n      if (match[1] === '/authorized_endpoint') {\n        if(headers['Authorization']) {\n          return 'Authenticated!';\n        } else {\n          throw new Error(401); // Unauthorized\n        }\n      }\n\n      /**\n       * Cancelling the mocking for a specific matched route example:\n       *   request.get('https://domain.example/server_test').end(function(err, res){\n       *     console.log(res.body); // (whatever the actual server would have returned)\n       *   })\n       */\n\n      if (match[1] === '/server_test') {\n        context.cancel = true; // This will cancel the mock process and continue as usual (unmocked)\n        return null;\n      }\n\n      /**\n       * Delaying the response with a specific number of milliseconds:\n       *   request.get('https://domain.example/delay_test').end(function(err, res){\n       *     console.log(res.body); // This log will be written after the delay time has passed \n       *   })\n       */\n\n      if (match[1] === '/delay_test') {\n        context.delay = 3000; // This will delay the response by 3 seconds\n        return 'zzZ';\n      }\n\n      /**\n       * Mocking progress events:\n       *   request.get('https://domain.example/progress_test')\n       *     .on('progress', function (e) { console.log(e.percent + '%'); })\n       *     .end(function(err, res){\n       *       console.log(res.body); // This log will be written after all progress events emitted \n       *     })\n       */\n\n      if (match[1] === '/progress_test') {\n        context.progress = {\n          parts: 3,               // The number of progress events to emit one after the other with linear progress\n                                  //   (Meaning, loaded will be [total/parts])\n          delay: 1000,            // [optional] The delay of emitting each of the progress events by ms \n                                  //   (default is 0 unless context.delay specified, then it's [delay/parts])\n          total: 100,             // [optional] The total as it will appear in the progress event (default is 100)\n          lengthComputable: true, // [optional] The same as it will appear in the progress event (default is true)\n          direction: 'upload'     // [optional] superagent adds 'download'/'upload' direction to the event (default is 'upload')\n        };\n        return 'Hundred percent!';\n      }\n    },\n\n    /**\n     * returns the result of the GET request\n     *\n     * @param match array Result of the resolution of the regular expression\n     * @param data  mixed Data returns by `fixtures` attribute\n     */\n    get: function (match, data) {\n      return {\n        body: data\n      };\n    },\n\n    /**\n     * returns the result of the POST request\n     *\n     * @param match array Result of the resolution of the regular expression\n     * @param data  mixed Data returns by `fixtures` attribute\n     */\n    post: function (match, data) {\n      return {\n        status: 201\n      };\n    }\n  },\n  ...\n];\n```\n\nThen use the plugin:\n\n```js\n// ./server.js file\nvar request = require('superagent');\nvar config = require('./superagent-mock-config');\n\n// Before tests\nvar superagentMock = require('superagent-mock')(request, config);\n\n...\n\n// After tests\nsuperagentMock.unset();\n```\n\n## Supported methods\n\nAll request methods are supported (get, put, post, etc.).\n\nEach request method mock have to be declared in the config file. Otherwise, the `callback` method is used.\n\n## Logging\n\nYou can monitor each call, that has been intercepted by superagent-mock or not, by passing a callback function at initialization.\n\n``` js\n// ./server.js file\nvar request = require('superagent');\nvar config = require('./superagent-mock-config');\n\nvar logger = function(log)  {\n  console.log('superagent call', log);\n};\n\n// Before tests\nvar superagentMock = require('superagent-mock')(request, config, logger);\n\n...\n\n// After tests\nsuperagentMock.unset();\n```\n\nThe callback function will be called with an object containing the following informations\n - data : data used with `superagent.send` function\n - headers : array of headers given by `superagent.set` function\n - matcher : regex matching the current url which is defined in the provided config\n - url : url which superagent was called\n - method : HTTP method used for the call\n - timestamp : timestamp of the superagent call\n - mocked : true if the call was mocked by superagent mock, false if it used superagent real methods\n\n## Development scripts\n\nTo run units tests: `yarn test`.\n\nTo check code style: `yarn lint`.\n\nTo build code: `yarn build`.\n\n## Credits\n\nDevelopped by the Cytron Team of [Bedrock Streaming](https://tech.bedrockstreaming.com/).\nTested with [Jest](https://jestjs.io/).\n\n## License\n\nsuperagent-mock is licensed under the [MIT license](LICENSE).\n","readmeFilename":"README.md","users":{"oziks":true,"fdubost":true,"xgheaven":true}}