@percy/core 1.31.3 → 1.31.4-beta.1
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 +7 -0
- package/dist/discovery.js +1 -0
- package/dist/page.js +4 -2
- package/package.json +9 -9
package/dist/config.js
CHANGED
|
@@ -289,6 +289,10 @@ export const configSchema = {
|
|
|
289
289
|
ignoreCanvasSerializationErrors: {
|
|
290
290
|
type: 'boolean',
|
|
291
291
|
default: false
|
|
292
|
+
},
|
|
293
|
+
ignoreStyleSheetSerializationErrors: {
|
|
294
|
+
type: 'boolean',
|
|
295
|
+
default: false
|
|
292
296
|
}
|
|
293
297
|
}
|
|
294
298
|
},
|
|
@@ -524,6 +528,9 @@ export const snapshotSchema = {
|
|
|
524
528
|
ignoreCanvasSerializationErrors: {
|
|
525
529
|
$ref: '/config/snapshot#/properties/ignoreCanvasSerializationErrors'
|
|
526
530
|
},
|
|
531
|
+
ignoreStyleSheetSerializationErrors: {
|
|
532
|
+
$ref: '/config/snapshot#/properties/ignoreStyleSheetSerializationErrors'
|
|
533
|
+
},
|
|
527
534
|
discovery: {
|
|
528
535
|
type: 'object',
|
|
529
536
|
additionalProperties: false,
|
package/dist/discovery.js
CHANGED
|
@@ -56,6 +56,7 @@ function debugSnapshotOptions(snapshot) {
|
|
|
56
56
|
debugProp(snapshot, 'domSnapshot', Boolean);
|
|
57
57
|
debugProp(snapshot, 'discovery.scrollToBottom');
|
|
58
58
|
debugProp(snapshot, 'ignoreCanvasSerializationErrors');
|
|
59
|
+
debugProp(snapshot, 'ignoreStyleSheetSerializationErrors');
|
|
59
60
|
if (Array.isArray(snapshot.domSnapshot)) {
|
|
60
61
|
debugProp(snapshot, 'domSnapshot.0.userAgent');
|
|
61
62
|
} else {
|
package/dist/page.js
CHANGED
|
@@ -186,7 +186,8 @@ export class Page {
|
|
|
186
186
|
forceShadowAsLightDOM,
|
|
187
187
|
domTransformation,
|
|
188
188
|
reshuffleInvalidTags,
|
|
189
|
-
ignoreCanvasSerializationErrors
|
|
189
|
+
ignoreCanvasSerializationErrors,
|
|
190
|
+
ignoreStyleSheetSerializationErrors
|
|
190
191
|
} = snapshot;
|
|
191
192
|
this.log.debug(`Taking snapshot: ${name}${width ? ` @${width}px` : ''}`, this.meta);
|
|
192
193
|
|
|
@@ -226,7 +227,8 @@ export class Page {
|
|
|
226
227
|
forceShadowAsLightDOM,
|
|
227
228
|
domTransformation,
|
|
228
229
|
reshuffleInvalidTags,
|
|
229
|
-
ignoreCanvasSerializationErrors
|
|
230
|
+
ignoreCanvasSerializationErrors,
|
|
231
|
+
ignoreStyleSheetSerializationErrors
|
|
230
232
|
});
|
|
231
233
|
return {
|
|
232
234
|
...snapshot,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.4-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "beta"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14"
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"test:types": "tsd"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@percy/client": "1.31.
|
|
47
|
-
"@percy/config": "1.31.
|
|
48
|
-
"@percy/dom": "1.31.
|
|
49
|
-
"@percy/logger": "1.31.
|
|
50
|
-
"@percy/monitoring": "1.31.
|
|
51
|
-
"@percy/webdriver-utils": "1.31.
|
|
46
|
+
"@percy/client": "1.31.4-beta.1",
|
|
47
|
+
"@percy/config": "1.31.4-beta.1",
|
|
48
|
+
"@percy/dom": "1.31.4-beta.1",
|
|
49
|
+
"@percy/logger": "1.31.4-beta.1",
|
|
50
|
+
"@percy/monitoring": "1.31.4-beta.1",
|
|
51
|
+
"@percy/webdriver-utils": "1.31.4-beta.1",
|
|
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": "
|
|
64
|
+
"gitHead": "f277b3d944fdb17be636a12f943557baff0bd23c"
|
|
65
65
|
}
|