hof 20.0.0-beta.37 → 20.0.0-beta.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":99254,"argv":["/Users/sarah-janeluff/.nvm/versions/node/v10.24.0/bin/node","/Users/sarah-janeluff/Documents/SAS/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/sarah-janeluff/Documents/SAS/hof","time":1663752722454,"ppid":99253,"coverageFilename":"/Users/sarah-janeluff/Documents/SAS/hof/.nyc_output/6ec5c088-e828-4f32-9115-eefea6cdc69b.json","externalId":"","uuid":"6ec5c088-e828-4f32-9115-eefea6cdc69b","files":["/Users/sarah-janeluff/Documents/SAS/hof/model/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/default-model.js","/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/defaults.js","/Users/sarah-janeluff/Documents/SAS/hof/components/clear-session/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/date/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/date/fields.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/email-service.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/emailer.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/smtp.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/ses.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/stub.js","/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/debug.js","/Users/sarah-janeluff/Documents/SAS/hof/components/summary/index.js","/Users/sarah-janeluff/Documents/SAS/hof/config/rate-limits.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/rate-limiter.js","/Users/sarah-janeluff/Documents/SAS/hof/config/hof-defaults.js","/Users/sarah-janeluff/Documents/SAS/hof/components/notify/index.js","/Users/sarah-janeluff/Documents/SAS/hof/components/notify/notify.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/base-controller.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/index.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/index.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/validators.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/email.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/validation-error.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/index.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/index.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/inputs.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/test-data/index.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/countries.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/helpers/index.js","/Users/sarah-janeluff/Documents/SAS/hof/utilities/reqres/index.js","/Users/sarah-janeluff/Documents/SAS/hof/config/sanitisation-rules.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/formatters.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/index.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-session.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-hooks.js","/Users/sarah-janeluff/Documents/SAS/hof/controller/controller.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/render.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/helpers.js","/Users/sarah-janeluff/Documents/SAS/hof/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/config.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/translations/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/gov-uk/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/index.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/validation.js","/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/index.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/cookies.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/errors.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/not-found.js","/Users/sarah-janeluff/Documents/SAS/hof/middleware/deep-translate.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/markdown.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/router.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/index.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/index.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/complete.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/constants.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/helpers.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/health.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/serve-static.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/ga-tag.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/sessions.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/settings.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/logger.js","/Users/sarah-janeluff/Documents/SAS/hof/build/index.js","/Users/sarah-janeluff/Documents/SAS/hof/config/builder-defaults.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/index.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/compile.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/build.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/expand-dirs.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/aggregate.js","/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/write-files.js","/Users/sarah-janeluff/Documents/SAS/hof/model/apis/index.js","/Users/sarah-janeluff/Documents/SAS/hof/model/apis/html-to-pdf-converter.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/model.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/back-links.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/helpers.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-complete.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-progress.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-session.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/csrf.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/fields.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/helpers/utilities.js","/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/sarah-janeluff/Documents/SAS/hof/lib/encryption.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session.js","/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session-model.js"]}
@@ -1 +1 @@
1
- {"processes":{"0b3039f4-3eec-49e8-b2ae-0d24e1932fcf":{"parent":null,"children":[]}},"files":{"/Users/rhyadzergane/Documents/HOF/projects/hof/model/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/default-model.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/defaults.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/clear-session/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/fields.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/email-service.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/emailer.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/smtp.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/ses.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/stub.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/debug.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/summary/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/rate-limits.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/rate-limiter.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/hof-defaults.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/notify.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/base-controller.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/validators.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/email.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation-error.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/inputs.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/test-data/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/countries.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/helpers/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/reqres/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/sanitisation-rules.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/formatters.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-session.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-hooks.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/controller.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/template-mixins.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/render.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/helpers.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/config.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/translations/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/gov-uk/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/helpers.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/validation.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/character-count.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/cookies.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/errors.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/not-found.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/deep-translate.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/markdown.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/router.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/complete.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/constants.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/helpers.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/health.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/serve-static.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/ga-tag.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/sessions.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/settings.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/logger.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/build/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/builder-defaults.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/compile.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/build.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/expand-dirs.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/aggregate.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/write-files.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/index.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/html-to-pdf-converter.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/model.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/back-links.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/helpers.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-complete.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-progress.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-session.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/csrf.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/fields.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/helpers/utilities.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/encryption.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session-model.js":["0b3039f4-3eec-49e8-b2ae-0d24e1932fcf"]},"externalIds":{}}
1
+ {"processes":{"6ec5c088-e828-4f32-9115-eefea6cdc69b":{"parent":null,"children":[]}},"files":{"/Users/sarah-janeluff/Documents/SAS/hof/model/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/default-model.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/address-lookup/defaults.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/clear-session/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/date/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/date/fields.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/email-service.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/emailer.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/smtp.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/ses.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/stub.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/emailer/transports/debug.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/summary/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/config/rate-limits.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/rate-limiter.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/config/hof-defaults.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/notify/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/components/notify/notify.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/base-controller.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/validators.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation/email.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/validation-error.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/autofill/inputs.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/test-data/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/countries.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/helpers/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/utilities/reqres/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/config/sanitisation-rules.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/formatting/formatters.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-session.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/behaviour-hooks.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/controller/controller.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/country-select.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/template-mixins.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/render.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-mixins/mixins/helpers.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/govuk-template/build/config.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/template-partials/translations/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/themes/gov-uk/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/helpers.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/form-focus.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/validation.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/frontend/toolkit/assets/javascript/character-count.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/cookies.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/errors.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/not-found.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/middleware/deep-translate.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/markdown.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/router.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/behaviours/complete.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/constants.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/helpers.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/health.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/serve-static.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/ga-tag.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/sessions.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/settings.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/logger.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/build/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/config/builder-defaults.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/compile.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/build.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/expand-dirs.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/aggregate.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/transpiler/lib/write-files.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/model/apis/index.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/model/apis/html-to-pdf-converter.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/model.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/back-links.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/util/helpers.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-complete.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-progress.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/check-session.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/csrf.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/fields.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/test/helpers/utilities.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/sandbox/apps/sandbox/behaviours/international-number.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/lib/encryption.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"],"/Users/sarah-janeluff/Documents/SAS/hof/wizard/middleware/session-model.js":["6ec5c088-e828-4f32-9115-eefea6cdc69b"]},"externalIds":{}}
package/README.md CHANGED
@@ -1722,3 +1722,9 @@ Additional vendor JavaScript files are included. These are:
1722
1722
  - safari-cachebuster.js
