1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tests/registry/npm/negotiator/registry.json
Nathan Whitaker ce7dc2be92
feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487)
Adds support for running npm package lifecycle scripts, opted into via a
new `--allow-scripts` flag.

With this PR, when running `deno cache` (or `DENO_FUTURE=1 deno
install`) you can specify the `--allow-scripts=pkg1,pkg2` flag to run
lifecycle scripts attached to the given packages.

Note at the moment this only works when `nodeModulesDir` is true (using
the local resolver).

When a package with un-run lifecycle scripts is encountered, we emit a
warning suggesting things may not work and to try running lifecycle
scripts. Additionally, if a package script implicitly requires
`node-gyp` and it's not found on the system, we emit a warning.

Extra things in this PR:
- Extracted out bits of `task.rs` into a separate module for reuse
- Added a couple fields to `process.config` in order to support
`node-gyp` (it relies on a few variables being there)
- Drive by fix to downloading new npm packages to test registry

---

TODO:
- [x] validation for allow-scripts args (make sure it looks like an npm
package)
- [x] make allow-scripts matching smarter
- [ ] figure out what issues this closes

---
Review notes:
- This adds a bunch of deps to our test registry due to using
`node-gyp`, so it's pretty noisy
2024-07-10 03:06:08 +00:00

1 line
No EOL
47 KiB
JSON

