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

fabric

Package Overview
Dependencies
Maintainers
1
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric - npm Package Versions

1
31

6.0.0-beta14

Diff

Changelog

Source

[6.0.0-beta14]

  • fix(Object): fixes centeredScaling prop type #9401
  • CI(): fix build caching + tests when merging to master #9404
  • chore(): export poly control utils #9400
  • fix(Canvas): in/out event names were swapped #9396
  • fix(Canvas): setActiveObject should update canvas#_activeSelection #9336
  • patch(Coords): calc oCoords only with canvas ref #9380
  • patch(Control): pass object to calcCornerCoords #9376
  • fix(Canvas): invalidate _objectsToRender on stack change #9387
  • ci(e2e): fix babel compiling error #9388
  • Breaking: Remove node 14 #9383
  • chore(): Rename exports that conflicts with JS/WEB api ( Object, Text, Image ). Kept backward compatibility with deprecation notice #9172
  • fix(Geometry): containsPoint #9372 BREAKING:
    • Canvas#_checkTarget(point, object, pointFromViewport) => Canvas#_checkTarget(object, pointFromViewport)
  • fix(Canvas): avoid firing event twice when working with nested objects #9329
  • fix(Control): calcCornerCoords angle + calculation #9377
  • patch(): dep findCrossPoints in favor of isPointInPolygon #9374
  • docs() enable typedocs to run again #9356
  • chore(): cleanup logs and error messages #9369
  • feature(Object) BREAKING: Remove lines parameter from object.containsPoint #9375
  • patch(Control): move hit detection to shouldActivate #9374
  • fix(Control): method binding for mouseUpHandler, mouseDownHandler, and actionHandler #9370
  • fix(StaticCanvas): disposing animations #9361
  • fix(IText): cursor width under group #9341
  • TS(Canvas): constructor optional el #9348
  • fix(Utils): fix exported svg color #9408
asturur
published 6.0.0-beta13 •

Changelog

Source

[6.0.0-beta13]

  • fix(Textbox): implemente a fix for the style shifting issues on new lines #9197
  • Fix(Control) fix a regression in wrap with fixed anchor, regression from #8400 #9326
  • test(e2e): improve test case for line shifting and style with more colors #9327
  • test(e2e): node canvas visual tests #9134
  • fix(ActiveSelection): make sure canvas is in charge of setting initial coords #9322
  • test(): Migrate json control tests #9323
  • fix() Textbox inputs with new lines, regression from #9097 #9192
  • docs(): add link to contributing guide #8393
  • test(e2e): Drag&Drop tests #9112
  • fix(CanvasEvents): regression of getPointer usages + BREAKING: drop event data #9186
  • feat(Object): BREAKING rm _setOriginToCenter and _resetOrigin unuseful methods #9179
  • fix(ActiveSelection): reset positioning when cleared #9088
  • ci(): generate docs #9169
  • fix(utils) Fixes the code for the anchor point in point controls for polygons #9178
  • CD(): website submodule #9165
asturur
published 6.0.0-beta12 •

Changelog

Source

[6.0.0-beta12]

  • fix(Object): border rendering with padding under group #9161
  • fix(MultiSelection): add target from behind active selection #8744
  • test(): fix snapshots by removing version #9164
asturur
published 6.0.0-beta11 •

Changelog

Source

[6.0.0-beta11]

  • patch(): Avoid unwanted mutation to passed objects array to Group constructor #9151
  • patch(): ActiveSelection initialization + types #9143
  • chore(TS): BREAKING remove canvas.interactive, added typings for canvas options #9140
  • chore(TS): BREAKING PREVIOUS BETA mv + rename TProps => TOptions #9139
  • test(playwright): Use embedded eval from playwright #9133
  • chore(TS): Fix event types and .once this binding #9119
  • docs(): rm canvas2pdf #9135
  • chore(TS): export types #9129
  • ci(e2e): support relative imports #9108
  • chore(TS): complete type check #9119
  • chore(TS): Add type-checking to files excluded with ts-nocheck #9097
  • chore(TS): Add type-checking to files excluded with ts-nocheck ( Parser mostly ) #9085
  • docs(): revise test section #9114
  • fix(): #8344 stroke projection #8374
  • fix(Filters) Removing type from the options passed in the constructor #9089
  • feat(InteractiveObject): add getActiveControl() to expose __corner #9102
  • ci(sandbox): bump next.js #9100
  • test(playwright): add snapshots, refactor utils, coverage #9078
  • test(Text): Add some tests for text in Jest #9083
  • ci(): Install system deps only when necessary #9086
  • fix(util, Path): path distance measurement fix for M cmd #9076
  • chore(TS): Image class type checks, BREAKING change to FromURL static method #9036
  • ci(): properly checkout head for stats #9080
  • fix(Text): _getFontDeclaration wasn't considering fontFamily from the style object #9082
  • chore(TS): Fix ITextBehaviour enterEditing type #9075
  • cd(node): ban package.json main entry #9068
  • chore(TS): export FabricObjectProps and GroupProps #9025
  • chore(TS): Replace BaseFabricObject with FabricObject #9016
  • refactor(svgImport): remove the css/gradient/clipPath global definitions #9030
  • fix(): tweaks to type getter #9022
  • ci() Refactor GHA actions for caching and reuse #9029
  • ci(): install dev deps types #9039
