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.9.0 to 1.9.1

16

dist/api.js

@@ -141,10 +141,12 @@ import fs from 'fs';

body = Buffer.isBuffer(body) ? body.toString() : body;
let {
remoteLoggers
} = percy.testing;
if (cmd === 'reset') {
var _percy$testing$remote;
// the reset command will terminate connections, clear logs, and reset testing mode
(_percy$testing$remote = percy.testing.remoteLoggers) === null || _percy$testing$remote === void 0 ? void 0 : _percy$testing$remote.forEach(ws => ws.terminate());
// the reset command will reset testing mode and clear any logs
percy.testing = remoteLoggers ? {
remoteLoggers
} : {};
logger.instance.messages.clear();
percy.testing = {};
} else if (cmd === 'version') {

@@ -165,6 +167,4 @@ // the version command will update the api version header for testing

} else if (cmd === 'remote-logging') {
var _percy$testing$remote2;
// the remote-logging command will toggle remote logging support
if (body === false) (_percy$testing$remote2 = percy.testing.remoteLoggers) === null || _percy$testing$remote2 === void 0 ? void 0 : _percy$testing$remote2.forEach(ws => ws.terminate());
if (body === false) remoteLoggers === null || remoteLoggers === void 0 ? void 0 : remoteLoggers.forEach(ws => ws.terminate());
percy.testing.remoteLogging = body;

@@ -171,0 +171,0 @@ } else {

{
"name": "@percy/core",
"version": "1.9.0",
"version": "1.9.1",
"license": "MIT",

@@ -42,6 +42,6 @@ "repository": {

"dependencies": {
"@percy/client": "1.9.0",
"@percy/config": "1.9.0",
"@percy/dom": "1.9.0",
"@percy/logger": "1.9.0",
"@percy/client": "1.9.1",
"@percy/config": "1.9.1",
"@percy/dom": "1.9.1",
"@percy/logger": "1.9.1",
"content-disposition": "^0.5.4",

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

},
"gitHead": "3332a2a63802c58848d0a5fbdd3c7aadc076212b"
"gitHead": "b2ff5100698488c8bf8c681972f4f2b9a1e2055f"
}
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