hof 19.14.16-redis-beta.0 → 19.14.17-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/d88659ea-8c26-47ba-a6b6-d790c6f560c9.json +1 -0
- package/.nyc_output/processinfo/d88659ea-8c26-47ba-a6b6-d790c6f560c9.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/config/hof-defaults.js +1 -2
- package/lib/sessions.js +0 -1
- package/middleware/rate-limiter.js +1 -20
- package/package.json +3 -3
- package/sandbox/apps/sandbox/translations/en/default.json +26 -30
- package/sandbox/public/css/app.css +6605 -12
- package/sandbox/public/js/bundle.js +2795 -23
- package/.nyc_output/cb764db8-e9f0-43bb-b3b1-7af57bb79bb5.json +0 -1
- package/.nyc_output/processinfo/cb764db8-e9f0-43bb-b3b1-7af57bb79bb5.json +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"parent":null,"pid":82587,"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":1673437015438,"ppid":82584,"coverageFilename":"/Users/martincrawley/Documents/Code/HOF/hof/.nyc_output/d88659ea-8c26-47ba-a6b6-d790c6f560c9.json","externalId":"","uuid":"d88659ea-8c26-47ba-a6b6-d790c6f560c9","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/combine-and-loop-fields/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/homeoffice-countries/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/component-defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/components/notify/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/notify/notify.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/config/hof-defaults.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/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","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/encryption.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session-model.js"]}
|
@@ -1 +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
|
+
{"processes":{"d88659ea-8c26-47ba-a6b6-d790c6f560c9":{"parent":null,"children":[]}},"files":{"/Users/martincrawley/Documents/Code/HOF/hof/model/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/default-model.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/defaults.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/clear-session/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/combine-and-loop-fields/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/fields.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/email-service.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/emailer.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/smtp.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/ses.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/stub.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/debug.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/homeoffice-countries/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/config/component-defaults.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/notify/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/notify/notify.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/components/summary/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/config/rate-limits.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/rate-limiter.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/config/hof-defaults.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/base-controller.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/validators.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/email.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation-error.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/inputs.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/test-data/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/countries.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/helpers/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/reqres/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/config/sanitisation-rules.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/formatters.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-session.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-hooks.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/controller.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/render.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/helpers.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/config.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/translations/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/gov-uk/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/cookies.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/errors.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/not-found.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/deep-translate.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/markdown.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/router.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/complete.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/constants.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/helpers.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/health.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/serve-static.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/ga-tag.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/sessions.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/settings.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/logger.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/build/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/config/builder-defaults.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/compile.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/build.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/expand-dirs.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/aggregate.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/write-files.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/index.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/html-to-pdf-converter.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/model.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/back-links.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/helpers.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-complete.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-progress.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-session.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/csrf.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/fields.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/helpers/utilities.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/encryption.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session-model.js":["d88659ea-8c26-47ba-a6b6-d790c6f560c9"]},"externalIds":{}}
|
package/config/hof-defaults.js
CHANGED
@@ -27,8 +27,7 @@ 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'
|
31
|
-
legacyMode: true
|
30
|
+
host: process.env.REDIS_HOST || '127.0.0.1'
|
32
31
|
},
|
33
32
|
session: {
|
34
33
|
ttl: process.env.SESSION_TTL || 1800,
|
package/lib/sessions.js
CHANGED
@@ -32,7 +32,6 @@ 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);
|
36
35
|
|
37
36
|
if (config.env !== 'test') {
|
38
37
|
client.on('connecting', () => {
|
@@ -1,8 +1,6 @@
|
|
1
1
|
|
2
2
|
const moment = require('moment');
|
3
3
|
const redis = require('redis');
|
4
|
-
const { createClient } = require('redis');
|
5
|
-
|
6
4
|
const config = require('./../config/hof-defaults');
|
7
5
|
|
8
6
|
module.exports = (options, rateLimitType) => {
|
@@ -17,8 +15,7 @@ module.exports = (options, rateLimitType) => {
|
|
17
15
|
const ERROR_CODE = rateLimits.errCode;
|
18
16
|
|
19
17
|
return async (req, res, next) => {
|
20
|
-
const redisClient = createClient(config.redis);
|
21
|
-
redisClient.connect();
|
18
|
+
const redisClient = redis.createClient(config.redis);
|
22
19
|
|
23
20
|
// check that redis client exists
|
24
21
|
if (!redisClient) {
|
@@ -26,22 +23,6 @@ module.exports = (options, rateLimitType) => {
|
|
26
23
|
return next();
|
27
24
|
}
|
28
25
|
|
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
|
-
|
45
26
|
const closeConnection = async err => {
|
46
27
|
await redisClient.quit();
|
47
28
|
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.
|
4
|
+
"version": "19.14.17-beta.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -78,8 +78,8 @@
|
|
78
78
|
"nodemailer-ses-transport": "^1.5.0",
|
79
79
|
"nodemailer-smtp-transport": "^2.7.4",
|
80
80
|
"nodemailer-stub-transport": "^1.1.0",
|
81
|
-
"notifications-node-client": "^
|
82
|
-
"redis": "
|
81
|
+
"notifications-node-client": "^6.0.0",
|
82
|
+
"redis": "^3.1.2",
|
83
83
|
"reqres": "^3.0.1",
|
84
84
|
"request": "^2.79.0",
|
85
85
|
"rimraf": "^3.0.2",
|
@@ -2,6 +2,7 @@
|
|
2
2
|
"fields": {
|
3
3
|
"landing-page-radio": {
|
4
4
|
"legend": "Which form would you like to explore?",
|
5
|
+
"hint": "Choose one of the options below and press continue.",
|
5
6
|
"options": {
|
6
7
|
"basic-form": {
|
7
8
|
"label": "Basic form"
|
@@ -18,7 +19,7 @@
|
|
18
19
|
"label": "Full name"
|
19
20
|
},
|
20
21
|
"dateOfBirth": {
|
21
|
-
"legend": "
|
22
|
+
"legend": "What is your date of birth?",
|
22
23
|
"hint": "For example, 31 10 1990"
|
23
24
|
},
|
24
25
|
"building": {
|
@@ -56,7 +57,7 @@
|
|
56
57
|
}
|
57
58
|
},
|
58
59
|
"countryOfHearing": {
|
59
|
-
"
|
60
|
+
"legend": "What country was the appeal lodged?",
|
60
61
|
"options": {
|
61
62
|
"englandAndWales": {
|
62
63
|
"label": "England and Wales"
|
@@ -80,49 +81,45 @@
|
|
80
81
|
"legend": "International phone number"
|
81
82
|
},
|
82
83
|
"complaintDetails": {
|
83
|
-
"label": "Complaint details"
|
84
|
+
"label": "Complaint details",
|
85
|
+
"hint": "Briefly summarise your complaint. Include anything that can help our investigation."
|
86
|
+
},
|
87
|
+
"whatHappened": {
|
88
|
+
"label": "What happened",
|
89
|
+
"hint": "Briefly summarise what happened."
|
84
90
|
},
|
85
91
|
"countrySelect": {
|
86
|
-
"label": "
|
92
|
+
"label": "Which country are you based in?",
|
87
93
|
"hint": "Start to type the country name and options will appear"
|
88
94
|
},
|
89
95
|
"appealStages": {
|
90
96
|
"label": "Appeal stage",
|
97
|
+
"hint": "Choose an appeal stage from the drop down menu",
|
91
98
|
"options": {
|
92
99
|
"null": "Select..."
|
93
100
|
}
|
94
101
|
}
|
95
102
|
},
|
96
103
|
"journey": {
|
97
|
-
"header": "HOF Bootstrap Sandbox Form"
|
104
|
+
"header": "HOF Bootstrap Sandbox Form",
|
105
|
+
"confirmation": {
|
106
|
+
"details": "Your reference number <br><strong>HDJ2123F</strong>"
|
107
|
+
}
|
98
108
|
},
|
99
109
|
"pages": {
|
100
110
|
"landing-page": {
|
101
|
-
"header": "Landing page"
|
102
|
-
"intro": "Choose one of the options below and press continue."
|
111
|
+
"header": "Landing page"
|
103
112
|
},
|
104
113
|
"build-your-own-form": {
|
105
114
|
"title": "Build your own form",
|
106
115
|
"subheader": "Access the build your own form guidance link"
|
107
116
|
},
|
108
|
-
"name": {
|
109
|
-
"header": "What is your full name?"
|
110
|
-
},
|
111
|
-
"dob": {
|
112
|
-
"header": "What is your date of birth?"
|
113
|
-
},
|
114
117
|
"address": {
|
115
118
|
"header": "What is your address in the UK?",
|
116
119
|
"intro": "If you have no fixed address, enter an address where we can contact you."
|
117
120
|
},
|
118
|
-
"
|
119
|
-
"header": "
|
120
|
-
},
|
121
|
-
"radio": {
|
122
|
-
"header": "What country was the appeal lodged?"
|
123
|
-
},
|
124
|
-
"country-select": {
|
125
|
-
"header": "What country is your address located?"
|
121
|
+
"name": {
|
122
|
+
"header": "What is your full name?"
|
126
123
|
},
|
127
124
|
"email": {
|
128
125
|
"header": "Enter your email address"
|
@@ -130,14 +127,6 @@
|
|
130
127
|
"phone-number": {
|
131
128
|
"header": "Enter your phone number"
|
132
129
|
},
|
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
130
|
"confirm": {
|
142
131
|
"header": "Check your answers before submitting your application.",
|
143
132
|
"sections": {
|
@@ -161,6 +150,9 @@
|
|
161
150
|
},
|
162
151
|
"complaintDetails": {
|
163
152
|
"header": "Complaint details"
|
153
|
+
},
|
154
|
+
"whatHappened": {
|
155
|
+
"header": "What happened"
|
164
156
|
}
|
165
157
|
}
|
166
158
|
},
|
@@ -215,7 +207,11 @@
|
|
215
207
|
},
|
216
208
|
"complaintDetails": {
|
217
209
|
"default": "Enter details about why you are making a complaint",
|
218
|
-
"maxlength": "Keep to the
|
210
|
+
"maxlength": "Keep to the {{maxlength}} character limit"
|
211
|
+
},
|
212
|
+
"whatHappened": {
|
213
|
+
"default": "Enter details about what happened",
|
214
|
+
"maxword": "Keep to the {{maxword}} word limit"
|
219
215
|
},
|
220
216
|
"appealStages": {
|
221
217
|
"required": "Select an appeal stage from the list"
|