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 Versions

1235

1.0.0-alpha.7

Diff

Changelog

Source

v1.0.0-alpha.7 - 31.12.2017

  • Fix form input rendering (#1338)
  • Improve word line breaking algorithm
niklasvh
published 1.0.0-alpha.6 •

Changelog

Source

v1.0.0-alpha.6 - 28.12.2017

  • Fix list-style: none (#1340)
  • Extend supported values for pseudo element content
niklasvh
published 1.0.0-alpha.5 •

Changelog

Source

v1.0.0-alpha.5 - 21.12.2017

  • Fix underline positioning
  • Fix canvas rendering on Chrome
  • Fix overflow: auto
  • Added support for rendering list-style

v1.0.0-alpha.4 - 12.12.2017

  • Fix rendering with multiple fonts defined (Fix #796)
  • Add support for radial-gradients
  • Fix logging option (#1302)
  • Add support for rendering webgl canvas content (#646)
  • Fix external SVG loading with proxies (#802)
niklasvh
published 1.0.0-alpha.4 •

niklasvh
published 1.0.0-alpha.3 •

Changelog

Source

v1.0.0-alpha.3 - 9.12.2017

  • Disable foreignObjectRendering by default (#1295)
  • Fix background-size when using background-origin and background-size: cover/contain (#1299)
  • Added support for background-origin: content-box (#1299)
niklasvh
published 1.0.0-alpha.2 •

Changelog

Source

v1.0.0-alpha.2 - 7.12.2017

  • Fix scroll positions for CanvasRenderer (#1259)
  • Fix data-html2canvas-ignore attribute (#1253)
  • Fix decimal letter-spacing values (#1293)
niklasvh
published 1.0.0-alpha.1 •

Changelog

Source

v1.0.0-alpha.1 - 5.12.2017

  • Complete rewrite of library
Breaking Changes
  • Remove deprecated onrendered callback, calling html2canvas returns a Promise<HTMLCanvasElement>
  • Removed option type, same results can be achieved by assigning x, y, scrollX, scrollY, width and height properties.

New featues / fixes

  • Add support for scaling canvas (defaults to device pixel ratio)
  • Add support for multiple text-shadows
  • Add support for multiple text-decorations
  • Add support for text-decoration-color
  • Add support for percentage values for border-radius
  • Correctly handle px and percentage values in linear-gradients
  • Correctly support all angle types for linear-gradients
  • Add support for multiple values for background-repeat, background-position and background-size
niklasvh
published 0.5.0-beta4 •

Changelog

Source

v0.5.0-beta4 - 23.1.2016

  • Fix logger requiring access to window object
  • Derequire browserify build
  • Fix rendering of specific elements when window is scrolled and type isn't set to view
niklasvh
published 0.5.0-beta3 •

Changelog

Source

v0.5.0-beta3 - 6.12.2015

  • Handle color names in linear gradients
niklasvh
published 0.5.0-alpha2 •

Changelog

Source

v0.5.0-alpha2 - 3.2.2015

  • Switch to using browserify for building
  • Fix (#517) Chrome stretches background images with 'auto' or single attributes
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