@sa11y/jest 6.3.1 → 6.4.0
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.
- package/dist/automatic.js +1 -1
- package/package.json +7 -7
package/dist/automatic.js
CHANGED
|
@@ -65,7 +65,7 @@ async function automaticCheck(opts = defaultAutoCheckOpts) {
|
|
|
65
65
|
// Create a DOM walker filtering only elements (skipping text, comment nodes etc)
|
|
66
66
|
const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);
|
|
67
67
|
let currNode = walker.firstChild();
|
|
68
|
-
const customRules =
|
|
68
|
+
const customRules = (0, common_1.useCustomRules)();
|
|
69
69
|
try {
|
|
70
70
|
while (currNode !== null) {
|
|
71
71
|
// TODO (spike): Use a logger lib with log levels selectable at runtime
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sa11y/jest",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "Accessibility testing matcher for Jest",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"homepage": "https://github.com/salesforce/sa11y/tree/master/packages/jest#readme",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@jest/test-result": "^27",
|
|
27
|
-
"@sa11y/assert": "6.
|
|
28
|
-
"@sa11y/format": "6.
|
|
29
|
-
"@sa11y/preset-rules": "6.
|
|
27
|
+
"@sa11y/assert": "6.4.0",
|
|
28
|
+
"@sa11y/format": "6.4.0",
|
|
29
|
+
"@sa11y/preset-rules": "6.4.0",
|
|
30
30
|
"jest-matcher-utils": "^27"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@jest/globals": "28.1.3",
|
|
37
|
-
"@sa11y/common": "6.
|
|
38
|
-
"@sa11y/test-utils": "6.
|
|
37
|
+
"@sa11y/common": "6.4.0",
|
|
38
|
+
"@sa11y/test-utils": "6.4.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": "^16 || ^18"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "5d4b0fb506c8bb9ddf50173112d1bacf3117d639"
|
|
47
47
|
}
|