hof 20.3.4 → 20.3.6-beta-gtm

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":4383,"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":1702296946254,"ppid":4381,"coverageFilename":"/Users/chisomoguibe/Projects/hof/.nyc_output/c84e394d-abf7-4aea-99aa-36427e671442.json","externalId":"","uuid":"c84e394d-abf7-4aea-99aa-36427e671442","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":{"c84e394d-abf7-4aea-99aa-36427e671442":{"parent":null,"children":[]}},"files":{"/Users/chisomoguibe/Projects/hof/model/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/default-model.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/address-lookup/defaults.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/clear-session/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/combine-and-loop-fields/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/date/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/date/fields.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/email-service.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/emailer.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/smtp.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/ses.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/stub.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/emailer/transports/debug.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/homeoffice-countries/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/config/component-defaults.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/notify/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/notify/notify.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/components/summary/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/config/rate-limits.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/rate-limiter.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/config/hof-defaults.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/base-controller.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/formatting/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/validation/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/validation/validators.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/validation/email.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/validation-error.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/autofill/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/autofill/inputs.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/test-data/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/countries.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/helpers/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/utilities/reqres/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/config/sanitisation-rules.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/formatting/formatters.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/behaviour-session.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/behaviour-hooks.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/controller/controller.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/template-mixins.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/render.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-mixins/mixins/helpers.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/govuk-template/build/config.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-partials/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/template-partials/translations/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/themes/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/themes/gov-uk/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/helpers.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/validation.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/frontend/toolkit/assets/javascript/character-count.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/cookies.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/errors.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/not-found.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/middleware/deep-translate.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/markdown.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/router.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/behaviours/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/behaviours/complete.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/util/constants.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/helpers.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/health.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/serve-static.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/ga-tag.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/sessions.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/settings.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/logger.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/build/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/config/builder-defaults.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/compile.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/build.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/expand-dirs.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/aggregate.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/transpiler/lib/write-files.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/model/apis/index.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/model/apis/html-to-pdf-converter.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/model.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/back-links.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/util/helpers.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-complete.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-progress.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/check-session.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/csrf.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/fields.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/test/helpers/utilities.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/lib/encryption.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/session.js":["c84e394d-abf7-4aea-99aa-36427e671442"],"/Users/chisomoguibe/Projects/hof/wizard/middleware/session-model.js":["c84e394d-abf7-4aea-99aa-36427e671442"]},"externalIds":{}}
@@ -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,18 +1,16 @@
1
1
  {{#gtmTagId}}
2
2
  {{#cookiesAccepted}}
3
- {{#isETA}}
4
- <!-- Google Tag Manager Data Layer for ETA -->
3
+ <!-- Google Tag Manager Data Layer -->
5
4
  <script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
6
5
  var dataLayer = window.dataLayer || [];
7
6
  dataLayer.push({
8
- 'event': 'pageLoad',
9
- 'pageName': 'ETA | Customer Contact Webform | {{gtm-page}}',
10
- 'applicationType': 'ETA | Customer Contact',
7
+ 'event': '{{pageEvent}}',
8
+ 'pageName': '{{pageName}}',
9
+ 'applicationType': '{{applicationType}}',
11
10
  'environmentType': '{{environmentType}}'
12
11
  });
13
12
  </script>
14
- <!-- End Google Tag Manager Data Layer for ETA -->
15
- {{/isETA}}
13
+ <!-- End Google Tag Manager Data Layer -->
16
14
 
17
15
  <!-- Google Tag Manager -->
18
16
  <script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
package/lib/ga-tag.js CHANGED
@@ -57,24 +57,64 @@ module.exports = (app, config) => {
57
57
  const gaCrossDomainTrackingTagId = config.gaCrossDomainTrackingTagId;
58
58
  const routes = config.routes;
59
59
 
60
- if (gaTagId || ga4TagId) {
60
+ if (gaTagId || ga4TagId || gtmTagId) {
61
+ const pageMap = setupPageMap(routes);
62
+
63
+ app.use((req, res, next) => {
64
+ const page = pageView(req.path, pageMap);
65
+
66
+ // Preparing common res.locals properties
67
+ const properties = {
68
+ gaAllowDebug: config.env === 'development',
69
+ gaTagId: gaTagId,
70
+ ga4TagId: ga4TagId,
71
+ gaCrossDomainTrackingTagId: gaCrossDomainTrackingTagId,
72
+ 'ga-id': gaTagId,
73
+ 'ga-page': page
74
+ };
75
+
76
+ // Adding extra properties if a GTM TAG is available
77
+ if (gtmTagId) {
78
+ Object.assign(properties, {
79
+ gtmTagId: gtmTagId,
80
+ 'gtm-page': convertToGTMPage(page),
81
+ eventName: 'pageLoad',
82
+ pageName: `ETA | Customer Contact Webform | ${convertToGTMPage(page)}`,
83
+ applicationType: 'ETA | Customer Contact',
84
+ environmentType: environmentType
85
+ });
86
+ }
87
+
88
+ res.locals = Object.assign(res.locals, properties);
89
+ next();
90
+ });
91
+ }
92
+
93
+ /*
94
+ if (gaTagId || ga4TagId || gtmTagId) {
61
95
  const pageMap = setupPageMap(routes);
62
96
 
63
97
  app.use((req, res, next) => {
64
98
  const page = pageView(req.path, pageMap);
65
99
  res.locals.gaAllowDebug = config.env === 'development';
66
- res.locals.isETA = config.appName === 'ETA';
100
+
101
+ if (gtmTagId) {
102
+ res.locals.gtmTagId = gtmTagId;
103
+ res.locals['gtm-page'] = convertToGTMPage(page);
104
+ res.locals.eventName = "pageLoad"
105
+ res.locals.pageName = `ETA | Customer Contact Webform | ${res.locals['gtm-page']}`
106
+ res.locals.applicationType = "ETA | Customer Contact"
107
+ res.locals.environmentType = environmentType;
108
+ }
67
109
  res.locals.gaTagId = gaTagId;
68
110
  res.locals.ga4TagId = ga4TagId;
69
- res.locals.gtmTagId = gtmTagId;
70
- res.locals.environmentType = environmentType;
71
111
  res.locals.gaCrossDomainTrackingTagId = gaCrossDomainTrackingTagId;
72
112
  res.locals['ga-id'] = gaTagId;
73
113
  res.locals['ga-page'] = page;
74
- res.locals['gtm-page'] = convertToGTMPage(page);
75
114
  next();
76
115
  });
77
116
  }
117
+ */
78
118
 
79
119
  return app;
80
120
  };
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.3.4",
4
+ "version": "20.3.6-beta-gtm",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -0,0 +1,220 @@
1
+ {
2
+ "fields": {
3
+ "landing-page-radio": {
4
+ "legend": "Which form would you like to explore?",
5
+ "hint": "Choose one of the options below and press continue.",
6
+ "options": {
7
+ "basic-form": {
8
+ "label": "Basic form"
9
+ },
10
+ "complex-form": {
11
+ "label": "Complex form"
12
+ },
13
+ "build-your-own-form": {
14
+ "label": "Build your own form"
15
+ }
16
+ }
17
+ },
18
+ "name": {
19
+ "label": "Full name"
20
+ },
21
+ "dateOfBirth": {
22
+ "legend": "What is your date of birth?",
23
+ "hint": "For example, 31 10 1990"
24
+ },
25
+ "building": {
26
+ "label": "Building and street"
27
+ },
28
+ "street": {
29
+ "label": "Address line 2"
30
+ },
31
+ "townOrCity": {
32
+ "label": "Town or city"
33
+ },
34
+ "postcode": {
35
+ "label": "Postcode"
36
+ },
37
+ "incomeTypes": {
38
+ "label": "Sources of income",
39
+ "legend": "Select the options where you receive income from",
40
+ "hint": "Select all options that apply to you.",
41
+ "options": {
42
+ "salary": {
43
+ "label": "Salary"
44
+ },
45
+ "universal_credit": {
46
+ "label": "Universal Credit"
47
+ },
48
+ "child_benefit": {
49
+ "label": "Child Benefit"
50
+ },
51
+ "housing_benefit": {
52
+ "label": "Housing Benefit"
53
+ },
54
+ "other": {
55
+ "label": "Other"
56
+ }
57
+ }
58
+ },
59
+ "countryOfHearing": {
60
+ "legend": "What country was the appeal lodged?",
61
+ "options": {
62
+ "englandAndWales": {
63
+ "label": "England and Wales"
64
+ },
65
+ "scotland": {
66
+ "label": "Scotland"
67
+ },
68
+ "northernIreland": {
69
+ "label": "Northern Ireland"
70
+ }
71
+ }
72
+ },
73
+ "email": {
74
+ "label": "Email address"
75
+ },
76
+ "phone": {
77
+ "label": "Phone number",
78
+ "hint": "International phone numbers require the international dialling code, for example +33235066182"
79
+ },
80
+ "int-phone-number": {
81
+ "legend": "International phone number"
82
+ },
83
+ "complaintDetails": {
84
+ "label": "Complaint details",
85
+ "hint": "Briefly summarise your complaint. Include anything that can help our investigation."
86
+ },
87
+ "whatHappened": {
88
+ "label": "What happened",
89
+ "hint": "Briefly summarise what happened."
90
+ },
91
+ "countrySelect": {
92
+ "label": "Which country are you based in?",
93
+ "hint": "Start to type the country name and options will appear"
94
+ },
95
+ "appealStages": {
96
+ "label": "Appeal stage",
97
+ "hint": "Choose an appeal stage from the drop down menu",
98
+ "options": {
99
+ "null": "Select..."
100
+ }
101
+ }
102
+ },
103
+ "journey": {
104
+ "header": "HOF Bootstrap Sandbox Form",
105
+ "confirmation": {
106
+ "details": "Your reference number <br><strong>HDJ2123F</strong>"
107
+ }
108
+ },
109
+ "pages": {
110
+ "landing-page": {
111
+ "header": "Landing page"
112
+ },
113
+ "build-your-own-form": {
114
+ "title": "Build your own form",
115
+ "subheader": "Access the build your own form guidance link"
116
+ },
117
+ "address": {
118
+ "header": "What is your address in the UK?",
119
+ "intro": "If you have no fixed address, enter an address where we can contact you."
120
+ },
121
+ "name": {
122
+ "header": "What is your full name?"
123
+ },
124
+ "email": {
125
+ "header": "Enter your email address"
126
+ },
127
+ "phone-number": {
128
+ "header": "Enter your phone number"
129
+ },
130
+ "confirm": {
131
+ "header": "Check your answers before submitting your application.",
132
+ "sections": {
133
+ "applicantsDetails": {
134
+ "header": "Applicant's details"
135
+ },
136
+ "address": {
137
+ "header": "Address"
138
+ },
139
+ "income": {
140
+ "header": "Income"
141
+ },
142
+ "appealDetails": {
143
+ "header": "Appeal details"
144
+ },
145
+ "countrySelect": {
146
+ "header": "Country of residence"
147
+ },
148
+ "contactDetails": {
149
+ "header": "Contact details"
150
+ },
151
+ "complaintDetails": {
152
+ "header": "Complaint details"
153
+ },
154
+ "whatHappened": {
155
+ "header": "What happened"
156
+ }
157
+ }
158
+ },
159
+ "confirmation": {
160
+ "title": "Application sent",
161
+ "alert": "Application sent",
162
+ "subheader": "What happens next",
163
+ "content": "We’ll contact you with the decision of your application or if we need more information from you."
164
+ }
165
+ },
166
+ "validation": {
167
+ "landing-page-radio": {
168
+ "required": "Select an option below and press continue"
169
+ },
170
+ "name": {
171
+ "default": "Enter your full name"
172
+ },
173
+ "dateOfBirth": {
174
+ "default": "Enter your date of birth in the correct format; for example, 31 10 1990",
175
+ "after": "Enter a date after 1 1 1900",
176
+ "before": "Enter a date that is in the past"
177
+ },
178
+ "building": {
179
+ "default": "Enter details of your building and street"
180
+ },
181
+ "townOrCity": {
182
+ "default": "Enter a town or city",
183
+ "regex": "Enter a town or city without including digits"
184
+ },
185
+ "postcode": {
186
+ "default": "Enter your postcode"
187
+ },
188
+ "incomeTypes": {
189
+ "default": "Select all options that apply to you."
190
+ },
191
+ "countryOfHearing": {
192
+ "default": "Select where the appeal hearing is to be held"
193
+ },
194
+ "countrySelect": {
195
+ "default": "Enter a valid country of residence",
196
+ "required": "Enter your country of residence"
197
+ },
198
+ "email": {
199
+ "default": "Enter your email address in the correct format"
200
+ },
201
+ "phone": {
202
+ "default": "Enter your phone number"
203
+ },
204
+ "int-phone-number": {
205
+ "required": "Enter an international phone number",
206
+ "internationalPhoneNumber": "Enter a valid international phone number"
207
+ },
208
+ "complaintDetails": {
209
+ "default": "Enter details about why you are making a complaint",
210
+ "maxlength": "Keep to the {{maxlength}} character limit"
211
+ },
212
+ "whatHappened": {
213
+ "default": "Enter details about what happened",
214
+ "maxword": "Keep to the {{maxword}} word limit"
215
+ },
216
+ "appealStages": {
217
+ "required": "Select an appeal stage from the list"
218
+ }
219
+ }
220
+ }