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

js-draw

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-draw - npm Package Versions

1
1012

0.1.8

Diff

Changelog

Source

0.1.8

  • Don't render if the screen has a size of 0x0.
    • This was breaking the cache data structure's invariant -- cache blocks weren't dividing when they had zero size.
  • Fix rectangles drawn with the pen's rectangle mode not having edges parallel to the viewport.
personalizedrefrigerator
published 0.1.7 •

Changelog

Source

0.1.7

  • Show the six most recent color selections in the color palette.
  • Switch from checkboxes to togglebuttons in the dropdown for the hand tool.
  • Adds a "duplicate selection" button.
  • Add a pipette (select color from screen) tool.
  • Make Erase, Duplicate, AddElement, TransformElement commands serializable.
personalizedrefrigerator
published 0.1.6 •

Changelog

Source

0.1.6

  • Fix loading text in SVG images in Chrome.
personalizedrefrigerator
published 0.1.5 •

Changelog

Source

0.1.5

  • Add a text-only renderer (only renders text objects at present) that can be activated with a screen reader.
  • Make new text objects parallel to screen's horizontal axis.
  • Fix pinch zoom off center when embedded in larger page.
personalizedrefrigerator
published 0.1.4 •

Changelog

Source

0.1.4

  • Option to enable pan gestures only if the editor has focus
  • Text tool bug fixes and improvements.
  • Defocus/blur editor when Esc key is pressed.
personalizedrefrigerator
published 0.1.3 •

Changelog

Source

0.1.3

  • Very minimalistic text tool.
  • Ability to load and save text.
  • Fix a rounding bug where small strokes could be stretched/moved to the wrong locations.
personalizedrefrigerator
published 0.1.2 •

Changelog

Source

0.1.2

  • Replace 'touch drawing' with a hand tool.
  • Bug fixes related to importing SVGs from other applications.
personalizedrefrigerator
published 0.1.1 •

Changelog

Source

0.1.1

  • Avoid using the cache if working with smaller numbers of strokes.
  • Attempt to prevent stroke width being zero at some locations in thin strokes.
personalizedrefrigerator
published 0.1.0 •

Changelog

Source

0.1.0

  • Zoom to import/export region just after importing.
  • Rendered strokes are cached if possible for better performance.
personalizedrefrigerator
published 0.0.10 •

Changelog

Source

0.0.10

  • Prefer higher quality rendering except during touchscreen gestures and large groups of commands.
  • Add a "delete selection" button.
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