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

@percy/core

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/core - npm Package Compare versions

Comparing version 1.28.3-beta.1 to 1.28.3

8

dist/discovery.js
import logger from '@percy/logger';
import Queue from './queue.js';
import { normalizeURL, hostnameMatches, createResource, createRootResource, createPercyCSSResource, createLogResource, yieldAll, snapshotLogName, withRetries } from './utils.js';
import { sha256hash } from '@percy/client/utils';
import Pako from 'pako';

@@ -146,2 +148,8 @@ // Logs verbose debug logs detailing various snapshot options.

})));
if (process.env.PERCY_GZIP) {
for (let index = 0; index < resources.length; index++) {
resources[index].content = Pako.gzip(resources[index].content);
resources[index].sha = sha256hash(resources[index].content);
}
}
return {

@@ -148,0 +156,0 @@ ...snapshot,

17

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

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

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

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

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

@@ -59,2 +59,3 @@ "cross-spawn": "^7.0.3",

"mime-types": "^2.1.34",
"pako": "^2.1.0",
"path-to-regexp": "^6.2.0",

@@ -64,3 +65,3 @@ "rimraf": "^3.0.2",

},
"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