Socket
Socket
Sign inDemoInstall

@percy/core

Package Overview
Dependencies
Maintainers
6
Versions
238
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.27.5-beta.2 to 1.27.5

13

dist/server.js

@@ -160,2 +160,7 @@ function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }

// return host bind address - defaults to 0.0.0.0
get host() {
return process.env.PERCY_SERVER_HOST || '0.0.0.0';
}
// return the listening port or any default port

@@ -170,3 +175,7 @@ get port() {

let port = this.port;
let host = 'http://localhost';
// we need to specifically map 0.0.0.0 to localhost on windows as even though we
// can listen to all interfaces using 0.0.0.0 we cant make a request on 0.0.0.0 as
// its an invalid ip address as per spec, but unix systems allow request to it and
// falls back to localhost
let host = `http://${this.host === '0.0.0.0' ? 'localhost' : this.host}`;
return port ? `${host}:${port}` : host;

@@ -180,3 +189,3 @@ }

let off = () => this.off('error', handle).off('listening', handle);
super.listen(port, handle).once('error', handle);
super.listen(port, this.host, handle).once('error', handle);
});

@@ -183,0 +192,0 @@ }

16

package.json
{
"name": "@percy/core",
"version": "1.27.5-beta.2",
"version": "1.27.5",
"license": "MIT",

@@ -12,3 +12,3 @@ "repository": {

"access": "public",
"tag": "beta"
"tag": "latest"
},

@@ -47,7 +47,7 @@ "engines": {

"dependencies": {
"@percy/client": "1.27.5-beta.2",
"@percy/config": "1.27.5-beta.2",
"@percy/dom": "1.27.5-beta.2",
"@percy/logger": "1.27.5-beta.2",
"@percy/webdriver-utils": "1.27.5-beta.2",
"@percy/client": "1.27.5",
"@percy/config": "1.27.5",
"@percy/dom": "1.27.5",
"@percy/logger": "1.27.5",
"@percy/webdriver-utils": "1.27.5",
"content-disposition": "^0.5.4",

@@ -63,3 +63,3 @@ "cross-spawn": "^7.0.3",

},
"gitHead": "9ea4b1f10c134e2c8135f7dddda764a9edafb336"
"gitHead": "b28dc5d280584a19345ee45f745229e5f77993e6"
}
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