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

@html2canvas/html2canvas

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@html2canvas/html2canvas - npm Package Versions

1.6.3

Diff

Changelog

Source

1.6.3 (2024-07-18)

fix

  • Fix build for browsers #7 (thanks @jamie-zaharopoulos-fh)
  • Fix the issue of TextNode content being overlooke… #8 (thanks @xweiba)
  • Fixed an issue with characters moving up in non-Firefox #9 (thanks @xweiba)
  • Correcting the issue of textDecorationLine displaying offsets on high-resolution devices by utilizing element heights. #10 (thanks @xweiba)
zefling
published 1.6.2 •

Changelog

Source

1.6.2 (2024-06-15)

fix

  • Fix underline (b2911f3)
  • Fix renderBackgroundImage When receiving an image with 0 width or height (c7eb296)
  • Fix font loading (50a8365)
  • When running async with many invocations cleanup all iframes (724fe62)
  • Fix cors and browser extension image handling (714c08f)
  • Use global cache and retry image after deleting from cache (e359d90)
zefling
published 1.6.1 •

Changelog

Source

1.6.1 (2024-06-04)

feat

fix

  • Loading images in Firefox (184e558)
zefling
published 1.6.0 •

Changelog

Source

1.6.0 (2024-05-08)

Change repository to @html2canvas/html2canvas

Merge form acurrieclark/text-align-changes & wtto00/master

feat

  • Add support for css style object-fit of <img> elements (627dbac84)
  • Accept "normal" value for style.content (a70cd49c3)
  • Update canvas-renderer.ts to fix Vertical alignment issues with text (ad65ffb6)

fix

  • Text alignment issues (9db98f52)
  • The rendering order of transform and clip effects (18bef2f)
  • On Safari, the object-fit property for SVG images is not effective. (55bfd47f)
  • Replace deprecated String.prototype.substr() (d83ba946)
  • add <base> to fix relative error in iframe (4e6c022b)
  • Avoid duplicate enum value of LIST_STYLE_TYPE (fbab3ccf)
  • Resolve that box shadow cannot be displayed without inset attribute,and No blur effect when blur radius is set (a6651e38)
  • Set the document clone iframe container's size via the style attribute (9855c6c4)
  • "Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true" warning in chrome browser (1a7839db)
  • Resolve that box shadow cannot be displayed without inset attribute,and No blur effect when blur radius is set (a6651e38)
  • fix: renderBackgroundImage lineLength (34bee729)
  • refacto (667f6a9)
  • Fix project configuration (f6551987)
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