govuk_publishing_components 38.2.0 → 38.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +4 -40
  3. data/app/views/govuk_publishing_components/components/_share_links.html.erb +2 -2
  4. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +7 -45
  5. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +2 -2
  6. data/config/locales/ar.yml +1 -1
  7. data/config/locales/az.yml +1 -1
  8. data/config/locales/be.yml +1 -1
  9. data/config/locales/bg.yml +1 -1
  10. data/config/locales/bn.yml +1 -1
  11. data/config/locales/cs.yml +1 -1
  12. data/config/locales/cy.yml +1 -1
  13. data/config/locales/da.yml +1 -1
  14. data/config/locales/de.yml +1 -1
  15. data/config/locales/dr.yml +1 -1
  16. data/config/locales/el.yml +1 -1
  17. data/config/locales/en.yml +1 -1
  18. data/config/locales/es-419.yml +1 -1
  19. data/config/locales/es.yml +1 -1
  20. data/config/locales/et.yml +1 -1
  21. data/config/locales/fa.yml +1 -1
  22. data/config/locales/fi.yml +1 -1
  23. data/config/locales/fr.yml +1 -1
  24. data/config/locales/gd.yml +1 -1
  25. data/config/locales/gu.yml +1 -1
  26. data/config/locales/he.yml +1 -1
  27. data/config/locales/hi.yml +1 -1
  28. data/config/locales/hr.yml +1 -1
  29. data/config/locales/hu.yml +1 -1
  30. data/config/locales/hy.yml +1 -1
  31. data/config/locales/id.yml +1 -1
  32. data/config/locales/is.yml +1 -1
  33. data/config/locales/it.yml +1 -1
  34. data/config/locales/ja.yml +1 -1
  35. data/config/locales/ka.yml +1 -1
  36. data/config/locales/kk.yml +1 -1
  37. data/config/locales/lt.yml +1 -1
  38. data/config/locales/lv.yml +1 -1
  39. data/config/locales/ms.yml +1 -1
  40. data/config/locales/mt.yml +1 -1
  41. data/config/locales/nl.yml +1 -1
  42. data/config/locales/no.yml +1 -1
  43. data/config/locales/pa-pk.yml +1 -1
  44. data/config/locales/pa.yml +1 -1
  45. data/config/locales/pl.yml +1 -1
  46. data/config/locales/ps.yml +1 -1
  47. data/config/locales/pt.yml +1 -1
  48. data/config/locales/ro.yml +1 -1
  49. data/config/locales/ru.yml +1 -1
  50. data/config/locales/si.yml +1 -1
  51. data/config/locales/sk.yml +1 -1
  52. data/config/locales/sl.yml +1 -1
  53. data/config/locales/so.yml +1 -1
  54. data/config/locales/sq.yml +1 -1
  55. data/config/locales/sr.yml +1 -1
  56. data/config/locales/sv.yml +1 -1
  57. data/config/locales/sw.yml +1 -1
  58. data/config/locales/ta.yml +1 -1
  59. data/config/locales/th.yml +1 -1
  60. data/config/locales/tk.yml +1 -1
  61. data/config/locales/tr.yml +1 -1
  62. data/config/locales/uk.yml +1 -1
  63. data/config/locales/ur.yml +1 -1
  64. data/config/locales/uz.yml +1 -1
  65. data/config/locales/vi.yml +1 -1
  66. data/config/locales/zh-hk.yml +1 -1
  67. data/config/locales/zh-tw.yml +1 -1
  68. data/config/locales/zh.yml +1 -1
  69. data/lib/govuk_publishing_components/version.rb +1 -1
  70. data/node_modules/axe-core/README.md +7 -3
  71. data/node_modules/axe-core/axe.js +11587 -10370
  72. data/node_modules/axe-core/axe.min.js +2 -2
  73. data/node_modules/axe-core/locales/_template.json +13 -5
  74. data/node_modules/axe-core/locales/da.json +3 -1
  75. data/node_modules/axe-core/locales/de.json +207 -31
  76. data/node_modules/axe-core/locales/el.json +1069 -0
  77. data/node_modules/axe-core/locales/es.json +3 -1
  78. data/node_modules/axe-core/locales/eu.json +3 -1
  79. data/node_modules/axe-core/locales/fr.json +3 -1
  80. data/node_modules/axe-core/locales/he.json +3 -1
  81. data/node_modules/axe-core/locales/it.json +1108 -0
  82. data/node_modules/axe-core/locales/ja.json +3 -1
  83. data/node_modules/axe-core/locales/ko.json +3 -1
  84. data/node_modules/axe-core/locales/no_NB.json +3 -1
  85. data/node_modules/axe-core/locales/pl.json +3 -1
  86. data/node_modules/axe-core/locales/pt_BR.json +3 -1
  87. data/node_modules/axe-core/locales/zh_CN.json +1116 -0
  88. data/node_modules/axe-core/locales/zh_TW.json +1108 -0
  89. data/node_modules/axe-core/package.json +19 -21
  90. data/node_modules/axe-core/sri-history.json +4 -0
  91. metadata +7 -3
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.8.4",
4
+ "version": "4.9.0",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -96,7 +96,8 @@
96
96
  "test:locales": "mocha test/test-locales.js",
