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

fabric

Package Overview
Dependencies
Maintainers
2
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric - npm Package Versions

1
31

4.0.0-beta.11-browser

Diff

asturur
published 4.0.0-beta.10 •

Changelog

Source

[4.0.0-beta.10]

  • fix(controls): fix missing target in canvas event options #6251
  • fix(controls): correct position for offsets #6250
  • feat(utils): Added more error flag passing throughout functions #6238
asturur
published 4.0.0-beta.10-browser •

asturur
published 4.0.0-beta.9 •

Changelog

Source

[4.0.0-beta.9]

  • fix(controls) show offsetX/offsetY correctly. #6236
  • fix(controls) ISSUE-6201 Restore per object setting of controls visibility #6226
  • fix(svg_parser): ISSUE-6220 Allow to parse font declaration that start with a number #6222
asturur
published 4.0.0-beta.9-browser •

asturur
published 4.0.0-beta.8 •

Changelog

Source

[4.0.0-beta.8]

  • fix(IText) Stop composition events on mousedown to enable cursor position on android keyboards #6224
  • fix(controls): Handle textbox width change properly #6219
  • fix(controls): correctly handling the uniform scaling option #6218
  • fix(fabric.Object): fix activeSelection toDataURL canvas restore #6216
  • fix(svg_parsers): Add support for empty <style/> tags #6169
  • fix(SVG_export, text): Check font faces markup for objects within groups #6195
  • feat(animation): Extend fabric.util.animate animating colors and other properties#6191
  • fix(svg_export): remove extra space from svg export #6209
  • fix(svg_import): ISSUE-6170 do not try to create missing clippath #6210
  • fix(fabric.Object) Adding existence check for this.canvas on object stacking mixins #6207
asturur
published 4.0.0-beta.8-browser •

asturur
published 3.6.3 •

asturur
published 3.6.3-browser •

asturur
published 4.0.0-beta.7 •

Changelog

Source

[4.0.0-beta.7]

feat(controls): Added controls mouseUpHandler and mouseDownHandler #6158 Removal of deprecated methods / patterns. #6111

  • removed Object.setShadow, and BaseBrush.setShadow. change rect.setShadow(options) to rect.set('shadow', new fabric.Shadow(options))
  • removed Object.transformMatrix.
  • removed object:selected event. use selection:created. In the callback you will still find target in the options, but also you will find selected with all the objects selected during that single event.
  • removed Gradient.forObject. No alternative available.
  • removed Object and canvas clipTo. Use Object.clipPath;
  • removed Canvas.loadFromDatalessJSON, it was just an alias for loadFromJSON
  • removed observe, stopObserving, trigger from observable. Keep using on, off, fire.
  • removed the Object.set ability to take a function as a value. Was rather strange to use.
  • removed Object.setGradient. Change rect.setGradient(options) with rect.set('fill', new fabric.Gradient(otherOptions)). The options format is slightly different, but keeping 2 formats does not really make sense.
  • removed Object.setPatternFill. Change rect.setPatternFill(options) to rect.set('fill', new fabric.Pattern(options));
  • removed Object.setColor. Change rect.setColor(color) to rect.set('fill', color)
  • removed fabric.util.customTransformMatrix. Use the replacement fabric.util.composeMatrix
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