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.2-beta.0 to 1.28.2-beta.1

14

dist/client.js

@@ -215,2 +215,16 @@ import fs from 'fs';

// Returns device details enabled on project associated with given token
async getDeviceDetails(buildId) {
try {
let url = 'discovery/device-details';
if (buildId) url += `?build_id=${buildId}`;
const {
data
} = await this.get(url);
return data;
} catch (e) {
return [];
}
}
// Retrieves project builds optionally filtered. Requires a read access token.

@@ -217,0 +231,0 @@ async getBuilds(project, filters = {}) {

8

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

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

"dependencies": {
"@percy/env": "1.28.2-beta.0",
"@percy/logger": "1.28.2-beta.0"
"@percy/env": "1.28.2-beta.1",
"@percy/logger": "1.28.2-beta.1"
},
"gitHead": "0519aa061bd36acd0852b961e24c05b9ad67274f"
"gitHead": "c4d0637366dbc28eeda234f93d44424d9c565f49"
}

@@ -142,2 +142,8 @@ import EventEmitter from 'events';

diff_ratio: 0
}],
'/discovery/device-details?build_id=123': () => [201, {
data: []
}],
'/discovery/device-details': () => [201, {
data: []
}]

@@ -144,0 +150,0 @@ },

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