Socket
Socket
Sign inDemoInstall

html2canvas

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html2canvas - npm Package Compare versions

Comparing version 1.0.0-alpha.10 to 1.0.0-alpha.11

4

CHANGELOG.md
### Changelog ###
#### v1.0.0-alpha.11 - 1.4.2018 ####
* Fix IE11 member not found error
* Support blob image resources in non-foreignObjectRendering mode
#### v1.0.0-alpha.10 - 15.2.2018 ####

@@ -4,0 +8,0 @@ * Re-introduce `onclone` option (Fix #1434)

@@ -213,3 +213,11 @@ 'use strict';

var css = [].slice.call(node.sheet.cssRules, 0).reduce(function (css, rule) {
return css + rule.cssText;
try {
if (rule && rule.cssText) {
return css + rule.cssText;
}
return css;
} catch (err) {
_this3.logger.log('Unable to access cssText property', rule.name);
return css;
}
}, '');

@@ -216,0 +224,0 @@ var style = node.cloneNode(false);

@@ -40,2 +40,6 @@ 'use strict';

}
if (isBlobImage(src)) {
this.cache[src] = _loadImage(src, this.options.imageTimeout || 0);
return src;
}

@@ -240,2 +244,5 @@ if (!isSVG(src) || _Feature2.default.SUPPORT_SVG_DRAWING) {

};
var isBlobImage = function isBlobImage(src) {
return src.substr(0, 4) === 'blob';
};

@@ -242,0 +249,0 @@ var isSVG = function isSVG(src) {

2

package.json

@@ -6,3 +6,3 @@ {

"main": "dist/npm/index.js",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"author": {

@@ -9,0 +9,0 @@ "name": "Niklas von Hertzen",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc