hof 20.3.5 → 20.3.6-timeout-beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":4328,"argv":["/Users/chisomoguibe/.nvm/versions/node/v18.17.1/bin/node","/Users/chisomoguibe/Projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/chisomoguibe/Projects/hof","time":1705585541895,"ppid":4326,"coverageFilename":"/Users/chisomoguibe/Projects/hof/.nyc_output/2194bc4f-7454-4356-80e2-e52a7dc798aa.json","externalId":"","uuid":"2194bc4f-7454-4356-80e2-e52a7dc798aa","files":["/Users/chisomoguibe/Projects/hof/model/index.js","/Users/chisomoguibe/Projects/hof/components/index.js","/Users/chisomoguibe/Projects/hof/components/address-lookup/index.js","/Users/chisomoguibe/Projects/hof/components/address-lookup/default-model.js","/Users/chisomoguibe/Projects/hof/components/address-lookup/defaults.js","/Users/chisomoguibe/Projects/hof/components/clear-session/index.js","/Users/chisomoguibe/Projects/hof/components/combine-and-loop-fields/index.js","/Users/chisomoguibe/Projects/hof/components/date/index.js","/Users/chisomoguibe/Projects/hof/components/date/fields.js","/Users/chisomoguibe/Projects/hof/components/emailer/index.js","/Users/chisomoguibe/Projects/hof/components/emailer/email-service.js","/Users/chisomoguibe/Projects/hof/components/emailer/emailer.js","/Users/chisomoguibe/Projects/hof/components/emailer/transports/index.js","/Users/chisomoguibe/Projects/hof/components/emailer/transports/smtp.js","/Users/chisomoguibe/Projects/hof/components/emailer/transports/ses.js","/Users/chisomoguibe/Projects/hof/components/emailer/transports/stub.js","/Users/chisomoguibe/Projects/hof/components/emailer/transports/debug.js","/Users/chisomoguibe/Projects/hof/components/homeoffice-countries/index.js","/Users/chisomoguibe/Projects/hof/config/component-defaults.js","/Users/chisomoguibe/Projects/hof/components/notify/index.js","/Users/chisomoguibe/Projects/hof/components/notify/notify.js","/Users/chisomoguibe/Projects/hof/components/summary/index.js","/Users/chisomoguibe/Projects/hof/config/rate-limits.js","/Users/chisomoguibe/Projects/hof/middleware/rate-limiter.js","/Users/chisomoguibe/Projects/hof/config/hof-defaults.js","/Users/chisomoguibe/Projects/hof/controller/base-controller.js","/Users/chisomoguibe/Projects/hof/controller/formatting/index.js","/Users/chisomoguibe/Projects/hof/controller/validation/index.js","/Users/chisomoguibe/Projects/hof/controller/validation/validators.js","/Users/chisomoguibe/Projects/hof/controller/validation/email.js","/Users/chisomoguibe/Projects/hof/controller/validation-error.js","/Users/chisomoguibe/Projects/hof/utilities/index.js","/Users/chisomoguibe/Projects/hof/utilities/autofill/index.js","/Users/chisomoguibe/Projects/hof/utilities/autofill/inputs.js","/Users/chisomoguibe/Projects/hof/utilities/test-data/index.js","/Users/chisomoguibe/Projects/hof/utilities/countries.js","/Users/chisomoguibe/Projects/hof/utilities/helpers/index.js","/Users/chisomoguibe/Projects/hof/utilities/reqres/index.js","/Users/chisomoguibe/Projects/hof/config/sanitisation-rules.js","/Users/chisomoguibe/Projects/hof/controller/formatting/formatters.js","/Users/chisomoguibe/Projects/hof/controller/index.js","/Users/chisomoguibe/Projects/hof/controller/behaviour-session.js","/Users/chisomoguibe/Projects/hof/controller/behaviour-hooks.js","/Users/chisomoguibe/Projects/hof/controller/controller.js","/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/index.js","/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/render.js","/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/helpers.js","/Users/chisomoguibe/Projects/hof/index.js","/Users/chisomoguibe/Projects/hof/frontend/index.js","/Users/chisomoguibe/Projects/hof/frontend/govuk-template/index.js","/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/index.js","/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/config.js","/Users/chisomoguibe/Projects/hof/frontend/template-partials/index.js","/Users/chisomoguibe/Projects/hof/frontend/template-partials/translations/index.js","/Users/chisomoguibe/Projects/hof/frontend/themes/index.js","/Users/chisomoguibe/Projects/hof/frontend/themes/gov-uk/index.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/index.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/validation.js","/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/chisomoguibe/Projects/hof/middleware/index.js","/Users/chisomoguibe/Projects/hof/middleware/cookies.js","/Users/chisomoguibe/Projects/hof/middleware/errors.js","/Users/chisomoguibe/Projects/hof/middleware/not-found.js","/Users/chisomoguibe/Projects/hof/middleware/deep-translate.js","/Users/chisomoguibe/Projects/hof/lib/markdown.js","/Users/chisomoguibe/Projects/hof/lib/router.js","/Users/chisomoguibe/Projects/hof/wizard/index.js","/Users/chisomoguibe/Projects/hof/wizard/behaviours/index.js","/Users/chisomoguibe/Projects/hof/wizard/behaviours/complete.js","/Users/chisomoguibe/Projects/hof/wizard/util/constants.js","/Users/chisomoguibe/Projects/hof/lib/helpers.js","/Users/chisomoguibe/Projects/hof/lib/health.js","/Users/chisomoguibe/Projects/hof/lib/serve-static.js","/Users/chisomoguibe/Projects/hof/lib/ga-tag.js","/Users/chisomoguibe/Projects/hof/lib/sessions.js","/Users/chisomoguibe/Projects/hof/lib/settings.js","/Users/chisomoguibe/Projects/hof/lib/logger.js","/Users/chisomoguibe/Projects/hof/build/index.js","/Users/chisomoguibe/Projects/hof/config/builder-defaults.js","/Users/chisomoguibe/Projects/hof/transpiler/index.js","/Users/chisomoguibe/Projects/hof/transpiler/lib/compile.js","/Users/chisomoguibe/Projects/hof/transpiler/lib/build.js","/Users/chisomoguibe/Projects/hof/transpiler/lib/expand-dirs.js","/Users/chisomoguibe/Projects/hof/transpiler/lib/aggregate.js","/Users/chisomoguibe/Projects/hof/transpiler/lib/write-files.js","/Users/chisomoguibe/Projects/hof/model/apis/index.js","/Users/chisomoguibe/Projects/hof/model/apis/html-to-pdf-converter.js","/Users/chisomoguibe/Projects/hof/wizard/model.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/back-links.js","/Users/chisomoguibe/Projects/hof/wizard/util/helpers.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/check-complete.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/check-progress.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/check-session.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/csrf.js","/Users/chisomoguibe/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/fields.js","/Users/chisomoguibe/Projects/hof/sandbox/test/helpers/utilities.js","/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/chisomoguibe/Projects/hof/lib/encryption.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/session.js","/Users/chisomoguibe/Projects/hof/wizard/middleware/session-model.js"]}
@@ -0,0 +1 @@
1
+ {"processes":{"2194bc4f-7454-4356-80e2-e52a7dc798aa":{"parent":null,"children":[]}},"files":{"/Users/chisomoguibe/Projects/hof/model/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/default-model.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/defaults.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/clear-session/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/combine-and-loop-fields/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/date/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/date/fields.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/email-service.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/emailer.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/smtp.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/ses.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/stub.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/debug.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/homeoffice-countries/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/config/component-defaults.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/notify/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/notify/notify.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/components/summary/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/config/rate-limits.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/rate-limiter.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/config/hof-defaults.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/base-controller.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/formatting/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/validation/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/validation/validators.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/validation/email.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/validation-error.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/autofill/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/autofill/inputs.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/test-data/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/countries.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/helpers/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/utilities/reqres/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/config/sanitisation-rules.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/formatting/formatters.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/behaviour-session.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/behaviour-hooks.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/controller/controller.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/template-mixins.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/render.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/helpers.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/config.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-partials/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/template-partials/translations/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/themes/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/themes/gov-uk/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/helpers.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/validation.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/character-count.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/cookies.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/errors.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/not-found.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/middleware/deep-translate.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/markdown.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/router.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/behaviours/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/behaviours/complete.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/util/constants.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/helpers.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/health.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/serve-static.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/ga-tag.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/sessions.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/settings.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/logger.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/build/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/config/builder-defaults.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/compile.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/build.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/expand-dirs.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/aggregate.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/write-files.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/model/apis/index.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/model/apis/html-to-pdf-converter.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/model.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/back-links.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/util/helpers.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-complete.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-progress.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-session.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/csrf.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/fields.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/test/helpers/utilities.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/lib/encryption.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/session.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/session-model.js":["2194bc4f-7454-4356-80e2-e52a7dc798aa"]},"externalIds":{}}
package/README.md CHANGED
@@ -311,7 +311,7 @@ my-application/translations/en/default.json
311
311
  }