asturur
published 6.0.0-beta10 •

Changelog

Source

[6.0.0-beta10]

  • chore(TS): Remove @ts-nocheck from Text class. #9018
  • Fix(Textbox) minimum word width calculation across all lines #9004
  • ci(): add Jest for the unit tests #8919
  • ci(): Revert "invoke tests after changelog action (#8974)" #9013
  • fix(IText): empty line selection #9019
  • ci(): Added playwright testing #8616
  • fix(IText): exitEditing should clear contextTop #9020
  • ci(): prettier after changelog action #9021
asturur
published 6.0.0-beta9 •

Changelog

Source

[6.0.0-beta9]

  • fix(fabric): Fix the serialization and registry dependency from minification #9009
  • chore(TS): remove troublesome AssertKeys TS construct #9012
  • fix(lib): fix aligning_guideline zoom #8998
  • fix(IText): support control interaction in text editing mode #8995
  • fix(Textbox): splitByGrapheme measurements infix length bug #8990
  • patch(Text): styles es6 minor patch #8988
asturur
published 6.0.0-beta8 •

Changelog

Source

[6.0.0-beta8]

  • BREAKING fix(IText): detect cursor from proper offsets, remove getLocalPointer from IText class #8972
  • fix(Text): styles line break #8973
  • fix(): regression to itext focusing from #8939 #8970
  • ci(): warn build errors in dev mode #8971
  • ci(): invoke tests after changelog action #8974
  • chore(TS): Export more types #8965
  • BREAKING: fabric.util.makeElementSelectable / fabric.util.makeElementUnselectable are removed #8930
  • refactor(): Canvas DOM delegation to utility class #8930
asturur
published 6.0.0-beta7 •

Changelog

Source

[6.0.0-beta7]

  • feat(): Export setFilterBackend and port the texture filtering option from fabric 5, exports some extra types #8954
  • chore(): swap commonly used string with constants #8933
  • chore(TS): Add more text types #8941
  • ci(): fix changelog action race condition #8949
  • ci(): automate PR changelog #8938
  • chore(): move canvas click handler to TextManager #8939
  • refactor(): write less bulky code #8943
asturur
published 6.0.0-beta6 •

Changelog

Source

[6.0.0-beta6]

  • patch(): expose Control#shouldActivate #8934
  • feat(Color) Improve regex for new standards, more documentation and code cleanup #8916
  • fix(TS): extending canvas and object event types (type => interface) #8926
  • chore(build) simple deps update #8929
  • fix(Canvas): sync cleanup of dom elements in dispose #8903
  • chore(TS): export util types #8915
  • chore(TS): change enums with types #8918
  • chore(TS): export gradient types
  • chore(lint) export filter colors and brushes types #8913
  • chore(lint) Add a rule for import type #8907
  • fix(Object): dirty unflagging inconsistency #8910
  • chore(TS): minor type/import fixes #8904
  • chore(): Matrix util cleanup #8894
  • chore(TS): pattern cleanup + export types #8875
  • fix(): Disable offscreen check for bg and overlay when not needed #8898
  • chore(): cleanup #8888 #8892
  • feat(env): relative window/document, support iframe #8897
  • docs(): add repo repro link to bug_report.yml #8900
  • refactor(fabric.Line): Line position is calculated from the center between the 2 points now #8877
  • chore(Path, Polyline): Clean up old SVG import code #8857
asturur
published 6.0.0-beta5 •

Changelog

Source

[6.0.0-beta5]

  • refactor(): SVG loading and parsing functionality are now promises or async. Callback have been removed #8884
  • refactor(fabric.Line): Line position is calculated from the center between the 2 points now #8877
  • bundle(): export setEnv for test interoperability #8888
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