Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/core

Package Overview
Dependencies
Maintainers
6
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/core - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

16

dist/percy.js

@@ -129,9 +129,3 @@ "use strict";

apiAddress() {
var _this$server, _address;
let {
address
} = ((_this$server = this.server) === null || _this$server === void 0 ? void 0 : _this$server.address()) || {};
address = ((_address = address) === null || _address === void 0 ? void 0 : _address.includes(':')) ? `[${address}]` : address;
return address && `http://${address}:${this.port}/percy`;
return `http://localhost:${this.port}/percy`;
} // Returns a boolean indicating if this instance is running.

@@ -174,7 +168,7 @@

} catch (error) {
var _this$server2;
var _this$server;
// on error, close any running browser or server
await this.discoverer.close();
(_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
(_this$server = this.server) === null || _this$server === void 0 ? void 0 : _this$server.close(); // throw an easier-to understand error when the port is taken

@@ -194,3 +188,3 @@ if (error.code === 'EADDRINUSE') {

if (this.isRunning() && !_classPrivateFieldGet(this, _stopping)) {
var _this$server3;
var _this$server2;

@@ -218,3 +212,3 @@ _classPrivateFieldSet(this, _stopping, true);

(_this$server3 = this.server) === null || _this$server3 === void 0 ? void 0 : _this$server3.close();
(_this$server2 = this.server) === null || _this$server2 === void 0 ? void 0 : _this$server2.close();
await this.discoverer.close();

@@ -221,0 +215,0 @@

{
"name": "@percy/core",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"license": "MIT",

@@ -27,5 +27,5 @@ "main": "dist/index.js",

"dependencies": {
"@percy/client": "^1.0.0-beta.9",
"@percy/dom": "^1.0.0-beta.9",
"@percy/logger": "^1.0.0-beta.9",
"@percy/client": "^1.0.0-beta.10",
"@percy/dom": "^1.0.0-beta.10",
"@percy/logger": "^1.0.0-beta.10",
"body-parser": "^1.19.0",

@@ -42,3 +42,3 @@ "cors": "^2.8.5",

},
"gitHead": "57a2eeb90c7f5cdf8827c78be1e5c12df581f4b5"
"gitHead": "6b60e6ec0ae2064776bf737b876be608bfcf1ecf"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc