@axe-core/react 4.9.2-18e80b3.0 → 4.9.2-2c713b5.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 +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -116,12 +116,14 @@ function debounce(func, wait, immediate) {
|
|
|
116
116
|
return function(...args) {
|
|
117
117
|
const later = () => {
|
|
118
118
|
_timeout = null;
|
|
119
|
-
if (!immediate)
|
|
119
|
+
if (!immediate)
|
|
120
|
+
func.apply(this, args);
|
|
120
121
|
};
|
|
121
122
|
const callNow = immediate && !_timeout;
|
|
122
123
|
clearTimeout(_timeout);
|
|
123
124
|
_timeout = setTimeout(later, wait);
|
|
124
|
-
if (callNow)
|
|
125
|
+
if (callNow)
|
|
126
|
+
func.apply(this, args);
|
|
125
127
|
};
|
|
126
128
|
}
|
|
127
129
|
function getPath(node) {
|
package/dist/index.mjs
CHANGED
|
@@ -82,12 +82,14 @@ function debounce(func, wait, immediate) {
|
|
|
82
82
|
return function(...args) {
|
|
83
83
|
const later = () => {
|
|
84
84
|
_timeout = null;
|
|
85
|
-
if (!immediate)
|
|
85
|
+
if (!immediate)
|
|
86
|
+
func.apply(this, args);
|
|
86
87
|
};
|
|
87
88
|
const callNow = immediate && !_timeout;
|
|
88
89
|
clearTimeout(_timeout);
|
|
89
90
|
_timeout = setTimeout(later, wait);
|
|
90
|
-
if (callNow)
|
|
91
|
+
if (callNow)
|
|
92
|
+
func.apply(this, args);
|
|
91
93
|
};
|
|
92
94
|
}
|
|
93
95
|
function getPath(node) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/react",
|
|
3
|
-
"version": "4.9.2-
|
|
3
|
+
"version": "4.9.2-2c713b5.0+2c713b5",
|
|
4
4
|
"description": "Dynamic accessibility analysis for React using axe-core",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -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": "2c713b5a7a27bc588b61b0688576acef1d20ac80"
|
|
93
93
|
}
|