hof 21.0.0-axios-beta → 21.0.1-axios-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":28672,"argv":["/Users/robertmccann/.nvm/versions/node/v14.15.0/bin/node","/Users/robertmccann/Projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/robertmccann/Projects/hof","time":1686146117418,"ppid":28670,"coverageFilename":"/Users/robertmccann/Projects/hof/.nyc_output/4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5.json","externalId":"","uuid":"4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5","files":["/Users/robertmccann/Projects/hof/model/index.js","/Users/robertmccann/Projects/hof/components/index.js","/Users/robertmccann/Projects/hof/components/address-lookup/index.js","/Users/robertmccann/Projects/hof/components/address-lookup/default-model.js","/Users/robertmccann/Projects/hof/components/address-lookup/defaults.js","/Users/robertmccann/Projects/hof/components/clear-session/index.js","/Users/robertmccann/Projects/hof/components/combine-and-loop-fields/index.js","/Users/robertmccann/Projects/hof/components/date/index.js","/Users/robertmccann/Projects/hof/components/date/fields.js","/Users/robertmccann/Projects/hof/components/emailer/index.js","/Users/robertmccann/Projects/hof/components/emailer/email-service.js","/Users/robertmccann/Projects/hof/components/emailer/emailer.js","/Users/robertmccann/Projects/hof/components/emailer/transports/index.js","/Users/robertmccann/Projects/hof/components/emailer/transports/smtp.js","/Users/robertmccann/Projects/hof/components/emailer/transports/ses.js","/Users/robertmccann/Projects/hof/components/emailer/transports/stub.js","/Users/robertmccann/Projects/hof/components/emailer/transports/debug.js","/Users/robertmccann/Projects/hof/components/homeoffice-countries/index.js","/Users/robertmccann/Projects/hof/config/component-defaults.js","/Users/robertmccann/Projects/hof/components/notify/index.js","/Users/robertmccann/Projects/hof/components/notify/notify.js","/Users/robertmccann/Projects/hof/components/summary/index.js","/Users/robertmccann/Projects/hof/config/rate-limits.js","/Users/robertmccann/Projects/hof/middleware/rate-limiter.js","/Users/robertmccann/Projects/hof/config/hof-defaults.js","/Users/robertmccann/Projects/hof/controller/base-controller.js","/Users/robertmccann/Projects/hof/controller/formatting/index.js","/Users/robertmccann/Projects/hof/controller/validation/index.js","/Users/robertmccann/Projects/hof/controller/validation/validators.js","/Users/robertmccann/Projects/hof/controller/validation/email.js","/Users/robertmccann/Projects/hof/controller/validation-error.js","/Users/robertmccann/Projects/hof/utilities/index.js","/Users/robertmccann/Projects/hof/utilities/autofill/index.js","/Users/robertmccann/Projects/hof/utilities/autofill/inputs.js","/Users/robertmccann/Projects/hof/utilities/test-data/index.js","/Users/robertmccann/Projects/hof/utilities/countries.js","/Users/robertmccann/Projects/hof/utilities/helpers/index.js","/Users/robertmccann/Projects/hof/utilities/reqres/index.js","/Users/robertmccann/Projects/hof/config/sanitisation-rules.js","/Users/robertmccann/Projects/hof/controller/formatting/formatters.js","/Users/robertmccann/Projects/hof/controller/index.js","/Users/robertmccann/Projects/hof/controller/behaviour-session.js","/Users/robertmccann/Projects/hof/controller/behaviour-hooks.js","/Users/robertmccann/Projects/hof/controller/controller.js","/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/index.js","/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/render.js","/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/helpers.js","/Users/robertmccann/Projects/hof/index.js","/Users/robertmccann/Projects/hof/frontend/index.js","/Users/robertmccann/Projects/hof/frontend/govuk-template/index.js","/Users/robertmccann/Projects/hof/frontend/govuk-template/build/index.js","/Users/robertmccann/Projects/hof/frontend/govuk-template/build/config.js","/Users/robertmccann/Projects/hof/frontend/template-partials/index.js","/Users/robertmccann/Projects/hof/frontend/template-partials/translations/index.js","/Users/robertmccann/Projects/hof/frontend/themes/index.js","/Users/robertmccann/Projects/hof/frontend/themes/gov-uk/index.js","/Users/robertmccann/Projects/hof/frontend/toolkit/index.js","/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/validation.js","/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/robertmccann/Projects/hof/middleware/index.js","/Users/robertmccann/Projects/hof/middleware/cookies.js","/Users/robertmccann/Projects/hof/middleware/errors.js","/Users/robertmccann/Projects/hof/middleware/not-found.js","/Users/robertmccann/Projects/hof/middleware/deep-translate.js","/Users/robertmccann/Projects/hof/lib/markdown.js","/Users/robertmccann/Projects/hof/lib/router.js","/Users/robertmccann/Projects/hof/wizard/index.js","/Users/robertmccann/Projects/hof/wizard/behaviours/index.js","/Users/robertmccann/Projects/hof/wizard/behaviours/complete.js","/Users/robertmccann/Projects/hof/wizard/util/constants.js","/Users/robertmccann/Projects/hof/lib/helpers.js","/Users/robertmccann/Projects/hof/lib/health.js","/Users/robertmccann/Projects/hof/lib/serve-static.js","/Users/robertmccann/Projects/hof/lib/ga-tag.js","/Users/robertmccann/Projects/hof/lib/sessions.js","/Users/robertmccann/Projects/hof/lib/settings.js","/Users/robertmccann/Projects/hof/lib/logger.js","/Users/robertmccann/Projects/hof/build/index.js","/Users/robertmccann/Projects/hof/config/builder-defaults.js","/Users/robertmccann/Projects/hof/transpiler/index.js","/Users/robertmccann/Projects/hof/transpiler/lib/compile.js","/Users/robertmccann/Projects/hof/transpiler/lib/build.js","/Users/robertmccann/Projects/hof/transpiler/lib/expand-dirs.js","/Users/robertmccann/Projects/hof/transpiler/lib/aggregate.js","/Users/robertmccann/Projects/hof/transpiler/lib/write-files.js","/Users/robertmccann/Projects/hof/model/apis/index.js","/Users/robertmccann/Projects/hof/model/apis/html-to-pdf-converter.js","/Users/robertmccann/Projects/hof/wizard/model.js","/Users/robertmccann/Projects/hof/wizard/middleware/back-links.js","/Users/robertmccann/Projects/hof/wizard/util/helpers.js","/Users/robertmccann/Projects/hof/wizard/middleware/check-complete.js","/Users/robertmccann/Projects/hof/wizard/middleware/check-progress.js","/Users/robertmccann/Projects/hof/wizard/middleware/check-session.js","/Users/robertmccann/Projects/hof/wizard/middleware/csrf.js","/Users/robertmccann/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/fields.js","/Users/robertmccann/Projects/hof/sandbox/test/helpers/utilities.js","/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js"]}
@@ -1 +1 @@
1
- {"processes":{"b841d018-49f0-462a-8e8f-acb3d722cd3b":{"parent":null,"children":[]}},"files":{"/Users/savantdhindsa/git/hof/model/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/address-lookup/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/address-lookup/default-model.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/address-lookup/defaults.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/clear-session/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/combine-and-loop-fields/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/date/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/date/fields.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/email-service.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/emailer.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/transports/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/transports/smtp.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/transports/ses.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/transports/stub.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/emailer/transports/debug.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/homeoffice-countries/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/config/component-defaults.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/notify/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/notify/notify.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/components/summary/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/config/rate-limits.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/rate-limiter.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/config/hof-defaults.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/base-controller.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/formatting/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/validation/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/validation/validators.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/validation/email.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/validation-error.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/autofill/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/autofill/inputs.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/test-data/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/countries.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/helpers/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/utilities/reqres/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/config/sanitisation-rules.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/formatting/formatters.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/behaviour-session.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/behaviour-hooks.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/controller/controller.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/apps/sandbox/behaviours/country-select.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-mixins/mixins/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-mixins/mixins/template-mixins.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-mixins/mixins/render.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-mixins/mixins/helpers.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/govuk-template/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/govuk-template/build/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/govuk-template/build/config.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-partials/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/template-partials/translations/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/themes/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/themes/gov-uk/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/assets/javascript/helpers.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/assets/javascript/form-focus.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/assets/javascript/validation.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/frontend/toolkit/assets/javascript/character-count.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/cookies.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/errors.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/not-found.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/middleware/deep-translate.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/markdown.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/router.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/behaviours/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/behaviours/complete.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/util/constants.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/helpers.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/health.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/serve-static.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/ga-tag.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/sessions.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/settings.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/logger.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/build/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/config/builder-defaults.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/lib/compile.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/lib/build.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/lib/expand-dirs.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/lib/aggregate.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/transpiler/lib/write-files.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/model/apis/index.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/model/apis/html-to-pdf-converter.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/model.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/back-links.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/util/helpers.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/check-complete.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/check-progress.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/check-session.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/csrf.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/apps/sandbox/fields.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/test/helpers/utilities.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/sandbox/apps/sandbox/behaviours/international-number.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/lib/encryption.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/session.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"],"/Users/savantdhindsa/git/hof/wizard/middleware/session-model.js":["b841d018-49f0-462a-8e8f-acb3d722cd3b"]},"externalIds":{}}
1
+ {"processes":{"4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5":{"parent":null,"children":[]}},"files":{"/Users/robertmccann/Projects/hof/model/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/address-lookup/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/address-lookup/default-model.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/address-lookup/defaults.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/clear-session/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/combine-and-loop-fields/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/date/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/date/fields.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/email-service.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/emailer.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/transports/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/transports/smtp.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/transports/ses.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/transports/stub.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/emailer/transports/debug.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/homeoffice-countries/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/config/component-defaults.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/notify/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/notify/notify.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/components/summary/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/config/rate-limits.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/rate-limiter.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/config/hof-defaults.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/base-controller.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/formatting/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/validation/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/validation/validators.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/validation/email.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/validation-error.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/autofill/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/autofill/inputs.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/test-data/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/countries.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/helpers/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/utilities/reqres/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/config/sanitisation-rules.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/formatting/formatters.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/behaviour-session.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/behaviour-hooks.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/controller/controller.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/template-mixins.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/render.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-mixins/mixins/helpers.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/govuk-template/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/govuk-template/build/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/govuk-template/build/config.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-partials/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/template-partials/translations/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/themes/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/themes/gov-uk/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/helpers.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/validation.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/frontend/toolkit/assets/javascript/character-count.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/cookies.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/errors.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/not-found.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/middleware/deep-translate.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/markdown.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/router.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/behaviours/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/behaviours/complete.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/util/constants.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/helpers.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/health.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/serve-static.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/ga-tag.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/sessions.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/settings.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/lib/logger.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/build/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/config/builder-defaults.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/lib/compile.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/lib/build.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/lib/expand-dirs.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/lib/aggregate.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/transpiler/lib/write-files.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/model/apis/index.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/model/apis/html-to-pdf-converter.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/model.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/middleware/back-links.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/util/helpers.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/middleware/check-complete.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/middleware/check-progress.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/middleware/check-session.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/wizard/middleware/csrf.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/fields.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/test/helpers/utilities.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"],"/Users/robertmccann/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5"]},"externalIds":{}}
@@ -17,17 +17,18 @@ module.exports = class PDFModel extends Model {
17
17
  }
