{"_id":"hof-middleware","_rev":"77-c55a5e20446ae944f9adda548996409d","name":"hof-middleware","dist-tags":{"latest":"2.2.4"},"versions":{"0.0.1":{"name":"hof-middleware","version":"0.0.1","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.0.1","maintainers":[{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"91bd21946ffef2780549b272e7e662f232884a9b","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.0.1.tgz","integrity":"sha512-WvyKtUOo5/RFD+ztvw9Oijiygt/ezYNFzNDL3faLfjN9DpQnIDphZSX8+S2M9Hci6p1oChUJHWcM3Z+yNUioiw==","signatures":[{"sig":"MEQCIG246ZcWXVrAI+I6UE3M6OZSSWjgZDJ12rGrlJDKl3xCAiAwZEOORLdMawkEQgItfLwP17p0rwsRR0xDzeilHb3jAA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"91bd21946ffef2780549b272e7e662f232884a9b","engines":{"node":">=4 <5"},"gitHead":"1a3d3fa9a69bef4d48a19d1e8149fd1ab2afdc5b","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.8.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.2","devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.0.1.tgz_1460112368949_0.5069568555336446","host":"packages-12-west.internal.npmjs.com"}},"0.1.0":{"name":"hof-middleware","version":"0.1.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.1.0","maintainers":[{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"dbb1781309ef9bb77ce08aa13f73ef80009362f7","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.1.0.tgz","integrity":"sha512-M5XychnAGMgJrTUCRYDRDOVzufR7tJjrzm8VRQaUG2BH90mKgklasdYHNmw8JM+v+CsAOobSeVq6FoBfsHnnpQ==","signatures":[{"sig":"MEQCIBfxpUOdssTJrfjc3E4I8GubiaJbwE+17x13dzvaPT9OAiBFW21VpFiEgKUE6ww5mi8JrlQiHVZWFMlA2p8rADaVpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"dbb1781309ef9bb77ce08aa13f73ef80009362f7","engines":{"node":">=4 <5"},"gitHead":"3f281966f756061c5d6c7a45cafd3832b87d4f63","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.8.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.2","devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.1.0.tgz_1462538794437_0.5525864351075143","host":"packages-16-east.internal.npmjs.com"}},"0.1.1":{"name":"hof-middleware","version":"0.1.1","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.1.1","maintainers":[{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"6f0327bc739db2dc2938bcf9a42f4f390732e340","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.1.1.tgz","integrity":"sha512-mgDeQjRGwj7537R9LS9JXNazg7H41MpPQ9N+rmPHlz8BISlNoPO6yMV63h6J/OkVNlLFJikGJoU5aKDLIiKaYA==","signatures":[{"sig":"MEQCIHTyeRGcFByTEMkp8rM4owMvvchwUZ7wsXnbkpG+Z94bAiASzY785SE1njuAD/CkUeEnTANvjYWf07SIHvI2l07LeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6f0327bc739db2dc2938bcf9a42f4f390732e340","engines":{"node":">=4 <5"},"gitHead":"72b54d2d0a2aa622e57cbe8a94c4d67a40fa24d6","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.8.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.2","devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.1.1.tgz_1462544626831_0.5177914921659976","host":"packages-16-east.internal.npmjs.com"}},"0.2.0":{"name":"hof-middleware","version":"0.2.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.2.0","maintainers":[{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"a5fa25eed2f0af65e0569a13db42c111eebc065b","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.2.0.tgz","integrity":"sha512-qNBbL557cdSk0iAz3t9DgONpNedSqKc2eRL9eWLPua7+oCoWXpR7ze7c0xQL3fNTx2NwRhWTQFe8Ear2vYDj/g==","signatures":[{"sig":"MEUCIQDGBTkg4nvP+X+lK1JLuSxZFN2M2MiIR+rxzXj7PlXylQIgCasjFx9U8rif0fIUEn8p2mvu09z6ucTA5yiuxkh+M2A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a5fa25eed2f0af65e0569a13db42c111eebc065b","engines":{"node":">=4 <5"},"gitHead":"8649e251b541c9e05aee6e5a5f5bd28219cff8cb","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.8.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.2","devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.2.0.tgz_1465575171610_0.6117434133775532","host":"packages-12-west.internal.npmjs.com"}},"0.3.0":{"name":"hof-middleware","version":"0.3.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.3.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"27f18fe45a7ac42112d5690ae42c90afc91590b4","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.3.0.tgz","integrity":"sha512-vkCT0XVGRBXb1hG2+x9UCeR4lXF4A0wrr74kexq8cDeZmiSO/cCMxyT/Z6+5n5KSkMBaOKczT39KXyUCQsqhmw==","signatures":[{"sig":"MEYCIQCS4HJsbBFKMA/e0RRqrObAMwVj82QPFgKOOKA7vvNdcAIhAOISEpZ6hUzC8cKO4rXEro7EGnreQM3A7ldc0V6mwjN8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"27f18fe45a7ac42112d5690ae42c90afc91590b4","engines":{"node":">=4 <5"},"gitHead":"53c8b2581804a03a9ab8fe1e058ca9d433c60b53","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"easternbloc","email":"ben@marvell-consulting.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.10.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.3","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.3.0.tgz_1470740707671_0.1437615011818707","host":"packages-12-west.internal.npmjs.com"}},"0.4.0":{"name":"hof-middleware","version":"0.4.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.4.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"8a1226520f1d8495f02166628919d053a89f0d42","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.4.0.tgz","integrity":"sha512-NtYkTQLWsGlFkhQ2lCFpP+hEo8O/qvZlurqlXr2vxpgAkbNiiPIk66dq/KOOTsk6Z4buXeG8WOX4nLk6lc53lQ==","signatures":[{"sig":"MEUCIQD2w7LbYPzlrKDKxagkmn5OYQywZQvlFYniOxLRjNgeIQIgFU+GCQlo2UTAL6pd7LhR1Vp2psOwhYuYvyjg/F811d8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8a1226520f1d8495f02166628919d053a89f0d42","engines":{"node":">=4 <5"},"gitHead":"a00143c3a443e0900b67eeabeff87a507eb0cb69","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"easternbloc","email":"ben@marvell-consulting.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.10.5","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"4.2.3","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.4.0.tgz_1475663339527_0.9439549189992249","host":"packages-16-east.internal.npmjs.com"}},"0.5.0":{"name":"hof-middleware","version":"0.5.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@0.5.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"153742b903f381104020d42d480e31a1ec09255f","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-0.5.0.tgz","integrity":"sha512-/ihF6JWsYPuZcA/IETL6/CPb6ioMB6SlHcibHMBSuseU9NjuHgbi3d0tCV9Jn1JzCrAyxqnO3JQYPUbUev3KvQ==","signatures":[{"sig":"MEQCIHAsvZVtParJpTd7akYqgIEClIkybv2ywV7raKs8s22RAiAq1PrYpqXqn1xkvhICPYOSFHN3rWzzASSAGWhyObd4Lg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"153742b903f381104020d42d480e31a1ec09255f","engines":{"node":">=4 <5"},"gitHead":"324d4fa221280ba7d46d60a8698901d163cbade0","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.10.8","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"6.2.2","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-0.5.0.tgz_1479837298691_0.5306155583821237","host":"packages-12-west.internal.npmjs.com"}},"1.0.0":{"name":"hof-middleware","version":"1.0.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@1.0.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"8410128d7595063a915b2e7674e555b63115faeb","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-1.0.0.tgz","integrity":"sha512-ULmU7Aj46g3ShsINm2fks6VTKQ7Fbgyvfk4GI88sSV+kplf6FFo4SexUKCr0keB+/bW9urpKQy3Dtn7WwSjYQA==","signatures":[{"sig":"MEUCIDLDOOLUi8vp6aDoBnTxQUElbwgfZYid6tnzG5tWGjQEAiEAowenGkvgKmSMOPdguN4vZnY54Wxd/B4cmdGmcApXRLc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8410128d7595063a915b2e7674e555b63115faeb","engines":{"node":">=4 <5"},"gitHead":"07214aa9e0fe447ffab4243ce42c1a4937e7a5c4","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"3.10.8","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"6.2.2","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-1.0.0.tgz_1479837643201_0.6094834255054593","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"hof-middleware","version":"1.1.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@1.1.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"bd49110068b703f3c562136cceed9b2d855fa40b","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-1.1.0.tgz","integrity":"sha512-wiQ6YZx8+hj4nDvGaWiTugbpehkaS+dKqqymQMMdkwnb+ifpN4+52Ge8diY6DTKsL/oT/q0x8Pfm8RqwZJuWaQ==","signatures":[{"sig":"MEQCIAeGeQUgQzugDVwhFS4pPQ/RfbeLMzPBrMcsa/YflurCAiBXDNNIMD3VqJoF+K5iBgW6S7i5RBLcnq/v8sE1GpGzfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bd49110068b703f3c562136cceed9b2d855fa40b","engines":{"node":">=4 <5"},"gitHead":"4630542b83e2743f40808c51fae66b98307173d3","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"4.1.2","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"6.9.4","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.5.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-1.1.0.tgz_1488461076809_0.9328545206226408","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"hof-middleware","version":"1.1.1","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@1.1.1","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"4c4a223316f29dc2a212ec7e5d564b1bff1dc914","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-1.1.1.tgz","integrity":"sha512-QED4Ct8QJYcjcufQfMffU8OrwzFx3k9Jwm7AmOTI2v5l1SSHAl33zsM6BQgTJERYzI8vBYcehIlU2H/OqAOcSQ==","signatures":[{"sig":"MEQCIGo9UUHc6zQDEZ4GluWTeUO0J+dABkqwkiTBmcuHX7L2AiAGgDo/rtSblus5BqpsJpsk7BjBOaWILGD+eHJQPZiBzQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":">=4 <5"},"gitHead":"9221c53f9037505798c7c264a04fe09ffbb63284","scripts":{"lint":"eslint .","test":"NODE_ENV=test mocha","style":"jscs **/*.js --config=./.jscsrc.json"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["lint","style","test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"5.0.3","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"6.9.4","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","jscs":"^1.13.1","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-1.1.1.tgz_1498052902823_0.30677692824974656","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"hof-middleware","version":"1.1.2","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@1.1.2","maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"da0a94306f8b8b616efc840e4f73dbf258df4b54","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-1.1.2.tgz","integrity":"sha512-RfJuA8L7Hm66D3Hzypq4xlH0E9eFgTfeT1C8VqVp+kDWjRYmOGgHqpFUYUvYB61hxtKlgmuykPqHF4QwyIlmag==","signatures":[{"sig":"MEYCIQCirXeaWobjFRNjZw4NtpgpuOynWZapLlmYzRHlH7z5dgIhAL72cl4Z8HEjV68fej5yIqSCO+WTRxyNRlIEjI+E9Py9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"9a0829fe5e6ec70c81e9206594481255993d5897","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"5.2.0","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"8.1.3","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-1.1.2.tgz_1500541727328_0.9792015284765512","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"hof-middleware","version":"2.0.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.0.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"805879e013545bb4c2258a62c0008d87eda4d677","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.0.0.tgz","integrity":"sha512-yLwCre1sehJLUJbW7uL1xV+g2azo6ctCeB/MjhCMVsIoSxHGzS6BYnlwoMgQwYkTTU7ottYtC/kqOwxwmj1JfQ==","signatures":[{"sig":"MEUCIQC2daa+tJwuU/HO75cLSE1da7clrPikZ60M/geE4bI3PAIgL+RLmhRNPfeQI7RX26OdBAn2MLfLYL+PPWkMONNXBM0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"494d0ac2a458372802ef5c87d03e657426e8ce39","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"5.3.0","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"6.9.1","dependencies":{"lodash":"^4.13.1"},"devDependencies":{"chai":"^3.0.0","mocha":"^2.2.5","sinon":"^1.15.3","eslint":"^0.23.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^0.7.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^0.1.1","eslint-config-homeoffice":"^0.1.4","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware-2.0.0.tgz_1502101058384_0.5578175978735089","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"hof-middleware","version":"2.1.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.1.0","maintainers":[{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"472acc32feaa0cfe81efb43d282bbc49aa25ddc3","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.1.0.tgz","fileCount":19,"integrity":"sha512-3MqAHHz2X5Ct8DRNfZKUX9B3EAH2887ee1HpLuPlnaFq04CzEBXrTQkfwjtJJTOu2/5eB0zAEDWRV8QF8+nxTg==","signatures":[{"sig":"MEUCIEdjJicCO5ZJMH/rHScKH9en7W7uJMUR09D3+lBReS14AiEAvhjhmBcg8Z+QFPThWdHZM2qm6F31OBidFLFuNH3DV1c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrea8CRA9TVsSAnZWagAA7/oQAISYufQs2YqxkRx/vj3l\ntVub0p/RaM+f8s4tcj5GPME40+XwwdVGO8QU4gJ5L2UEAN4O4mddL2cGnK3l\nShKONz9DL8QE+MwZ5ZDd1OXchpQ5nIAOQbROogEcp0JXYvsjeDbeXXJBjBwT\nKD3fF1vQ+et2HCD3EhgW3zc/oPRyusNmZCOBgZfJRgMqn+qGVKoD3mk/PAkW\ntDN/4DZOp63pMZpLF8+swtb2gEzws3/bAD/DkFz5gp6qMdQSbRgm7aEUQTOh\n+uORnXxXXrGI4BMqMjpDdmSGpPj2k+jBF4ht0VzSbzePgC8HP0rCcQmpIpCt\nTYtTiOMExUtAkCRkRui+oQoWYJu2k7g/YmmubAIzImVbpLG7kl6p7NZWekb8\nZaGgZIZAPBOH6VDLh7OtLPfzs1+oxil6wBVOJHKIiACF4Tb3DYWrEZ+zUHUd\nmpQpw+3Zej4Zx/vnB/g2uBd+DCTvhNEBli2i55nAxrFxp/ju/RRweSu9RRP9\n2w5qFsxUpwzPKpZqSw3ec/wcKvG7Gjev62gHkWIlCdPxU8gyYLBAFMB6TahH\nk5ijKEUpnMe3hUaSzpof3mHamRugJice+FG4mMVyYXdSWZmpBaspqj9DZV3O\nLEvv6AVET9yfdeDy25NWfMzeCl0rj4H6HpRwifjnIa2wi5yz44CaUDzhg3rR\nM+3a\r\n=2blI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"efac3dd1413a15c8ef914e7228aba3b5bd8ec0fb","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"coupey","email":"paul@coupey.co.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.4.1","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"8.11.3","dependencies":{"lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.1.0_1538123451600_0.24798760097447436","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"hof-middleware","version":"2.1.1","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.1.1","maintainers":[{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"365a1e3515af04fe0b1e6faa668804d9dd2b1b65","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.1.1.tgz","fileCount":19,"integrity":"sha512-ub8J5zrg/Qz5M/elUHFKJcGbwIXHXTzwR8+QZd3uZXfLa+9+egd+oHwQx4i+2e6m2FmylqCkrKrocBpmZqGuxw==","signatures":[{"sig":"MEUCIQDcQaE5IDMkrqu9ytH4qQVGhzTwpoM4L0vKbHmmkQKkTAIge5/DERExv/lkvTYD8fbiNbfjvz56IZUH2YsQdtKmRtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrei6CRA9TVsSAnZWagAAC+EP/jGYgjE50JwFS1in2dYM\ntJOGtnM7DOhrqIqpVEDPG/0wKF7JGE10OZ8NXAj25hXxpcR1cisSiuY3X3V9\nhQ5NSpNLKQeySvbsHBB5JpIKh7rrCHqqqiBRavWPBohcL4NajdIH6ko+6t17\nc7QDRLLEjhVmNJortyN3hMO8bb6+N3T50Lm7f3QvSKAUOz8JsIJFX7EGvpxq\nECBIL8/NMr8U92AX8NwHOXr0GNX9pryH+I4qj7gr2/X3croaFcUyHJgvPDCo\n0xBT3fQvRrSt7tLL4/y5U8+sP8HapHmJjUXESGsQ6NvYCAvc2Kuf6Awz/8kU\ncNtY3PhATsY45p1jNFNTpdH2/Y68jvDN8KAPArLHbFAXxFdJsJTvbMGYB64K\n6gUB0IuT5cT9bXhbUabO42ZDpGhKCYr3RR8AXlxev38IOnOTIomP6UIXMJJW\nk4KsrsZZBtaZE9heX9ZowLPifLgqQoBIFX6IuDjxAl8GPmXpaG1VKuxip8pL\n+0Ds1D4p1v7OAEJsdMQtGXu6gV8u6ZLZ6707sOS/MY6zy6EpZRe4mjH0BxLy\nRJRSxnSKudv4zD24kNmRapeXd3OuWc8QsCVzP6c1QxmqkopGWpvP5jB4uthw\n18IEP5Rb//5VJRzJ07gAK0+pviU1ZEyWnobxaoG1qXaNnwcAXM5jA4gihU51\nMVFi\r\n=GjCL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5b99a36fad85a90fd0a0bf7e8ee9c09734eb4dad","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"coupey","email":"paul@coupey.co.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.4.1","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"8.11.3","dependencies":{"lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.1.1_1538123962077_0.5049848636138188","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"hof-middleware","version":"2.1.2","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.1.2","maintainers":[{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"9732b220e5e05fdddc8de1acc7e7857ac4f99eb6","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.1.2.tgz","fileCount":19,"integrity":"sha512-7vCeRP9AfKGzhSn4kyktQe2bGIo4LFAfJHCoGvFBho/7q98M7uf9mL1E4XV25jDRgs6/QpP1f4VusCjDb7Cl8w==","signatures":[{"sig":"MEQCIBDE/SeuwdPPDQTzjJ997SgFkPOb09TE6UVkPSawyA9EAiB5MjG+LKrxpSEEuJy/4/T0Nv7R8F2o28ZorBF9CALWlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnDgDCRA9TVsSAnZWagAAdJoQAJTvlovNoY1PGtZBv6h9\naQj7oEwucHjGueq3KHIzy4hWY7Eo9uoJVR1mwgZHZAvd9U0HOUaj9annmott\nHIOAt2OkVIYa7CHmBJGCjEYotwqb7v2H+byobGFP7WQqCqO8+xv+zZsxx9so\ni8IbVgVJ4OPNMuUQbJj75zOP+QXrTcXAlBMgmv5Fv8FKVHn+/LzXEenWx7gr\n1UINh8GAceTJywUj0u0qq3sca5hmqc5mB6RIcuvEIppr2OG1CiIJO6ozYRP6\nR/0t3ky+4MWedYRZKI0vyFiKOZupxely7o0F849dY/CGuuaIc/dK5v5EFydV\nzVuFbfKoHkE7gWV8H+1nqIuJOqI4QDQbJ+qKtjZ6Mdnh7+Tp9amMcg0jbX4X\n5Quq1JID4+wIyjrAdVfwPILIn1iIMcPK/DHe8kZh65hk49vnXSTbmiAu9SDc\n2yDqLeexSoU2N1trOVd8lE2ghXc9BaWLGPU47R6s+vqz3BxlUJgP4BrvWIFJ\nyaqr6oDWMO8kknkvneb3+/z7umfd0vPZbyPAfz7PVSo3vH5WGTcdVIq47hHD\nPp1jI7XiCcMBG8HIOWKmkZ2d4WL5w/dlzLow8LVCRwU1IuX0GSEajlYwT5i1\n6WZ0BjrKCyKDXahGlv1FAaSO5UkPkR+ZdG01efxr0nLbPZVEv2jzV418nh1S\nM+bv\r\n=Trid\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"270b9a493b0b5746c38adaaf00d8597b5c9c26fa","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.12.1","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"12.13.1","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.1.2_1604073475541_0.11630950494286463","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"hof-middleware","version":"2.2.0","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.2.0","maintainers":[{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"8c6eb35ba73b2cec011646b7d1f32e072fe2b7ee","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.2.0.tgz","fileCount":19,"integrity":"sha512-2zJZOxT+2NJvVSA4iP6Ve2LbxcQGYQUrJd/+ijS4Q5Agu+HGXQOJqeS15OwUqBvt/zPJsXUtGpIQFSs2+pyyhQ==","signatures":[{"sig":"MEUCIQD198idvXJ/Bv99aGlb4LYaL8/lbfYQtwNyK7wfjiXJeAIgfgbHpwMvsyImCvfsIg7hH7p2fi2Nlwm5Omw/6W8BEgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqsVfCRA9TVsSAnZWagAAaOoP/2Gxj2B46ofOfI7t5oaO\nRB6OA2ZyNlviZ1C/Y3rfnnQq9KBFJUe7G68Nc5AZxzOnBxqPQcr3dbmXpR64\nzIg04q6/wdKkKm7DSkA28hCGbsSRbQo4zRQ4IH0p3cPhqK/zW2uzFaQZECgE\ni4lyZKQe+lK7P4US4wpgwBANIeD0g8GNKP8jnQChpSMhuorFm2Y7gCyxHPMh\nK1UO2Q+6cltSBz4IbdS55ysKIOIuLdOiM51w6fUsjM1Ga9CmnNF9jv0nYZJD\nc1LwGwPtWc9uK2eKUV6f0j8ka6zt0/1n+Kvgah+/W2iFo4bt+QfxHdOkYhgI\natbxzOwRGc/ihNQMWEImDUYbb/deIRvdsxwU+gTFcqFfvYyOwWvQl5BkA41+\n5NGqyT9v2VBljiV3lFoSJvbfH9gk97BclR1pp5nzFyw9BO7+N+z45+CQy0Gx\nU6+nhIFEg3K3G01dbGtpP14h1NNMMaCcZCZKky2BfXpK5uO4XPodccj0o81w\nxmJrAcbf8UPpbKevgwS08GUSmzNFS4af0rBYTOTAaduHwLtelP4EgWixD2eW\nehooomuT4BD/P/XrCO1iWhDzhIRezKCf5JSRuoC539zrwc3uz5JGLxhD0pmw\nwAaRjpSOHCCsk9ga7JHd2fhHg2xzMcwjiBphlhWInunFeIZhL7cgqjplIx/w\n5ZS0\r\n=2/O9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b12562298bf0e6d157e143ad07491a0a562bd1d6","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"aswann","email":"alex_swann@hotmail.co.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.14.8","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"14.11.0","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.2.0_1605027167383_0.6736792027664618","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"hof-middleware","version":"2.2.1","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.2.1","maintainers":[{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"b261a8a306428db5cab32bbb08cc3949ea8e0ba4","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.2.1.tgz","fileCount":19,"integrity":"sha512-Tk6WY0AIB78u9p85uRvXu1bXffFzkGEjEX2IV6FTLqntTjX7EAtwpOl7ATdLyUJ5/hyjjKjqdnFzuSwDFdK4YQ==","signatures":[{"sig":"MEYCIQD9TbBKuCaI9ffPPj/N7FBH0hVs6PYg4B/OqHoUNcMCwQIhAJzY3nHx8W4ZjKQUHY0RiQ7B1W0kxUebje//mBFvTCvs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqs0OCRA9TVsSAnZWagAAxNAQAJa9nL6MAmYn29/cRvNe\nhSyfKnWgi10cEH3hgAI+urY1WfBkaPNW7f/iG1Uk5ujpqnjuis/4cxWety7n\nAYZjF7u2wjSxoKFPGYJIa3fegGAWpfaMHrc1tRsZlFIZ4H4sD8Do505JC2Qt\ndir93Kk91PJd/bAMauTNy/i5DTsS+fqaggiRvGWeIhC9Xpxzo4MsCKxikmFT\na2QioAyHvCfC5I302ZugulWV6wh21B5xEcY+adk5GeBlrxxr+8E7VBk8SSXg\nkodOQZ0bTB88xcAFiCFWSMn54ExX1a7hrY92R/CWatigKf0vFJtv2brrE72U\n2Wn9DxLDVvfNP232GnVaZRcMD6GoRjOk2K3kjrMtOP8uLPboN0x8bOCrS2GO\nJlIMyOfe2rAXkPzlo2k04HHGv3PIEMVJhJ+H6v8b5iRnBhfAi8i2l2W6Q0Ft\nulyeo+ltVyfi4hj5lXmvpD8opfsUhd2e5Z/NjdVpAP1UHtMPDhBf0if2YW2F\nSVYGHtYubvgYJDEY7bYFNX1agJt/xmYnXETQOP984vIU1o77BA9YtMl91TKV\nldoifrVNaIjU8GDzyZhXkA6jKG+ICV66DaapHEp8xcOLLwdqUs9EyCAfpOBd\nGi2Rk+C7S/zh6IlEH4b0NDLfMuh3HVYzrE14t2Q3q6+qI6nCVVn3zs7BTd1B\nJIxU\r\n=QLtH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a7e120d12b9c40e7dcb75e3f490a2d8ac9349719","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"aswann","email":"alex_swann@hotmail.co.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.14.8","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"14.11.0","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.2.1_1605029133788_0.6386492201140135","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"hof-middleware","version":"2.2.2","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.2.2","maintainers":[{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"d841189e3c42f3c974caba2d0da19b0cbe4ca42c","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.2.2.tgz","fileCount":19,"integrity":"sha512-kLjABdwTFmYpYNNeUxONMKteUdC7yQKYUk65aGg1z1Uv0gN3q5zJN5DsTbpHPSHgsNuUdMI4DYec1jDN29iZDw==","signatures":[{"sig":"MEYCIQDQFFP7IVrk7hg9SS3B2CPhVj0fMTaMIQ1MAwNzemYsWAIhAJa9qA2C6unbRXxaZLY5HL7orH55+uIO89zmf5Kw0COl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftOpaCRA9TVsSAnZWagAASJIP/RddgLPZqlao+UBiZmsj\njwB8Lwkj7DOKdlfqDuh6+Dm5ONNeWGfqWWdOsCzeohdfDY3CrHEXucxccVL1\nV9QgHaDECBWs0b19ZLYK/UkGlgaDmAiFB0zaXG8M3YWlWVNLRN5xI+z/FDam\nffk7ccL2f/GQ9mm8pQ+s28Es7Uuqid7SJJpXhwgb9fXyC2rDCngX4CG03HRk\n+yRrZeg5CibuILcf0HYMI9fTYuK2qX5nt55M2K0QNDd5kqHvZ/kJoC1x8pq1\nLto2zSnuEAek5BvG+Ac+jxpZZUGbQdYbOg07lCyRMY+dYIdXy1jdod/6Z1uW\nkV+eGGfarkddRnOeiRy0shtZtBD2VoPtlbeQWCXYb1GrnyGh3Zz2M7sh4yzG\n8zAFO8IGgRtci0V8vKaoXtWJollMAFEgrB+w+JvuK7CF8VZuRbhH7ppZehte\nvZgAjAxa2zIi+rToFB2hA1MGH1+Jwv5eFgAL8NUh+PSs/ZZZwWx3aQpxo5BQ\nII84Wt8DU5gPzv8G+az2SRKZY6sWaHpxDZt400lgMq2jN+9jGlvgcpuGKH0u\nozOuL/v7STYCu1WpEfYuneB0bCLW3liEdVYfuVpWNs5BjrFerbDookxLikmQ\n9jwuO9XPPp9wdWjwOb7OaeWW7/rrvnm4vVEL1IYs1+LtoBlWOCXrq0h2tDin\nXQ87\r\n=gdtr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a4ee655aa562b693ca215c587cc276feec2498ef","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.12.1","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"12.13.1","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.2.2_1605691994155_0.7953161780338287","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"hof-middleware","version":"2.2.3","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.2.3","maintainers":[{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"63444441d97d75f40817ce0946c529fd41b7898c","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.2.3.tgz","fileCount":19,"integrity":"sha512-Oiwuy60inZQy4rjoWVcYtseJ8EaF5y40iuumWMaQ0MTjewq+9rgmFzATMBT51gnDlADn9esWTZH5Yuf06HwVuQ==","signatures":[{"sig":"MEUCIDWm04gdYnIe1XpEOFkoax6TSrLaxGLTbmjKk5omdzuqAiEA9sYs5fvcY5tTR1LkJarFCLSsGre/7B5FTV768JZjYlE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftO6cCRA9TVsSAnZWagAAKKkP/1UBmbgULbNjaIGVjf1L\nhiPTgl9hu2Rxa6FSBpa8D6l1YC1ddRGmd3C9jw57JY1MSGiyVAn7sJqHWHgE\nfp9oosMzpbta83oi1/oNOX8ApUosXGvjCJbwqQ3zrcm4bgrT5jY7IoFQsGKE\nsVM37fq+wQqT23I2w1LsMgrb8pwc9gE+NjzYYpmi2tJOcuPIalk82s+QDidS\nrq0oSRK2XBuEALJduC/akXcos3/hRXdfpJPcwLJB5xR/lnDQ4kiVOjzAjc5G\n/vqDb0hVBSWwzu40IcZnXPTpIgiffBBw9xJODTJ9MHSwFtPN/WsXfmUJgebz\ns1rr4CABi/6XuGBkWvqaQ1MK4qUfX+nE6f5sN040ktcOdhH958K46OXDu2+N\nvp6KlF8TNY0ssZIaVqC6SEnJNQN3pJt/J0laoVADBDiR9gptgUyJbd2okxM9\nE43GJjAX3Bbt9sesG9rdyf83wTpADeq+/vfnR9UHOn3RgjFTkqX6K8+3rIgx\nBHA9YMwHCmL0qOpKS1wtMehTRBVlugefbr4V1nP/Ir4cOX/zbFYQsYDkrMKt\nIVOytLCFpneZTPrnQNjH17320wuIKYcDs4qHIoh2d337j8WMhCtpQ9FR7Yms\n7UN3zYZaGCNVkTQAN1BBadnb83mvoiGvGG0G5w82WuvXQBYds+ip0XBdxbUB\nW07W\r\n=Gcya\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0bcd61a19649b9a0dfd6a13cba442edfbcbcba44","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.12.1","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"12.13.1","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.2.3_1605693084101_0.972672823588947","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"hof-middleware","version":"2.2.4","author":{"name":"HomeOffice"},"license":"GPL-2.0","_id":"hof-middleware@2.2.4","maintainers":[{"name":"mcrawleyhomeoffice","email":"martin.crawley@digital.homeoffice.gov.uk"},{"name":"alicelui","email":"alice.lui@digital.homeoffice.gov.uk"},{"name":"hovell722","email":"james.hovell@digital.homeoffice.gov.uk"},{"name":"hof-bot-user","email":"sas-hof-test@digital.homeoffice.gov.uk"},{"name":"mohameduwais","email":"mohamed.uwais@digital.homeoffice.gov.uk"},{"name":"cmedland","email":"christopher.medland@digital.homeoffice.gov.uk"},{"name":"maxosully","email":"max.osullivan@digital.homeoffice.gov.uk"},{"name":"sarahjaneluff","email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alexander.swann@digital.homeoffice.gov.uk"},{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"agraham19","email":"andrew.graham@digital.homeoffice.gov.uk"},{"name":"aaron.robinson","email":"aaron.robinson@digital.homeoffice.gov.uk"},{"name":"josephchapman","email":"joe@creatify.io"}],"homepage":"https://github.com/UKHomeOffice/hof-middleware","bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"dist":{"shasum":"eea0edb0744638e2effdfdd90282e3368c795f27","tarball":"https://registry.npmjs.org/hof-middleware/-/hof-middleware-2.2.4.tgz","fileCount":19,"integrity":"sha512-XtuxxVyeJGkdtoh+dz0NfiBlDx9tgTvfAub2flO/U984LPgr0lLOGFhIzxFA0uChNup9tMv0ehsWV9qDzCLBRA==","signatures":[{"sig":"MEUCIHg9gSATsKSDkNA44XNS0I6ptC0kj1Jpw+mOM0/dW+XoAiEA/GFtdH9WiWZlkc7YT+7OPayIkhcvHZ1JgOCD0q3WlFY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7hOUCRA9TVsSAnZWagAAWncP/2KaL+zDk/ILXcAxjcb6\nnK+o6+7HKp75Ypl6pNABUTBbLLtFjrkh1Rwczed1DSIMrIzMCND+veB5w2kQ\nbmlmBo04LgZFCmWTFN7sGQQ7t6b+xo0ujr2uLuCq7l5+t3sPHP/Z0TI8JlpM\ngppp2/ajdkq8iYIB8L3vVGEZ10uP7U91Rb797wg9XJtdQHGf+VVRK7Qn6FFC\ns+5dgbi9ZrN+ZB5ZgX/9Z85fQFyOVeObWTITrElObYRECEjd9q1t+yQ8IqKA\nRWApJqiOENkldrwfMC4dsz9p6enl/RnP5+D8X71YXNRAoQ55SQPX1JQ9g+Mm\nX5Biltqcoy9PljKEhPmDvoEEHyc7dF714yHKBB2D7SPczZMPT4RxTY02S0it\nbI6hu2jb8vibZK6+hsDowjklHM4cylnrWT8qe0e76gtR5QLiWLgN35uF+1DS\naL0tI/UqTExctMKUBCs9mYy1VyLJcBFwHRLtQuq9liJ4wrSV4fhrh98D0Su9\n1xdRQHCQP6yDLJbUkN6pZXCYUyWzI89LMKO28qku203kbdXpJo3CrpoS+b7Z\nlFM5a/MlpYUlDiYAJy2X/Hgyi+gISqwQZp2cFQcdlY1Ua5+0k+M9rhg44zH+\nrWjmoPkp8qCMoxhr4rvwJiKTLUgBgp0oKeBBEP6RwvK+WwRZ8RSlytIRDjWk\nmJdh\r\n=Zcgg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2d657b8e7a71abcd3c49090b614a1bbcfac74989","scripts":{"lint":"eslint .","test":"npm run unit && npm run lint","unit":"NODE_ENV=test mocha"},"_npmUser":{"name":"mohameduwais","email":"mohamed.uwais@digital.homeoffice.gov.uk"},"deprecated":"hof-middleware has been added directly into hof v19.3.5 and should not be installed separately","pre-commit":["test"],"repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"_npmVersion":"6.14.12","description":"A collection of commonly used HOF middleware","directories":{},"_nodeVersion":"14.16.1","dependencies":{"urijs":"^1.19.2","lodash":"^4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.0.0","mocha":"^5.2.0","sinon":"^1.15.3","eslint":"^5.6.0","reqres":"^1.3.0","sinomocha":"^0.2.4","pre-commit":"^1.0.10","sinon-chai":"^2.8.0","mocha-multi":"^1.0.1","node-mocks-http":"^1.6.2","eslint-plugin-mocha":"^0.2.2","mocha-junit-reporter":"^1.4.0","eslint-plugin-filenames":"^1.3.2","eslint-config-homeoffice":"^2.2.0","eslint-plugin-one-variable-per-var":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/hof-middleware_2.2.4_1626215315601_0.41004807724405357","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-04-08T10:46:11.165Z","modified":"2026-09-21T15:12:53.339Z","0.0.1":"2016-04-08T10:46:11.165Z","0.1.0":"2016-05-06T12:46:36.015Z","0.1.1":"2016-05-06T14:23:48.358Z","0.2.0":"2016-06-10T16:12:53.988Z","0.3.0":"2016-08-09T11:05:09.624Z","0.4.0":"2016-10-05T10:29:01.469Z","0.5.0":"2016-11-22T17:55:00.713Z","1.0.0":"2016-11-22T18:00:45.272Z","1.1.0":"2017-03-02T13:24:38.941Z","1.1.1":"2017-06-21T13:48:23.672Z","1.1.2":"2017-07-20T09:08:48.547Z","2.0.0":"2017-08-07T10:17:39.285Z","2.1.0":"2018-09-28T08:30:51.803Z","2.1.1":"2018-09-28T08:39:22.263Z","2.1.2":"2020-10-30T15:57:55.683Z","2.2.0":"2020-11-10T16:52:47.603Z","2.2.1":"2020-11-10T17:25:33.929Z","2.2.2":"2020-11-18T09:33:14.261Z","2.2.3":"2020-11-18T09:51:24.270Z","2.2.4":"2021-07-13T22:28:35.737Z"},"bugs":{"url":"https://github.com/UKHomeOffice/hof-middleware/issues"},"author":{"name":"HomeOffice"},"license":"GPL-2.0","homepage":"https://github.com/UKHomeOffice/hof-middleware","repository":{"url":"git+https://github.com/UKHomeOffice/hof-middleware.git","type":"git"},"description":"A collection of commonly used HOF middleware","maintainers":[{"email":"aaron.russell@digital.homeoffice.gov.uk","name":"aaronrussellho"},{"email":"sas-hof-test@digital.homeoffice.gov.uk","name":"hof-bot-user"},{"email":"dk4g.blob@gmail.com","name":"dk4g"},{"email":"gregory.wolverson@digital.homeoffice.gov.uk","name":"greg_wolverson_ho"},{"email":"vinodha.samiyappan@digital.homeoffice.gov.uk","name":"vinodha.s"},{"email":"megan.john@digital.homeoffice.gov.uk","name":"meganjohn"},{"email":"nese.zorba@digital.homeoffice.gov.uk","name":"nzorba"},{"email":"rayhannur.rohman@digital.homeoffice.gov.uk","name":"rayhannurrohmanho"},{"email":"vivek.kumar1@digital.homeoffice.gov.uk","name":"vivekkumar-ho"},{"email":"ben@marvell-consulting.com","name":"easternbloc"},{"email":"joseph.chapman@creatify.io","name":"josephchapman"},{"email":"leonard.martin@gmail.com","name":"lennym"},{"email":"hello@joefitter.com","name":"joefitter"},{"email":"sulthanahmeduk@gmail.com","name":"sulthan-ahmed"}],"readme":"# hof-middleware\nA collection of commonly used HOF middleware, exports `cookies`, `notFound`, and `errors` on `middleware`\n\n## Arranging the middleware in your app\n\nCookies middleware should be placed before any other routes, this guarantees that any data gathered in the form will be saved to the session.\nThe Not Found middleware should be placed after all routes and before the Error handler middleware. This arrangement ensures that if an error is thrown it will be caught.\n\n## Cookies\n\n### Usage\n```js\napp.use(require('hof-middleware').cookies({\n  'cookie-name': 'my-application-cookie',\n  'param-name': 'my-query-param'\n}));\n```\n\nThis middleware must be declared before your other routes.\n\n### Options\nThe `cookie-name` can be the same as your session cookie. (The\nmiddleware will not overwrite it.) Defaults to `hof-cookie-check`.\n\nThe `param-name` should be chosen so that it does not clash with names\nyou are using elsewhere. In almost all cases the default value of\n`hof-cookie-check` will suffice.\n\nThe error raised when cookies are not supported by the client can then\nbe handled in you error handler by identifying it using its `code`\nproperty which will be set to `NO_COOKIES`.\n\nYou can also provide an array of healthcheck URLs with `healthcheckUrls`,\nshould you not want to throw a Cookies required error when requesting the app with specific URLs.\nKubernetes healthcheck URLs are provided as defaults if no overrides are supplied.\n\n## Not found (404)\n\nExpects there to be a view called 404 in your configured `/views` directory\n\n### Usage\n```js\napp.use(require('hof-middleware').notFound({\n  logger: require('/logger'),\n  translate: require('hof').i18n({path: path_to_translations/__lng__/__ns__.json}).translate\n}));\n```\n\nThis middleware should be declared *after* your other routes but *before* your errorhandler.\n\n### Options\n`logger` can be any object with a warn method.\n\n`translate` can be the HOF i18n translate function\n\n## Errors\n\n### Usage\n```js\napp.use(require('hof-middleware').errors({\n  logger: require('/logger'),\n  translate: require('hof').i18n({path: path_to_translations/__lng__/__ns__.json}).translate,\n  debug: true\n}));\n```\n\nThis middleware must be declared *after* your other routes.\n\n### Options\n`logger` can be any object with an error method.\n\n`translate` can be the HOF i18n translate function\n\n`debug` set to true will present the stack trace in the form and return the err as the content of the template.\n\n__Note__ If `debug === true` translations will not be served, but the error handler default messages\n=======\n## Deep translate\n\ndeepTranslate middleware supports nested conditional translations in order to show different content in different scenarios. The middleware adds a `translate` function to `req` which is used in various points throughout the architecture.  This middleware must be applied before any other middleware which rely on the `req.translate` function. Also when initializing the form wizard, or template mixins, if a `translate` function is provided, this will be used rather than the deepTranslate middleware.\n\n### Usage\n\n```js\nconst i18nFuture = require('hof').i18n;\nconst i18n = i18nFuture({\n  path: path.resolve(__dirname, './path/to/translations')\n})\napp.use(require('hof-middleware').deepTranslate({\n  translate: i18n.translate.bind(i18n)\n}));\n```\n\nlocales\n```json\n\"fields\": {\n    \"field-name\": {\n        \"label\": {\n            \"dependent-field\": {\n                \"value-1\": {\n                    \"dependent-field-2\": {\n                        \"value-1\": \"Label 1\",\n                        \"value-2\": \"Label 2\"\n                    }\n                },\n                \"value-2\": \"Label 3\"\n            },\n            \"default\": \"Fallback label\"\n        }\n    }\n}\n```\n\nUsing the translation key `fields.field-name.label` will return different values in different situations depending on the values of named fields. In the above example the following are true:\n\n* If both `dependent-field` and `dependent-field-2` have the value `\"value-1\"`, the label returned will be `\"Label 1\"`.\n* If the value of `dependent-field` is `\"value-1\"` and the value of `dependent-field-2` is `\"value-2\"`, the label returned will be `\"Label 2\"`.\n* If the value of `dependent-field` is `\"value-2\"` the label returned will be `\"Label 3\"` regardless of the value of `dependent-field-2`\n* The default label `\"Fallback label\"` will be used if value of `dependent-field` is neither of the given options, or it is `undefined`. It will also be used if the value of `dependent-field` is `\"value-1\"` and the value of `dependent-field-2` is neither of the given options or it is undefined.\n","readmeFilename":"README.md"}