97
97
  "test:virtual-rules": "mocha test/test-virtual-rules.js",
98
98
  "test:rule-help-version": "mocha test/test-rule-help-version.js",
99
- "test:node": "mocha test/node/*.js",
99
+ "test:node": "node test/node/node.js",
100
+ "test:jsdom": "mocha test/node/jsdom.js",
100
101
  "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
101
102
  "release": "git fetch origin --tags --force && standard-version -a",
102
103
  "rule-gen": "node build/rule-generator",
@@ -104,7 +105,7 @@
104
105
  "sri-update": "grunt build && node build/sri-update && git add sri-history.json",
105
106
  "sri-validate": "node build/sri-update --validate",
106
107
  "fmt": "prettier --write .",
107
- "prepare": "husky install",
108
+ "prepare": "husky",
108
109
  "prebuild": "node ./build/check-node-version.js",
109
110
  "pretest": "node ./build/check-node-version.js",
110
111
  "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
@@ -122,19 +123,20 @@
122
123
  "chai": "^4.3.7",
123
124
  "chalk": "^4.x",
124
125
  "chromedriver": "latest",
126
+ "clean-jsdoc-theme": "^4.2.17",
125
127
  "clone": "^2.1.2",
126
- "colorjs.io": "^0.4.3",
127
- "conventional-commits-parser": "^3.2.4",
128
+ "colorjs.io": "^0.5.0",
129
+ "conventional-commits-parser": "^5.0.0",
128
130
  "core-js": "^3.27.1",
129
131
  "css-selector-parser": "^1.4.1",
130
132
  "emoji-regex": "^10.2.1",
131
133
  "es6-promise": "^4.2.8",
132
134
  "esbuild": "^0.10.x",
133
135
  "eslint": "^8.31.0",
134
- "eslint-config-prettier": "^8.6.0",
136
+ "eslint-config-prettier": "^9.0.0",
135
137
  "eslint-plugin-mocha-no-only": "^1.1.1",
136
138
  "execa": "5.x",
137
- "globby": "11.x",
139
+ "glob": "^10.3.10",
138
140
  "grunt": "^1.5.3",
139
141
  "grunt-babel": "^8.0.0",
140
142
  "grunt-bytesize": "^0.2.0",
@@ -142,13 +144,13 @@
142
144
  "grunt-contrib-concat": "^2.1.0",
143
145
  "grunt-contrib-uglify": "^5.2.2",
144
146
  "grunt-contrib-watch": "^1.1.0",
145
- "html-entities": "1.x",
147
+ "html-entities": "^2.4.0",
146
148
  "http-server": "^14.1.1",
147
- "husky": "^8.0.3",
149
+ "husky": "^9.0.7",
148
150
  "inquirer": "^8.2.5",
149
151
  "jquery": "^3.6.3",
150
- "jsdoc": "^3.6.11",
151
- "jsdom": "^21.0.0",
152
+ "jsdoc": "^4.0.2",
153
+ "jsdom": "^24.0.0",
152
154
  "karma": "^6.4.1",
153
155
  "karma-chai": "^0.1.0",
