@percy/core 1.31.1 → 1.31.2-beta.0

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
@@ -281,6 +281,10 @@ export const configSchema = {
281
281
  },
282
282
  algorithmConfiguration: {
283
283
  $ref: '#/definitions/configurationProperties'
284
+ },
285
+ ignoreCanvasSerializationErrors: {
286
+ type: 'boolean',
287
+ default: false
284
288
  }
285
289
  }
286
290
  },
@@ -510,6 +514,9 @@ export const snapshotSchema = {
510
514
  scopeOptions: {
511
515
  $ref: '/config/snapshot#/properties/scopeOptions'
512
516
  },
517
+ ignoreCanvasSerializationErrors: {
518
+ $ref: '/config/snapshot#/properties/ignoreCanvasSerializationErrors'
519
+ },
513
520
  discovery: {
514
521
  type: 'object',
515
522
  additionalProperties: false,
package/dist/discovery.js CHANGED
@@ -54,6 +54,7 @@ function debugSnapshotOptions(snapshot) {
54
54
  debugProp(snapshot, 'environmentInfo');
55
55
  debugProp(snapshot, 'domSnapshot', Boolean);
56
56
  debugProp(snapshot, 'discovery.scrollToBottom');
57
+ debugProp(snapshot, 'ignoreCanvasSerializationErrors');
57
58
  if (Array.isArray(snapshot.domSnapshot)) {
58
59
  debugProp(snapshot, 'domSnapshot.0.userAgent');
59
60
  } else {
package/dist/page.js CHANGED
@@ -184,7 +184,8 @@ export class Page {
184
184
  enableJavaScript,
185
185
  disableShadowDOM,
186
186
  domTransformation,
187
- reshuffleInvalidTags
187
+ reshuffleInvalidTags,
188
+ ignoreCanvasSerializationErrors
188
189
  } = snapshot;
189
190
  this.log.debug(`Taking snapshot: ${name}${width ? ` @${width}px` : ''}`, this.meta);
190
191
 
@@ -222,7 +223,8 @@ export class Page {
222
223
  enableJavaScript,
223
224
  disableShadowDOM,
224
225
  domTransformation,
225
- reshuffleInvalidTags
226
+ reshuffleInvalidTags,
227
+ ignoreCanvasSerializationErrors
226
228
  });
227
229
  return {
228
230
  ...snapshot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.31.1",
3
+ "version": "1.31.2-beta.0",
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": "latest"
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.1",
47
- "@percy/config": "1.31.1",
48
- "@percy/dom": "1.31.1",
49
- "@percy/logger": "1.31.1",
50
- "@percy/monitoring": "1.31.1",
51
- "@percy/webdriver-utils": "1.31.1",
46
+ "@percy/client": "1.31.2-beta.0",
47
+ "@percy/config": "1.31.2-beta.0",
48
+ "@percy/dom": "1.31.2-beta.0",
49
+ "@percy/logger": "1.31.2-beta.0",
50
+ "@percy/monitoring": "1.31.2-beta.0",
51
+ "@percy/webdriver-utils": "1.31.2-beta.0",
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": "56d0fe4722eea63cfe8a6ea7aa02cf00d465a85d"
64
+ "gitHead": "6d36e464efaa1261bf1f1e7c7302c64cc85eccc7"
65
65
  }