govuk_publishing_components 31.2.0 → 32.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/action-link-arrow--blue.svg +8 -2
- data/app/assets/javascripts/govuk_publishing_components/analytics/track-click.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-ecommerce-tracker.js +10 -5
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-event-tracker.js +2 -2
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +10 -3
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +25 -1
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +19 -12
- data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +10 -2
- data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +1 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +7 -6
- data/node_modules/axe-core/axe.d.ts +1 -0
- data/node_modules/axe-core/axe.js +8911 -7204
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +1067 -0
- data/node_modules/axe-core/locales/fr.json +1 -1
- data/node_modules/axe-core/locales/he.json +1015 -0
- data/node_modules/axe-core/locales/no_NB.json +797 -0
- data/node_modules/axe-core/package.json +57 -59
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +5 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "axe-core",
|
3
3
|
"description": "Accessibility engine for automated Web UI testing",
|
4
|
-
"version": "4.
|
4
|
+
"version": "4.5.0",
|
5
5
|
"license": "MPL-2.0",
|
6
6
|
"engines": {
|
7
7
|
"node": ">=4"
|
@@ -86,14 +86,11 @@
|
|
86
86
|
"integration:apg": "mocha test/aria-practices/*.spec.js",
|
87
87
|
"integration:chrome": "npm run integration -- browser=Chrome",
|
88
88
|
"integration:firefox": "npm run integration -- browser=Firefox",
|
89
|
-
"integration:ie": "npm run integration -- browser=IE",
|
90
89
|
"test:integration": "npm run test:integration:chrome",
|
91
90
|
"test:integration:chrome": "start-server-and-test 9876 integration:chrome",
|
92
91
|
"test:integration:firefox": "start-server-and-test 9876 integration:firefox",
|
93
|
-
"test:integration:ie": "start-server-and-test 9876 integration:ie",
|
94
92
|
"test:examples": "node ./doc/examples/test-examples",
|
95
|
-
"test:act": "
|
96
|
-
"test:act:debug": "npm run test:act -- --no-single-run --browsers=Chrome",
|
93
|
+
"test:act": "mocha test/act-rules/*.spec.js",
|
97
94
|
"test:apg": "start-server-and-test 9876 integration:apg",
|
98
95
|
"test:locales": "mocha test/test-locales.js",
|
99
96
|
"test:virtual-rules": "mocha test/test-virtual-rules.js",
|
@@ -105,79 +102,80 @@
|
|
105
102
|
"next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
|
106
103
|
"sri-update": "grunt build && node build/sri-update && git add sri-history.json",
|
107
104
|
"sri-validate": "node build/sri-update --validate",
|
108
|
-
"fmt": "prettier --write
|
105
|
+
"fmt": "prettier --write .",
|
106
|
+
"prepare": "husky install",
|
107
|
+
"prebuild": "node ./build/check-node-version.js",
|
108
|
+
"pretest": "node ./build/check-node-version.js",
|
109
|
+
"postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
|
109
110
|
},
|
110
111
|
"devDependencies": {
|
111
|
-
"@axe-core/webdriverjs": "^4.3
|
112
|
-
"@babel/core": "^7.
|
113
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
114
|
-
"@babel/
|
115
|
-
"@babel/
|
112
|
+
"@axe-core/webdriverjs": "^4.4.3",
|
113
|
+
"@babel/core": "^7.18.6",
|
114
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.18.6",
|
115
|
+
"@babel/preset-env": "^7.18.6",
|
116
|
+
"@babel/runtime-corejs3": "^7.18.6",
|
116
117
|
"@deque/dot": "^1.1.5",
|
117
|
-
"
|
118
|
-
"aria-
|
119
|
-
"
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"chalk": "^4.1.0",
|
118
|
+
"aria-practices": "github:w3c/aria-practices#edbf534",
|
119
|
+
"aria-query": "^5.0.0",
|
120
|
+
"browser-driver-manager": "1.0.4",
|
121
|
+
"chai": "~4.3.6",
|
122
|
+
"chalk": "^4.x",
|
123
123
|
"chromedriver": "latest",
|
124
124
|
"clone": "^2.1.2",
|
125
|
-
"conventional-commits-parser": "^3.
|
126
|
-
"
|
127
|
-
"
|
128
|
-
"
|
129
|
-
"
|
130
|
-
"
|
131
|
-
"eslint
|
125
|
+
"conventional-commits-parser": "^3.2.4",
|
126
|
+
"core-js": "^3.23.5",
|
127
|
+
"css-selector-parser": "^1.4.1",
|
128
|
+
"emoji-regex": "^10.2.1",
|
129
|
+
"es6-promise": "^4.2.8",
|
130
|
+
"esbuild": "^0.15.10",
|
131
|
+
"eslint": "^8.19.0",
|
132
|
+
"eslint-config-prettier": "^8.5.0",
|
132
133
|
"eslint-plugin-mocha-no-only": "^1.1.1",
|
133
|
-
"execa": "
|
134
|
-
"globby": "
|
135
|
-
"grunt": "^1.
|
134
|
+
"execa": "5.x",
|
135
|
+
"globby": "11.x",
|
136
|
+
"grunt": "^1.5.3",
|
136
137
|
"grunt-babel": "^8.0.0",
|
137
138
|
"grunt-bytesize": "^0.2.0",
|
138
|
-
"grunt-contrib-clean": "^2.0.
|
139
|
-
"grunt-contrib-concat": "^1.0
|
140
|
-
"grunt-contrib-uglify": "^
|
139
|
+
"grunt-contrib-clean": "^2.0.1",
|
140
|
+
"grunt-contrib-concat": "^2.1.0",
|
141
|
+
"grunt-contrib-uglify": "^5.2.2",
|
141
142
|
"grunt-contrib-watch": "^1.1.0",
|
142
|
-
"html-entities": "
|
143
|
-
"http-server": "^14.1.
|
144
|
-
"husky": "^
|
145
|
-
"jquery": "^3.
|
146
|
-
"jsdoc": "^3.6.
|
147
|
-
"jsdom": "^
|
148
|
-
"karma": "^6.
|
143
|
+
"html-entities": "1.x",
|
144
|
+
"http-server": "^14.1.1",
|
145
|
+
"husky": "^8.0.1",
|
146
|
+
"jquery": "^3.6.0",
|
147
|
+
"jsdoc": "^3.6.11",
|
148
|
+
"jsdom": "^20.0.0",
|
149
|
+
"karma": "^6.4.0",
|
149
150
|
"karma-chai": "^0.1.0",
|
150
|
-
"karma-chrome-launcher": "^3.1.
|
151
|
-
"karma-firefox-launcher": "^2.1.
|
151
|
+
"karma-chrome-launcher": "^3.1.1",
|
152
|
+
"karma-firefox-launcher": "^2.1.2",
|
152
153
|
"karma-ie-launcher": "^1.0.0",
|
153
154
|
"karma-mocha": "^2.0.1",
|
154
155
|
"karma-sinon": "^1.0.5",
|
155
|
-
"karma-spec-reporter": "0.0.
|
156
|
-
"lint-staged": "^
|
157
|
-
"make-dir": "^3.
|
158
|
-
"markdown-table": "
|
159
|
-
"memoizee": "^0.4.
|
156
|
+
"karma-spec-reporter": "0.0.34",
|
157
|
+
"lint-staged": "^13.0.3",
|
158
|
+
"make-dir": "^3.1.0",
|
159
|
+
"markdown-table": "2.x",
|
160
|
+
"memoizee": "^0.4.15",
|
160
161
|
"minami": "^1.2.3",
|
161
|
-
"mocha": "^
|
162
|
-
"node-notifier": "^
|
162
|
+
"mocha": "^10.0.0",
|
163
|
+
"node-notifier": "^10.0.1",
|
163
164
|
"npm-run-all": "^4.1.5",
|
164
|
-
"prettier": "^
|
165
|
+
"prettier": "^2.7.1",
|
165
166
|
"proxyquire": "^2.1.3",
|
166
167
|
"revalidator": "~0.3.1",
|
167
|
-
"selenium-webdriver": "
|
168
|
-
"
|
168
|
+
"selenium-webdriver": "^4.5.0",
|
169
|
+
"serve-handler": "^6.1.3",
|
170
|
+
"sinon": "^11.1.2",
|
169
171
|
"sri-toolbox": "^0.2.0",
|
170
|
-
"standard-version": "^9.
|
171
|
-
"start-server-and-test": "^1.
|
172
|
+
"standard-version": "^9.5.0",
|
173
|
+
"start-server-and-test": "^1.14.0",
|
172
174
|
"typedarray": "^0.0.6",
|
173
|
-
"typescript": "^
|
174
|
-
"uglify-js": "^3.
|
175
|
-
"
|
176
|
-
|
177
|
-
"husky": {
|
178
|
-
"hooks": {
|
179
|
-
"pre-commit": "grunt configure && lint-staged"
|
180
|
-
}
|
175
|
+
"typescript": "^4.7.4",
|
176
|
+
"uglify-js": "^3.16.2",
|
177
|
+
"wcag-act-rules": "github:w3c/wcag-act-rules#a60a4e62f2",
|
178
|
+
"weakmap-polyfill": "^2.0.4"
|
181
179
|
},
|
182
180
|
"lint-staged": {
|
183
181
|
"*.{md,json,ts,html}": [
|
@@ -310,5 +310,9 @@
|
|
310
310
|
"4.4.3": {
|
311
311
|
"axe.js": "sha256-R+pmfA40BsLNJsCD6FrO4KRXoV2mV3NKNUZuxFSJk6g=",
|
312
312
|
"axe.min.js": "sha256-aX6mx+3/D+KJt7vs8f97kBUkm8g0tAmjSM0GDfgK66A="
|
313
|
+
},
|
314
|
+
"4.5.0": {
|
315
|
+
"axe.js": "sha256-AYLBIQscniY92RkIlsESUAIu3cOplhUmJ3Y4/DKR4SE=",
|
316
|
+
"axe.min.js": "sha256-cdG6H1F9kSiSIpyWgjGYXkbV3mcfc6/SvE7Zbq2km/A="
|
313
317
|
}
|
314
318
|
}
|
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:
|
4
|
+
version: 32.0.0
|
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: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -966,14 +966,17 @@ files:
|
|
966
966
|
- node_modules/axe-core/axe.d.ts
|
967
967
|
- node_modules/axe-core/axe.js
|
968
968
|
- node_modules/axe-core/axe.min.js
|
969
|
+
- node_modules/axe-core/locales/_template.json
|
969
970
|
- node_modules/axe-core/locales/da.json
|
970
971
|
- node_modules/axe-core/locales/de.json
|
971
972
|
- node_modules/axe-core/locales/es.json
|
972
973
|
- node_modules/axe-core/locales/eu.json
|
973
974
|
- node_modules/axe-core/locales/fr.json
|
975
|
+
- node_modules/axe-core/locales/he.json
|
974
976
|
- node_modules/axe-core/locales/ja.json
|
975
977
|
- node_modules/axe-core/locales/ko.json
|
976
978
|
- node_modules/axe-core/locales/nl.json
|
979
|
+
- node_modules/axe-core/locales/no_NB.json
|
977
980
|
- node_modules/axe-core/locales/pl.json
|
978
981
|
- node_modules/axe-core/locales/pt_BR.json
|
979
982
|
- node_modules/axe-core/package.json
|