1723
1723
 
1724
1724
  Copy `assets/javascript/vendor` into your javascript directory (ie `hmpo/vendor`) and compile them with your JavaScript.
1725
+
1726
+ ## Journey Header Navigation.html page
1727
+
1728
+ - Navigation.html contains a journeyHeaderURL, which is set in the controller.
1729
+ - getJourneyHeaderURL within the controller translates an empty baseURL to '/'.
1730
+ - The above helps fix broken journey header URLs in the GRO and UKVIC services which both have a baseURL's set to '/'.
@@ -113,6 +113,7 @@ module.exports = class Controller extends BaseController {
113
113
  baseUrl: req.baseUrl,
114
114
  skipToMain: this.getFirstFormItem(req.form.options.fields),
115
115
  title: this.getTitle(route, lookup, req.form.options.fields, res.locals),
116
+ journeyHeaderURL: this.getJourneyHeaderURL(req.baseUrl),
116
117
  header: this.getHeader(route, lookup, res.locals),
117
118
  captionHeading: this.getCaptionHeading(route, lookup, res.locals),
118
119
  warning: this.getWarning(route, lookup, res.locals),
@@ -124,6 +125,10 @@ module.exports = class Controller extends BaseController {
124
125
  }, stepLocals);
125
126
  }
126
127
 
