@percy/core 1.6.2 → 1.6.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.
Files changed (2) hide show
  1. package/dist/percy.js +2 -5
  2. package/package.json +6 -6
package/dist/percy.js CHANGED
@@ -456,12 +456,9 @@ export class Percy {
456
456
  _scheduleUpload(name, options) {
457
457
  var _this$build4;
458
458
 
459
- if ((_this$build4 = this.build) !== null && _this$build4 !== void 0 && _this$build4.error) {
460
- throw new Error(this.build.error);
461
- } // when not dry-running, process any existing delayed uploads
462
-
459
+ if ((_this$build4 = this.build) !== null && _this$build4 !== void 0 && _this$build4.error) throw new Error(this.build.error); // maybe process any existing delayed uploads
463
460
 
464
- if (!this.dryRun && this.delayUploads) this.#uploads.run();
461
+ if (!this.skipUploads && this.delayUploads) this.#uploads.run();
465
462
  return this.#uploads.push(`upload/${name}`, async () => {
466
463
  // when delayed, stop the queue before other uploads are processed
467
464
  if (this.delayUploads) this.#uploads.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,10 +39,10 @@
39
39
  "test:types": "tsd"
40
40
  },
41
41
  "dependencies": {
42
- "@percy/client": "1.6.2",
43
- "@percy/config": "1.6.2",
44
- "@percy/dom": "1.6.2",
45
- "@percy/logger": "1.6.2",
42
+ "@percy/client": "1.6.3",
43
+ "@percy/config": "1.6.3",
44
+ "@percy/dom": "1.6.3",
45
+ "@percy/logger": "1.6.3",
46
46
  "content-disposition": "^0.5.4",
47
47
  "cross-spawn": "^7.0.3",
48
48
  "extract-zip": "^2.0.1",
@@ -53,5 +53,5 @@
53
53
  "rimraf": "^3.0.2",
54
54
  "ws": "^8.0.0"
55
55
  },
56
- "gitHead": "c033d52167cdd5873027d9de2676f3fc9f55ef2d"
56
+ "gitHead": "ab48a150317a4af36d536a5671701532c669d2d1"
57
57
  }