hof 22.9.1 → 22.11.0-frontend-v4-beta.1

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +30 -0
  3. package/components/date/templates/date.html +1 -1
  4. package/config/hof-defaults.js +7 -1
  5. package/frontend/govuk-template/build/govuk_template.html +69 -22
  6. package/frontend/govuk-template/govuk_template_generated.html +149 -0
  7. package/frontend/template-mixins/mixins/template-mixins.js +5 -4
  8. package/frontend/template-mixins/partials/forms/checkbox.html +5 -1
  9. package/frontend/template-mixins/partials/forms/input-text-date.html +2 -1
  10. package/frontend/template-mixins/partials/forms/input-text-group.html +1 -1
  11. package/frontend/template-mixins/partials/forms/textarea-group.html +1 -1
  12. package/frontend/template-partials/translations/src/en/cookies.json +2 -2
  13. package/frontend/template-partials/views/cookies.html +6 -6
  14. package/frontend/template-partials/views/layout.html +3 -9
  15. package/frontend/template-partials/views/partials/cookie-banner.html +50 -28
  16. package/frontend/template-partials/views/partials/navigation.html +2 -2
  17. package/frontend/themes/gov-uk/client-js/cookieSettings.js +36 -24
  18. package/frontend/themes/gov-uk/styles/_cookie-banner.scss +0 -3
  19. package/lib/settings.js +2 -0
  20. package/package.json +6 -7
  21. package/sandbox/apps/sandbox/translations/en/default.json +245 -0
  22. package/sandbox/package.json +1 -1
  23. package/sandbox/public/css/app.css +11196 -0
  24. package/sandbox/public/images/icons/icon-caret-left.png +0 -0
  25. package/sandbox/public/images/icons/icon-complete.png +0 -0
  26. package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
  27. package/sandbox/public/js/bundle.js +39258 -0
  28. package/sandbox/yarn.lock +166 -59
  29. package/.editorconfig +0 -10
  30. package/.github/workflows/automate-publish.yml +0 -38
  31. package/.github/workflows/automate-tag.yml +0 -78
  32. package/.istanbul.yml +0 -20
  33. package/codeReviewChecklist.md +0 -22
  34. package/pull_request_template.md +0 -16
package/sandbox/yarn.lock CHANGED
@@ -2,15 +2,99 @@
2
2
  # yarn lockfile v1
3
3
 
4
4
 
