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

js-draw

Package Overview
Dependencies
Maintainers
0
Versions
119
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.21.3

Diff

personalizedrefrigerator
published 1.21.2 •

Changelog

Source

1.21.2

  • Bug fixes
    • Fix copy icon is small when the selection context menu is opened near the screen edge.
    • Prevent selection from flashing when opening the context menu by long-pressing outside the selection box.
    • Remove from-root imports (import ... from 'js-draw/...).
personalizedrefrigerator
published 1.21.1 •

Changelog

Source

1.21.0, 1.21.1

  • Features
    • Selection popover menu with copy/paste/duplicate/delete.
    • Make selection keyboard shortcuts configurable.
    • Add keyboard shortcuts to scale the selection in both X and Y.
  • Changes
    • Hide selection handles while creating selections.
  • Bug fixes
    • Fix drawing strokes with stylus devices not marked as primary (#71).
    • Fix <image>s with an empty href cause rendering errors.
personalizedrefrigerator
published 1.20.3 •

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).
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