312
312
  ```
313
313
 
314
- #HOF Controller
314
+ # HOF Controller
315
315
 
316
316
  Implements a request pipeline for GET and POST of forms, with input cleaning/formatting and validation.
317
317
 
@@ -482,13 +482,13 @@ let error = new ErrorClass(this.missingDoB, {
482
482
  });
483
483
  ```
484
484
 
485
- ##hof-behaviour-session
485
+ ## hof-behaviour-session
486
486
 
487
487
  HOF Behaviour for reading and writing to the session
488
488
 
489
- ##Usage
489
+ ## Usage
490
490
 
491
- ###With [mixwith.js](https://github.com/justinfagnani/mixwith.js)
491
+ ### With [mixwith.js](https://github.com/justinfagnani/mixwith.js)
492
492
 
493
493
  ```js
494
494
  const mix = require('mixwith').mix;
@@ -502,7 +502,7 @@ class MyController extends mix(BaseController).with(Session) {
502
502
 
503
503
  `MyController` now extends `hof-form-controller` and has `hof-behaviour-session` functionality mixed in.
504
504
 
505
- ##Functionality
505
+ ## Functionality
506
506
 
507
507
  This mixin extends `hof-form-controller` by persisting the form data to the `sessionModel` - assuming the [session-model](https://github.com/UKHomeOfficeForms/hof-form-wizard/blob/master/lib/middleware/session-model.js) middleware has been applied.
508
508
 
@@ -516,13 +516,13 @@ The following form controller methods are used:
516
516
  - `missingPrereqHandler(req, res)` - Error handler called when a `MISSING_PREREQ` error is thrown from the [check-progress](https://github.com/UKHomeOfficeForms/hof-form-wizard/blob/master/lib/middleware/check-progress.js) middleware. This occurs if a step is visited out of sequence. This error handler causes the user to be redirected to the last completed step, or the first step if none have been completed.
517
517
  - `errorHandler(err, req, res, next)` - checks if `err.code` is `MISSING_PREREQ`, if so calls `missingPrereqHandler`, if not calls `super` to hand over to parent error handler.
518
518
 
519
- ##behaviour-hooks
519
+ ## Behaviour-hooks
520
520
 
521
521
  HOF Behaviour enabling lifecycle hooks for extending functionality in main form pipeline.
522
522
 
523
- ##Usage
523
+ ## Usage
524
524
 
525
- ###With [mixwith.js](https://github.com/justinfagnani/mixwith.js)
525
+ ### With [mixwith.js](https://github.com/justinfagnani/mixwith.js)
526
526
 
527
527
  ```js
