hof 19.14.14 → 19.14.16-redis-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":21746,"argv":["/Users/martincrawley/.nvm/versions/node/v14.15.0/bin/node","/Users/martincrawley/Documents/Code/HOF/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/martincrawley/Documents/Code/HOF/hof","time":1654532719166,"ppid":21741,"coverageFilename":"/Users/martincrawley/Documents/Code/HOF/hof/.nyc_output/cb764db8-e9f0-43bb-b3b1-7af57bb79bb5.json","externalId":"","uuid":"cb764db8-e9f0-43bb-b3b1-7af57bb79bb5","files":["/Users/martincrawley/Documents/Code/HOF/hof/model/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/default-model.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/components/clear-session/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/date/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/date/fields.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/email-service.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/emailer.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/smtp.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/ses.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/stub.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/debug.js","/Users/martincrawley/Documents/Code/HOF/hof/components/summary/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/rate-limits.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/rate-limiter.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/base-controller.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/validators.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/email.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation-error.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/inputs.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/test-data/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/countries.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/helpers/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/reqres/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/sanitisation-rules.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/formatters.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-session.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-hooks.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/controller.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/render.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/config.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/translations/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/gov-uk/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/validation.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/index.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/cookies.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/errors.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/not-found.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/deep-translate.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/markdown.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/router.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/index.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/index.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/complete.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/constants.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/health.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/serve-static.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/ga-tag.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/sessions.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/settings.js","/Users/martincrawley/Documents/Code/HOF/hof/config/hof-defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/logger.js","/Users/martincrawley/Documents/Code/HOF/hof/build/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/builder-defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/index.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/compile.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/build.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/expand-dirs.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/aggregate.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/write-files.js","/Users/martincrawley/Documents/Code/HOF/hof/model/apis/index.js","/Users/martincrawley/Documents/Code/HOF/hof/model/apis/html-to-pdf-converter.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/model.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/back-links.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-complete.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-progress.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-session.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/csrf.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/fields.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/helpers/utilities.js"]}
@@ -0,0 +1 @@
1
+ {"processes":{"cb764db8-e9f0-43bb-b3b1-7af57bb79bb5":{"parent":null,"children":[]}},"files":{"/Users/martincrawley/Documents/Code/HOF/hof/model/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/default-model.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/defaults.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/clear-session/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/fields.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/email-service.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/emailer.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/smtp.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/ses.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/stub.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/debug.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/components/summary/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/config/rate-limits.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/rate-limiter.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/base-controller.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/validators.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/email.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation-error.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/inputs.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/test-data/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/countries.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/helpers/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/reqres/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/config/sanitisation-rules.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/formatters.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-session.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-hooks.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/controller.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/render.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/helpers.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/config.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/translations/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/gov-uk/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/cookies.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/errors.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/not-found.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/deep-translate.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/markdown.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/router.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/complete.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/constants.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/helpers.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/health.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/serve-static.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/ga-tag.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/sessions.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/settings.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/config/hof-defaults.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/logger.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/build/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/config/builder-defaults.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/compile.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/build.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/expand-dirs.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/aggregate.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/write-files.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/index.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/html-to-pdf-converter.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/model.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/back-links.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/helpers.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-complete.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-progress.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-session.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/csrf.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/fields.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/helpers/utilities.js":["cb764db8-e9f0-43bb-b3b1-7af57bb79bb5"]},"externalIds":{}}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  const NotifyClient = require('notifications-node-client').NotifyClient;
3
- const uuid = require('uuid');
3
+ const { v4: uuidv4 } = require('uuid');
4
4
 
