hof 20.0.0-beta.1 → 20.0.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/.github/workflows/automate-publish.yml +1 -1
  2. package/.github/workflows/automate-tag.yml +1 -1
  3. package/.nyc_output/e2fdc3eb-4fd2-47e0-a392-fe5f665776a4.json +1 -0
  4. package/.nyc_output/processinfo/e2fdc3eb-4fd2-47e0-a392-fe5f665776a4.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -1
  6. package/build/lib/mkdir.js +2 -2
  7. package/components/date/index.js +37 -24
  8. package/components/date/templates/date.html +3 -3
  9. package/components/emailer/index.js +49 -41
  10. package/components/emailer/transports/debug.js +1 -2
  11. package/components/summary/index.js +18 -0
  12. package/config/hof-defaults.js +5 -3
  13. package/config/rate-limits.js +20 -0
  14. package/config/sanitisation-rules.js +29 -0
  15. package/controller/base-controller.js +26 -8
  16. package/controller/controller.js +11 -15
  17. package/frontend/govuk-template/build/config.js +1 -1
  18. package/frontend/template-mixins/mixins/template-mixins.js +8 -8
  19. package/frontend/template-mixins/partials/forms/checkbox-group.html +3 -3
  20. package/frontend/template-mixins/partials/forms/input-text-group.html +3 -3
  21. package/frontend/template-mixins/partials/forms/option-group.html +3 -3
  22. package/frontend/template-mixins/partials/forms/select.html +2 -2
  23. package/frontend/template-mixins/partials/forms/textarea-group.html +2 -2
  24. package/frontend/template-mixins/partials/mixins/panel.html +3 -4
  25. package/frontend/template-partials/translations/src/en/errors.json +12 -0
  26. package/frontend/template-partials/views/rate-limit-error.html +10 -0
  27. package/frontend/themes/gov-uk/client-js/govuk-cookies.js +43 -44
  28. package/frontend/themes/gov-uk/client-js/index.js +2 -2
  29. package/frontend/themes/gov-uk/client-js/skip-to-main.js +18 -17
  30. package/frontend/themes/gov-uk/styles/_cookie-banner.scss +51 -1
  31. package/frontend/toolkit/assets/javascript/form-focus.js +10 -1
  32. package/frontend/toolkit/assets/javascript/validation.js +6 -1
  33. package/index.js +9 -4
  34. package/lib/router.js +2 -1
  35. package/lib/settings.js +18 -2
  36. package/middleware/errors.js +32 -0
  37. package/middleware/index.js +2 -1
  38. package/middleware/rate-limiter.js +98 -0
  39. package/package.json +5 -6
  40. package/sandbox/.env +1 -1
  41. package/sandbox/apps/sandbox/fields.js +14 -9
  42. package/sandbox/apps/sandbox/index.js +1 -5
  43. package/sandbox/apps/sandbox/translations/en/default.json +4 -13
  44. package/sandbox/apps/sandbox/translations/src/en/fields.json +3 -2
  45. package/sandbox/apps/sandbox/translations/src/en/pages.json +2 -12
  46. package/sandbox/assets/scss/app.scss +0 -55
  47. package/sandbox/public/css/app.css +52 -62
  48. package/sandbox/public/js/bundle.js +79 -65
  49. package/sandbox/server.js +5 -0
  50. package/transpiler/lib/write-files.js +1 -2
  51. package/utilities/helpers/index.js +16 -1
  52. package/wizard/index.js +1 -0
  53. package/.nyc_output/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +0 -1
  54. package/.nyc_output/processinfo/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +0 -1
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: 'Get Previous tag'
22
22
  id: previoustag
23
23
  uses: "WyriHaximus/github-action-get-previous-tag@v1"
24
- - uses: borales/actions-yarn@v2.3.0
24
+ - uses: borales/actions-yarn@v3.0.0
25
25
  with:
26
26
  cmd: install --frozen-lockfile
27
27
  - run: |
@@ -18,7 +18,7 @@ jobs:
18
18
  uses: supercharge/redis-github-action@1.2.0
19
19
  with:
20
20
  redis-version: ${{ matrix.redis-version }}
21
- - uses: borales/actions-yarn@v2.3.0
21
+ - uses: borales/actions-yarn@v3.0.0
22
22
  with:
23
23
  cmd: install --frozen-lockfile
24
24
  - run: npm test