@applitools/screenshoter
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -7,3 +7,3 @@ { | ||
"version": "file:../dry-run.tgz", | ||
"integrity": "sha512-VBPg0HMZcGo83c0BO1PY1eLq6LQNvdT6yVt+ygypd+Nh6Ny/L/Eul87mHlSV3AJPF/pU7P2IkY6d9lAaObiM3A==", | ||
"integrity": "sha512-g1lcC02PDAyrfC+1pqfHV9TMoDFoudaxC8XJ70F8HblyeIacygUhZbeKERi8nWG9t8Wuztsn/XIGC0N4vcJzjA==", | ||
"requires": { | ||
@@ -10,0 +10,0 @@ "@applitools/snippets": "2.1.4", |
@@ -7,2 +7,6 @@ | ||
## 3.2.3 - 2021/8/13 | ||
- remove base64 sanitizing | ||
## 3.2.2 - 2021/8/13 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "@applitools/screenshoter", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Applitools universal screenshoter for web and native applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -139,5 +139,3 @@ const utils = require('@applitools/utils') | ||
logger.verbose('Taking native driver screenshot...') | ||
const base64 = await driver.takeScreenshot() | ||
// trimming line breaks since 3rd party grid providers can return them | ||
const image = makeImage(base64.replace(/[\r\n]+/g, '')) | ||
const image = makeImage(await driver.takeScreenshot()) | ||
await image.debug({...debug, name, suffix: 'original'}) | ||
@@ -144,0 +142,0 @@ |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
30123020
90
0
2332