{"_id":"hmpo-form-controller","_rev":"47-0e52c7449a26e4553e772cd42d4a1964","name":"hmpo-form-controller","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"hmpo-form-controller","version":"0.0.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"b5614c7ce544ab2967db325b21595a567b734a25","_id":"hmpo-form-controller@0.0.0","_shasum":"8fcc320719aa377d8f58e5b78705fe47d2795135","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"}],"dist":{"shasum":"8fcc320719aa377d8f58e5b78705fe47d2795135","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.0.tgz","integrity":"sha512-mBooORfGpJ57s+Ax64vkvG5gKTgmK0N0JJSeXLycbn4w1MZPfz2Mok1gqRGcAWlOmhckgWMZ49BjJAcRmJVawA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6MSjTkxOeqqjJG0GbwZQsLm3ikeQbfGPRDLeIUlkq3AiEAzL/5MjwgzkeSsVbVPZYdJSKVbqMENfijCI84MVbB9WI="}]}},"0.0.1":{"name":"hmpo-form-controller","version":"0.0.1","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"bac368288e84e6442f71400dbb296abeb3c2e253","_id":"hmpo-form-controller@0.0.1","_shasum":"cafeb91b42b2d772207b8e0f32ab8e7b66dcc7e7","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sebinsua","email":"me@sebinsua.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"cafeb91b42b2d772207b8e0f32ab8e7b66dcc7e7","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.1.tgz","integrity":"sha512-OxF6gJ2OMaBGjfKuO/5Txpr/5f8OVoy0GUFNjqJWC/fRpIQA66+2VMOD+BTo/A+YkFO3lbdCUi6HLh7Q/g9hLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLVIpWE4mBo2udUft6UmyD2rK2lO2h0ZOI2uphCYJtUAiEAtiKvcrl42nIFBOcXmzbtBJeXVZ3UlRRRcJd7wVSZAaM="}]}},"0.0.2":{"name":"hmpo-form-controller","version":"0.0.2","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"a825c37185fdc81d53681838451c890c5f4c2815","_id":"hmpo-form-controller@0.0.2","_shasum":"67089ac30986dad4b08b0e2bc50e3c4b0a229e91","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"67089ac30986dad4b08b0e2bc50e3c4b0a229e91","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.2.tgz","integrity":"sha512-IrVwx11WokL6D3dSZJ2UOiQ+ar4JmX8L/LoHXIKXmzRWIwsTgP/tWf1V8h+HgUNZDw85hzCnbabGhU7zg4B/Dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHo4T4wlEs6HoZ7RpNV/5xMxO76BQRw/eDGdJIAxn9nNAiADHlTkrw2wCkLvskutyyp29AU5bnx/CFXq/h7LWfnE3w=="}]}},"0.0.3":{"name":"hmpo-form-controller","version":"0.0.3","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"d425223f43f927f5eaaee4f10e35998b981fd7ad","_id":"hmpo-form-controller@0.0.3","_shasum":"cc6dc581ef5eec6f2657c2acb31e9899cb269ed0","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"cc6dc581ef5eec6f2657c2acb31e9899cb269ed0","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.3.tgz","integrity":"sha512-k/lpTpGyYM+9C7dmr3IuNjljz3+h5tBGL+SctAgI2y1cm3C8OrdlyHwOLxv/Ze1r5k9V7H8WGHN31CY8t7ZeYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJBKxEvKl+OtywqJIQWq3B/cTEF8K+YfNRtY6/1ew+2wIgK09ZaDVhOSC8pF4RB2UlcIYWdEGtF+OwkyE/JYBR9aU="}]}},"0.0.4":{"name":"hmpo-form-controller","version":"0.0.4","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"fe17cf575b840a8d7beeb8cd2e28c50befd1c19e","_id":"hmpo-form-controller@0.0.4","_shasum":"6627cd8384fabe7674e501ae786ab7e08ec53379","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"6627cd8384fabe7674e501ae786ab7e08ec53379","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.4.tgz","integrity":"sha512-w9GLksyiOBefwzDPD9tXWIAnD9/X/fsfMePhStOvoqS04sJVJ+DCgqmpreqpSGE8MU59mfqIdN6ha5njNiDjWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMRXYRxmgkDLqhOqtA2JO4mBga0vrm17ho3gxXqkxD9QIgbPx230h3B9bok36HYCTL7SLEmvOJ7WVYj92pmnd7rlU="}]}},"0.0.5":{"name":"hmpo-form-controller","version":"0.0.5","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"7216402dfe86d4e0f8d98f908aaca72f31ffcbc1","_id":"hmpo-form-controller@0.0.5","_shasum":"7e178cb29f2826a27e26735032f9074a3c614744","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"7e178cb29f2826a27e26735032f9074a3c614744","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.5.tgz","integrity":"sha512-urgNrGb05Yj5gRTLhIeBs9v7B9GQ8NxuEYZdSFVoLDuZACpL0GOmOP+RqM7vJQILmLsv26nzD4PrHzOSSH/JVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+TO+JpTFQgP9CF/UzrU7n/TZQrHg0djdR4MjKi2YLwgIgZ6Hur7hXUoXDyrArtKeADpRpH/dtG/S1WmRzbSdRwNU="}]}},"0.0.6":{"name":"hmpo-form-controller","version":"0.0.6","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"24dffcd500bb1bd0f3a4db34020bb3601a21c444","_id":"hmpo-form-controller@0.0.6","_shasum":"9c84e2f677891a4ead9a5f88b453f224c88eaf0d","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"9c84e2f677891a4ead9a5f88b453f224c88eaf0d","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.0.6.tgz","integrity":"sha512-I6IqT78ILfas9OISKN5lKKdPd7mdvaDrqLNexJLLeu5CFR09t6oQWleGA/GGXLLcR1/z7yKhiDAkEZvSqNljRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjT/h6/xaIzexPaNQc2QsC0Y0FiWMbcutQ7IfxahlOQQIhAMF2zwfQkC+kZt+NAqHQJn6EZaYgTXb1l490/aWYtvS2"}]}},"0.1.0":{"name":"hmpo-form-controller","version":"0.1.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"a64310c9de4948383376f4f7cbd654201f255fd5","_id":"hmpo-form-controller@0.1.0","_shasum":"4b47a54fc2bac6cad26d7f13dc8992278cd29ee7","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"4b47a54fc2bac6cad26d7f13dc8992278cd29ee7","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.1.0.tgz","integrity":"sha512-WOnCCKjz3lvM4cP5odmnhHjjPLhQMh7MRCkK0yHP5r9UYym9Lf8tDv1+hYFDThJcqQnHd5dxEclMXYjNyCuIzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuK7RGIFja/UEcqj/kPIB7PYo9bVQdvxL2ksyvh5OABAiAoYpEDT3W2rrEf4eEbguPEub732vWSiIEhrLToOex64Q=="}]}},"0.1.1":{"name":"hmpo-form-controller","version":"0.1.1","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"14dbd522c55bc2ca15117ca33e06c838af2aad93","_id":"hmpo-form-controller@0.1.1","_shasum":"438af2c8af2bcf45d26344ce38ad66088fe1789a","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"438af2c8af2bcf45d26344ce38ad66088fe1789a","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.1.1.tgz","integrity":"sha512-b6d4LFwcYLkqqdevbZLn0He5+62dUJiEypVDbSi5nvdqkYDnelqC86tWtxGyQYfa7PzLd7yomeQMTt7ZHsxadQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf+RKnLSrtR4yLlz/jyeCQeel6CfpThQ0UAH6nxakRyAiEAxgo0obSruDd92sPReKpn8AALK+qJdK1R32LQKlxACQg="}]}},"0.2.0":{"name":"hmpo-form-controller","version":"0.2.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"a1e9d7e0bf1994e4675957d7e8f16a4088374bd5","_id":"hmpo-form-controller@0.2.0","_shasum":"c0c92a1433ad7a805bcbd0cca39d287434688079","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"c0c92a1433ad7a805bcbd0cca39d287434688079","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.0.tgz","integrity":"sha512-dftJaEQqgPzLdZZTH+/nxp3ZDIMQxV8wYAX6LMvK0H2wxqYPGasLK7lDJWZNn77qDCeu5ns0QfgvDyulljEJ+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGucB1wGLRvqeGaoV2s0F84KL1sSj2K1+ZwEAcu+o1aIAiAFNLu3/vQcgvk6ZW1Kq62DNbD/RVfmu8nT4B88iBtBhA=="}]}},"0.2.1":{"name":"hmpo-form-controller","version":"0.2.1","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"1d178056b1850e9e39a26894d5ea2f2070e83455","_id":"hmpo-form-controller@0.2.1","_shasum":"4f5b9ac3aa20a0d1c7c89bf3008f11f37d24e6db","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"4f5b9ac3aa20a0d1c7c89bf3008f11f37d24e6db","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.1.tgz","integrity":"sha512-gzGfnoskoB/RV234j8JHVeWeDGSqAnVei7kcTBJroAf8oGyr5V4LCG5wTs/JzI1ZfLlGLCBjqouddoiDikb5OA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsfWWoXZiUVEpGu3DrwJpVa10WG/tc9yBrJkHMtNz3lQIhAM5OVtu8tQc/NT8AuVoOKDh0xH2ZG/y7tIYorsCSWl3g"}]}},"0.2.2":{"name":"hmpo-form-controller","version":"0.2.2","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"628125df7115db6a0f2b4a7a2ae7316f17d391c0","_id":"hmpo-form-controller@0.2.2","_shasum":"4c705fb52d832bcef57d3e8ca3a03e3e15c2983d","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"4c705fb52d832bcef57d3e8ca3a03e3e15c2983d","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.2.tgz","integrity":"sha512-+Uwj5YByjtDbS904MqrKuRIo4XziBkca6mzzxUIRBr/Ff8saWBGruYG09TTpyZz5Za71bFQbxXqRWh6h2+OSBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9sqluRgVz5VXygob8iwCVa973aecGmhx5OYmqWreD+gIgTGTrqfqbO2D0Uj8v3cEpt6KdozpjJGaCnHG8rGHtP9s="}]}},"0.2.3":{"name":"hmpo-form-controller","version":"0.2.3","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"49de2d5af2442cbf3f6c61f24c07b90cf2266f91","_id":"hmpo-form-controller@0.2.3","_shasum":"83688e84db222f9c13c7ea09c8b2a19e3fb5aa76","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.29","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"83688e84db222f9c13c7ea09c8b2a19e3fb5aa76","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.3.tgz","integrity":"sha512-zXpPSoeNrbWfxpPmjusqH84Ca9OF5CjYntXxcfBByFG6+vKMahWF83Dd/2SV1ebliYLnI5FU+goYkSRP3COnGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5ls4p2pvG7UuWfH94L0+NgqteZg0/6VxeII8tyqSJFQIhAL/pVMLCO/1gWHH9risom1DG7ML24+er9SjfPANtroCg"}]}},"0.2.4":{"name":"hmpo-form-controller","version":"0.2.4","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"^0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"_id":"hmpo-form-controller@0.2.4","dist":{"shasum":"8486e16010de062cb64c000f35314acf640fa4b8","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.4.tgz","integrity":"sha512-qMquhAuCmiiKoUplpQwMBLDqQttcrSJ92PhgGMkVO1ClAh2FcyUyTo+Z7s2e5gj17hs8ir8GEY8CE6h3ZyEbLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+S0LzKR07t5EE+SgBp0VIFFJ2gv6QDZ/IIVrHWOvXeAIhALmtk4r2iz8n2erQciunS07mHChs7i0UgsPesNFfF2hl"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}]},"0.2.5":{"name":"hmpo-form-controller","version":"0.2.5","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"2df4b2d1607eaf8651bf03b53bf7c0f669dc159a","_id":"hmpo-form-controller@0.2.5","_shasum":"7b428087ac336adb0db329edd67c64cdd8f8c34e","_from":".","_npmVersion":"2.7.6","_nodeVersion":"0.10.38","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"7b428087ac336adb0db329edd67c64cdd8f8c34e","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.2.5.tgz","integrity":"sha512-uibGGIqNNgerr+QXK8umIF4+r7xMc/q34THl1VhuqQRVU0NLilxaYT0v+RIsj+vT98iakoMlZoQ10+ji3W+WEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaKdkJ2C1Yqe5fvNlIFsCi+gSYy623It+noiJRPoWb+AiEAqoPth11XrEy+wtB4k5eN0lzI8pfiMJh8LXOOs2LNlFg="}]}},"0.3.0":{"name":"hmpo-form-controller","version":"0.3.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"38c6070cca6c14938c19cbf8a8f46040c8f143bf","_id":"hmpo-form-controller@0.3.0","_shasum":"7b3bf00c70675356859b016bc5a7100727636ca9","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"7b3bf00c70675356859b016bc5a7100727636ca9","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.3.0.tgz","integrity":"sha512-DxCpcTLR0l69EmAIz/ZAPxSZUuNcGf61crNRznGtG+JmOTLC94YS4uRo/Nf1POzFyn481f+UyY7vxEUBwNLqhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+k4OrtnLA3R9uQSehXXFefw/gcwSNz+56QaP7zf2FKAiBwEkWCFcpfj4+CngNgNUqH3h4oGg0BzqoKR4uR8e1o5A=="}]},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}]},"0.4.0":{"name":"hmpo-form-controller","version":"0.4.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"f230408dd60fa284ae691da8cd00ed71d5bd7b27","_id":"hmpo-form-controller@0.4.0","_shasum":"622937ce314e50d9371b7681c6f3963cb9afe5a3","_from":".","_npmVersion":"2.7.6","_nodeVersion":"0.10.38","_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}],"dist":{"shasum":"622937ce314e50d9371b7681c6f3963cb9afe5a3","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.4.0.tgz","integrity":"sha512-gsCSj80kaDOyGjCj/4LKrUXrxiPflLFLvSr0HhHBPOgnhRJD/JkYxhsZljFw98jX5PjJRvaVuqVcSz82pFwN0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmsxGD/UF/Z58yCOO+noXmDuJY1byp05ZYOC4tS6XGhAiB0RLZrUEqJcuhurGk6OTMxMzjKuAW+Th5NnOD0gID8OA=="}]}},"0.5.0":{"name":"hmpo-form-controller","version":"0.5.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"a2efaa911cebcf954cdd6f6197ebb09b8aa80b69","_id":"hmpo-form-controller@0.5.0","_shasum":"b55452efb7d937c7195a365ed45f49e05f0e8881","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"b55452efb7d937c7195a365ed45f49e05f0e8881","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.5.0.tgz","integrity":"sha512-iyHMy2WV2bcOgY+vlYySl3ry1WLxv2ew82p9hBUiwNW321OyE9l6aqrJKC/bMMj1DNTQBPrfNYdNxr+d1eV60w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOLDOMB2coEVs75+yzRB7cVRfG+qFcnYHdBvieL2S1AAiEAni09qYjH/erKucJaJN8X+bAyu3UoNOsVS8Skb6glXKM="}]},"maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"}]},"0.6.0":{"name":"hmpo-form-controller","version":"0.6.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"0eb1b33868f7588210263a6d432f7f2f7dde31a7","_id":"hmpo-form-controller@0.6.0","_shasum":"0fbb8dc42924d848931cf5ff3eea501214343eeb","_from":".","_npmVersion":"2.7.6","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"0fbb8dc42924d848931cf5ff3eea501214343eeb","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.6.0.tgz","integrity":"sha512-FNRa3SVWM13cEDHI6A4IowA/Dtx/PRgbomzvhNFZ8B07P6mvUjUBSlo2diF8QourMLnXnr+DiwJRBC4eRAavXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHzJ+pe1PlwTipO9AKRKp7syqZTdRQidAtz1GquxXCFAiBgB3+c1BwpQtlt2VvdpkWugOLYoTR49qC1ct5bly1StQ=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.6.0.tgz_1457536435779_0.7322092342656106"}},"0.7.0":{"name":"hmpo-form-controller","version":"0.7.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","lint":"eslint ./lib/ ./index.js"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^1.10.0","concat-stream":"^1.4.7","csv":"^0.4.1","eslint":"^0.14.1","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0"},"gitHead":"47fae007a9f95e26f2c0086f236e230077a1074f","_id":"hmpo-form-controller@0.7.0","_shasum":"b0ad2c2458443be542dd3f4f99f1c5bb034e46fb","_from":".","_npmVersion":"2.15.2","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"b0ad2c2458443be542dd3f4f99f1c5bb034e46fb","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.7.0.tgz","integrity":"sha512-gKhWWS3VXj1n2UnnNaI5ImEqrxboAu88Ull2ZVhLlPdfBvIIwAlYja7t9GL+UWehTOm3UMjiRnVQ680FcQlGCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDPmVU7N7yLvTpgpApOXV391YNYnr4Yl3/V2XPdyB1FAiACprZd18lAkJkSLGHRZN2GxvKvbWgHZR2kM88HbtXxuw=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sebinsua","email":"me@sebinsua.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.7.0.tgz_1463050481570_0.5744509208016098"}},"0.8.0":{"name":"hmpo-form-controller","version":"0.8.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"ba9d5cffef202a0da4b429d6521fb769434c5c99","_id":"hmpo-form-controller@0.8.0","_shasum":"d2367cb59ee92dd5e1ca993444b83c37ae4b1693","_from":".","_npmVersion":"2.15.2","_nodeVersion":"0.10.29","_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"dist":{"shasum":"d2367cb59ee92dd5e1ca993444b83c37ae4b1693","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.8.0.tgz","integrity":"sha512-dD0Jeq4qz6l0kYez9RHYgf0w/ojYzUQyu6VOfamMgC5D88OdRh+7Ci1VTriD9IqQL0bfCat1BFahK06wIFwxbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyUF5SH5Q/7+/3Q6vfJCz77RWEwdGrfcSkMPsJGdIFQAiEA3+TFce+/pndT+xIcdrqP8Igb1MTBN3Z7EPWLdjxDNc0="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.8.0.tgz_1464346488458_0.26366373198106885"}},"0.8.1":{"name":"hmpo-form-controller","version":"0.8.1","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"d60cde7f6d082fa751f681444bd9729b603df01a","_id":"hmpo-form-controller@0.8.1","_shasum":"20dfdbe3ef51774f32effd74fae046a55126d09c","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"20dfdbe3ef51774f32effd74fae046a55126d09c","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.8.1.tgz","integrity":"sha512-P5djzv9wq1VNuUBIYqtqOXj39yYHqATedzk/itAcaGbrD2SEciZ5Ac++iCfWRl6JXhrO5+9MCdkqak6gvFSUJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvDYH+VM3SjR5IhGBGYLTyqU2ua6P+MR8qrp92J8fseAiEAtZQsC67LWhkGumcPKkQ/Zs/wF7CF969ktwd4BIZmGTg="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.8.1.tgz_1465488330065_0.6708038891665637"}},"0.8.2":{"name":"hmpo-form-controller","version":"0.8.2","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"d8755c2c3d3c5e1c20999dbad904a57e531da7b7","_id":"hmpo-form-controller@0.8.2","_shasum":"e283ddc5c7d0695aae10467d5182c18accb102d9","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.29","_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"dist":{"shasum":"e283ddc5c7d0695aae10467d5182c18accb102d9","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.8.2.tgz","integrity":"sha512-W7QoUgAGupI2HKjm5yUti8MDZSMO903lo1D7Bhg9s92fs5LEGR2cdjVkXgROGiFen1cDmw1q+q+11sgQvCRNBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9X4h0gnpYELxa5R1Pdvp4TFSM9cwiWTiXCR6q2e73VAiBuMcsvKMEl9Lo2farjSchndx6Dm05ULuLnA7UE+P0FYA=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.8.2.tgz_1466087482724_0.8207728010602295"}},"0.8.3":{"name":"hmpo-form-controller","version":"0.8.3","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"b80c31ef1d25e81a981e43687777d4088c7e0cff","_id":"hmpo-form-controller@0.8.3","_shasum":"bc169dfc6fbb69c6bf1ad29d6fdbd628c6f78ef0","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.29","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"bc169dfc6fbb69c6bf1ad29d6fdbd628c6f78ef0","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.8.3.tgz","integrity":"sha512-p8UpCXO/JHE/Olw1FpYengcn1nkKWcreoaAeC1KM0d4+kJKphe42lKlaiM8j9wkSt8lEhw+hVRGLGJ2ysk0veQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqqNJqT6nUbV/fgTIPbUGccjNC4llYDow7iTSywgnU2AiByHy/ckCedyFDrT3N+8yJv6Ga6EI7tMN/tNQwiCJFyjQ=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.8.3.tgz_1466153093913_0.9203380281105638"}},"0.9.0":{"name":"hmpo-form-controller","version":"0.9.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"cd7dbc1cb04a712095097bae574b58c91e58096f","_id":"hmpo-form-controller@0.9.0","_shasum":"de41c0fe2a5129f0e6a201557284cdb390def665","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.40","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"de41c0fe2a5129f0e6a201557284cdb390def665","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.9.0.tgz","integrity":"sha512-Kqrd5I8KIzJqS8B3LqCRkL9EUEe2ht6xMKn6BBNVkMHJSOkkXRzxp6xqWsIeCrgp+FD4tr3tKLDIjR8Th7t7pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh+kaYQRgGgjxxgPG80SXEJjfj2+rSytiA4LOPX7b5dAIgRngRiMGC7qi4EKVzgvTxbxEwncDmv7SHGY6N4xX36Hg="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.9.0.tgz_1466696539874_0.2862932146526873"}},"0.10.0":{"name":"hmpo-form-controller","version":"0.10.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"039ff82987365f42a8e79b6b7fcb460f72970c69","_id":"hmpo-form-controller@0.10.0","_shasum":"0345c9a92151522a068502fe2c6827dbe7f79e12","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.40","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"0345c9a92151522a068502fe2c6827dbe7f79e12","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.10.0.tgz","integrity":"sha512-yloDMs5pqBpVbT52DMWipJdJ1q2QhLhZNsVymKVZVOydSAlUj521tbRab2pDfnmFac1FAKFIyrjT+AsquEAfVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuHqdajbDWZemxXoxPB9oO8A4ksFbVdFlHD6eEy1M7sAiBOAd4upMqqD8nfBGN1X05r5k+CDQUdVnHhYYsvNK5J0Q=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.10.0.tgz_1469103050205_0.16504935547709465"}},"0.11.0":{"name":"hmpo-form-controller","version":"0.11.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"d23a0ef8dde9247e88f4fc916bde86b585285148","_id":"hmpo-form-controller@0.11.0","_shasum":"359dd431aeaff3d0432131b18e87daa676299422","_from":".","_npmVersion":"2.15.6","_nodeVersion":"0.10.40","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"359dd431aeaff3d0432131b18e87daa676299422","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.11.0.tgz","integrity":"sha512-rrP66DsVoijPnQWnHs0pF82mJg+aV3V41/uRCXwxlWgaxymSDNBkjpCKxqYpGTApE4ySKEjQvYUk8352hOgdZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKK57jvNUZUct1BDE4bzFlBYzYxvTDrYJt5mFFd5BLXAiEAuY9jgLPUFWdVTHSi4oFZeYOzmlqkBvIXdjtWE9fit+Q="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.11.0.tgz_1469103295732_0.05104015418328345"}},"0.12.0":{"name":"hmpo-form-controller","version":"0.12.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^2.10.2","istanbul":"^0.4.3","mocha":"^2.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.14.3"},"gitHead":"65c4c7c109a4a9c02d686f2eff8353bae403a59c","_id":"hmpo-form-controller@0.12.0","_shasum":"12d3930f79f2a13d0bcc482e869823720a03cdc0","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.6","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"12d3930f79f2a13d0bcc482e869823720a03cdc0","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-0.12.0.tgz","integrity":"sha512-I0OEQSIyWC/0OjaqYflh8l+QrgmR87ZoxGv9QElFG7p252gRATCKOdYVblfsb8FiKnTbi/t8AtMUh9Gu4lXPew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyJ1RVHTZd8g1C+4HNzviipA1/tXz1fRPk2IuMvKlaAgIgJeAjltzO9TAbFrroTaBZr2fZEi4whyaKEJ268tScFtk="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-0.12.0.tgz_1475593680604_0.3436748315580189"}},"1.0.0":{"name":"hmpo-form-controller","version":"1.0.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage && npm run snyk","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","engines":{"node":">=4"},"bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^3.13.1","istanbul":"^0.4.3","mocha":"^3.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"1.23.4"},"gitHead":"54628adfff54ef6fac60afe0f3f519c944613376","_id":"hmpo-form-controller@1.0.0","_shasum":"9a7c4eca4b896fa4f03f531ff00e302cec618598","_from":".","_npmVersion":"3.10.8","_nodeVersion":"4.4.6","_npmUser":{"name":"merlinc","email":"merlinc@thecourtsofchaos.com"},"dist":{"shasum":"9a7c4eca4b896fa4f03f531ff00e302cec618598","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-1.0.0.tgz","integrity":"sha512-TzODTI4Xp4XMoXiLqq6ngqzw7/213JrVtz6veE+ztu8g6rARmP4jQwkA8PyaXl285d9ouacU8RMggriffiRpuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5yxfYnAN0A2YelVG0Rs1+HO8EZjITG+bPwS5xkCKSDwIgQ2E54otKMwAEAxJnKJNu2Xhskq2Acn43mUNRijPwM2Y="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"merlinc","email":"merlinc@thecourtsofchaos.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-1.0.0.tgz_1485264428489_0.06549290264956653"}},"1.1.0":{"name":"hmpo-form-controller","version":"1.1.0","description":"Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.","main":"index.js","scripts":{"test":"npm run lint && npm run unit && npm run cover && npm run check-coverage","unit":"mocha --recursive test/spec/ --require test/helper --timeout 300000","cover":"istanbul cover _mocha -- -R dot --recursive test/spec/ --require test/helper --timeout 300000","check-coverage":"istanbul check-coverage --statement 98.31 --branch 94.89 --function 96.30 --line 98.31","lint":"eslint .","snyk":"snyk test","snyk:dev":"snyk test --dev"},"repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"author":"","license":"MIT","engines":{"node":">=4"},"bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","dependencies":{"debug":"^2.1.1","express":"^4.12.3","lodash.clonedeep":"^4.5.0","moment":"^2.9.0","underscore":"^1.7.0"},"devDependencies":{"chai":"^3.5.0","concat-stream":"^1.4.7","csv":"^1.1.0","eslint":"^3.13.1","istanbul":"^0.4.3","mocha":"^3.1.0","postcode":"0.2.2","reqres":"^1.1.1","sinon":"^1.12.2","sinon-chai":"^2.6.0","snyk":"^1.24.5"},"gitHead":"a613d31ef138763c6da1406177fbf2fcc20ae9f1","_id":"hmpo-form-controller@1.1.0","_shasum":"85abb519125659682b2fe054de91a5a68e660d06","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.6","_npmUser":{"name":"gavboulton","email":"gavboulton@gmail.com"},"dist":{"shasum":"85abb519125659682b2fe054de91a5a68e660d06","tarball":"https://registry.npmjs.org/hmpo-form-controller/-/hmpo-form-controller-1.1.0.tgz","integrity":"sha512-dNcV/3uLnSup7zIrFOim8FY8kqxyUG9t7Hy3t5pf/7u9zUgqwrJLqJg1ww+uIw+4SODygTWJoC6NnRwGUHr38Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBofIM25BUuoCPDrIxszCEtPpiNZKClfp1mZPC+EjA2xAiALzue3c7ld7Lz/+TKTPnR3iHQRzU5khri9NUOtcck4Ug=="}]},"maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"gavboulton","email":"gavboulton@gmail.com"},{"name":"hughepaul","email":"paul@hughe.co.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"merlinc","email":"merlinc@thecourtsofchaos.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hmpo-form-controller-1.1.0.tgz_1486740025719_0.5128684723749757"}}},"readme":"# passports-form-controller\n\nImplements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.\n\n## Usage\n\nBasic usage:\n\n```javascript\nvar Form = require('hmpo-form-controller');\n\nvar form = new Form({\n    template: 'form',\n    fields: {\n        name: {\n            validate: 'required'\n        }\n    }\n});\n\napp.use('/', form.requestHandler());\n```\n\nThis won't really be very useful though, since all it will do is render the \"form\" template on `/` and respond to GET and POST requests.\n\nFor real-world usage you will probably want to extend the Form class to create your own controllers.\n\n```javascript\nvar Form = require('hmpo-form-controller'),\n    util = require('util');\n\nvar MyForm = function (options) {\n    Form.call(this, options);\n};\n\nutil.inherits(MyForm, Form);\n\nmodule.exports = MyForm;\n```\n\nThe Form class allows for a number of insertion points for extended functionality:\n\n* `configure`   Allows for dynamic overwriting of particular points of form configuration based on user session\n* `middlewareMixins`   Allows additional middleware to be added after the configure stage\n* `process`     Allows for custom formatting and processing of input prior to validation\n* `validate`    Allows for custom input validation\n* `getValues`   To define what values the fields are populated with on GET\n* `saveValues`  To define what is done with successful form submissions\n\nAll of these methods take three arguments of the request, the response and a callback. In all cases the callback should be called with a first argument representing an error.\n\n* `getErrors/setErrors` Define how errors are persisted between the POST and subsequent GET of a form step.\n* `locals` Define what additional variables a controller exposes to its template\n\nThese methods are synchronous and take only the request and response obejct as arguments.\n\n### Validators\n\nThe library [supports a number of validators](https://github.com/UKHomeOffice/passports-form-controller/blob/master/lib/validation/validators.js).\n\nBy default the application of a validator is optional on empty strings. If you need to ensure a field is validated as being 9 characters long and exists then you need to use both an `exactlength` and a `required` validator.\n\n#### Custom Validators\n\nCustom validator functions can be passed in field config. These must be named functions and the name is used as the error.type for looking up validation error messages.\n\nfields.js\n```js\n{\n    'field-1': {\n        validate: ['required', function isTrue(val) {\n            return val === true;\n        }]\n    }\n}\n```\n\n### steps config\n\n#### Handles journey forking\n\nEach step definition accepts a `next` property, the value of which is the next route in the journey. By default, when the form is successfully submitted, the next steps will load. However, there are times when it is necessary to fork from the current journey based on a users response to certain questions in a form. For such circumstances there exists the `forks` property.\n\nIn this example, when the submits the form, if the field called 'example-radio' has the value 'superman', the page at '/fork-page' will load, otherwise '/next-page' will be loaded.\n\n```js\n\n'/my-page': {\n    next: '/next-page',\n    forks: [{\n        target: '/fork-page',\n        condition: {\n            field: 'example-radio',\n            value: 'superman'\n        }\n    }]\n}\n```\n\nThe condition property can also take a function. In the following example, if the field called 'name' is more than 30 characters in length, the page at '/fork-page' will be loaded.\n\n```js\n\n'/my-page': {\n    next: '/next-page',\n    forks: [{\n        target: '/fork-page',\n        condition: function (req, res) {\n            return req.form.values['name'].length > 30;\n        }\n    }]\n}\n```\n\nForks is an array and therefore each fork is interrogated in order from top to bottom. The last fork whose condition is met will assign its target to the next page variable.\n\nIn this example, if the last condition resolves to true - even if the others also resolve to true - then the page at '/fork-page-three' will be loaded. The last condition to be met is always the fork used to determine the next step.\n\n```js\n\n'/my-page': {\n    next: '/next-page',\n    forks: [{\n        target: '/fork-page-one',\n        condition: function (req, res) {\n            return req.form.values['name'].length > 30;\n        }\n    }, {\n        target: '/fork-page-two',\n        condition: {\n            field: 'example-radio',\n            value: 'superman'\n        }\n    }, {\n        target: '/fork-page-three',\n        condition: function (req, res) {\n            return typeof req.form.values['email'] === 'undefined';\n        }\n    }]\n}\n```\n\n### Dynamic field options\n\nIf the options for a particular field are dependent on aspects of the user session, then these can be extended on a per-session basis using the `configure` method.\n\nFor example, for a dynamic address selection component:\n\n```js\nMyForm.prototype.configure = function configure(req, res, next) {\n    req.form.options.fields['address-select'].options = req.sessionModel.get('addresses');\n    next();\n}\n```\n\n### Middleware mixins\n\nIf you want to add middleware that uses dynamic field options then you can use the `middlewareMixins` method. This is called after `configure` so after the dynamic field options are set.\n\nFor example, for setting the base url to res locals:\n\n```js\nMyForm.prototype.middlewareMixins = function middlewareMixins(req, res, next) {\n    this.use(this.setBaseUrlLocal).bind(this);\n}\n\nMyForm.prototype.setBaseUrlLocal = function setBaseUrlLocal(req, res, next) {\n    res.locals.baseUrl = req.baseUrl;\n    next();\n}\n```\n","maintainers":[{"email":"oliweighell@yahoo.co.uk","name":"oliweighell"},{"email":"merlinc@thecourtsofchaos.com","name":"merlinc"},{"email":"paul@hughe.co.uk","name":"hughepaul"}],"time":{"modified":"2022-06-18T20:59:06.379Z","created":"2015-02-25T11:39:18.177Z","0.0.0":"2015-02-25T11:39:18.177Z","0.0.1":"2015-03-10T13:31:31.540Z","0.0.2":"2015-03-17T11:54:07.540Z","0.0.3":"2015-03-19T10:29:40.696Z","0.0.4":"2015-03-19T14:24:52.958Z","0.0.5":"2015-03-24T15:37:29.344Z","0.0.6":"2015-04-13T14:51:19.250Z","0.1.0":"2015-04-20T11:57:33.457Z","0.1.1":"2015-04-21T09:50:33.785Z","0.2.0":"2015-04-22T11:00:04.352Z","0.2.1":"2015-04-22T15:26:21.014Z","0.2.2":"2015-04-22T16:17:09.812Z","0.2.3":"2015-04-28T08:53:19.998Z","0.2.4":"2015-05-01T10:46:07.927Z","0.2.5":"2015-06-17T14:59:30.673Z","0.3.0":"2015-08-06T15:15:40.954Z","0.4.0":"2015-08-20T14:48:31.727Z","0.5.0":"2015-09-03T11:12:31.498Z","0.6.0":"2016-03-09T15:13:58.154Z","0.7.0":"2016-05-12T10:54:44.239Z","0.8.0":"2016-05-27T10:54:50.847Z","0.8.1":"2016-06-09T16:05:32.344Z","0.8.2":"2016-06-16T14:31:25.426Z","0.8.3":"2016-06-17T08:44:54.996Z","0.9.0":"2016-06-23T15:42:22.255Z","0.10.0":"2016-07-21T12:10:51.989Z","0.11.0":"2016-07-21T12:14:57.848Z","0.12.0":"2016-10-04T15:08:02.432Z","1.0.0":"2017-01-24T13:27:10.359Z","1.1.0":"2017-02-10T15:20:27.685Z"},"homepage":"https://github.com/UKHomeOffice/passports-form-controller","repository":{"type":"git","url":"git+https://github.com/UKHomeOffice/passports-form-controller.git"},"bugs":{"url":"https://github.com/UKHomeOffice/passports-form-controller/issues"},"license":"MIT","readmeFilename":"README.md"}