@percy/core
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -61,3 +61,4 @@ import fs from 'fs'; | ||
timeout | ||
} = launchOptions; // transform cookies object to an array of cookie params | ||
} = launchOptions; | ||
executable ?? (executable = process.env.PERCY_BROWSER_EXECUTABLE); // transform cookies object to an array of cookie params | ||
@@ -64,0 +65,0 @@ this.cookies = Array.isArray(cookies) ? cookies : Object.entries(cookies).map(([name, value]) => ({ |
@@ -28,2 +28,5 @@ // Common config options used in Percy commands | ||
type: 'boolean' | ||
}, | ||
scope: { | ||
type: 'string' | ||
} | ||
@@ -166,2 +169,5 @@ } | ||
}, | ||
scope: { | ||
$ref: '/config/snapshot#/properties/scope' | ||
}, | ||
minHeight: { | ||
@@ -168,0 +174,0 @@ $ref: '/config/snapshot#/properties/minHeight' |
@@ -259,2 +259,3 @@ import logger from '@percy/logger'; | ||
debugProp(snapshot, 'url'); | ||
debugProp(snapshot, 'scope'); | ||
debugProp(snapshot, 'widths', v => `${v}px`); | ||
@@ -261,0 +262,0 @@ debugProp(snapshot, 'minHeight', v => `${v}px`); |
{ | ||
"name": "@percy/core", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -42,6 +42,6 @@ "repository": { | ||
"dependencies": { | ||
"@percy/client": "1.2.1", | ||
"@percy/config": "1.2.1", | ||
"@percy/dom": "1.2.1", | ||
"@percy/logger": "1.2.1", | ||
"@percy/client": "1.3.0", | ||
"@percy/config": "1.3.0", | ||
"@percy/dom": "1.3.0", | ||
"@percy/logger": "1.3.0", | ||
"content-disposition": "^0.5.4", | ||
@@ -57,3 +57,3 @@ "cross-spawn": "^7.0.3", | ||
}, | ||
"gitHead": "179bfce5c68f54001b92e5f332c2fb51fae48bc9" | ||
"gitHead": "c2d8d8337867b74fb3c494e490912ec6349dbe5f" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143231
3205
9
+ Added@percy/client@1.3.0(transitive)
+ Added@percy/config@1.3.0(transitive)
+ Added@percy/dom@1.3.0(transitive)
+ Added@percy/env@1.3.0(transitive)
+ Added@percy/logger@1.3.0(transitive)
- Removed@percy/client@1.2.1(transitive)
- Removed@percy/config@1.2.1(transitive)
- Removed@percy/dom@1.2.1(transitive)
- Removed@percy/env@1.2.1(transitive)
- Removed@percy/logger@1.2.1(transitive)
Updated@percy/client@1.3.0
Updated@percy/config@1.3.0
Updated@percy/dom@1.3.0
Updated@percy/logger@1.3.0