Socket
Socket
Sign inDemoInstall

paper

Package Overview
Dependencies
0
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23456Next

0.12.17

Diff

Changelog

Source

0.12.17

  • Properly warning in Chrome Console by providing { willReadFrequently: true } canvas context option where needed (#2008).
lehni
published 0.12.16 •

Changelog

Source

0.12.16

Fixed

  • Fix Item#rasterize() bounds cache when reusing raster.
  • Fix new warning in Chrome Console by providing { willReadFrequently: true } canvas context option where needed (#1999, #2000, #2003).
  • Fix Path.* constructor properties handling when passing { insert: true }

Changed

  • Rename Raster#setImageData() to #putImageData().
  • Change Raster#setImageData() to also respect image size.
  • Add separate Numerical.ANGULAR_EPSILON for Path#arcTo()
lehni
published 0.12.15 •

Changelog

Source

0.12.15

Fixed

  • Fix NPM installation problem with husky introduced in v0.12.13
lehni
published 0.12.14 •

lehni
published 0.12.13 •

Changelog

Source

0.12.13

Fixed

  • Fix faulty positioning regression in Item#rasterize() (#1905).
lehni
published 0.12.12 •

Changelog

Source

0.12.12

Fixed

  • Fix installation problems on Windows by switching from NPM to Yarn for development (#1833).

Changed

  • Change Item#raster({ resolution, insert }) to receive options object, while remaining backward compatible.
  • Change Raster#smoothing to support the values 'low', 'medium', 'high' and 'off'. Setting to a boolean value is still supported, translating false'off' and true'low'.

Added

  • Allow reusing of raster items in Item#rasterize({ raster }): By providing an existing raster in options.raster, the raster and maybe even its underlying canvas can be reused, as long as the rasterized size doesn't change between rasterizations. This allows for big performance improvements.
lehni
published 0.12.11 •

Changelog

Source

0.12.11

Fixed

  • Fix installation through Yarn (#1831).
lehni
published 0.12.10 •

lehni
published 0.12.9 •

Changelog

Source

0.12.9

Added

  • Export CanvasProvider to allow experimenting with https://www.npmjs.com/package/canvaskit-wasm on Node.js

Fixed

  • Fix Path.strokeBounds that was incorrect for certain paths (#1824).
  • Fix Gulp 3 issues to be able to run Travis CI tests on Node.js 10, 12, 13 and 14.
lehni
published 0.12.8 •

Changelog

Source

0.12.8

Fixed

  • TypeScript: Fix returned instance type (#1796).
  • Fix Path#strokeBounds for open paths (#1817).
  • Fix animation progress handling in Tween.update().
  • Fix setting Item#scaling to a new value after it was set to zero (#1816).
  • SVG Import: Fully support SVG strings with leading line-breaks (#1813).
  • Docs: Improve Raster#initialize(object) documentation (#1815, #1782).
  • Docs: Fix Item#getItem(options) documentation.
23456Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc