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

fabric

Package Overview
Dependencies
Maintainers
2
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric - npm Package Versions

1
31

5.2.1

Diff

Changelog

Source

[5.2.1]

  • fix(): add eraser to Object state/cache props #7720
asturur
published 5.2.1-browser •

asturur
published 5.1.0 •

Changelog

Source

[5.1.0]

  • build(deps): bump node-fetch from 2.6.6 to 2.6.7 #7684
  • build(deps): bump follow-redirects from 1.14.6 to 1.14.8 #7683
  • build(deps): bump simple-get from 3.1.0 to 3.1.1 #7682
  • build(deps): bump engine.io from 6.1.0 to 6.1.2 #7681
  • fix(test): Remove expect assertion #7678
  • docs(blendimage_filter.class.js) corrected mode options #7672
  • chore(): Update bug_report.md #7659
  • fix(util.animation): remove extra animation cancel #7631
  • feat(animation): Support a list of animation values for animating matrices changes #7633
  • ci(tests): windows and linux paths resolutions #7635
asturur
published 5.1.0-browser •

asturur
published 5.0.0 •

Changelog

Source

[5.0.0]

  • fix(fabric.Canvas): unflag contextLost after a full re-render #7646
  • BREAKING: remove 4.x deprecated code #7630
  • feat(fabric.StaticCanvas, fabric.Canvas): limit breaking changes #7627
  • feat(animation): animations registry #7528
  • docs(): Remove not working badges #7623
  • ci(): add auto-changelog package to quickly draft a changelog #7615
  • feat(fabric.EraserBrush): added eraser property to Object instead of attaching to clipPath, remove hacky getClipPath/setClipPath #7470, see BREAKING comments.
  • feat(fabric.EraserBrush): support inverted option to undo erasing #7470
  • fix(fabric.EraserBrush): fix doubling opaic objects while erasing #7445 #7470
  • BREAKING: fabric.EraserBrush: The Eraser object is now a subclass of Group. This means that loading from JSON will break between versions. Use this code to transform your json payload to the new version.
  • feat(fabric.Canvas): fire an extra mouse up for the original control of the initial target #7612
  • fix(fabric.Object) bounding box display with skewY when outside group #7611
  • fix(fabric.text) fix rtl/ltr performance issues #7610
  • fix(event.js) Prevent dividing by 0 in for touch gestures #7607
  • feat(): drop:before event #7442
  • ci(): Add codeql analysis step #7588
  • security(): update onchange to solve security issue #7591
  • BREAKING: fix(): MAJOR prevent render canvas with quality less than 100% #7537
  • docs(): fix broken link #7579
  • BREAKING: Deps(): MAJOR update to jsdom 19 node 14 #7587
  • Fix(): JSDOM transative vulnerability #7510
  • fix(fabric.parser): attempt to resolve some issues with regexp #7520
  • fix(fabric.IText) fix for possible error on copy paste #7526
  • fix(fabric.Path): Path Distance Measurement Inconsistency #7511
  • Fix(fabric.Text): Avoid reiterating measurements when width is 0 and measure also empty lines for consistency. #7497
  • fix(fabric.Object): stroke bounding box #7478
  • fix(fabric.StaticCanvas): error of changing read-only style field #7462
  • fix(fabric.Path): setting path during runtime #7141
  • chore() update canvas to 2.8.0 #7415
  • fix(fabric.Group) realizeTransfrom should be working when called with NO parent transform #7413
  • fix(fabric.Object) Fix control flip and control box #7412
  • feat(fabric.Text): added pathAlign property for text on path #7362
  • docs(): Create SECURITY.md #7405
  • docs(): Clarify viewport transformations doc #7401
  • docs(): specify default value and docs for enablePointerEvents #7386
  • feat(fabric.PencilBrush): add an option to draw a straight line while pressing a key #7034
asturur
published 5.0.0-browser •

asturur
published 4.6.0 •

Changelog

Source

[4.6.0]

  • feat(fabric.util): added fabric.util.transformPath to add transformations to path points #7300
  • feat(fabric.util): added fabric.util.joinPath, the opposite of fabric.util.parsePath #7300
  • fix(fabric.util): use integers iterators #7233
  • feat(fabric.Text) add path rendering to text on path #7328
  • feat(fabric.iText): Add optional hiddenTextareaContainer to contain hiddenTextarea #7314
  • fix(fabric.Text) added pathStartOffset and pathSide to props lists for object export #7318
  • feat(animate): add imperative abort option for animations #7275
  • fix(Fabric.text): account for fontSize in textpath cache dimensions ( to avoid clipping ) #7298
  • feat(Observable.once): Add once event handler #7317
  • feat(fabric.Object): Improve drawing of controls in group. #7119
  • fix(EraserBrush): intersectsWithObject edge cases #7290
  • fix(EraserBrush): dump canvas bg/overlay color support #7289
  • feat(fabric.Text) added pathSide property to text on path #7259
  • fix(EraserBrush) force fill value #7269
  • fix(fabric.StaticCanvas) properly remove objects on canvas.clear #6937
  • feat(fabric.EraserBrush): improved erasing:end event #7258
  • fix(shapes): fabric.Object._fromObject never should return #7201
  • feat(fabric.filters) Added vibrance filter (for increasing saturation of muted colors) #7189
  • fix(fabric.StaticCanvas): restore canvas size when disposing #7181
  • feat(fabric.util): added convertPointsToSVGPath that will convert from a list of points to a smooth curve. #7140
  • fix(fabric.Object): fix cache invalidation issue when objects are rotating #7183
  • fix(fabric.Canvas): rectangle selection works with changing viewport #7088
  • feat(fabric.Text): textPath now support textAlign #7156
  • fix(fabric.EraserBrush): test eraser intersection with objects taking into account canvas viewport transform #7147
  • fix(fabric.Object): support excludeFromExport set on clipPath #7148.
  • fix(fabric.Group): support excludeFromExport set on objects #7148.
  • fix(fabric.StaticCanvas): support excludeFromExport set on backgroundColor, overlayColor, clipPath #7148.
  • fix(fabric.EraserBrush): support object resizing (needed for eraser) #7100.
  • fix(fabric.EraserBrush): support canvas resizing (overlay/background drawables) #7100.
  • fix(fabric.EraserBrush): propagate clipPath of group to erased objects when necessary so it is correct when ungrouping/removing from group #7100.
  • fix(fabric.EraserBrush): introduce erasable = deep option for fabric.Group #7100.
  • feat(fabric.Collection): the contains method now accepts a second boolean parameter deep, checking all descendants, collection.contains(obj, true) #7139.
  • fix(fabric.StaticCanvas): disposing canvas now restores canvas size and style to original state.
asturur
published 4.6.0-browser •

asturur
published 4.5.1 •

Changelog

Source

[4.5.1]

  • fix(fabric.Text): fixes decoration rendering when there is a single rendering for full text line #7104
  • fix(fabric.Text): spell error which made the gradientTransform not working #7059
  • fix(fabric.util): unwanted mutation in fabric.util.rotatePoint #7117
  • fix(svg parser): Ensure that applyViewboxTransform returns an object and not undefined/null #7030
  • fix(fabric.Text): support firefox with ctx.textAlign for RTL text #7126
asturur
published 4.5.1-browser •

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