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.6.4 to 1.7.0

22

dist/percy.js

@@ -72,6 +72,2 @@ import PercyClient from '@percy/client';

if (this.delayUploads) {
this.#uploads.concurrency = 1;
}
this.client = new PercyClient({

@@ -166,2 +162,3 @@ token,

this.#uploads.stop();
this.build = {};
return this.client.createBuild().then(({

@@ -173,7 +170,9 @@ data: {

}) => {
this.build = {
id
};
this.build.number = attributes['build-number'];
this.build.url = attributes['web-url'];
let url = attributes['web-url'];
let number = attributes['build-number'];
Object.assign(this.build, {
id,
url,
number
});
if (!this.delayUploads) this.#uploads.run();

@@ -252,2 +251,3 @@ });

if (!this.deferUploads || !this.#uploads.has('build/create') || this.#uploads.size > 1) {
if (this.build && !this.build.id) yield* this.#uploads.idle();
yield* this.#uploads.flush(s => {

@@ -465,6 +465,6 @@ // do not log a count when not closing or while creating a build

if (!this.skipUploads && this.delayUploads) this.#uploads.run();
if (!this.skipUploads && this.delayUploads && (!this.build || this.build.id)) this.#uploads.run();
return this.#uploads.push(`upload/${name}`, async () => {
// when delayed, stop the queue before other uploads are processed
if (this.delayUploads) this.#uploads.stop();
if (this.readyState < 2 && this.delayUploads) this.#uploads.stop();

@@ -471,0 +471,0 @@ try {

{
"name": "@percy/core",
"version": "1.6.4",
"version": "1.7.0",
"license": "MIT",

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

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

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

},
"gitHead": "651c0fad62f128053723f9b8d565c69496dc51e4"
"gitHead": "f1418fb1effdaad2d32c65d1a358282ab1f9ec32"
}
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