Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kovaci/html2canvas

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kovaci/html2canvas - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

7

dist/lib/core/cache-storage.js

@@ -104,2 +104,3 @@ "use strict";

this._cache[src] = this.loadImage(src);
console.log('cached', this._cache[src]);
return result;

@@ -141,6 +142,8 @@ }

var img = new Image();
console.log('creating new Img');
img.onload = function () { return resolve(img); };
img.onerror = function () {
img.src = '';
resolve(img);
var minimalGif = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
img.src = minimalGif;
return resolve(img);
};

@@ -147,0 +150,0 @@ //ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymous

@@ -9,3 +9,3 @@ {

"browser": "dist/html2canvas.js",
"version": "1.0.9",
"version": "1.0.10",
"author": {

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

@@ -14,2 +14,11 @@ html2canvas

> (https://github.com/crcastle/html2canvas is a fork from https://github.com/niklasvh/html2canvas and adds supports for shadow dom)
>
> BugFixes list:
>> Add inline style for each cloned element
>>
>> Fix css display: grid
>>
>> Fix for malformed ing src
>>
>> Fix gradient svg in Safari not shown correctly

@@ -16,0 +25,0 @@ #### JavaScript HTML renderer ####

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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