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

@percy/client

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/client - npm Package Compare versions

Comparing version 1.28.3-beta.1 to 1.28.3

8

dist/client.js

@@ -5,2 +5,3 @@ import fs from 'fs';

import logger from '@percy/logger';
import Pako from 'pako';
import { pool, request, formatBytes, sha256hash, base64encode, getPackageJSON, waitForTimeout, validateTiles } from './utils.js';

@@ -319,3 +320,8 @@

validateId('build', buildId);
if (filepath) content = await fs.promises.readFile(filepath);
if (filepath) {
content = await fs.promises.readFile(filepath);
if (process.env.PERCY_GZIP) {
content = Pako.gzip(content);
}
}
let encodedContent = base64encode(content);

@@ -322,0 +328,0 @@ this.log.debug(`Uploading ${formatBytes(encodedContent.length)} resource: ${url}...`);

11

package.json
{
"name": "@percy/client",
"version": "1.28.3-beta.1",
"version": "1.28.3",
"license": "MIT",

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

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

@@ -36,6 +36,7 @@ "engines": {

"dependencies": {
"@percy/env": "1.28.3-beta.1",
"@percy/logger": "1.28.3-beta.1"
"@percy/env": "1.28.3",
"@percy/logger": "1.28.3",
"pako": "^2.1.0"
},
"gitHead": "3a838eedd0f07f57c6c61cd0cba1c7e20cc95af3"
"gitHead": "5d41045921c7ac06329c4b72caaf291d34e3f699"
}
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