18
18
 
19
19
  handleResponse(response, callback) {
20
- if (isPdf(Buffer.from(response.body))) {
21
- return this.parseResponse(response.statusCode, response.body, callback);
20
+ if (isPdf(Buffer.from(response.data))) {
21
+ return this.parseResponse(response.status, response.data, callback);
22
22
  }
23
23
  const err = new Error();
24
- if (parseInt(response.statusCode, 10) === 400) {
25
- err.title = response.body.code;
26
- err.message = response.body.message;
24
+
25
+ if (parseInt(response.status, 10) === 400) {
26
+ err.title = response.status;
27
+ err.message = response.statusText;
27
28
  } else {
28
- err.body = response.body;
29
+ err.body = response.data;
29
30
  }
30
- err.status = response.statusCode;
31
- return callback(err, null, response.statusCode);
31
+ err.status = response.status;
32
+ return callback(err, null, response.status);
32
33
  }
33
34
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "21.0.0-axios-beta",
4
+ "version": "21.0.1-axios-beta",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -0,0 +1,224 @@
1
+ {
2
+ "fields": {
3
+ "landing-page-radio": {
4
+ "legend": "Which form would you like to explore?",
5
+ "options": {
6
+ "basic-form": {
7
+ "label": "Basic form"
8
+ },
9
+ "complex-form": {
10
+ "label": "Complex form"
11
+ },
12
+ "build-your-own-form": {
13
+ "label": "Build your own form"
14
+ }
15
+ }
16
+ },
17
+ "name": {
18
+ "label": "Full name"
19
+ },
20
+ "dateOfBirth": {
21
+ "legend": "Date of birth",
22
+ "hint": "For example, 31 10 1990"
23
+ },
24
+ "building": {
25
+ "label": "Building and street"
26
+ },
27
+ "street": {
28
+ "label": "Address line 2"
29
+ },
30
+ "townOrCity": {
31
+ "label": "Town or city"
32
+ },
33
+ "postcode": {
34
+ "label": "Postcode"
35
+ },
36
+ "incomeTypes": {
37
+ "label": "Sources of income",
38
+ "legend": "Select the options where you receive income from",
39
+ "hint": "Select all options that apply to you.",
40
+ "options": {
41
+ "salary": {
42
+ "label": "Salary"
43
+ },
44
+ "universal_credit": {
45
+ "label": "Universal Credit"
46
+ },
47
+ "child_benefit": {
48
+ "label": "Child Benefit"
49
+ },
50
+ "housing_benefit": {
51
+ "label": "Housing Benefit"
52
+ },
53
+ "other": {
54
+ "label": "Other"
55
+ }
56
+ }
57
+ },
58
+ "countryOfHearing": {
59
+ "label": "Country of hearing",
60
+ "options": {
61
+ "englandAndWales": {
62
+ "label": "England and Wales"
63
+ },
64
+ "scotland": {
65
+ "label": "Scotland"
66
+ },
67
+ "northernIreland": {
68
+ "label": "Northern Ireland"
69
+ }
70
+ }
71
+ },
72
+ "email": {
73
+ "label": "Email address"
74
+ },
75
+ "phone": {
76
+ "label": "Phone number",
77
+ "hint": "International phone numbers require the international dialling code, for example +33235066182"
78
+ },
79
+ "int-phone-number": {
80
+ "legend": "International phone number"
81
+ },
82
+ "complaintDetails": {
83
+ "label": "Complaint details"
84
+ },
85
+ "countrySelect": {
86
+ "label": "Select a country",
87
+ "hint": "Start to type the country name and options will appear"
88
+ },
89
+ "appealStages": {
90
+ "label": "Appeal stage",
91
+ "options": {
92
+ "null": "Select..."
93
+ }
94
+ }
95
+ },
96
+ "journey": {
97
+ "header": "HOF Bootstrap Sandbox Form"
98
+ },
99
+ "pages": {
100
+ "landing-page": {
101
+ "header": "Landing page",
102
+ "intro": "Choose one of the options below and press continue."
103
+ },
104
+ "build-your-own-form": {
105
+ "title": "Build your own form",
106
+ "subheader": "Access the build your own form guidance link"
107
+ },
108
+ "name": {
109
+ "header": "What is your full name?"
110
+ },
111
+ "dob": {
112
+ "header": "What is your date of birth?"
113
+ },
114
+ "address": {
115
+ "header": "What is your address in the UK?",
116
+ "intro": "If you have no fixed address, enter an address where we can contact you."
117
+ },
118
+ "checkboxes": {
119
+ "header": "Where does your money come from each month?"
120
+ },
121
+ "radio": {
122
+ "header": "What country was the appeal lodged?"
123
+ },
124
+ "country-select": {
125
+ "header": "What country is your address located?"
126
+ },
127
+ "email": {
128
+ "header": "Enter your email address"
129
+ },
130
+ "phone-number": {
131
+ "header": "Enter your phone number"
132
+ },
133
+ "text-input-area": {
134
+ "header": "What are the details of your complaint?",
135
+ "intro": "Briefly summarise your complaint. Include anything that can help our investigation."
136
+ },
137
+ "select": {
138
+ "header": "What is the appeal stage?",
139
+ "intro": "Choose an appeal stage from the drop down menu"
140
+ },
141
+ "confirm": {
142
+ "header": "Check your answers before submitting your application.",
143
+ "sections": {
144
+ "applicantsDetails": {
145
+ "header": "Applicant's details"
146
+ },
147
+ "address": {
148
+ "header": "Address"
149
+ },
150
+ "income": {
151
+ "header": "Income"
152
+ },
153
+ "appealDetails": {
154
+ "header": "Appeal details"
155
+ },
156
+ "countrySelect": {
157
+ "header": "Country of residence"
158
+ },
159
+ "contactDetails": {
160
+ "header": "Contact details"
161
+ },
162
+ "complaintDetails": {
163
+ "header": "Complaint details"
164
+ }
165
+ }
166
+ },
167
+ "confirmation": {
168
+ "title": "Application sent",
169
+ "alert": "Application sent",
170
+ "subheader": "What happens next",
171
+ "content": "We’ll contact you with the decision of your application or if we need more information from you."
172
+ }
173
+ },
174
+ "validation": {
175
+ "landing-page-radio": {
176
+ "required": "Select an option below and press continue"
177
+ },
178
+ "name": {
179
+ "default": "Enter your full name"
180
+ },
181
+ "dateOfBirth": {
182
+ "default": "Enter your date of birth in the correct format; for example, 31 10 1990",
183
+ "after": "Enter a date after 1 1 1900",
184
+ "before": "Enter a date that is in the past"
185
+ },
186
+ "building": {
187
+ "default": "Enter details of your building and street"
188
+ },
189
+ "townOrCity": {
190
+ "default": "Enter a town or city",
191
+ "regex": "Enter a town or city without including digits"
192
+ },
193
+ "postcode": {
194
+ "default": "Enter your postcode"
195
+ },
196
+ "incomeTypes": {
197
+ "default": "Select all options that apply to you."
198
+ },
199
+ "countryOfHearing": {
200
+ "default": "Select where the appeal hearing is to be held"
201
+ },
202
+ "countrySelect": {
203
+ "default": "Enter a valid country of residence",
204
+ "required": "Enter your country of residence"
205
+ },
206
+ "email": {
207
+ "default": "Enter your email address in the correct format"
208
+ },
209
+ "phone": {
210
+ "default": "Enter your phone number"
211
+ },
212
+ "int-phone-number": {
213
+ "required": "Enter an international phone number",
214
+ "internationalPhoneNumber": "Enter a valid international phone number"
215
+ },
216
+ "complaintDetails": {
217
+ "default": "Enter details about why you are making a complaint",
218
+ "maxlength": "Keep to the 5000 character limit"
219
+ },
220
+ "appealStages": {
221
+ "required": "Select an appeal stage from the list"
222
+ }
223
+ }
224
+ }