5
- abbrev@1:
6
- version "1.1.1"
7
- resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
8
- integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
5
+ "@parcel/watcher-android-arm64@2.5.1":
6
+ version "2.5.1"
7
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz#507f836d7e2042f798c7d07ad19c3546f9848ac1"
8
+ integrity sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==
9
+
10
+ "@parcel/watcher-darwin-arm64@2.5.1":
11
+ version "2.5.1"
12
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz#3d26dce38de6590ef79c47ec2c55793c06ad4f67"
13
+ integrity sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==
14
+
15
+ "@parcel/watcher-darwin-x64@2.5.1":
16
+ version "2.5.1"
17
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz#99f3af3869069ccf774e4ddfccf7e64fd2311ef8"
18
+ integrity sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==
19
+
20
+ "@parcel/watcher-freebsd-x64@2.5.1":
21
+ version "2.5.1"
22
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz#14d6857741a9f51dfe51d5b08b7c8afdbc73ad9b"
23
+ integrity sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==
24
+
25
+ "@parcel/watcher-linux-arm-glibc@2.5.1":
26
+ version "2.5.1"
27
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz#43c3246d6892381db473bb4f663229ad20b609a1"
28
+ integrity sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==
29
+
30
+ "@parcel/watcher-linux-arm-musl@2.5.1":
31
+ version "2.5.1"
32
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz#663750f7090bb6278d2210de643eb8a3f780d08e"
33
+ integrity sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==
34
+
35
+ "@parcel/watcher-linux-arm64-glibc@2.5.1":
36
+ version "2.5.1"
37
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz#ba60e1f56977f7e47cd7e31ad65d15fdcbd07e30"
38
+ integrity sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==
39
+
40
+ "@parcel/watcher-linux-arm64-musl@2.5.1":
41
+ version "2.5.1"
42
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz#f7fbcdff2f04c526f96eac01f97419a6a99855d2"
43
+ integrity sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==
44
+
45
+ "@parcel/watcher-linux-x64-glibc@2.5.1":
46
+ version "2.5.1"
47
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz#4d2ea0f633eb1917d83d483392ce6181b6a92e4e"
48
+ integrity sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==
49
+
50
+ "@parcel/watcher-linux-x64-musl@2.5.1":
51
+ version "2.5.1"
52
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz#277b346b05db54f55657301dd77bdf99d63606ee"
53
+ integrity sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==
54
+
55
+ "@parcel/watcher-win32-arm64@2.5.1":
56
+ version "2.5.1"
57
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz#7e9e02a26784d47503de1d10e8eab6cceb524243"
58
+ integrity sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==
59
+
60
+ "@parcel/watcher-win32-ia32@2.5.1":
61
+ version "2.5.1"
62
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz#2d0f94fa59a873cdc584bf7f6b1dc628ddf976e6"
63
+ integrity sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==
64
+
65
+ "@parcel/watcher-win32-x64@2.5.1":
66
+ version "2.5.1"
67
+ resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz#ae52693259664ba6f2228fa61d7ee44b64ea0947"
68
+ integrity sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==
69
+
70
+ "@parcel/watcher@^2.4.1":
71
+ version "2.5.1"
72
+ resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.5.1.tgz#342507a9cfaaf172479a882309def1e991fb1200"
73
+ integrity sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==
74
+ dependencies:
75
+ detect-libc "^1.0.3"
76
+ is-glob "^4.0.3"
77
+ micromatch "^4.0.5"
78
+ node-addon-api "^7.0.0"
79
+ optionalDependencies:
80
+ "@parcel/watcher-android-arm64" "2.5.1"
81
+ "@parcel/watcher-darwin-arm64" "2.5.1"
82
+ "@parcel/watcher-darwin-x64" "2.5.1"
83
+ "@parcel/watcher-freebsd-x64" "2.5.1"
84
+ "@parcel/watcher-linux-arm-glibc" "2.5.1"
85
+ "@parcel/watcher-linux-arm-musl" "2.5.1"
86
+ "@parcel/watcher-linux-arm64-glibc" "2.5.1"
87
+ "@parcel/watcher-linux-arm64-musl" "2.5.1"
88
+ "@parcel/watcher-linux-x64-glibc" "2.5.1"
89
+ "@parcel/watcher-linux-x64-musl" "2.5.1"
90
+ "@parcel/watcher-win32-arm64" "2.5.1"
91
+ "@parcel/watcher-win32-ia32" "2.5.1"
92
+ "@parcel/watcher-win32-x64" "2.5.1"
9
93
 
10
94
  anymatch@~3.1.2:
11
- version "3.1.2"
12
- resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716"
13
- integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==
95
+ version "3.1.3"
96
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
97
+ integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
14
98
  dependencies:
15
99
  normalize-path "^3.0.0"
16
100
  picomatch "^2.0.4"
@@ -21,29 +105,29 @@ balanced-match@^1.0.0:
21
105
  integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
22
106
 
23
107
  binary-extensions@^2.0.0:
24
- version "2.2.0"
25
- resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
26
- integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
108
+ version "2.3.0"
109
+ resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522"
110
+ integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==
27
111
 
28
112
  brace-expansion@^1.1.7:
29
- version "1.1.11"
30
- resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
31
- integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
113
+ version "1.1.12"
114
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843"
115
+ integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==
32
116
  dependencies:
33
117
  balanced-match "^1.0.0"
34
118
  concat-map "0.0.1"
35
119
 
36
- braces@~3.0.2:
120
+ braces@^3.0.3, braces@~3.0.2:
37
121
  version "3.0.3"
38
122
  resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
39
123
  integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
40
124
  dependencies:
41
125
  fill-range "^7.1.1"
42
126
 
43
- "chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.2:
44
- version "3.5.3"
45
- resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"
46
- integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==
127
+ chokidar@^3.5.2:
128
+ version "3.6.0"
129
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b"
130
+ integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==
47
131
  dependencies:
48
132
  anymatch "~3.1.2"
49
133
  braces "~3.0.2"