154
156
  "karma-chrome-launcher": "^3.1.1",
@@ -157,28 +159,24 @@
157
159
  "karma-mocha": "^2.0.1",
158
160
  "karma-sinon": "^1.0.5",
159
161
  "karma-spec-reporter": "^0.0.36",
160
- "lint-staged": "^13.1.0",
161
- "make-dir": "^3.1.0",
162
- "markdown-table": "2.x",
162
+ "lint-staged": "^15.0.2",
163
163
  "memoizee": "^0.4.15",
164
- "minami": "^1.2.3",
165
164
  "mocha": "^10.2.0",
166
165
  "node-notifier": "^10.0.1",
167
166
  "npm-run-all": "^4.1.5",
168
167
  "outdent": "^0.8.0",
169
- "prettier": "^2.8.2",
170
- "proxyquire": "^2.1.3",
168
+ "prettier": "^3.0.3",
171
169
  "revalidator": "^0.3.1",
172
170
  "selenium-webdriver": "^4.7.1",
173
171
  "serve-handler": "^6.1.5",
174
- "sinon": "^15.0.1",
172
+ "sinon": "^17.0.0",
175
173
  "sri-toolbox": "^0.2.0",
176
174
  "standard-version": "^9.5.0",
177
- "start-server-and-test": "^1.15.2",
175
+ "start-server-and-test": "^2.0.1",
178
176
  "typedarray": "^0.0.7",
179
- "typescript": "^4.9.4",
177
+ "typescript": "^5.2.2",
180
178
  "uglify-js": "^3.17.4",
181
- "wcag-act-rules": "github:w3c/wcag-act-rules#2341a1b",
179
+ "wcag-act-rules": "github:w3c/wcag-act-rules#dc90495a5533d326b300ee5a9487afdfc6d493c0",
182
180
  "weakmap-polyfill": "^2.0.4"
183
181
  },
184
182
  "lint-staged": {
@@ -370,5 +370,9 @@
370
370
  "4.8.4": {
371
371
  "axe.js": "sha256-RRn+EjX3fX893zHeLzMQebvK4/HR3yZpVFNxsV3Pbm0=",
372
372
  "axe.min.js": "sha256-HXl1GEx0+LwVB27fLmwgdXCmeTM2beVwwFosWvFzLmo="
373
+ },
374
+ "4.9.0": {
375
+ "axe.js": "sha256-76H9rp5bFFzCQrHiNlIEZniM30DftZzZ5pUJd/ZG4Qg=",
376
+ "axe.min.js": "sha256-leYBst5Y3dlncZ2YVBpe5s//BhrMC7XbK9yhUCAyPNA="
373
377
  }
374
378
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 38.2.0
4
+ version: 38.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -305,7 +305,7 @@ dependencies:
305
305
  - !ruby/object:Gem::Version
306
306
  version: '0'
307
307
  - !ruby/object:Gem::Dependency
308
- name: uglifier
308
+ name: terser
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - ">="
@@ -964,16 +964,20 @@ files:
964
964
  - node_modules/axe-core/locales/_template.json
965
965
  - node_modules/axe-core/locales/da.json
966
966
  - node_modules/axe-core/locales/de.json
967
+ - node_modules/axe-core/locales/el.json
967
968
  - node_modules/axe-core/locales/es.json
968
969
  - node_modules/axe-core/locales/eu.json
969
970
  - node_modules/axe-core/locales/fr.json
970
971
  - node_modules/axe-core/locales/he.json
972
+ - node_modules/axe-core/locales/it.json
971
973
  - node_modules/axe-core/locales/ja.json
972
974
  - node_modules/axe-core/locales/ko.json
973
975
  - node_modules/axe-core/locales/nl.json
974
976
  - node_modules/axe-core/locales/no_NB.json
975
977
  - node_modules/axe-core/locales/pl.json
976
978
  - node_modules/axe-core/locales/pt_BR.json
979
+ - node_modules/axe-core/locales/zh_CN.json
980
+ - node_modules/axe-core/locales/zh_TW.json
977
981
  - node_modules/axe-core/package.json
978
982
  - node_modules/axe-core/sri-history.json
979
983
  - node_modules/govuk-frontend/README.md