@axe-core/react 4.9.2-d13129f.0 → 4.10.1-fe7bb7d.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/index.js +2 -4
- package/dist/index.mjs +2 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -116,14 +116,12 @@ function debounce(func, wait, immediate) {
|
|
|
116
116
|
return function(...args) {
|
|
117
117
|
const later = () => {
|
|
118
118
|
_timeout = null;
|
|
119
|
-
if (!immediate)
|
|
120
|
-
func.apply(this, args);
|
|
119
|
+
if (!immediate) func.apply(this, args);
|
|
121
120
|
};
|
|
122
121
|
const callNow = immediate && !_timeout;
|
|
123
122
|
clearTimeout(_timeout);
|
|
124
123
|
_timeout = setTimeout(later, wait);
|
|
125
|
-
if (callNow)
|
|
126
|
-
func.apply(this, args);
|
|
124
|
+
if (callNow) func.apply(this, args);
|
|
127
125
|
};
|
|
128
126
|
}
|
|
129
127
|
function getPath(node) {
|
package/dist/index.mjs
CHANGED
|
@@ -82,14 +82,12 @@ function debounce(func, wait, immediate) {
|
|
|
82
82
|
return function(...args) {
|
|
83
83
|
const later = () => {
|
|
84
84
|
_timeout = null;
|
|
85
|
-
if (!immediate)
|
|
86
|
-
func.apply(this, args);
|
|
85
|
+
if (!immediate) func.apply(this, args);
|
|
87
86
|
};
|
|
88
87
|
const callNow = immediate && !_timeout;
|
|
89
88
|
clearTimeout(_timeout);
|
|
90
89
|
_timeout = setTimeout(later, wait);
|
|
91
|
-
if (callNow)
|
|
92
|
-
func.apply(this, args);
|
|
90
|
+
if (callNow) func.apply(this, args);
|
|
93
91
|
};
|
|
94
92
|
}
|
|
95
93
|
function getPath(node) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1-fe7bb7d.0+fe7bb7d",
|
|
4
4
|
"description": "Dynamic accessibility analysis for React using axe-core",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"author": "Dylan Barrell (dylan@barrell.com)",
|
|
61
61
|
"license": "MPL-2.0",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"axe-core": "~4.
|
|
63
|
+
"axe-core": "~4.10.0",
|
|
64
64
|
"requestidlecallback": "^0.3.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"type": "git",
|
|
90
90
|
"url": "https://github.com/dequelabs/axe-core-npm.git"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "fe7bb7d2ed3514e416500556450d5f178819393c"
|
|
93
93
|
}
|