Socket
Socket
Sign inDemoInstall

js-draw

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-draw - npm Package Versions

23
12

1.20.3

Diff

Changelog

Source

1.20.3

  • Bug fixes
    • Fix importing js-draw, js-draw/Editor, etc. as an ES module.
    • Fix importing js-draw/Editor as a CommonJS module.
    • Fix rounding size was too large at some zoom levels with the polyline pen.
personalizedrefrigerator
published 1.20.2 •

Changelog

Source

1.20.1 and 1.20.2

  • Bug fixes
    • Image tool: Fix ALT text input applies ALT text to wrong images when multiple images are selected.
personalizedrefrigerator
published 1.20.1 •

Changelog

Source

1.20.1 and 1.20.2

  • Bug fixes
    • Image tool: Fix ALT text input applies ALT text to wrong images when multiple images are selected.
personalizedrefrigerator
published 1.20.0 •

Changelog

Source

1.20.0

  • Features
    • Added an additional scroll indicator when the image tool displays multiple images.
      • This works around a lack of scrollbars in Android WebViews.
  • Improvements
    • Improve performance when loading large images.
personalizedrefrigerator
published 1.19.1 •

Changelog

Source

1.19.0, 1.19.1

  • Features
    • Support adding multiple images at once from the image tool.
    • API to support customizing the default selectable fonts.
    • (Beta) Image tool: Support specifying a custom file picker.
  • Bug fixes
    • Possible fix for eraser button not switching to the eraser tool on some devices.
    • Fix unable to render text with a multi-word font.
  • Improvements
    • Decrease size of Vec2s in memory.
personalizedrefrigerator
published 1.18.0 •

Changelog

Source

1.18.0

  • Features
    • Partial stroke eraser.
    • Improve on and make the polyline pen one of the defaults.
    • Add an API to allow removing pen types from the toolbar.
  • Bug fixes
    • Fix LineSegment2.intersects can return an incorrect value for very-near vertical lines
    • Fix Vec3.eq always returned true when comparing with NaN (e.g. Vec3(NaN, NaN, NaN).eq(Vec3(1, 2, 3)) was true).
    • Fix autoresized images could incorrectly calculate the top-left corner of the full image in some cases.
  • Improvements
    • Fix highlighter pen could include near-duplicate, overlapping copies of curves in its output.
personalizedrefrigerator
published 1.17.0 •

Changelog

Source

1.17.0

  • Features
    • Attach rendered versions of the selection to the clipboard on copy: Support pasting into more applications.
  • Bug fixes
    • Deleting the first character in the background size dialog no longer resets the background size to 100.
    • Fix stroke width not set correctly by SVGRenderer when export zoom is not 100%.
    • Fixed copy/paste between Chrome and Firefox
  • API
    • Simplify API for finding distance between points. (Add .distanceTo method).
    • Simplify API for changing the background of an image (Editor.setBackgroundStyle).
personalizedrefrigerator
published 1.16.1 •

Changelog

Source

1.16.1

  • Bug fixes
    • Fixes accessibility text possible to accidentally drag and drop into the editor. (https://github.com/personalizedrefrigerator/joplin-plugin-freehand-drawing/issues/8)
personalizedrefrigerator
published 1.16.0 •

Changelog

Source

1.16.0

  • Features
    • Snap zoom to powers of 10 when zooming with touch. This should make it easier to maintain a consistent zoom in some cases.
  • Bug fixes
    • Collaborative editing: Fix exception thrown when undoing selection transforms that have been partially erased by another user.
    • Selection: Prevent the selection handles from being briefly visible at the top left corner of the screen when starting a new selection.
    • Viewing: Fix large strokes flicker while rotating the screen.
personalizedrefrigerator
published 1.15.0 •

Changelog

Source

1.15.0

  • Features
    • Added a "help" feature to the pen, select, and page tools.
    • Find tool: Search in image alt text, in addition to text boxes.
  • Changes
    • Re-enable changes to stroke smoothing, with some adjustements to improve drawing many fast, small lines.
  • Bug fixes
    • Fix animation for showing the help dialog has motion even when reduce-motion is enabled.
23
12
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