hof 21.0.0-axios-beta → 21.0.0-axios-beta.2

Sign up to get free protection for your applications and to get access to all the features.
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.0-axios-beta.2",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -33,7 +33,7 @@
33
33
  "test:cucumber": "cucumber-js -f @cucumber/pretty-formatter \"sandbox/test/_features/**/*.feature\" --require sandbox/test/_features/test.setup.js --require \"sandbox/test/_features/step_definitions/**/*.js\" --tags $TAGS",
34
34
  "ci": "travis-conditions",
35
35
  "postversion": "git push && git push --tags",
36
- "test-single":"mocha"
36
+ "test-single": "mocha"
37
37
  },
38
38
  "dependencies": {
39
39
  "aliasify": "^2.1.0",
@@ -59,7 +59,7 @@
59
59
  "findup": "^0.1.5",
60
60
  "glob": "^7.2.0",
61
61
  "govuk-elements-sass": "^3.1.3",
62
- "govuk-frontend": "3.14",
62
+ "govuk-frontend": "3.15",
63
63
  "govuk_template_mustache": "^0.26.0",
64
64
  "helmet": "^3.22.0",
65
65
  "hogan-express-strict": "^0.5.4",
@@ -68,7 +68,7 @@
68
68
  "i18n-future": "^2.0.0",
69
69
  "i18n-lookup": "^0.1.0",
70
70
  "is-pdf": "^1.0.0",
71
- "libphonenumber-js": "^1.9.37",
71
+ "libphonenumber-js": "^1.9.44",
72
72
  "lodash": "^4.17.21",
73
73
  "markdown-it": "^12.3.2",
74
74
  "minimatch": "^3.0.7",
@@ -82,6 +82,7 @@
82
82
  "nodemailer-smtp-transport": "^2.7.4",
83
83
  "nodemailer-stub-transport": "^1.1.0",
84
84
  "notifications-node-client": "^6.0.0",
85
+ "object-mapper": "^6.2.0",
85
86
  "redis": "^3.1.2",
86
87
  "reqres": "^3.0.1",
87
88
  "rimraf": "^3.0.2",
@@ -97,6 +98,7 @@
97
98
  "@cucumber/cucumber": "^7.3.0",
98
99
  "@cucumber/pretty-formatter": "^1.0.0-alpha.1",
99
100
  "@types/jest": "^26.0.14",
101
+ "@xmldom/xmldom": "~0.8.4",
100
102
  "chai": "^3.5.0",
101
103
  "chai-as-promised": "^7.1.1",
102
104
  "chai-subset": "^1.6.0",
@@ -123,14 +125,13 @@
123
125
  "playwright": "^1.16.3",
124
126
  "postcode": "0.2.2",
125
127
  "proxyquire": "^1.7.11",
126
- "release-it": "^14.10.0",
128
+ "release-it": "^16.2.1",
127
129
  "sinon": "^11.1.1",
128
130
  "sinon-chai": "^3.7.0",
129
131
  "supertest": "^3.0.0",
130
132
  "travis-conditions": "0.0.0",
131
133
  "watchify": "^4.0.0",
132
- "webdriverio": "^4.14.4",
133
- "xmldom": "^0.6.0"
134
+ "webdriverio": "^4.14.4"
134
135
  },
135
136
  "mocha": {
136
137
  "reporter": "spec",
@@ -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
+ }