hof 20.3.11 → 20.4.0-beta-session-timeout

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/.nyc_output/9651d42a-59d8-48e6-949c-655d9fa6db21.json +1 -0
  2. package/.nyc_output/processinfo/9651d42a-59d8-48e6-949c-655d9fa6db21.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 +10 -5
  6. package/frontend/govuk-template/build/govuk_template.html +17 -18
  7. package/frontend/govuk-template/govuk_template_generated.html +17 -18
  8. package/frontend/template-mixins/partials/forms/checkbox-group.html +1 -1
  9. package/frontend/template-mixins/partials/forms/option-group.html +1 -1
  10. package/frontend/template-mixins/partials/forms/textarea-group.html +3 -1
  11. package/frontend/template-partials/translations/src/en/buttons.json +1 -0
  12. package/frontend/template-partials/views/layout.html +2 -1
  13. package/frontend/template-partials/views/partials/cookie-banner.html +2 -2
  14. package/frontend/template-partials/views/partials/gatag.html +0 -1
  15. package/frontend/template-partials/views/partials/head.html +23 -0
  16. package/frontend/template-partials/views/partials/session-timeout-warning.html +26 -0
  17. package/frontend/themes/gov-uk/client-js/dialog/index.js +358 -0
  18. package/frontend/themes/gov-uk/client-js/dialog/utils.js +114 -0
  19. package/frontend/themes/gov-uk/client-js/index.js +1 -0
  20. package/frontend/themes/gov-uk/styles/govuk.scss +1 -0
  21. package/frontend/themes/gov-uk/styles/session_timeout.scss +138 -0
  22. package/lib/ga-tag.js +33 -7
  23. package/lib/health.js +1 -1
  24. package/lib/sessions.js +0 -2
  25. package/middleware/cookies.js +2 -0
  26. package/middleware/rate-limiter.js +1 -3
  27. package/package.json +5 -5
  28. package/sandbox/apps/sandbox/fields.js +0 -6
  29. package/sandbox/apps/sandbox/translations/src/en/fields.json +5 -5
  30. package/sandbox/apps/sandbox/translations/src/en/pages.json +1 -1
  31. package/sandbox/config.js +1 -2
  32. package/sandbox/public/js/bundle.js +965 -1130
  33. package/sandbox/server.js +1 -4
  34. package/sandbox/yarn.lock +3 -3
  35. package/.nyc_output/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +0 -1
  36. package/.nyc_output/processinfo/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +0 -1
  37. package/sandbox/dump.rdb +0 -0
package/sandbox/server.js CHANGED
@@ -2,7 +2,6 @@
2
2
  'use strict';
3
3
 
4
4
  const bootstrap = require('../');
5
- const config = require('./config')
6
5
 
7
6
  bootstrap({
8
7
  translations: './apps/sandbox/translations',
@@ -15,7 +14,5 @@ bootstrap({
15
14
  }
16
15
  },
17
16
  getAccessibility: true,
18
- "port": config.port
17
+ "port": 8082
19
18
  });
20
-
21
- console.log(`Running on port ${config.port}`);
package/sandbox/yarn.lock CHANGED
@@ -202,9 +202,9 @@ sass@^1.53.0:
202
202
  source-map-js ">=0.6.2 <2.0.0"
203
203
 
204
204
  semver@^5.7.1:
205
- version "5.7.1"
206
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
207
- integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
205
+ version "5.7.2"
206
+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
207
+ integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
208
208
 
209
209
  semver@~7.0.0:
210
210
  version "7.0.0"