axe-core-api 4.3.1.pre.8005df2 → 4.3.2.pre.17fb7c9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/axe/api/run.rb +2 -2
- data/node_modules/axe-core/axe.min.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dd4ba6e7bb503b0ec7c92bcef3169c33beb2e7059ae6bce845de69971102be3
|
4
|
+
data.tar.gz: 72ac14d273a1d6bb078dff18643abb1de23c2100b74d9363694c0ede35d690bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8bed6fe9c1ac2c834d5c0cb0a11394121bbc62a8d6c1d88e96282891d10b7202a182abdeeb555240f606bf7509b742eb2f075c4125eb3797facad603b51ccaa
|
7
|
+
data.tar.gz: 12ac0d4c9335b1f0779df946f42dfebd8875b0a0238d2ca01566773e722c2643400b90c02aa4f67b651e7192b268b43383a91940a48af4ad0acd7a9807c027ca
|
data/lib/axe/api/run.rb
CHANGED
@@ -53,7 +53,7 @@ module Axe
|
|
53
53
|
var callback = arguments[arguments.length - 1];
|
54
54
|
var context = arguments[0] || document;
|
55
55
|
var options = arguments[1] || {};
|
56
|
-
#{METHOD_NAME}(context, options).then(callback);
|
56
|
+
#{METHOD_NAME}(context, options).then(res => JSON.parse(JSON.stringify(res))).then(callback);
|
57
57
|
JS
|
58
58
|
page.execute_async_script_fixed script, *js_args
|
59
59
|
end
|
@@ -160,7 +160,7 @@ module Axe
|
|
160
160
|
const options = arguments[1];
|
161
161
|
const cb = arguments[arguments.length - 1];
|
162
162
|
try {
|
163
|
-
const ret = window.axe.runPartial(context, options);
|
163
|
+
const ret = window.axe.runPartial(context, options).then(res => JSON.parse(JSON.stringify(res)));
|
164
164
|
cb(ret);
|
165
165
|
} catch (err) {
|
166
166
|
const ret = {
|