Socket
Socket
Sign inDemoInstall

@percy/client

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

Comparing version 1.22.0-alpha.0 to 1.22.0

8

dist/client.js

@@ -12,2 +12,4 @@ import fs from 'fs';

const pkg = getPackageJSON(import.meta.url);
// minimum polling interval milliseconds
const MIN_POLLING_INTERVAL = 1_000;

@@ -190,4 +192,8 @@ // Validate ID arguments

timeout = 10 * 60 * 1000,
interval = 1000
interval = 10_000
}, onProgress) {
if (interval < MIN_POLLING_INTERVAL) {
this.log.warn(`Ignoring interval since it cannot be less than ${MIN_POLLING_INTERVAL}ms.`);
interval = MIN_POLLING_INTERVAL;
}
if (!project && commit) {

@@ -194,0 +200,0 @@ throw new Error('Missing project path for commit');

8

package.json
{
"name": "@percy/client",
"version": "1.22.0-alpha.0",
"version": "1.22.0",
"license": "MIT",

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

"dependencies": {
"@percy/env": "1.22.0-alpha.0",
"@percy/logger": "1.22.0-alpha.0"
"@percy/env": "1.22.0",
"@percy/logger": "1.22.0"
},
"gitHead": "5928e586c401ac10840d1ec6219875526e45d100"
"gitHead": "473ae8925585bc77f584bbcaa7058fc967bd3c61"
}

@@ -167,2 +167,2 @@ # @percy/client

- `timeout` — Timeout in milliseconds to wait with no updates (**default** `10 * 60 * 1000`)
- `interval` — Interval in miliseconds to check for updates (**default** `1000`)
- `interval` — Interval in miliseconds to check for updates (**default** `10000`)
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