hof 20.0.0-beta.33 → 20.0.0-beta.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":5422,"argv":["/Users/rhyadzergane/.nvm/versions/node/v14.19.1/bin/node","/Users/rhyadzergane/Documents/HOF/projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/rhyadzergane/Documents/HOF/projects/hof","time":1663747467288,"ppid":5419,"coverageFilename":"/Users/rhyadzergane/Documents/HOF/projects/hof/.nyc_output/ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d.json","externalId":"","uuid":"ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d","files":["/Users/rhyadzergane/Documents/HOF/projects/hof/model/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/default-model.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/clear-session/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/fields.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/email-service.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/emailer.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/smtp.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/ses.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/stub.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/debug.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/summary/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/rate-limits.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/rate-limiter.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/hof-defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/notify.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/base-controller.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/validators.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/email.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation-error.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/inputs.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/test-data/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/countries.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/helpers/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/reqres/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/sanitisation-rules.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/formatters.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-hooks.js","/Users/rhyadzergane/Documents/HOF/projects/hof/controller/controller.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/render.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/config.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/translations/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/gov-uk/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/validation.js","/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/cookies.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/errors.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/not-found.js","/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/deep-translate.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/markdown.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/router.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/complete.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/constants.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/health.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/serve-static.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/ga-tag.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/sessions.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/settings.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/logger.js","/Users/rhyadzergane/Documents/HOF/projects/hof/build/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/config/builder-defaults.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/compile.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/build.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/expand-dirs.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/aggregate.js","/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/write-files.js","/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/index.js","/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/html-to-pdf-converter.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/model.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/back-links.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/helpers.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-complete.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-progress.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/csrf.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/fields.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/helpers/utilities.js","/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/rhyadzergane/Documents/HOF/projects/hof/lib/encryption.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session.js","/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session-model.js"]}
@@ -0,0 +1 @@
1
+ {"processes":{"ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d":{"parent":null,"children":[]}},"files":{"/Users/rhyadzergane/Documents/HOF/projects/hof/model/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/default-model.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/address-lookup/defaults.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/clear-session/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/date/fields.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/email-service.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/emailer.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/smtp.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/ses.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/stub.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/emailer/transports/debug.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/summary/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/rate-limits.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/rate-limiter.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/hof-defaults.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/components/notify/notify.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/base-controller.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/validators.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation/email.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/validation-error.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/autofill/inputs.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/test-data/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/countries.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/helpers/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/utilities/reqres/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/sanitisation-rules.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/formatting/formatters.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-session.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/behaviour-hooks.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/controller/controller.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/template-mixins.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/render.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-mixins/mixins/helpers.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/govuk-template/build/config.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/template-partials/translations/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/themes/gov-uk/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/helpers.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/validation.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/frontend/toolkit/assets/javascript/character-count.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/cookies.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/errors.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/not-found.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/middleware/deep-translate.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/markdown.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/router.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/behaviours/complete.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/constants.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/helpers.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/health.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/serve-static.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/ga-tag.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/sessions.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/settings.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/logger.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/build/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/config/builder-defaults.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/compile.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/build.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/expand-dirs.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/aggregate.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/transpiler/lib/write-files.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/index.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/model/apis/html-to-pdf-converter.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/model.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/back-links.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/util/helpers.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-complete.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-progress.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/check-session.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/csrf.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/fields.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/test/helpers/utilities.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/lib/encryption.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"],"/Users/rhyadzergane/Documents/HOF/projects/hof/wizard/middleware/session-model.js":["ecfe03a1-4a83-46ca-a7b5-939fdb6e0b3d"]},"externalIds":{}}
@@ -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-xl">{{header}}</h1>{{/header}}
7
- {{#subHeading}}<div id="page-header" class="govuk-heading-l">{{subHeading}}</div>{{/subHeading}}
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}}
8
8
  {{$content}}{{/content}}
9
9
  </div>
10
10
  {{/content-outer}}
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.33",
4
+ "version": "20.0.0-beta.35",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -710,14 +710,12 @@ var groupBy = require('lodash').groupBy;
710
710
  var helpers = require('./helpers');
711
711
  var inputs; var groups;
712
712
  var toggleAttr = 'data-toggle';
713
- var checkboxHiddenClass = 'govuk-checkboxes__conditional--hidden';
714
- var radioHiddenClass = 'govuk-radios__conditional--hidden';
713
+ var hiddenClass = 'js-hidden';
715
714
 
716
715
  function inputClicked(e, target) {
717
716
  target = target || helpers.target(e);
718
717
  var shown;
719
718
  each(groups[target.name], function (input) {
720
- var hiddenClass = (input.type.match(/checkbox/)) ? checkboxHiddenClass : radioHiddenClass;
721
719
  var id = input.getAttribute('aria-controls');
722
720
  var toggle = document.getElementById(id);
723
721
  if (toggle) {
@@ -28,6 +28,41 @@ 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
+
31
66
  const invalidateStep = (stepName, scopedSteps, sessionModel) => {
32
67
  debug('Invalidating', stepName);
33
68
  const step = scopedSteps[stepName] || {};
@@ -55,7 +90,7 @@ module.exports = (route, controller, steps, begin) => {
55
90
  debug('next', nextStep);
56
91
  debug('potential paths', potentialPaths);
57
92
  // if we're following a loop then allow the loop to be invalidated
58
- const whitelist = isLoop(nextStep, req.path) ? [route] : getAllPossibleSteps(nextStep, steps);
93
+ const whitelist = isLoop(nextStep, req.path) ? [route] : createAllVisitedSteps(nextStep, steps);
59
94
  // aggregate all potential journeys from the invalidating step
60
95
  const invalidateSteps = potentialPaths.reduce((arr, step) => arr.concat(getAllPossibleSteps(step, steps)), []);
61
96