{"_id":"negotiator","_rev":"72-b640bca329e4ae4e45d972b05e4af671","name":"negotiator","description":"HTTP content negotiation","dist-tags":{"latest":"0.6.3"},"versions":{"0.1.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.1.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node > 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x","iconv":"1.1.x","gzip-buffer":"x.x.x"},"dependencies":{"underscore":"1.2.x","coffee-script":"1.2.x"},"scripts":{"test":"nodeunit test"},"_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"eceb71a868cb56ae156cc563a1a881669d4e9650","tarball":"http://localhost:4260/negotiator/negotiator-0.1.0.tgz","integrity":"sha512-dMHTIPWnLacGEuxm/hk7jruRX5PD9q49opdL/wb+V2EGkj3c/SMinW89SwY2f+goGuJE94iNasyBpYSU8MDSHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPJ9ylUtRt/qkdHYh6sEJCcYvvbyDu02tB0dq8EUpHRgIge7a7q3FenfP0xvbTCBlrQoGBmXz9uO9rtRN8P3X8grI="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.3","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.2.3","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"e93dd1d816112185f752cbb4c4c1df8cfca4f399","tarball":"http://localhost:4260/negotiator/negotiator-0.2.3.tgz","integrity":"sha512-PxyOBzTyv8ViJdyDIGLc6qhHyVhEYCP78Wj2yfHY5rYD97/Fr7bZM9uVoGY17ZNvy0YEOnipRh4EDWwGBN2Lkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCldjgF4lb55IK0mQ/gmkKKJunU2l5pWd+p92G52BD7hwIgLrcL6+jWZjnXJoxX/BQ+WfJgKUEu4GzTVXKWahGwxms="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.4":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.4","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.2.4","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"8c82cc553bbfc8ada49a969ead7bcfac3fb190f7","tarball":"http://localhost:4260/negotiator/negotiator-0.2.4.tgz","integrity":"sha512-NPfe7Xi/X2sXQ1tuQwBKBu8WE8HoBq07vNrMxSHbv5uZ34YWIZRQaZ48voOBEFZ/YH0WdyFdroHHfWGJp1dJaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3wIXfN/oFRi3VGQAgw++ObKnr3hR6TTuC7RlRxmBzGAiBu9UdHr8zI3pntLhrPbogqO6ubGp9gnjk6rPVjq3xu3Q=="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.5":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.5","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.5","dependencies":{},"dist":{"shasum":"12ec7b4a9f3b4c894c31d8c4ec015925ba547eec","tarball":"http://localhost:4260/negotiator/negotiator-0.2.5.tgz","integrity":"sha512-ZLdLI6fefwD/F6u9Le2yw+4q5dEtdj+BB+VzpHg4qj+MGucUCwaEcwTQuj+gLwB/CvugRBBWdrUXZuGGkWprSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCJqEiTZ1/bl6QnkvobLOIVTCPq3LT75/Tbbmib6cW1gIgGMRn/8WAoRR27FIPcnoEdRNjhCP1+qptWHvCmCAT0Ek="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.6":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.6","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.6","dependencies":{},"dist":{"shasum":"28db6bc2e442c8655325d156ff74055dc0db289c","tarball":"http://localhost:4260/negotiator/negotiator-0.2.6.tgz","integrity":"sha512-NTIHb5m91kaOZY15H851S4S2DsvNLDUZhOW2oPUPpf+DPrgk4bShnJhczH/l7nVZ7F6+H7AkKzW6+k2zoG9s8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAm2EqVwR6omR+Nv2DytZ1bvCbCVaQWkpwo5hqY5nrfXAiBrxbcKHaRSoGN7OLzPDGll0Co7XvG99jvy0E+E/IW82w=="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.7":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.7","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.7","dependencies":{},"dist":{"shasum":"f31240c6a4aed34c1c2f22f2ce325a5414a00a9e","tarball":"http://localhost:4260/negotiator/negotiator-0.2.7.tgz","integrity":"sha512-XUGV9AE7RwC89Fno1dta/y60su8yRim52OH5pIIQQd2mnX3UkyOPv5rv6ENjuRMD0By9hqIv2HIomaFnKkOePA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpMtR5gBwGgS0xb2lJuZh2514mnEZdUfhuIGlhmsEKxwIhAJSk/w5GXwOLJ4wWcqBJREc59BAS4a24KBOLc/oaIHwN"}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.8":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.8","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.8","dependencies":{},"dist":{"shasum":"adfd207a3875c4d37095729c2e7c283c5ba2ee72","tarball":"http://localhost:4260/negotiator/negotiator-0.2.8.tgz","integrity":"sha512-2iv1EafEsegrlyCHYPn4bMKM0g5wVTNqkdp8AqOggvSLV5znbQfTASWh4eKBqwEcw1awuY8l3U7wX95JSQWFEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEo8FLd6FSbzvzMkleSGhifyYDJrKkaozRUPrmS5RmUVAiEA2dwps3XwAujzPVusbZZ0ic+Skp+MqiThjPUX2XgoD4w="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.3.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.3.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.3.0","dependencies":{},"dist":{"shasum":"706d692efeddf574d57ea9fb1ab89a4fa7ee8f60","tarball":"http://localhost:4260/negotiator/negotiator-0.3.0.tgz","integrity":"sha512-q9wF64uB31BDZQ44DWf+8gE7y8xSpBdREAsJfnBO2WX9ecsutfUO6S9uWEdixlDLOlWaqnlnFXXwZxUUmyLfgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETRftURCjceI6HSD+ZsKM8u4DWS5pMRopy4ZpD1IZxJAiEAlpCEtuEdrynOC1ohrVXbRobHKZgMHTSWTl8bQWu4b+I="}]},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.0","dist":{"shasum":"06992a7c3d6014cace59f6368a5803452a6ae5c1","tarball":"http://localhost:4260/negotiator/negotiator-0.4.0.tgz","integrity":"sha512-aWg0RC/gBF1Isyp2Sr4mLBcxLO7KNmfZtWz47uiO30Bs5DtYj4vtO/kIGm9jzm219QrErkOv4cbkGG9lLZmRhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDANBojmfouSV9NJxmzwM4Xf+JAcCBGpUd6ybtUkEgTjwIhAJL/wuwZy8wtiFuvAYRwYxzOCyKCwal5DhenBdbpv/10"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.1":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.1","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.1","dist":{"shasum":"7806f0041eca5b05bb00758d8ad7611ff18f357c","tarball":"http://localhost:4260/negotiator/negotiator-0.4.1.tgz","integrity":"sha512-HyJge4an7ic67TGjtxT0tW0chbv7A2yTRlXkWy3NpilRFpW3aUi4Y8CmrZU8Vv2jZL9z/n5cVF7wSQjxVNZuVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg4cVrHI5FASagLRuu7AoBOYY9AUqy58PfO2qPPwroCgIgcOVXEkfoD3eb52+AmFBaMqY8Dp+IlEQW4yY13uN7OYo="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.2":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.2","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.2","dist":{"shasum":"8c43ea7e4c40ddfe40c3c0234c4ef77500b8fd37","tarball":"http://localhost:4260/negotiator/negotiator-0.4.2.tgz","integrity":"sha512-pJQhDYP0X6G8E8+BvYHyBd0K1qLE09MPWc5wm5+zeX9mx7vJ+VoQcE65VN1C0+RXnnmneTwGCcUxqhSWvyShow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5hHtxvZp1k36EfaaH+yYSLrSyGQgUjYp6T92y0SQjhgIhALTZmaFoT5TwArjIy+2iU8zTDP8hSQyX8KTVfKC24GGh"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.3","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.3","dist":{"shasum":"9d6b5cf549547ca06a3971a81f80d25f3cf9db02","tarball":"http://localhost:4260/negotiator/negotiator-0.4.3.tgz","integrity":"sha512-eKqOkgSx2j4zftzisCNIPg2pKy0FzZT3tii/W1YNjPUZWqR8P7n/9Hn756Unj3OUUFhGka/9UNqMk9Q9qfNazQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIANOd1JXBccqtUVo5s9XIMxeR5XYNjGBgjvoMN+alhgfAiAhKQ2zNIRe1qHdzUahhsUfMTtDEpSZJ0K1VCvG8qCjeg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.4":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.4","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.4","dist":{"shasum":"321ec00f2d3a9f597c62581082030b49c39fd199","tarball":"http://localhost:4260/negotiator/negotiator-0.4.4.tgz","integrity":"sha512-JrM/4l85GK3r4h/FOzinKWm95eaTD8rEMvTPURBShhcLFPU0OzwHWr36MhGYaGdVKaBeT0o2BWNhicBxeNkphg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVX8Rn+AcPnTPz0A5yARSRTJAFXighOX+XSzSUrF3I4gIhAOWyAKwbPHmPGceGvM/K1vYQbzuweQw7Ac858nYgDV8I"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.5":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.5","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.5","dist":{"shasum":"0e738eb225e3a166ee7d69ebcfdc702ba236a77b","tarball":"http://localhost:4260/negotiator/negotiator-0.4.5.tgz","integrity":"sha512-yk2Y8USphD7Z1/hiP/96RhpwOW37gMDrhHoo9mAHnVhfJqnlu5vUvNX/7FyJwj6kV6MxfLFnhNZGl0XKgL6zNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7ObIDYqzTRy0BInu4NA6+h00ShbR9gI4sGqGiH0wGcAiAG4E6O+H7vMlCIt0RfdUHvfkuuBawO2Zh41Auvg42DJA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.6":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.6","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.6","dist":{"shasum":"f45faf9fa833ed3ca51250ea9a7ddfc4267a44b3","tarball":"http://localhost:4260/negotiator/negotiator-0.4.6.tgz","integrity":"sha512-nkhZDoiMZOCbMRPfDAilhyb8sETDhHP+zDCUv+JD26OSPOrYG+/76uooeqz3WTVh7BvQE41VV0YMTGKUgn9GQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPbODba4/YSPO3Q0eZ1x8kMxcikVwuI7w6W1Tk/tGL2AiArB06pyA34LNcihtBRKo9fcFla2TmNgT5XbYSNXeRm3A=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.7":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.7","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.7","dist":{"shasum":"a4160f7177ec806738631d0d3052325da42abdc8","tarball":"http://localhost:4260/negotiator/negotiator-0.4.7.tgz","integrity":"sha512-ujxWwyRfZ6udAgHGECQC3JDO9e6UAsuItfUMcqA0Xf2OLNQTveFVFx+fHGIJ5p0MJaJrZyGQqPwzuN0NxJzEKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMPRaEVRvdKkkfSxKO1erp6QowY3C0o2OyCPGopVaUvQIgVrxFarW8QHYZRUZA/XbpfpxPX17qRxndx3HHf3DzS4k="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.8":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.8","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"license":"MIT","devDependencies":{"istanbul":"~0.3.2","nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"engines":{"node":">= 0.6"},"main":"lib/negotiator.js","files":["lib","LICENSE"],"gitHead":"4b0bc3f2fec38a839556bd4674f79024929ba256","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.4.8","_shasum":"96010b23b63c387f47a4bed96762a831cda39eab","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"96010b23b63c387f47a4bed96762a831cda39eab","tarball":"http://localhost:4260/negotiator/negotiator-0.4.8.tgz","integrity":"sha512-I6nRG6y/4B4LAiYcPTcws+CUjC50IC6JwDEO+aUwvyZ7M+MnWibJrqhqenQYdL/vvoybF1qAxN+PO+HYcJjpWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2UGjBobkmKI/y/SsSyG3f6hPmrQzThPJAmvdvuMf1gAIhAP0ngj15z5mlNSGqYmLjAwJg4m36NC8d54LX5V8RSRfc"}]},"directories":{}},"0.4.9":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.9","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"license":"MIT","devDependencies":{"istanbul":"~0.3.2","nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"engines":{"node":">= 0.6"},"main":"lib/negotiator.js","files":["lib","LICENSE"],"gitHead":"1e90abd710b662db80f1ea244e647cce3bd74504","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.4.9","_shasum":"92e46b6db53c7e421ed64a2bc94f08be7630df3f","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"92e46b6db53c7e421ed64a2bc94f08be7630df3f","tarball":"http://localhost:4260/negotiator/negotiator-0.4.9.tgz","integrity":"sha512-fvi5GQce2TGDzanaTxNY3bboxjdce18sqwNylY439wkEkiJIyTMhGFMdlPCvDsIPa9IKIfhKwCMWEQ9YpZgb1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEqPIM3j2W+uI9fgth0DUzLx+bZUM7H1Wf/pZ07jgCGAiEAwsHB9hrY+DcAy/j5ttmaB26xsbLJ9+mnXIwhN/fCAbg="}]},"directories":{}},"0.5.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.5","nodeunit":"0.9.0"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"gitHead":"79110a26fa939a77df65f8651a5d4d071f77a14a","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.0","_shasum":"bb77b3139d80d9b1ee8c913520a18b0d475b1b90","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"bb77b3139d80d9b1ee8c913520a18b0d475b1b90","tarball":"http://localhost:4260/negotiator/negotiator-0.5.0.tgz","integrity":"sha512-RL4h5E+d0CKh/+JJkBlXdqxVFfmz49JCYgNa8kfy8Z/I0n36zZIbD8Renw3tvmZxYpNwTp2/MyUg6dMBwMg4pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpbC5cyXjuVXOpKJuSSyjDbGqYOteMDsCvgWH2+skvbAiEA61Q2gMfZ6PXFrKTu9enk20miz+z6lgYRA/K2xFubhoM="}]},"directories":{}},"0.5.1":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.1","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.5","nodeunit":"0.9.0","tap":"0.5.0"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"gitHead":"bfee971fe0503518cc93d1956518212203b7e68c","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.1","_shasum":"498f661c522470153c6086ac83019cb3eb66f61c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"498f661c522470153c6086ac83019cb3eb66f61c","tarball":"http://localhost:4260/negotiator/negotiator-0.5.1.tgz","integrity":"sha512-4xMpMpngdU1K1EXKQZh7fm1hNQR1vpHcZBJb9th+cd1ERRtiN0tduxJZrHJkHHVr9KV+BN+WEUVFpQLkBK3J8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlRhLfj4+X0vUx/J1AoUTjxKFG2sKjktndTfw4EubzzAiEAtRauSYp0v1MbdtaAGzjoI8ltz3CNx3HeGEeKkwiEmFQ="}]},"directories":{}},"0.5.2":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.2","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.9","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"a317a47bcd5efadd0561b1f2da0a7e1bea09b8c2","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.2","_shasum":"17bf5c8322f6c8284a8f3c7dfec356106438a41a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"17bf5c8322f6c8284a8f3c7dfec356106438a41a","tarball":"http://localhost:4260/negotiator/negotiator-0.5.2.tgz","integrity":"sha512-kwyztEA9NxSQaAdNcRhaeGkRIdlGuoqIeA16H+by2xQfhfy3ULAQj/YoXH+Az8p7ybqccFV2t9dwp0wPeK7Z+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjkcQ0BRKEUQK5BqeRdD1S+ZUS83OiT4N4RjtqnVbvTAiEAseNFWp1aeXjCrLua8PYCeDAeXABiIHN9KDqQd0dMg40="}]},"directories":{}},"0.5.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.3","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.9","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"cbb717b3f164f25820f90b160cda6d0166b9d922","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.3","_shasum":"269d5c476810ec92edbe7b6c2f28316384f9a7e8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"269d5c476810ec92edbe7b6c2f28316384f9a7e8","tarball":"http://localhost:4260/negotiator/negotiator-0.5.3.tgz","integrity":"sha512-oXmnazqehLNFohqgLxRyUdOQU9/UX0NpCpsnbjWUjM62ZM8oSOXYZpHc68XR130ftPNano0oQXGdREAplZRhaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJoWYRGDm7TIz/JZ6T+94tQlc0oCdXfG7fdJwRTt4JLwIhAOV+7y14UE7nTd3RIRXZ45wpMbHZZQ3F9DYN98RdA8Gs"}]},"directories":{}},"0.6.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.6.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.21","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"d904ca6a639487b4e27c009e33183570aae4e789","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.6.0","_shasum":"33593a5a2b0ce30c985840c6f56b6fb1ea9e3a55","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"33593a5a2b0ce30c985840c6f56b6fb1ea9e3a55","tarball":"http://localhost:4260/negotiator/negotiator-0.6.0.tgz","integrity":"sha512-/CPjkQFZO1cKrpLMcr7QjBaxLn110ZvFWsBV0uqbb8gfkAlU9QIFVOXwZhxLcaLzDC+eZEWpUvTSFX7ZUtnGdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1Ccbmq3NcLZ/iAusiNjL1Y4OAq8/ffK+GZu5zsaQbtAiBfJ4Z43Lf9KWMhEZrXigoEy5o0w27ey2lP1IdqMRQnSw=="}]},"directories":{}},"0.6.1":{"name":"negotiator","description":"HTTP content negotiation","version":"0.6.1","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"git+https://github.com/jshttp/negotiator.git"},"devDependencies":{"istanbul":"0.4.3","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"751c381c32707f238143cd65d78520e16f4ef9e5","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator#readme","_id":"negotiator@0.6.1","_shasum":"2b327184e8992101177b28563fb5e7102acd0ca9","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"2b327184e8992101177b28563fb5e7102acd0ca9","tarball":"http://localhost:4260/negotiator/negotiator-0.6.1.tgz","integrity":"sha512-qTxkr1RoLw5Pz+1+PTJ/66hWuyi2LEOeOuIDJDlx6JF8x75bmD5C7qXTg2UlX5W9rLfkqKP+r8q6Vy6NWdWrbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+lhXkaNA+AJGgsLujtsF0CyR0Vq2aHRy4nETJ0g48iAiA7tA6J4sc8Op4R9Z2jNqeg5f4Lkk/PSEQ2zSsTrbe+GQ=="}]},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"federomero","email":"federomero@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/negotiator-0.6.1.tgz_1462250848695_0.027451182017102838"},"directories":{}},"0.6.2":{"name":"negotiator","description":"HTTP content negotiation","version":"0.6.2","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"git+https://github.com/jshttp/negotiator.git"},"devDependencies":{"eslint":"5.16.0","eslint-plugin-markdown":"1.0.0","mocha":"6.1.4","nyc":"14.0.0"},"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint --plugin markdown --ext js,md .","test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"nyc --reporter=html --reporter=text npm test","test-travis":"nyc --reporter=text npm test"},"gitHead":"99f418e11907b60e63f0addc09fc596ddc7be5be","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator#readme","_id":"negotiator@0.6.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"integrity":"sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==","shasum":"feacf7ccf525a77ae9634436a64883ffeca346fb","tarball":"http://localhost:4260/negotiator/negotiator-0.6.2.tgz","fileCount":9,"unpackedSize":28102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx5cnCRA9TVsSAnZWagAAP20P/0MCkOVbsy3QpadyxP2l\nfQaJNj3676xMnX1jvmbttyR2pejPTOeACkojxti4dkza3VoK5i0P2vxXVjjC\nFTS+joLUaqyS/urJFhQOxICR37l1s849MnXrwV/+mIo7kytMelYJcTbPj3ov\np6OYauZfzPlnFP3zxBYaPmIOKSILILVoVGPSwkRrJlgJUgdqzaMKSUTfTCzq\nELh0wT834veFEnFIeu84Z4NWf6QPrWLwO8Fi6clDpTc0TYJl4xi0cEo9euSB\nQdKVK2gwPCLq6vV3TZoPHCs4/8XLX9zSZLqrAeiK6gC8rrJiGIEFTVLgUXIc\nDb7bKpcOlpvRBBGwtoa0crIGWEFZ5HCTLeDL3ZyfafZ6XqTYeOrYUpvmhv+A\nU6abBAxcE2FGdWkYuSMrbSU1KplzubcLEthVfVilREcQl7V/INK1rRzC/YPb\nlvXd0VqHH+JzsIqe5okX6prnQmKJ6I9Xtu2y7/ocI1WkikaU3bFjbIwke40w\nLTjqvSGCmc9End3k50XOG/AwhitANuOMugJ8iYwn1DwT995tj6IW8Am+C2gR\n0lceIeUnOq5VxtDYN/q2rfVg/cHcr9srAnPdGp4dwcSLTwWX9/vDKB6piasF\nZnYHmofBFT2ensRv1qYU4nlDZPULH5T+rPFVhZgGUCpJzzc2wAMTpFcQixQ3\nCEXq\r\n=qmZ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEn6pIqEPZoWJro9Gzw68rWPuY85N+4Gc7pvkkjnWCXwIhANk1pMmmdcSgOm86fubVJG1WksNiqEql5u/a6y8z4ipS"}]},"maintainers":[{"email":"doug@somethingdoug.com","name":"dougwilson"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/negotiator_0.6.2_1556584230489_0.2011163414894186"},"_hasShrinkwrap":false},"0.6.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.6.3","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"git+https://github.com/jshttp/negotiator.git"},"devDependencies":{"eslint":"7.32.0","eslint-plugin-markdown":"2.2.1","mocha":"9.1.3","nyc":"15.1.0"},"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec --check-leaks --bail test/","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"gitHead":"40a5acb0c878cca951bc44d1d9e2ab1f90ae813e","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator#readme","_id":"negotiator@0.6.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==","shasum":"58e323a72fedc0d6f9cd4d31fe49f51479590ccd","tarball":"http://localhost:4260/negotiator/negotiator-0.6.3.tgz","fileCount":9,"unpackedSize":27375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7LRVCRA9TVsSAnZWagAADXQQAIRjFiv7jUhvg/7FE3tH\nLDOBadiC2gYFtN86BitJeUZGhyGMn0kkJQ4bxxRmZHfJBS3XGSDiPd3pRPWl\nyAB2HHJ3JpXS3pM1CdnUvxI6aLg/EVwO/qISHoFLYfx86M721ZPOoCs1mUDy\nVL0AZTR55cCIaF/5sl4CWKxWTnX2CUltGDJKKQsXo+eKuLhNZ8G76PdXABoG\n1gDpwALLFaAW0CYh/sIy6st9JTTx4gHkVcPHZLtsmeyzdKGMxzaXLpU6/xhr\nP2/lBMg6t8xRtu4e76/hzBJSaRnL78EXLndwYbdHXABoFkzM5qpLD+UY5eNT\nMsDK/aHTxnIIyg8LBC8qPagdH7sB8MXOnMzR7gKOjHzPUNqqQVpyCkc/ipaE\nsKNh0AfEJ6qxfht6DYT1sLGSCmDhX3ivleOiIj+nKSAeNa/rk1Hvsfj2FNQN\nKjFidMLwB04+l9chMTNEtNq/Pxk9+zen27vD0JkuqwXovgHvESRWGtlE47M8\npxi4gBypqHMUe9G6FO3RZ7pzLzkfXfwaKDWY28/TEskJO8rZsvsb87JL+BK1\nymaGSP/G7kQROLaTIY5/Oa5KbXI20DBvkkY77BofAOS/H/CTrFBe/vtoH3YM\nmuaNzt2miXUxKFQszMBL0uWjy9K49Yuf5+cHKPsuKydKDG/FeOaGLF6Eu9SI\nhK4i\r\n=du2Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwWK0qSZqF/rTSc9yQVnO06hqkMpn44qT6AjizctXUeQIhAJ6VHibmzze9aOy2LJSVenGWZcWx8zUFvmENe9uhlhZr"}]},"_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"directories":{},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/negotiator_0.6.3_1642902612990_0.7181393207866611"},"_hasShrinkwrap":false}},"readme":"# negotiator\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][github-actions-ci-image]][github-actions-ci-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nAn HTTP content negotiator for Node.js\n\n## Installation\n\n```sh\n$ npm install negotiator\n```\n\n## API\n\n```js\nvar Negotiator = require('negotiator')\n```\n\n### Accept Negotiation\n\n```js\navailableMediaTypes = ['text/html', 'text/plain', 'application/json']\n\n// The negotiator constructor receives a request object\nnegotiator = new Negotiator(request)\n\n// Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg;q=0.8'\n\nnegotiator.mediaTypes()\n// -> ['text/html', 'image/jpeg', 'application/*']\n\nnegotiator.mediaTypes(availableMediaTypes)\n// -> ['text/html', 'application/json']\n\nnegotiator.mediaType(availableMediaTypes)\n// -> 'text/html'\n```\n\nYou can check a working example at `examples/accept.js`.\n\n#### Methods\n\n##### mediaType()\n\nReturns the most preferred media type from the client.\n\n##### mediaType(availableMediaType)\n\nReturns the most preferred media type from a list of available media types.\n\n##### mediaTypes()\n\nReturns an array of preferred media types ordered by the client preference.\n\n##### mediaTypes(availableMediaTypes)\n\nReturns an array of preferred media types ordered by priority from a list of\navailable media types.\n\n### Accept-Language Negotiation\n\n```js\nnegotiator = new Negotiator(request)\n\navailableLanguages = ['en', 'es', 'fr']\n\n// Let's say Accept-Language header is 'en;q=0.8, es, pt'\n\nnegotiator.languages()\n// -> ['es', 'pt', 'en']\n\nnegotiator.languages(availableLanguages)\n// -> ['es', 'en']\n\nlanguage = negotiator.language(availableLanguages)\n// -> 'es'\n```\n\nYou can check a working example at `examples/language.js`.\n\n#### Methods\n\n##### language()\n\nReturns the most preferred language from the client.\n\n##### language(availableLanguages)\n\nReturns the most preferred language from a list of available languages.\n\n##### languages()\n\nReturns an array of preferred languages ordered by the client preference.\n\n##### languages(availableLanguages)\n\nReturns an array of preferred languages ordered by priority from a list of\navailable languages.\n\n### Accept-Charset Negotiation\n\n```js\navailableCharsets = ['utf-8', 'iso-8859-1', 'iso-8859-5']\n\nnegotiator = new Negotiator(request)\n\n// Let's say Accept-Charset header is 'utf-8, iso-8859-1;q=0.8, utf-7;q=0.2'\n\nnegotiator.charsets()\n// -> ['utf-8', 'iso-8859-1', 'utf-7']\n\nnegotiator.charsets(availableCharsets)\n// -> ['utf-8', 'iso-8859-1']\n\nnegotiator.charset(availableCharsets)\n// -> 'utf-8'\n```\n\nYou can check a working example at `examples/charset.js`.\n\n#### Methods\n\n##### charset()\n\nReturns the most preferred charset from the client.\n\n##### charset(availableCharsets)\n\nReturns the most preferred charset from a list of available charsets.\n\n##### charsets()\n\nReturns an array of preferred charsets ordered by the client preference.\n\n##### charsets(availableCharsets)\n\nReturns an array of preferred charsets ordered by priority from a list of\navailable charsets.\n\n### Accept-Encoding Negotiation\n\n```js\navailableEncodings = ['identity', 'gzip']\n\nnegotiator = new Negotiator(request)\n\n// Let's say Accept-Encoding header is 'gzip, compress;q=0.2, identity;q=0.5'\n\nnegotiator.encodings()\n// -> ['gzip', 'identity', 'compress']\n\nnegotiator.encodings(availableEncodings)\n// -> ['gzip', 'identity']\n\nnegotiator.encoding(availableEncodings)\n// -> 'gzip'\n```\n\nYou can check a working example at `examples/encoding.js`.\n\n#### Methods\n\n##### encoding()\n\nReturns the most preferred encoding from the client.\n\n##### encoding(availableEncodings)\n\nReturns the most preferred encoding from a list of available encodings.\n\n##### encodings()\n\nReturns an array of preferred encodings ordered by the client preference.\n\n##### encodings(availableEncodings)\n\nReturns an array of preferred encodings ordered by priority from a list of\navailable encodings.\n\n## See Also\n\nThe [accepts](https://npmjs.org/package/accepts#readme) module builds on\nthis module and provides an alternative interface, mime type validation,\nand more.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/negotiator.svg\n[npm-url]: https://npmjs.org/package/negotiator\n[node-version-image]: https://img.shields.io/node/v/negotiator.svg\n[node-version-url]: https://nodejs.org/en/download/\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/negotiator/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/negotiator?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/negotiator.svg\n[downloads-url]: https://npmjs.org/package/negotiator\n[github-actions-ci-image]: https://img.shields.io/github/workflow/status/jshttp/negotiator/ci/master?label=ci\n[github-actions-ci-url]: https://github.com/jshttp/negotiator/actions/workflows/ci.yml\n","maintainers":[{"email":"doug@somethingdoug.com","name":"dougwilson"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"}],"time":{"modified":"2024-02-26T19:49:05.746Z","created":"2012-01-26T17:25:16.828Z","0.1.0":"2012-01-26T17:25:19.965Z","0.2.3":"2012-04-24T21:37:45.030Z","0.2.4":"2012-06-02T21:48:39.123Z","0.2.5":"2012-08-11T18:16:30.819Z","0.2.6":"2013-06-05T14:20:08.959Z","0.2.7":"2013-08-11T04:12:25.408Z","0.2.8":"2013-09-19T18:33:09.169Z","0.3.0":"2013-10-18T20:12:14.807Z","0.4.0":"2014-01-09T15:23:11.532Z","0.4.1":"2014-01-16T17:02:25.226Z","0.4.2":"2014-03-01T03:06:59.978Z","0.4.3":"2014-04-16T14:12:01.576Z","0.4.4":"2014-05-29T15:19:30.693Z","0.4.5":"2014-05-29T15:53:13.591Z","0.4.6":"2014-06-11T19:36:14.258Z","0.4.7":"2014-06-24T22:32:21.627Z","0.4.8":"2014-09-28T21:46:31.730Z","0.4.9":"2014-10-15T04:39:00.364Z","0.5.0":"2014-12-19T04:05:15.020Z","0.5.1":"2015-02-15T01:54:09.606Z","0.5.2":"2015-05-07T05:18:55.668Z","0.5.3":"2015-05-11T02:19:32.641Z","0.6.0":"2015-09-30T01:21:40.970Z","0.6.1":"2016-05-03T04:47:29.814Z","0.6.2":"2019-04-30T00:30:30.629Z","0.6.3":"2022-01-23T01:50:13.164Z"},"repository":{"type":"git","url":"git+https://github.com/jshttp/negotiator.git"},"users":{"isaacs":true,"kubakubula":true,"kylemathews":true,"calebmer":true,"snowdream":true,"chrisyipw":true,"magicadiii":true,"mojaray2k":true,"nisimjoseph":true,"chosan":true,"vparaskevas":true},"homepage":"https://github.com/jshttp/negotiator#readme","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"license":"MIT","readmeFilename":"README.md"}