@browserless/screenshot
Advanced tools
Comparing version 5.9.0 to 5.9.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.9.1](https://github.com/kikobeats/browserless/tree/master/packages/screenshot/compare/v5.9.0...v5.9.1) (2019-08-08) | ||
### Bug Fixes | ||
* transparent bg ([bdf1e8f](https://github.com/kikobeats/browserless/tree/master/packages/screenshot/commit/bdf1e8f)) | ||
# [5.9.0](https://github.com/kikobeats/browserless/tree/master/packages/screenshot/compare/v5.8.10...v5.9.0) (2019-08-03) | ||
@@ -8,0 +19,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://browserless.js.org/#/?id=screenshoturl-options", | ||
"version": "5.9.0", | ||
"version": "5.9.1", | ||
"main": "src/index.js", | ||
@@ -49,3 +49,3 @@ "author": { | ||
"license": "MIT", | ||
"gitHead": "947e4c279dfd3745839e42bdd4984f2990ecd07f" | ||
"gitHead": "2b4173292f8b36c64960a90d5458c79e8ab419f1" | ||
} |
@@ -104,4 +104,3 @@ 'use strict' | ||
const createSvgBackground = css => | ||
Buffer.from(svgGradient(css, { width: '1388px', height: '955px' })) | ||
const createSvgBackground = css => svgGradient(css, { width: '1388px', height: '955px' }) | ||
@@ -114,3 +113,3 @@ const getBackground = async (bg = 'transparent') => { | ||
if (bg !== 'transparent' && !bg.includes('gradient')) { | ||
if (!bg.includes('gradient')) { | ||
bg = `linear-gradient(45deg, ${bg} 0%, ${bg} 100%)` | ||
@@ -117,0 +116,0 @@ } |
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
48022
177