528
528
  const mix = require('mixwith').mix;
@@ -536,25 +536,25 @@ class MyController extends mix(BaseController).with(Hooks) {
536
536
 
537
537
  `MyController` now extends `hof-form-controller` and has `hof-behaviour-hooks` functionality mixed in.
538
538
 
539
- ##Functionality
539
+ ## Functionality
540
540
 
541
541
  The following hooks are currently supported, the methods are GET/POST pipeline methods from `hof-form-controller`:
542
542
 
543
- ####GET
543
+ #### GET
544
544
 
545
545
  - `_getErrors` - `'pre-getErrors', 'post-getErrors'`
546
546
  - `_getValues` - `'pre-getValues', 'post-getValues'`
547
547
  - `_locals` - `'pre-locals', 'post-locals'`
548
548
  - `render` - `'pre-render', 'post-render'`
549
549
 
550
- ####POST
550
+ #### POST
551
551
 
552
552
  - `_process` - `'pre-process', 'post-process'`
553
553
  - `_validate` - `'pre-validate', 'post-validate'`
554
554
  - `saveValues` - `'pre-saveValues', 'post-saveValues'`
555
555
  - `successHandler` - `'pre-successHandler', 'post-successHandler'`
556
556
 
557
- ###In field config
557
+ ### In field config
558
558
 
559
559
  fields.js
560
560
 
@@ -0,0 +1,103 @@
1
+
2
+ <!DOCTYPE html>
3
+ <!--[if lt IE 9]><html class="lte-ie8" lang="{{htmlLang}}"><![endif]-->
4
+ <!--[if gt IE 8]><!--><html lang="{{htmlLang}}" class="govuk-template"><!--<![endif]-->
5
+ <head>
6
+ <meta charset="utf-8" />
7
+ <title>{{$pageTitle}}{{/pageTitle}}</title>
8
+ {{$head}}{{/head}}
9
+
10
+ <link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{govukAssetPath}}images/favicon.ico" type="image/x-icon">
11
+ <link rel="mask-icon" href="{{govukAssetPath}}images/govuk-mask-icon.svg" color="#0b0c0c">
12
+ <link rel="apple-touch-icon" sizes="180x180" href="{{govukAssetPath}}images/govuk-apple-touch-icon-180x180.png">
13
+ <link rel="apple-touch-icon" sizes="167x167" href="{{govukAssetPath}}images/govuk-apple-touch-icon-167x167.png">
14
+ <link rel="apple-touch-icon" sizes="152x152" href="{{govukAssetPath}}images/govuk-apple-touch-icon-152x152.png">
15
+ <link rel="apple-touch-icon" href="{{govukAssetPath}}images/govuk-apple-touch-icon.png">
16
+
17
+
18
+ <meta name="theme-color" content="#0b0c0c" />
19
+
20
+ <meta name="viewport" content="width=device-width, initial-scale=1">
21
+
22
+
23
+ <meta property="og:image" content="{{govukAssetPath}}images/opengraph-image.png">
24
+ </head>
25
+
26
+ <body class="{{$bodyClasses}}{{/bodyClasses}} govuk-template__body js-enabled" >
27
+ <script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
28
+
29
+
30
+
31
+ <div id="global-cookie-message" class="gem-c-cookie-banner govuk-clearfix" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
32
+ {{$cookieMessage}}{{/cookieMessage}}
33
+ </div>
34
+
35
+ {{$bodyStart}}{{/bodyStart}}
36
+
37
+ <header role="banner" id="govuk-header" class="{{$headerClass}}{{/headerClass}}">
38
+ <div class="govuk-header__container govuk-width-container">
39
+
40
+ <div class="govuk-header__logo">
41
+ <a href="{{$homepageUrl}}https://www.gov.uk{{/homepageUrl}}" title="{{$logoLinkTitle}}Go to the GOV.UK homepage{{/logoLinkTitle}}" id="logo" class="govuk-header__link govuk-header__link--homepage" target="_blank" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
42
+ <span class="govuk-header__logotype">
43
+ <!--[if gt IE 8]><!-->
44
+ <svg aria-hidden="true" focusable="false" class="govuk-header__logotype-crown" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 132 97" height="30" width="36">
45
+ <path fill="currentColor" fill-rule="evenodd" d="M25 30.2c3.5 1.5 7.7-.2 9.1-3.7 1.5-3.6-.2-7.8-3.9-9.2-3.6-1.4-7.6.3-9.1 3.9-1.4 3.5.3 7.5 3.9 9zM9 39.5c3.6 1.5 7.8-.2 9.2-3.7 1.5-3.6-.2-7.8-3.9-9.1-3.6-1.5-7.6.2-9.1 3.8-1.4 3.5.3 7.5 3.8 9zM4.4 57.2c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.5-1.5-7.6.3-9.1 3.8-1.4 3.5.3 7.6 3.9 9.1zm38.3-21.4c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.6-1.5-7.6.3-9.1 3.8-1.3 3.6.4 7.7 3.9 9.1zm64.4-5.6c-3.6 1.5-7.8-.2-9.1-3.7-1.5-3.6.2-7.8 3.8-9.2 3.6-1.4 7.7.3 9.2 3.9 1.3 3.5-.4 7.5-3.9 9zm15.9 9.3c-3.6 1.5-7.7-.2-9.1-3.7-1.5-3.6.2-7.8 3.7-9.1 3.6-1.5 7.7.2 9.2 3.8 1.5 3.5-.3 7.5-3.8 9zm4.7 17.7c-3.6 1.5-7.8-.2-9.2-3.8-1.5-3.6.2-7.7 3.9-9.1 3.6-1.5 7.7.3 9.2 3.8 1.3 3.5-.4 7.6-3.9 9.1zM89.3 35.8c-3.6 1.5-7.8-.2-9.2-3.8-1.4-3.6.2-7.7 3.9-9.1 3.6-1.5 7.7.3 9.2 3.8 1.4 3.6-.3 7.7-3.9 9.1zM69.7 17.7l8.9 4.7V9.3l-8.9 2.8c-.2-.3-.5-.6-.9-.9L72.4 0H59.6l3.5 11.2c-.3.3-.6.5-.9.9l-8.8-2.8v13.1l8.8-4.7c.3.3.6.7.9.9l-5 15.4v.1c-.2.8-.4 1.6-.4 2.4 0 4.1 3.1 7.5 7 8.1h.2c.3 0 .7.1 1 .1.4 0 .7 0 1-.1h.2c4-.6 7.1-4.1 7.1-8.1 0-.8-.1-1.7-.4-2.4V34l-5.1-15.4c.4-.2.7-.6 1-.9zM66 92.8c16.9 0 32.8 1.1 47.1 3.2 4-16.9 8.9-26.7 14-33.5l-9.6-3.4c1 4.9 1.1 7.2 0 10.2-1.5-1.4-3-4.3-4.2-8.7L108.6 76c2.8-2 5-3.2 7.5-3.3-4.4 9.4-10 11.9-13.6 11.2-4.3-.8-6.3-4.6-5.6-7.9 1-4.7 5.7-5.9 8-.5 4.3-8.7-3-11.4-7.6-8.8 7.1-7.2 7.9-13.5 2.1-21.1-8 6.1-8.1 12.3-4.5 20.8-4.7-5.4-12.1-2.5-9.5 6.2 3.4-5.2 7.9-2 7.2 3.1-.6 4.3-6.4 7.8-13.5 7.2-10.3-.9-10.9-8-11.2-13.8 2.5-.5 7.1 1.8 11 7.3L80.2 60c-4.1 4.4-8 5.3-12.3 5.4 1.4-4.4 8-11.6 8-11.6H55.5s6.4 7.2 7.9 11.6c-4.2-.1-8-1-12.3-5.4l1.4 16.4c3.9-5.5 8.5-7.7 10.9-7.3-.3 5.8-.9 12.8-11.1 13.8-7.2.6-12.9-2.9-13.5-7.2-.7-5 3.8-8.3 7.1-3.1 2.7-8.7-4.6-11.6-9.4-6.2 3.7-8.5 3.6-14.7-4.6-20.8-5.8 7.6-5 13.9 2.2 21.1-4.7-2.6-11.9.1-7.7 8.8 2.3-5.5 7.1-4.2 8.1.5.7 3.3-1.3 7.1-5.7 7.9-3.5.7-9-1.8-13.5-11.2 2.5.1 4.7 1.3 7.5 3.3l-4.7-15.4c-1.2 4.4-2.7 7.2-4.3 8.7-1.1-3-.9-5.3 0-10.2l-9.5 3.4c5 6.9 9.9 16.7 14 33.5 14.8-2.1 30.8-3.2 47.7-3.2z"></path>
46
+ </svg>
47
+ <!--<![endif]-->
48
+ <!--<![endif]-->
49
+ <!--[if IE 8]>
50
+ <img src="{{govukAssetPath}}images/govuk-logotype-crown.png" class="govuk-header__logotype-crown-fallback-image" width="36" height="32">
51
+ <![endif]-->
52
+ </span>
53
+ <span class="govuk-header__logotype-text">
54
+ {{$globalHeaderText}}GOV.UK{{/globalHeaderText}}
55
+ </span>
56
+ </a>
57
+ </div>
58
+ {{$insideHeader}}{{/insideHeader}}
59
+
60
+ {{$propositionHeader}}{{/propositionHeader}}
61
+ </div>
62
+ </header>
63
+
64
+
65
+ {{$afterHeader}}{{/afterHeader}}
66
+
67
+
68
+ {{$main}}{{/main}}
69
+
70
+ <footer class="govuk-footer" id="footer" role="contentinfo">
71
+
72
+ <div class="govuk-width-container">
73
+ {{$footerTop}}{{/footerTop}}
74
+
75
+ <div class="govuk-footer__meta">
76
+ <div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
77
+ <h2 class="govuk-visually-hidden">Support links</h2>
78
+ {{$footerSupportLinks}}{{/footerSupportLinks}}
79
+
80
+ <svg aria-hidden="true" focusable="false" class="govuk-footer__licence-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 483.2 195.7" height="17" width="41">
81
+ <path fill="currentColor" d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145"></path>
82
+ </svg>
83
+
84
+ <span class="govuk-footer__licence-description">{{$licenceMessage}}All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" id="open-government-licence" class="govuk-footer__link" target="_blank" rel="license">Open Government Licence v3.0</a>, except where otherwise stated{{/licenceMessage}}</span>
85
+ </div>
86
+
87
+ <div class="govuk-footer__meta-item">
88
+ <a class="govuk-footer__link govuk-footer__copyright-logo" id="copyright-logo" target="_blank" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">{{$crownCopyrightMessage}}© Crown copyright{{/crownCopyrightMessage}}</a>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </footer>
93
+
94
+ <div id="global-app-error" class="app-error hidden"></div>
95
+
96
+
97
+ {{$bodyEnd}}{{/bodyEnd}}
98
+
99
+
100
+ <script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
101
+
102
+ </body>
103
+ </html>
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "continue": "Continue",
3
+ "stay-on-page": "Stay on this page",
3
4
  "send": "Send",