128
+ getJourneyHeaderURL(url) {
129
+ return url === '' ? '/' : url;
130
+ }
131
+
127
132
  getFirstFormItem(fields) {
128
133
  let firstFieldKey;
129
134
  if (_.size(fields)) {
@@ -44,9 +44,9 @@
44
44
  {{/gaTagId}}
45
45
  {{/cookieMessage}}
46
46
  {{$footerSupportLinks}}
47
- <ul class="govuk-footer__inline-list">
47
+ <ul>
48
48
  {{#footerSupportLinks}}
49
- <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
49
+ <li class="govuk-footer__inline-list-item"><a href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
50
50
  {{/footerSupportLinks}}
51
51
  {{^footerSupportLinks}}
52
52
  <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/cookies">{{#t}}base.cookies{{/t}}</a></li>
@@ -3,8 +3,8 @@
3
3
  <div class="govuk-grid-column-two-thirds">
4
4
  {{$validationSummary}}{{/validationSummary}}
5
5
  {{#captionHeading}}<span class="govuk-caption-l">{{captionHeading}}</span>{{/captionHeading}}
6
- {{#header}}<h1 class="govuk-heading-l">{{header}}</h1>{{/header}}
7
- {{#subHeading}}<div id="page-header"><h2 class="govuk-heading-m">{{subHeading}}</h2></div>{{/subHeading}}
6
+ {{#header}}<h1 class="govuk-heading-xl">{{header}}</h1>{{/header}}
7
+ {{#subHeading}}<div id="page-header" class="govuk-heading-l">{{subHeading}}</div>{{/subHeading}}
8
8
  {{$content}}{{/content}}
9
9
  </div>
10
10
  {{/content-outer}}
@@ -1,8 +1,8 @@
1
1
  <div class="govuk-header__content">
2
2
  {{#startPageRedirectUrl}}
3
- <a href="{{startPageRedirectUrl}}" class="govuk-header__link govuk-header__link--service-name" id="proposition-name">{{$journeyHeader}}{{/journeyHeader}}</a>
3
+ <a href="{{startPageRedirectUrl}}" class="govuk-header__link govuk-header__link--service-name" id="proposition-name">{{$journeyHeader}}{{/journeyHeader}}</a>
4
4
  {{/startPageRedirectUrl}}
5
5
  {{^startPageRedirectUrl}}
6
- <a href="{{baseUrl}}" class="govuk-header__link govuk-header__link--service-name" id="proposition-name">{{$journeyHeader}}{{/journeyHeader}}</a>
6
+ <a href="{{journeyHeaderURL}}" class="govuk-header__link govuk-header__link--service-name" id="proposition-name">{{$journeyHeader}}{{/journeyHeader}}</a>
7
7
  {{/startPageRedirectUrl}}
8
8
  </div>
@@ -5,10 +5,10 @@
5
5
  <dt class="confirm-label">{{label}}</dt>
6
6
  <dd class="confirm-value" data-value="{{value}}">{{value}}</dd>
7
7
  {{#changeLink}}
8
- <dd><span><a class="govuk-link" href="{{changeLink}}" id="{{field}}-change-{{index}}">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
8
+ <dd><span class="link"><a href="{{changeLink}}" id="{{field}}-change-{{index}}">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
9
9
  {{/changeLink}}
10
10
  {{^changeLink}}
11
- <dd><span><a class="govuk-link" href="{{baseUrl}}{{step}}/edit#{{field}}" id="{{field}}-change">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
11
+ <dd><span class="link"><a href="{{baseUrl}}{{step}}/edit#{{field}}" id="{{field}}-change">{{#t}}buttons.change{{/t}} <span class="visuallyhidden">{{changeLinkDescription}} from {{value}}</span></a></span></dd>
12
12
  {{/changeLink}}
13
13
  {{/isSeparator}}
14
14
  </div>
@@ -1,7 +1,6 @@
1
1
  {{<error}}
2
2
  {{$content}}
3
- <h1 class="govuk-heading-l">{{{content.title}}}</h1>
4
- <h2 class="govuk-heading-m">{{{content.message}}}</h2>
3
+ <p>{{{content.message}}}</p>
5
4
  <a href="{{startLink}}" class="govuk-button" role="button">{{#t}}buttons.start-again{{/t}}</a>
6
5
  {{/content}}
7
6
  {{/error}}
package/index.js CHANGED
@@ -79,7 +79,7 @@ const getContentSecurityPolicy = (config, res) => {
79
79
  fontSrc: ['fonts.gstatic.com '],
80
80
  scriptSrc: ['www.google-analytics.com', 'ssl.google-analytics.com'],
81
81
  imgSrc: ['www.google-analytics.com', 'ssl.gstatic.com'],
82
- connectSrc: ['https://www.google-analytics.com', 'https://region1.google-analytics.com']
82
+ connectSrc: ['www.google-analytics.com']
83
83
  };
84
84
 
85
85
  if (config.gaTagId) {
@@ -12,8 +12,6 @@ const getContent = (err, translate) => {
12
12
  if (err.code === 'SESSION_TIMEOUT') {
13
13
  err.status = 401;
14
14
  err.template = 'session-timeout';
15
- err.title = (translate && translate('errors.session.title'));
16
- err.message = (translate && translate('errors.session.message'));
17
15
  content.title = (translate && translate('errors.session.title'));
18
16
  content.message = (translate && translate('errors.session.message'));
19
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "20.0.0-beta.37",
4
+ "version": "20.0.0-beta.38",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -28,41 +28,6 @@ module.exports = (route, controller, steps, begin) => {
28
28
  return _.uniq(allSteps);
29
29
  };
30
30
 
31
- // Gets all the possible routes
32
- const walkAllPossibleSteps = (stepName, allStepsInService, allVisitedSteps) => {
33
- const stepIncludingFieldsAndForks = allStepsInService[stepName];
34
- if (!stepIncludingFieldsAndForks) { return; }
35
-
36
- const forkTargets = _.map(stepIncludingFieldsAndForks.forks, 'target') || [];
37
- const nextStep = stepIncludingFieldsAndForks.next || '';
38
-
39
- // If there is no next step or fork, then we have reached the end of the journey
40
- if (!forkTargets.length && !nextStep) {
41
- allVisitedSteps.push(stepName);
42
- // eslint-disable-next-line consistent-return
43
- return _.uniq(allVisitedSteps);
44
- }
45
-
46
- const nextStepsAndForks = _.uniq(forkTargets.concat(nextStep));
47
-
48
- // We need to transverse through all 'Next' and 'Forks' for this route
49
- nextStepsAndForks.map(each => {
50
- if (!allVisitedSteps.includes(each)) {
51
- allVisitedSteps.push(each);
52
- walkAllPossibleSteps(each, allStepsInService, allVisitedSteps);
53
- }
54
- });
55
- };
56
-
57
- // Create a list of all visited steps
58
- const createAllVisitedSteps = (stepName, allStepsInService) => {
59
- const allVisitedSteps = [stepName];
60
- if (allStepsInService[stepName]) {
61
- walkAllPossibleSteps(stepName, allStepsInService, allVisitedSteps);
62
- }
63
- return _.uniq(allVisitedSteps);
64
- };
65
-
66
31
  const invalidateStep = (stepName, scopedSteps, sessionModel) => {
67
32
  debug('Invalidating', stepName);
68
33
  const step = scopedSteps[stepName] || {};
@@ -90,7 +55,7 @@ module.exports = (route, controller, steps, begin) => {
90
55
  debug('next', nextStep);
91
56
  debug('potential paths', potentialPaths);
92
57
  // if we're following a loop then allow the loop to be invalidated
93
- const whitelist = isLoop(nextStep, req.path) ? [route] : createAllVisitedSteps(nextStep, steps);
58
+ const whitelist = isLoop(nextStep, req.path) ? [route] : getAllPossibleSteps(nextStep, steps);
94
59
  // aggregate all potential journeys from the invalidating step
95
60
  const invalidateSteps = potentialPaths.reduce((arr, step) => arr.concat(getAllPossibleSteps(step, steps)), []);
96
61