@percy/core 1.31.2-beta.2 → 1.31.2-beta.3

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/config.js CHANGED
@@ -85,6 +85,10 @@ export const configSchema = {
85
85
  type: 'boolean',
86
86
  default: false
87
87
  },
88
+ forceShadowAsLightDOM: {
89
+ type: 'boolean',
90
+ default: false
91
+ },
88
92
  enableLayout: {
89
93
  type: 'boolean'
90
94
  },
@@ -475,6 +479,9 @@ export const snapshotSchema = {
475
479
  disableShadowDOM: {
476
480
  $ref: '/config/snapshot#/properties/disableShadowDOM'
477
481
  },
482
+ forceShadowAsLightDOM: {
483
+ $ref: '/config/snapshot#/properties/forceShadowAsLightDOM'
484
+ },
478
485
  domTransformation: {
479
486
  $ref: '/config/snapshot#/properties/domTransformation'
480
487
  },
package/dist/discovery.js CHANGED
@@ -29,6 +29,7 @@ function debugSnapshotOptions(snapshot) {
29
29
  debugProp(snapshot, 'enableJavaScript');
30
30
  debugProp(snapshot, 'cliEnableJavaScript');
31
31
  debugProp(snapshot, 'disableShadowDOM');
32
+ debugProp(snapshot, 'forceShadowAsLightDOM');
32
33
  debugProp(snapshot, 'enableLayout');
33
34
  debugProp(snapshot, 'domTransformation');
34
35
  debugProp(snapshot, 'reshuffleInvalidTags');
package/dist/page.js CHANGED
@@ -183,6 +183,7 @@ export class Page {
183
183
  width,
184
184
  enableJavaScript,
185
185
  disableShadowDOM,
186
+ forceShadowAsLightDOM,
186
187
  domTransformation,
187
188
  reshuffleInvalidTags,
188
189
  ignoreCanvasSerializationErrors
@@ -222,6 +223,7 @@ export class Page {
222
223
  }), {
223
224
  enableJavaScript,
224
225
  disableShadowDOM,
226
+ forceShadowAsLightDOM,
225
227
  domTransformation,
226
228
  reshuffleInvalidTags,
227
229
  ignoreCanvasSerializationErrors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.31.2-beta.2",
3
+ "version": "1.31.2-beta.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,12 +43,12 @@
43
43
  "test:types": "tsd"
44
44
  },
45
45
  "dependencies": {
46
- "@percy/client": "1.31.2-beta.2",
47
- "@percy/config": "1.31.2-beta.2",
48
- "@percy/dom": "1.31.2-beta.2",
49
- "@percy/logger": "1.31.2-beta.2",
50
- "@percy/monitoring": "1.31.2-beta.2",
51
- "@percy/webdriver-utils": "1.31.2-beta.2",
46
+ "@percy/client": "1.31.2-beta.3",
47
+ "@percy/config": "1.31.2-beta.3",
48
+ "@percy/dom": "1.31.2-beta.3",
49
+ "@percy/logger": "1.31.2-beta.3",
50
+ "@percy/monitoring": "1.31.2-beta.3",
51
+ "@percy/webdriver-utils": "1.31.2-beta.3",
52
52
  "content-disposition": "^0.5.4",
53
53
  "cross-spawn": "^7.0.3",
54
54
  "extract-zip": "^2.0.1",
@@ -61,5 +61,5 @@
61
61
  "ws": "^8.17.1",
62
62
  "yaml": "^2.4.1"
63
63
  },
64
- "gitHead": "3002538e11412bea43ddc5e15da7ce338ff44b4f"
64
+ "gitHead": "761ef7aef1d13d45afb0cedae50e6e82d84a3521"
65
65
  }