@percy/core
Advanced tools
Comparing version 1.0.0-beta.21 to 1.0.0-beta.22
@@ -146,8 +146,8 @@ "use strict"; | ||
// if there is a server, start listening | ||
await ((_this$server = this.server) === null || _this$server === void 0 ? void 0 : _this$server.listen(this.port)); // launch the discoverer browser and create a percy build | ||
// launch the discoverer browser and create a percy build | ||
await this.discoverer.launch(); | ||
await this.client.createBuild(); // log build details | ||
await this.client.createBuild(); // if there is a server, start listening | ||
await ((_this$server = this.server) === null || _this$server === void 0 ? void 0 : _this$server.listen(this.port)); // log build details | ||
let build = this.client.build; | ||
@@ -169,5 +169,5 @@ let meta = { | ||
// on error, close any running browser or server | ||
await this.discoverer.close(); | ||
await ((_this$server2 = this.server) === null || _this$server2 === void 0 ? void 0 : _this$server2.close()); // throw an easier-to understand error when the port is taken | ||
// on error, close any running server or browser | ||
await ((_this$server2 = this.server) === null || _this$server2 === void 0 ? void 0 : _this$server2.close()); | ||
await this.discoverer.close(); // throw an easier-to understand error when the port is taken | ||
@@ -174,0 +174,0 @@ if (error.code === 'EADDRINUSE') { |
{ | ||
"name": "@percy/core", | ||
"version": "1.0.0-beta.21", | ||
"version": "1.0.0-beta.22", | ||
"license": "MIT", | ||
@@ -28,5 +28,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@percy/client": "^1.0.0-beta.21", | ||
"@percy/dom": "^1.0.0-beta.21", | ||
"@percy/logger": "^1.0.0-beta.21", | ||
"@percy/client": "^1.0.0-beta.22", | ||
"@percy/dom": "^1.0.0-beta.22", | ||
"@percy/logger": "^1.0.0-beta.22", | ||
"node-fetch": "^2.6.1", | ||
@@ -40,3 +40,3 @@ "progress": "^2.0.3", | ||
}, | ||
"gitHead": "43ed5bf362ed4c7f3cacf73dd57284493bb43b71" | ||
"gitHead": "0b47d989f5660b98fd1f4f6f1326d65f29a722e2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240
3
11
0
72
+ Added@percy/client@1.30.1(transitive)
+ Added@percy/dom@1.30.1(transitive)
+ Added@percy/env@1.30.1(transitive)
+ Added@percy/logger@1.30.1(transitive)
- Removed@percy/client@1.30.2(transitive)
- Removed@percy/dom@1.30.2(transitive)
- Removed@percy/env@1.30.2(transitive)
- Removed@percy/logger@1.30.2(transitive)
Updated@percy/client@^1.0.0-beta.22
Updated@percy/dom@^1.0.0-beta.22
Updated@percy/logger@^1.0.0-beta.22