@@ -55,6 +139,13 @@ braces@~3.0.2:
55
139
  optionalDependencies:
56
140
  fsevents "~2.3.2"
57
141
 
142
+ chokidar@^4.0.0:
143
+ version "4.0.3"
144
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.3.tgz#7be37a4c03c9aee1ecfe862a4a23b2c70c205d30"
145
+ integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==
146
+ dependencies:
147
+ readdirp "^4.0.1"
148
+
58
149
  concat-map@0.0.1:
59
150
  version "0.0.1"
60
151
  resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -67,6 +158,11 @@ debug@^3.2.7:
67
158
  dependencies:
68
159
  ms "^2.1.1"
69
160
 
161
+ detect-libc@^1.0.3:
162
+ version "1.0.3"
163
+ resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
164
+ integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==
165
+
70
166
  fill-range@^7.1.1:
71
167
  version "7.1.1"
72
168
  resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
@@ -75,9 +171,9 @@ fill-range@^7.1.1:
75
171
  to-regex-range "^5.0.1"
76
172
 
77
173
  fsevents@~2.3.2:
78
- version "2.3.2"
79
- resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
80
- integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
174
+ version "2.3.3"
175
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
176
+ integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
81
177
 
82
178
  glob-parent@~5.1.2:
83
179
  version "5.1.2"
@@ -86,10 +182,10 @@ glob-parent@~5.1.2:
86
182
  dependencies:
87
183
  is-glob "^4.0.1"
88
184
 
89
- govuk-frontend@3.14:
90
- version "3.14.0"
91
- resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-3.14.0.tgz#d3a9c54437c08f5188f87b1f4480ba60e95c8eb6"
92
- integrity sha512-y7FTuihCSA8Hty+e9h0uPhCoNanCAN+CLioNFlPmlbeHXpbi09VMyxTcH+XfnMPY4Cp++7096v0rLwwdapTXnA==
185
+ govuk-frontend@4.10.1:
186
+ version "4.10.1"
187
+ resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-4.10.1.tgz#a67a680f34339c210d59ed0f6c473af29c975744"
188
+ integrity sha512-k7wKjPpLovQlfOiBt0A3RHQCpNagOR8xpfMgvTEQkX6Id5njYNzQTsBvpArDKAxI2174csv2uzn02py02zTVLA==
93
189
 
94
190
  has-flag@^3.0.0:
95
191
  version "3.0.0"
@@ -101,10 +197,10 @@ ignore-by-default@^1.0.1:
101
197
  resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
102
198
  integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==
103
199
 
104
- immutable@^4.0.0:
105
- version "4.1.0"
106
- resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.1.0.tgz#f795787f0db780183307b9eb2091fcac1f6fafef"
107
- integrity sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==
200
+ immutable@^5.0.2:
201
+ version "5.1.3"
202
+ resolved "https://registry.yarnpkg.com/immutable/-/immutable-5.1.3.tgz#e6486694c8b76c37c063cca92399fa64098634d4"
203
+ integrity sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==
108
204
 
109
205
  is-binary-path@~2.1.0:
110
206
  version "2.1.0"
@@ -118,7 +214,7 @@ is-extglob@^2.1.1:
118
214
  resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
119
215
  integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
120
216
 
121
- is-glob@^4.0.1, is-glob@~4.0.1:
217
+ is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:
122
218
  version "4.0.3"
123
219
  resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
124
220
  integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
@@ -135,7 +231,15 @@ jquery@>=1.11, jquery@^3.7.1:
135
231
  resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de"
136
232
  integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==
137
233
 
138
- minimatch@^3.0.4:
234
+ micromatch@^4.0.5:
235
+ version "4.0.8"
236
+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
237
+ integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
238
+ dependencies:
239
+ braces "^3.0.3"
240
+ picomatch "^2.3.1"
241
+
242
+ minimatch@^3.1.2:
139
243
  version "3.1.2"
140
244
  resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
141
245
  integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
@@ -147,15 +251,20 @@ ms@^2.1.1:
147
251
  resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
148
252
  integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
149
253
 
254
+ node-addon-api@^7.0.0:
255
+ version "7.1.1"
256
+ resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558"
257
+ integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==
258
+
150
259
  nodemon@^2.0.15:
