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.2.0 to 1.2.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [1.2.1](https://github.com/niklasvh/html2canvas/compare/v1.2.0...v1.2.1) (2021-08-05)
### fix
* none image (#2627) ([6651fc6](https://github.com/niklasvh/html2canvas/commit/6651fc6789d5902d171dc53b4094887870433018)), closes [#2627](https://github.com/niklasvh/html2canvas/issues/2627)
* type import that is only available ts 3.8 or higher (#2629) ([c5c6fa0](https://github.com/niklasvh/html2canvas/commit/c5c6fa00d71f36ef963ba5170ebc7b668d39c407)), closes [#2629](https://github.com/niklasvh/html2canvas/issues/2629)
# [1.2.0](https://github.com/niklasvh/html2canvas/compare/v1.1.5...v1.2.0) (2021-08-04)

@@ -7,0 +17,0 @@

5

dist/lib/css/types/image.js

@@ -51,7 +51,8 @@ "use strict";

}
throw new Error("Unsupported image type");
throw new Error("Unsupported image type " + value.type);
}
};
function isSupportedImage(value) {
return value.type !== tokenizer_1.TokenType.FUNCTION || !!SUPPORTED_IMAGE_FUNCTIONS[value.name];
return (!(value.type === tokenizer_1.TokenType.IDENT_TOKEN && value.value === 'none') &&
(value.type !== tokenizer_1.TokenType.FUNCTION || !!SUPPORTED_IMAGE_FUNCTIONS[value.name]));
}

@@ -58,0 +59,0 @@ exports.isSupportedImage = isSupportedImage;

2

dist/types/core/cache-storage.d.ts

@@ -1,2 +0,2 @@

import type { Context } from './context';
import { Context } from './context';
export declare class CacheStorage {

@@ -3,0 +3,0 @@ private static _link?;

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

"browser": "dist/html2canvas.js",
"version": "1.2.0",
"version": "1.2.1",
"author": {

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

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