@percy/core
Advanced tools
Comparing version 1.28.8-beta.1 to 1.28.8-beta.2
@@ -96,3 +96,3 @@ import fs from 'fs'; | ||
.route('get', '/percy-agent.js', async (req, res) => { | ||
logger('core:server').deprecated(['It looks like you’re using @percy/cli with an older SDK.', 'Please upgrade to the latest version to fix this warning.', 'See these docs for more info: https:docs.percy.io/docs/migrating-to-percy-cli'].join(' ')); | ||
logger('core:server').deprecated(['It looks like you’re using @percy/cli with an older SDK.', 'Please upgrade to the latest version to fix this warning.', 'See these docs for more info: https://www.browserstack.com/docs/percy/migration/migrate-to-cli'].join(' ')); | ||
let content = await fs.promises.readFile(PERCY_DOM, 'utf-8'); | ||
@@ -163,3 +163,3 @@ let wrapper = '(window.PercyAgent = class { snapshot(n, o) { return PercyDOM.serialize(o); } });'; | ||
percyAutomateRequestHandler(req, percy); | ||
let comparisonData = await WebdriverUtils.automateScreenshot(req.body); | ||
let comparisonData = await WebdriverUtils.captureScreenshot(req.body); | ||
if (percy.syncMode(comparisonData)) { | ||
@@ -166,0 +166,0 @@ const snapshotPromise = new Promise((resolve, reject) => percy.upload(comparisonData, { |
{ | ||
"name": "@percy/core", | ||
"version": "1.28.8-beta.1", | ||
"version": "1.28.8-beta.2", | ||
"license": "MIT", | ||
@@ -46,7 +46,7 @@ "repository": { | ||
"dependencies": { | ||
"@percy/client": "1.28.8-beta.1", | ||
"@percy/config": "1.28.8-beta.1", | ||
"@percy/dom": "1.28.8-beta.1", | ||
"@percy/logger": "1.28.8-beta.1", | ||
"@percy/webdriver-utils": "1.28.8-beta.1", | ||
"@percy/client": "1.28.8-beta.2", | ||
"@percy/config": "1.28.8-beta.2", | ||
"@percy/dom": "1.28.8-beta.2", | ||
"@percy/logger": "1.28.8-beta.2", | ||
"@percy/webdriver-utils": "1.28.8-beta.2", | ||
"content-disposition": "^0.5.4", | ||
@@ -64,3 +64,3 @@ "cross-spawn": "^7.0.3", | ||
}, | ||
"gitHead": "d31a9746c7be6d74db284b8f30c3248d2bba916e" | ||
"gitHead": "6c954bcd0fa6a825ad636167f0a07251f124b710" | ||
} |
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
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
390373
+ Added@percy/client@1.28.8-beta.2(transitive)
+ Added@percy/config@1.28.8-beta.2(transitive)
+ Added@percy/dom@1.28.8-beta.2(transitive)
+ Added@percy/env@1.28.8-beta.2(transitive)
+ Added@percy/logger@1.28.8-beta.2(transitive)
+ Added@percy/sdk-utils@1.28.8-beta.2(transitive)
+ Added@percy/webdriver-utils@1.28.8-beta.2(transitive)
- Removed@percy/client@1.28.8-beta.1(transitive)
- Removed@percy/config@1.28.8-beta.1(transitive)
- Removed@percy/dom@1.28.8-beta.1(transitive)
- Removed@percy/env@1.28.8-beta.1(transitive)
- Removed@percy/logger@1.28.8-beta.1(transitive)
- Removed@percy/sdk-utils@1.28.8-beta.1(transitive)
- Removed@percy/webdriver-utils@1.28.8-beta.1(transitive)
Updated@percy/client@1.28.8-beta.2
Updated@percy/config@1.28.8-beta.2
Updated@percy/dom@1.28.8-beta.2
Updated@percy/logger@1.28.8-beta.2