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

fabric

Package Overview
Dependencies
Maintainers
1
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

3.0.0

Diff

Changelog

Source

[3.0.0]

  • Breaking: removed support for node 4 and 6. #5356
  • Breaking: changed objectCaching meaning to disable caching only if possible. #5566
  • Breaking: private method _setLineStyle can set only empty object now #5588
  • Breaking: private method _getLineStyle can only return boolean now #5588
  • Fix: splitByGrapheme can now handle cursor properly #5588
  • Add: Added hasStroke and hasFill, helper methods for decisions on caching and for devs, change image shouldCache method #5567
  • Fix: Canvas toObject won't throw error now if there is a clipPath #5556
  • Add: added nonScaling property to shadow class #5558
  • Fix: fixed import of Rect from SVG when has 0 dimensions. #5582
  • Fix: Shadow offset in dataurl export with retina #5593
  • Fix: Text can be used as clipPath in SVG export (output is not correct yet) #5591
  • Add: Fabric.disableStyleCopyPasting to disable style transfers on copy-paste of itext #5590
  • Fix: avoid adding quotes to fontFamily containing a coma #5624
  • Fix: strokeUniform and cache dimensions #5626
  • Fix: Do not call onSelect on objects that won't be part of the selection #5632
  • Fix: fixed handling of empty lines in splitByGrapheme #5645
  • Fix: Textbox selectable property not restored after exitEditing #5655
  • Fix: 'before:selection:cleared' event gets target in the option passed #5658
  • Added: enablePointerEvents options to Canvas activates pointer events #5589
  • Fix: Polygon/Polyline/Path respect points position when initializing #5668
  • Fix: Do not load undefine objects in group/canvas array when restoring from JSON or SVG. #5684
  • Improvement: support for canvas background or overlay as gradient #5684
  • Fix: properly restore clipPath when restoring from JSON #5641
  • Fix: respect chainable attribute in observable mixin #5606
asturur
published 2.7.0 •

Changelog

Source

[2.7.0]

  • Add: strokeUniform property, avoid stroke scaling with paths #5473
  • Fix: fix bug in image setSrc #5502
  • Add: strokeUniform import/export svg #5527
  • Fix: GraphemeSplit and toSvg for circle #5544
  • Improvement: support running in a XML document #5530
asturur
published 2.6.0 •

Changelog

Source

[2.6.0]

  • Fix: avoid ie11 to throw on weird draw images #5428
  • Fix: a rare case of invisible clipPath #5477
  • Fix: testability of code under node when webgl is involved #5478
  • Add: Grapeheme text wrapping for Textbox (Textbox.splitByGrapheme) #5479
  • Add: fabric.Object.toCanvasElement #5481
asturur
published 2.5.0 •

Changelog

Source

[2.5.0]

  • Fix: textbox transform report newScaleX and newScaleY values #5464
  • Fix: export of svg and gradient with transforms #5456
  • Fix: detection of controls in perPixelTargetFind + cache #5455
  • Add: added canvas.toCanvasElement method #5452
asturur
published 2.4.6 •

Changelog

Source

[2.4.6]

  • Fix: unbreak the svg export broken in 2.4.5 #5438
asturur
published 2.4.5 •

Changelog

Source

[2.4.5]

  • Fix: svg import/export for canvas+clipPath and letterspacing. #5424
  • Fix: avoid stroke dash from group selection to leak on upper canvas #5392
asturur
published 2.4.4 •

Changelog

Source

[2.4.4]

  • Fix: add clipPath to stateful cache check. #5384
  • Fix: restore draggability of small objects #5379
  • Improvement: Added strokeDashOffset to objects and from SVG import. #5398
  • Fix: do not mark objects as invisible if strokeWidth is > 0 #5382
  • Improvement: Better gradients parsing with xlink:href #5357
asturur
published 2.4.3 •

Changelog

Source

[2.4.3]

  • Fix: Shift click and onSelect function #5348
  • Fix: Load from Json from images with filters and resize filters #5346
  • Fix: Remove special case of 1x1 rect #5345
  • Fix: Group with clipPath restore #5344
  • Fix: Fix shift + click interaction with unselectable objects #5324
asturur
published 2.4.2-b •

asturur
published 2.4.2 •

Changelog

Source

[2.4.2]

  • Fix: Better toSVG support to enable clipPath #5284
  • Fix: Per pixel target find and groups and sub targets #5287
  • Fix: Object clone as Image and shadow clipping #5308
  • Fix: IE11 loading SVG #5307
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