axe-core-api 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/axe/api/run.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0551b9ac63c5ea9afb0cbe8eb57ac5d02eb727f13954058bb855d1df0c233884
4
- data.tar.gz: 07e5db960f3818d572d34e42076b8e582e425e200b14a2fd4d92a7d0ec6a7736
3
+ metadata.gz: d5d787c229f75bd5281d30ab61093e906073960bf4a0ccc8a62cbf98eed602f8
4
+ data.tar.gz: 9c1a5c4e3a0e82c408c62faa105b7912a4368f1bf9d392b23ad3c7e0f7bbf15f
5
5
  SHA512:
6
- metadata.gz: 639b39db373df75d62fe459f8047d8f41ba5a135cec50f6d6106418c787475f09db89887d8a501ba75af549d3939b82a7439f1b0bbdba51e32649f1d7e407d26
7
- data.tar.gz: e6f0b60f4751e3811aadb2dc094851b53d3bee57ef2a682112b3f50fb90139f877c4b64965f61804dabfbb4c286f3cc337b1a082bd5a0e3ffac70a8f87673fdd
6
+ metadata.gz: b1f95c49a8cf4d149f805976a7f0ae0a2ea10e425d0e64f97abcc8b3caba59773729c8f092e1ec6daa8b251a8319fbfddb8369cdaba7d00a7fd991fc4515055f
7
+ data.tar.gz: 788a484236564e382f27cd48ceff7e7b6b4468f8417b58fcd5ea0bde64e52fe68593b2acd8b2e0cdb114ee3ce2662d2f6b9ffd9ff724a8f75d25bf3a86a41e27
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.1
4
+ version: 4.3.2
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-09-22 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dumb_delegator