151
- version "2.0.19"
152
- resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.19.tgz#cac175f74b9cb8b57e770d47841995eebe4488bd"
153
- integrity sha512-4pv1f2bMDj0Eeg/MhGqxrtveeQ5/G/UVe9iO6uTZzjnRluSA4PVWf8CW99LUPwGB3eNIA7zUFoP77YuI7hOc0A==
260
+ version "2.0.22"
261
+ resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.22.tgz#182c45c3a78da486f673d6c1702e00728daf5258"
262
+ integrity sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==
154
263
  dependencies:
155
264
  chokidar "^3.5.2"
156
265
  debug "^3.2.7"
157
266
  ignore-by-default "^1.0.1"
158
- minimatch "^3.0.4"
267
+ minimatch "^3.1.2"
159
268
  pstree.remy "^1.1.8"
160
269
  semver "^5.7.1"
161
270
  simple-update-notifier "^1.0.7"
@@ -163,19 +272,12 @@ nodemon@^2.0.15:
163
272
  touch "^3.1.0"
164
273
  undefsafe "^2.0.5"
165
274
 
166
- nopt@~1.0.10:
167
- version "1.0.10"
168
- resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
169
- integrity sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==
170
- dependencies:
171
- abbrev "1"
172
-
173
275
  normalize-path@^3.0.0, normalize-path@~3.0.0:
174
276
  version "3.0.0"
175
277
  resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
176
278
  integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
177
279
 
178
- picomatch@^2.0.4, picomatch@^2.2.1:
280
+ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
179
281
  version "2.3.1"
180
282
  resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
181
283
  integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
@@ -185,6 +287,11 @@ pstree.remy@^1.1.8:
185
287
  resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a"
186
288
  integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==
187
289
 
290
+ readdirp@^4.0.1:
291
+ version "4.1.2"
292
+ resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.1.2.tgz#eb85801435fbf2a7ee58f19e0921b068fc69948d"
293
+ integrity sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==
294
+
188
295
  readdirp@~3.6.0:
189
296
  version "3.6.0"
190
297
  resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
@@ -193,13 +300,15 @@ readdirp@~3.6.0:
193
300
  picomatch "^2.2.1"
194
301
 
195
302
  sass@^1.53.0:
196
- version "1.54.5"
197
- resolved "https://registry.yarnpkg.com/sass/-/sass-1.54.5.tgz#93708f5560784f6ff2eab8542ade021a4a947b3a"
198
- integrity sha512-p7DTOzxkUPa/63FU0R3KApkRHwcVZYC0PLnLm5iyZACyp15qSi32x7zVUhRdABAATmkALqgGrjCJAcWvobmhHw==
303
+ version "1.92.1"
304
+ resolved "https://registry.yarnpkg.com/sass/-/sass-1.92.1.tgz#07fb1fec5647d7b712685d1090628bf52456fe86"
305
+ integrity sha512-ffmsdbwqb3XeyR8jJR6KelIXARM9bFQe8A6Q3W4Klmwy5Ckd5gz7jgUNHo4UOqutU5Sk1DtKLbpDP0nLCg1xqQ==
199
306
  dependencies:
200
- chokidar ">=3.0.0 <4.0.0"
201
- immutable "^4.0.0"
307
+ chokidar "^4.0.0"
308
+ immutable "^5.0.2"
202
309
  source-map-js ">=0.6.2 <2.0.0"
310
+ optionalDependencies:
311
+ "@parcel/watcher" "^2.4.1"
203
312
 
204
313
  semver@^5.7.1:
205
314
  version "5.7.2"
@@ -212,16 +321,16 @@ semver@~7.0.0:
212
321
  integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
213
322
 
214
323
  simple-update-notifier@^1.0.7:
215
- version "1.0.7"
216
- resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.0.7.tgz#7edf75c5bdd04f88828d632f762b2bc32996a9cc"
217
- integrity sha512-BBKgR84BJQJm6WjWFMHgLVuo61FBDSj1z/xSFUIozqO6wO7ii0JxCqlIud7Enr/+LhlbNI0whErq96P2qHNWew==
324
+ version "1.1.0"
325
+ resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz#67694c121de354af592b347cdba798463ed49c82"
326
+ integrity sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==
218
327
  dependencies:
