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

@percy/core

Package Overview
Dependencies
Maintainers
0
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.28.8-beta.3 to 1.28.8-beta.4

15

dist/api.js

@@ -185,2 +185,17 @@ import fs from 'fs';

});
}).route('post', '/percy/log', async (req, res) => {
const log = logger('sdk');
if (!req.body) {
log.error('No request body for /percy/log endpoint');
return res.json(400, {
error: 'No body passed'
});
}
const level = req.body.level;
const message = req.body.message;
const meta = req.body.meta || {};
log[level](message, meta);
res.json(200, {
success: true
});
})

@@ -187,0 +202,0 @@ // stops percy at the end of the current event loop

4

dist/percy.js

@@ -435,3 +435,3 @@ import PercyClient from '@percy/client';

const logsObject = {
clilogs: logger.query(() => true)
clilogs: logger.query(log => !['ci'].includes(log.debug))
};

@@ -441,3 +441,3 @@ // Only add CI logs if not disabled voluntarily.

if (sendCILogs) {
const redactedContent = redactSecrets(logger.query(() => true, true));
const redactedContent = redactSecrets(logger.query(log => ['ci'].includes(log.debug)));
logsObject.cilogs = redactedContent;

@@ -444,0 +444,0 @@ }

{
"name": "@percy/core",
"version": "1.28.8-beta.3",
"version": "1.28.8-beta.4",
"license": "MIT",

@@ -46,7 +46,7 @@ "repository": {

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

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

},
"gitHead": "60fcc0cc0e65b1dd9f81286a3a3cd7383f1f6220"
"gitHead": "0ea30a56b97b5a5dab6ddc1282f71f1ecf07df2d"
}
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