hof 20.3.11 → 21.0.0-axios-beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/.nyc_output/b841d018-49f0-462a-8e8f-acb3d722cd3b.json +1 -0
  2. package/.nyc_output/processinfo/b841d018-49f0-462a-8e8f-acb3d722cd3b.json +1 -0
  3. package/.nyc_output/processinfo/index.json +1 -1
  4. package/components/date/templates/date.html +1 -1
  5. package/config/hof-defaults.js +2 -5
  6. package/frontend/template-mixins/partials/forms/checkbox-group.html +1 -1
  7. package/frontend/template-mixins/partials/forms/option-group.html +1 -1
  8. package/frontend/template-mixins/partials/forms/textarea-group.html +4 -2
  9. package/frontend/template-partials/views/layout.html +1 -1
  10. package/frontend/template-partials/views/partials/cookie-banner.html +2 -2
  11. package/lib/health.js +1 -1
  12. package/lib/sessions.js +0 -2
  13. package/middleware/rate-limiter.js +1 -3
  14. package/model/index.js +27 -28
  15. package/package.json +5 -4
  16. package/sandbox/apps/sandbox/fields.js +0 -6
  17. package/sandbox/apps/sandbox/translations/src/en/fields.json +5 -5
  18. package/sandbox/apps/sandbox/translations/src/en/pages.json +1 -1
  19. package/sandbox/config.js +1 -2
  20. package/sandbox/server.js +1 -4
  21. package/sandbox/yarn.lock +3 -3
  22. package/.nyc_output/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +0 -1
  23. package/.nyc_output/processinfo/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +0 -1
  24. package/sandbox/apps/sandbox/translations/en/default.json +0 -220
  25. package/sandbox/dump.rdb +0 -0
  26. package/sandbox/public/css/app.css +0 -9387
  27. package/sandbox/public/images/icons/icon-caret-left.png +0 -0
  28. package/sandbox/public/images/icons/icon-complete.png +0 -0
  29. package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
  30. package/sandbox/public/js/bundle.js +0 -35664
@@ -1 +0,0 @@
1
- {"parent":null,"pid":12949,"argv":["/Users/chisomoguibe/.nvm/versions/node/v16.15.0/bin/node","/Users/chisomoguibe/Projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/chisomoguibe/Projects/hof","time":1684504635333,"ppid":12948,"coverageFilename":"/Users/chisomoguibe/Projects/hof/.nyc_output/b924df42-9cb6-4618-9a07-4f58f67ae28a.json","externalId":"","uuid":"b924df42-9cb6-4618-9a07-4f58f67ae28a","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"]}
@@ -1,220 +0,0 @@
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
- }
package/sandbox/dump.rdb DELETED
Binary file