4
5
  "change": "Change",
5
6
  "close": "Close",
@@ -3,6 +3,10 @@
3
3
  "title": "Sorry, something went wrong",
4
4
  "message": "A server exception occurred. Please try again."
5
5
  },
6
+ "session-warning": {
7
+ "title": "Your page will time out soon",
8
+ "message": "To protect your information, this page will time out in 5 minutes.\n\nIf that happens, your progress will not be saved."
9
+ },
6
10
  "session": {
7
11
  "title": "Sorry, you'll have to start again",
8
12
  "message": "You haven't entered any details for 30 minutes, so we have cleared your information to keep it secure."
@@ -19,7 +19,7 @@
19
19
  <span class="govuk-phase-banner__text">This is a new service – your <a href="{{feedbackUrl}}{{^feedbackUrl}}https://eforms.homeoffice.gov.uk/outreach/feedback.ofml{{/feedbackUrl}}" class="govuk-link" id="feedback-link" target="_blank">feedback</a> will help us to improve it.</span>
20
20
  </p>
21
21
  </div>
22
- {{/feedbackUrl}}
22
+ {{/feedbackUrl}}
23
23
  <span id="step">
24
24
  {{> partials-back}} <span>{{$step}}{{/step}}</span>
25
25
  </span>
@@ -29,6 +29,7 @@
29
29
  </div>
30
30
  </main>
31
31
  {{> partials-continue}}
32
+ {{> partials-session-timeout-warning}}
32
33
  <script type="text/javascript" src="{{assetPath}}/js/bundle.js"></script>
33
34
  </div>
34
35
  {{/main}}
@@ -0,0 +1,27 @@
1
+ <div class="govuk-warning-text">
2
+ <div id="dialog_layer" class="dialog_form">
3
+ <div role="dialog"
4
+ id="dialog1"
5
+ aria-labelledby="dialog1_label"
6
+ aria-modal="true"
7
+ class="hidden">
8
+ <h2 id="dialog1_label" class="govuk-heading-l">
9
+ Your page will time out soon
10
+ </h2>
11
+ <div class="govuk-heading-m">
12
+ <p>To protect your information, this page will time out in 5 minutes.</p>
13
+ <p>If that happens, your progress will not be saved.</p>
14
+ </div>
15
+ <div class="dialog_form_actions">
16
+ <a href="{{startLink}}" class="govuk-button" role="button">{{#t}}buttons.stay-on-page{{/t}}</a>
17
+ <a href="{{startLink}}" class="govuk-button" role="button">{{#t}}buttons.start-again{{/t}}</a>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ <script {{#nonce}}nonce="{{nonce}}"{{/nonce}} type="text/javascript">
22
+ console.log("onClick with Timeout")
23
+ setTimeout(function() {
24
+ openDialog('dialog1', this)
25
+ }, 5 * 1000)
26
+ </script>
27
+ </div>