axe-core-api 4.3.1 → 4.3.2.pre.2e32f26
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
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a436aae2798e22f9212a8b0eead748b42314a24ceeea3e70cac64aaf4cc036e0
|
4
|
+
data.tar.gz: 0456de19241b38e4a8734e536ae9fd3e9b3fd89caaeb6f051fc6869a72b89f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 100f45632e7031c4099df684772c6abf4dc7579f7c6be3e30c3d02e4eb3c82b7d27a60adb66d8edb2b75c1627c3eaedd609b2eb53bae98f0dde7fb8a271ed10e
|
7
|
+
data.tar.gz: 767e5f5d84d30477a231a669833b2f04ca783ba401aa1b4713a0110fb4c6686f271694c86192099aafa527d366f427ec756db47e0a6e108ead411bc0ff5fff46
|
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 = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: axe-core-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.2.pre.2e32f26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deque Systems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dumb_delegator
|
@@ -189,9 +189,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: 2.3.0
|
190
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - ">"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 1.3.1
|
195
195
|
requirements: []
|
196
196
|
rubygems_version: 3.0.3
|
197
197
|
signing_key:
|