219
328
  semver "~7.0.0"
220
329
 
221
330
  "source-map-js@>=0.6.2 <2.0.0":
222
- version "1.0.2"
223
- resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
224
- integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
331
+ version "1.2.1"
332
+ resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
333
+ integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
225
334
 
226
335
  supports-color@^5.5.0:
227
336
  version "5.5.0"
@@ -238,11 +347,9 @@ to-regex-range@^5.0.1:
238
347
  is-number "^7.0.0"
239
348
 
240
349
  touch@^3.1.0:
241
- version "3.1.0"
242
- resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
243
- integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==
244
- dependencies:
245
- nopt "~1.0.10"
350
+ version "3.1.1"
351
+ resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.1.tgz#097a23d7b161476435e5c1344a95c0f75b4a5694"
352
+ integrity sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==
246
353
 
247
354
  typeahead-aria@^1.0.4:
248
355
  version "1.0.4"
package/.editorconfig DELETED
@@ -1,10 +0,0 @@
1
- # EditorConfig is awesome: http://EditorConfig.org
2
- root = true
3
-
4
- # Unix-style newlines with a newline ending every file
5
- [*]
6
- end_of_line = lf
7
- insert_final_newline = true
8
- charset = utf-8
9
- indent_style = space
10
- indent_size = 2
@@ -1,38 +0,0 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
- name: Automate_Publish
4
- on:
5
- workflow_run:
6
- workflows: ["Automate_Tag"]
7
- types:
8
- - completed
9
- jobs:
10
- auto-publish:
11
- runs-on: ubuntu-22.04
12
- if: startsWith(github.ref, 'refs/heads/master')
13
- steps:
14
- - uses: actions/checkout@v4
15
- with:
16
- fetch-depth: 0
17
- - uses: actions/setup-node@v4
18
- with:
19
- node-version: 20
20
- registry-url: https://registry.npmjs.org/
21
- - name: 'Get Previous tag'
22
- id: previoustag
23
- uses: "WyriHaximus/github-action-get-previous-tag@v1"
24
- - uses: borales/actions-yarn@v3.0.0
25
- with:
26
- cmd: install --frozen-lockfile
27
- - run: |
28
- npm_tag="v$(npm dist-tags | cut -d' ' -f 2)"
29
- git_tag="$(git describe --tags | cut -d'-' -f 1)"
30
- if [ "$npm_tag" != "$git_tag" ] ; then npm publish; fi
31
- env:
32
- NODE_AUTH_TOKEN: ${{ secrets.npm_bot_token }}
33
- - name: 'Publish Release'
34
- uses: Roang-zero1/github-create-release-action@master
35
- with:
36
- created_tag: ${{ steps.previoustag.outputs.tag }}
37
- env:
38
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,78 +0,0 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
- name: Automate_Tag
4
- on: [push]
5
- jobs:
6
- test:
7
- runs-on: ubuntu-22.04
8
- strategy:
9
- matrix:
10
- node-version: [20.x]
11
- redis-version: [4, 5, 6]
12
- steps:
13
- - uses: actions/checkout@v4
14
- - uses: actions/setup-node@v4
15
- with:
16
- node-version: ${{ matrix.node-version }}
17
- - name: Start Redis
18
- uses: supercharge/redis-github-action@1.2.0
19
- with:
20
- redis-version: ${{ matrix.redis-version }}
21
- - uses: borales/actions-yarn@v3.0.0
22
- with:
23
- cmd: install --frozen-lockfile
24
- - run: npm test
25
-
26
- auto-tag-patch:
27
- needs: test
28
- runs-on: ubuntu-22.04
29
- if: |
30
- startsWith(github.ref, 'refs/heads/master') &&
31
- !contains(github.event.head_commit.message, '[MAJOR]') &&
32
- !contains(github.event.head_commit.message, '[MINOR]')
33
- steps:
34
- - uses: actions/checkout@v4
35
- - uses: actions/setup-node@v4
36
- with:
37
- node-version: 20
38
- registry-url: https://registry.npmjs.org/
39
- - run: |
40
- git config --local user.email "$(git log --format='%ae' HEAD^!)"
41
- git config --local user.name "$(git log --format='%an' HEAD^!)"
42
- npm version patch
43
-
44
- auto-tag-minor:
45
- needs: test
46
- runs-on: ubuntu-22.04
47
- if: |
48
- startsWith(github.ref, 'refs/heads/master') &&
49
- !contains(github.event.head_commit.message, '[MAJOR]') &&
50
- contains(github.event.head_commit.message, '[MINOR]')
51
- steps:
52
- - uses: actions/checkout@v4
53
- - uses: actions/setup-node@v4
54
- with:
55
- node-version: 20
56
- registry-url: https://registry.npmjs.org/
57
- - run: |
58
- git config --local user.email "$(git log --format='%ae' HEAD^!)"
59
- git config --local user.name "$(git log --format='%an' HEAD^!)"
60
- npm version minor
61
-
62
- auto-tag-major:
63
- needs: test
64
- runs-on: ubuntu-22.04
65
- if: |
66
- startsWith(github.ref, 'refs/heads/master') &&
67
- contains(github.event.head_commit.message, '[MAJOR]') &&
68
- !contains(github.event.head_commit.message, '[MINOR]')
69
- steps:
70
- - uses: actions/checkout@v4
71
- - uses: actions/setup-node@v4
72
- with:
73
- node-version: 20
74
- registry-url: https://registry.npmjs.org/
75
- - run: |
76
- git config --local user.email "$(git log --format='%ae' HEAD^!)"
77
- git config --local user.name "$(git log --format='%an' HEAD^!)"
78
- npm version major
package/.istanbul.yml DELETED
@@ -1,20 +0,0 @@
1
- instrumentation:
2
- root: .
3
- extensions:
4
- - .js
5
- default-excludes: true
6
- include-all-sources: true
7
- check:
8
- global:
9
- statements: 80
10
- lines: 80
11
- branches: 80
12
- functions: 80
13
- reporting:
14
- print: summary
15
- reports:
16
- - html
17
- dir: ./coverage
18
- report-config:
19
- html:
20
- dir: coverage
@@ -1,22 +0,0 @@
1
- # HOF code review checklist v1.0
2
-
3
- This is a general guide on what you should check for when reviewing another team member's code.
4
-
5
- ## Fundamental checks
6
- - [ ] Check for code format
7
- - [ ] Check for duplicate code
8
- - [ ] Check for if there are existing components in the framework already
9
- - [ ] Check for copy and paste
10
- - [ ] Check code readability (if the class, function and variable names are making sense, avoid using acronyms, check for simplicity, avoid complexity)
11
- - [ ] Check if user inputs are sanitized
12
- - [ ] Check if errors are handled
13
- - [ ] Check if null / undefined values are checked before actions are performed on a variable (May not always be necessary)
14
- - [ ] Check for performance (are there logic in loops that doesn't have to be executed each time? Could some tasks be added to a queue and performed later? etc)
15
-
16
- ## Advanced (optional if the ticket is low / medium impact) checks
17
- - [ ] Check if the code is following SOLID principle, code maintainability
18
- - [ ] Check if none functional requirements are needed (for example, should an audit log be stored for an action performed)
19
- - [ ] Check the performance and efficiency of the tests
20
- - [ ] Check to avoid the use of operations that only work in javascript (e.g. using && to return the object on the right if the statement on the left is true)
21
-
22
-
@@ -1,16 +0,0 @@
1
- ## What?
2
- ## Why?
3
- ## How?
4
- ## Testing?
5
- ## Screenshots (optional)
6
- ## Anything Else? (optional)
7
- ## Check list
8
-
9
- - [ ] I have reviewed my own pull request for linting issues (e.g. adding new lines)
10
- - [ ] I have written tests (if relevant)
11
- - [ ] I have created a JIRA number for my branch
12
- - [ ] I have created a JIRA number for my commit
13
- - [ ] I have followed the chris beams method for my commit https://cbea.ms/git-commit/
14
- here is an [example commit](https://github.com/UKHomeOfficeForms/hof/commit/810959f391187c7c4af6db262bcd143b50093a6e)
15
- - [ ] Ensure workflow jobs are passing especially tests
16
- - [ ] I will squash the commits before merging