5
5
  module.exports = class Notify {
6
6
  constructor(opts) {
@@ -11,7 +11,7 @@ module.exports = class Notify {
11
11
  }
12
12
 
13
13
  send(email) {
14
- const reference = uuid.v1();
14
+ const reference = uuidv4();
15
15
 
16
16
  return this.notifyClient.sendEmail(this.notifyTemplate, email.recipient, {
17
17
  personalisation: {
@@ -27,7 +27,8 @@ const defaults = {
27
27
  ignoreMiddlewareLogs: ['/healthz'],
28
28
  redis: {
29
29
  port: process.env.REDIS_PORT || '6379',
30
- host: process.env.REDIS_HOST || '127.0.0.1'
30
+ host: process.env.REDIS_HOST || '127.0.0.1',
31
+ legacyMode: true
31
32
  },
32
33
  session: {
33
34
  ttl: process.env.SESSION_TTL || 1800,
package/lib/sessions.js CHANGED
@@ -32,6 +32,7 @@ module.exports = (app, config) => {
32
32
  const encryption = require('./encryption')(config.session.secret);
33
33
  const RedisStore = connectRedis(session);
34
34
  const client = redis.createClient(config.redis);
35
+ client.connect().catch(console.error);
35
36
 
36
37
  if (config.env !== 'test') {
37
38
  client.on('connecting', () => {
@@ -1,6 +1,8 @@
1
1
 
2
2
  const moment = require('moment');
3
3
  const redis = require('redis');
4
+ const { createClient } = require('redis');
5
+
4
6
  const config = require('./../config/hof-defaults');
5
7
 
6
8
  module.exports = (options, rateLimitType) => {
@@ -15,7 +17,8 @@ module.exports = (options, rateLimitType) => {
15
17
  const ERROR_CODE = rateLimits.errCode;
16
18
 
17
19
  return async (req, res, next) => {
18
- const redisClient = redis.createClient(config.redis);
20
+ const redisClient = createClient(config.redis);
21
+ redisClient.connect();
19
22
 
20
23
  // check that redis client exists
21
24
  if (!redisClient) {
@@ -23,6 +26,22 @@ module.exports = (options, rateLimitType) => {
23
26
  return next();
24
27
  }
25
28
 
29
+ redisClient.on('connecting', () => {
30
+ logger.info('Connecting to redis');
31
+ });
32
+
33
+ redisClient.on('connect', () => {
34
+ logger.info('Connected to redis');
35
+ });
36
+
37
+ redisClient.on('reconnecting', () => {
38
+ logger.info('Reconnecting to redis');
39
+ });
40
+
41
+ redisClient.on('error', e => {
42
+ logger.error(e);
43
+ });
44
+
26
45
  const closeConnection = async err => {
27
46
  await redisClient.quit();
28
47
  return next(err);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "19.14.14",
4
+ "version": "19.14.16-redis-beta.0",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -79,7 +79,7 @@
79
79
  "nodemailer-smtp-transport": "^2.7.4",
80
80
  "nodemailer-stub-transport": "^1.1.0",
81
81
  "notifications-node-client": "^5.1.1",
82
- "redis": "^3.1.2",
82
+ "redis": "4.3.1",
83
83
  "reqres": "^3.0.1",
84
84
  "request": "^2.79.0",
85
85
  "rimraf": "^3.0.2",
@@ -88,6 +88,7 @@
88
88
  "uglify-js": "^3.14.3",
89
89
  "underscore": "^1.12.1",
90
90
  "urijs": "^1.19.11",
91
+ "uuid": "^8.3.2",
91
92
  "winston": "^3.7.2"
92
93
  },
93
94
  "devDependencies": {
@@ -0,0 +1,224 @@
1
+ {
2
+ "fields": {
3
+ "landing-page-radio": {
4
+ "legend": "Which form would you like to explore?",
5
+ "options": {
6
+ "basic-form": {
7
+ "label": "Basic form"
8
+ },
9
+ "complex-form": {
10
+ "label": "Complex form"
11
+ },
12
+ "build-your-own-form": {
13
+ "label": "Build your own form"
14
+ }
15
+ }
16
+ },
17
+ "name": {
18
+ "label": "Full name"
19
+ },
20
+ "dateOfBirth": {
21
+ "legend": "Date of birth",
22
+ "hint": "For example, 31 10 1990"
23
+ },
24
+ "building": {
25
+ "label": "Building and street"
26
+ },
27
+ "street": {
28
+ "label": "Address line 2"
29
+ },
30
+ "townOrCity": {
31
+ "label": "Town or city"
32
+ },
33
+ "postcode": {
34
+ "label": "Postcode"
35
+ },
36
+ "incomeTypes": {
37
+ "label": "Sources of income",
38
+ "legend": "Select the options where you receive income from",
39
+ "hint": "Select all options that apply to you.",
40
+ "options": {
41
+ "salary": {
42
+ "label": "Salary"
43
+ },
44
+ "universal_credit": {
45
+ "label": "Universal Credit"
46
+ },
47
+ "child_benefit": {
48
+ "label": "Child Benefit"
49
+ },
50
+ "housing_benefit": {
51
+ "label": "Housing Benefit"
52
+ },
53
+ "other": {
54
+ "label": "Other"
55
+ }
56
+ }
57
+ },
58
+ "countryOfHearing": {
59
+ "label": "Country of hearing",
60
+ "options": {
61
+ "englandAndWales": {
62
+ "label": "England and Wales"
63
+ },
64
+ "scotland": {
65
+ "label": "Scotland"
66
+ },
67
+ "northernIreland": {
68
+ "label": "Northern Ireland"
69
+ }
70
+ }
71
+ },
72
+ "email": {
73
+ "label": "Email address"
74
+ },
75
+ "phone": {
76
+ "label": "Phone number",
77
+ "hint": "International phone numbers require the international dialling code, for example +33235066182"
78
+ },
79
+ "int-phone-number": {
80
+ "legend": "International phone number"
81
+ },
82
+ "complaintDetails": {
83
+ "label": "Complaint details"
84
+ },
85
+ "countrySelect": {
86
+ "label": "Select a country",
87
+ "hint": "Start to type the country name and options will appear"
88
+ },
89
+ "appealStages": {
90
+ "label": "Appeal stage",
91
+ "options": {
92
+ "null": "Select..."
93
+ }
94
+ }
95
+ },
96
+ "journey": {
97
+ "header": "HOF Bootstrap Sandbox Form"
98
+ },
99
+ "pages": {
100
+ "landing-page": {
101
+ "header": "Landing page",
102
+ "intro": "Choose one of the options below and press continue."
103
+ },
104
+ "build-your-own-form": {
105
+ "title": "Build your own form",
106
+ "subheader": "Access the build your own form guidance link"
107
+ },
108
+ "name": {
109
+ "header": "What is your full name?"
110
+ },
111
+ "dob": {
112
+ "header": "What is your date of birth?"
113
+ },
114
+ "address": {
115
+ "header": "What is your address in the UK?",
116
+ "intro": "If you have no fixed address, enter an address where we can contact you."
117
+ },
118
+ "checkboxes": {
119
+ "header": "Where does your money come from each month?"
120
+ },
121
+ "radio": {
122
+ "header": "What country was the appeal lodged?"
123
+ },
124
+ "country-select": {
125
+ "header": "What country is your address located?"
126
+ },
127
+ "email": {
128
+ "header": "Enter your email address"
129
+ },
130
+ "phone-number": {
131
+ "header": "Enter your phone number"
132
+ },
133
+ "text-input-area": {
134
+ "header": "What are the details of your complaint?",
135
+ "intro": "Briefly summarise your complaint. Include anything that can help our investigation."
136
+ },
137
+ "select": {
138
+ "header": "What is the appeal stage?",
139
+ "intro": "Choose an appeal stage from the drop down menu"
140
+ },
141
+ "confirm": {
142
+ "header": "Check your answers before submitting your application.",
143
+ "sections": {
144
+ "applicantsDetails": {
145
+ "header": "Applicant's details"
146
+ },
147
+ "address": {
148
+ "header": "Address"
149
+ },
150
+ "income": {
151
+ "header": "Income"
152
+ },
153
+ "appealDetails": {
154
+ "header": "Appeal details"
155
+ },
156
+ "countrySelect": {
157
+ "header": "Country of residence"
158
+ },
159
+ "contactDetails": {
160
+ "header": "Contact details"
161
+ },
162
+ "complaintDetails": {
163
+ "header": "Complaint details"
164
+ }
165
+ }
166
+ },
167
+ "confirmation": {
168
+ "title": "Application sent",
169
+ "alert": "Application sent",
170
+ "subheader": "What happens next",
171
+ "content": "We’ll contact you with the decision of your application or if we need more information from you."
172
+ }
173
+ },
174
+ "validation": {
175
+ "landing-page-radio": {
176
+ "required": "Select an option below and press continue"
177
+ },
178
+ "name": {
179
+ "default": "Enter your full name"
180
+ },
181
+ "dateOfBirth": {
182
+ "default": "Enter your date of birth in the correct format; for example, 31 10 1990",
183
+ "after": "Enter a date after 1 1 1900",
184
+ "before": "Enter a date that is in the past"
185
+ },
186
+ "building": {
187
+ "default": "Enter details of your building and street"
188
+ },
189
+ "townOrCity": {
190
+ "default": "Enter a town or city",
191
+ "regex": "Enter a town or city without including digits"
192
+ },
193
+ "postcode": {
194
+ "default": "Enter your postcode"
195
+ },
196
+ "incomeTypes": {
197
+ "default": "Select all options that apply to you."
198
+ },
199
+ "countryOfHearing": {
200
+ "default": "Select where the appeal hearing is to be held"
201
+ },
202
+ "countrySelect": {
203
+ "default": "Enter a valid country of residence",
204
+ "required": "Enter your country of residence"
205
+ },
206
+ "email": {
207
+ "default": "Enter your email address in the correct format"
208
+ },
209
+ "phone": {
210
+ "default": "Enter your phone number"
211
+ },
212
+ "int-phone-number": {
213
+ "required": "Enter an international phone number",
214
+ "internationalPhoneNumber": "Enter a valid international phone number"
215
+ },
216
+ "complaintDetails": {
217
+ "default": "Enter details about why you are making a complaint",
218
+ "maxlength": "Keep to the 5000 character limit"
219
+ },
220
+ "appealStages": {
221
+ "required": "Select an appeal stage from the list"
222
+ }
223
+ }
224
+ }