@applitools/screenshoter
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -7,3 +7,3 @@ { | ||
"version": "file:../dry-run.tgz", | ||
"integrity": "sha512-lbMIQ7m/OmynW9FJhb6VIJsQHY5IAYkYyIYDNX4CHhecoPw0j80UiUZ/c/s2m093TrFmsP12eKpaiAni44eniw==", | ||
"integrity": "sha512-FEfrSDlZNL6yGZ64dyQirCirX0K8JzlPq0tCAFFK7jaOYzncNQyBvfClb1hm/kuloIIRtTGvPf304WiygKiKcA==", | ||
"requires": { | ||
@@ -10,0 +10,0 @@ "@applitools/utils": "1.0.0", |
@@ -7,2 +7,6 @@ | ||
## 2.1.1 - 2021/1/15 | ||
- fix bug when `toPng` method returns empty buffer | ||
- fix bug when `toPng` method returns empty buffer | ||
## 2.1.0 - 2021/1/15 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "@applitools/screenshoter", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Applitools universal screenshoter for web and native applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -78,7 +78,7 @@ const fs = require('fs') | ||
return new Promise((resolve, reject) => { | ||
const buffer = Buffer.alloc(0) | ||
let buffer = Buffer.alloc(0) | ||
const writable = new stream.Writable({ | ||
write(chunk, _encoding, next) { | ||
this._buffer = Buffer.concat([buffer, chunk]) | ||
buffer = Buffer.concat([buffer, chunk]) | ||
next() | ||
@@ -85,0 +85,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
10186922