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

fabric

Package Overview
Dependencies
Maintainers
1
Versions
299
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric - npm Package Versions

1
30

6.0.0-beta19

Diff

Changelog

Source

[6.0.0-beta19]

  • feat(LayoutManager): Expose objects registration #9661
  • fix(Object): support specyfing toCanvasElement canvas #9652
  • ci(): no src imports #9657
  • fix(textStyles): Split text into graphemes correctly #9646
  • fix(ActiveSelection): static default inheritance #9635
  • fix(StaticCanvas): StaticCanvas setDimensions typings #9618
  • refactor(): Align gradient with class registry usage, part of #9144 #9627
  • refactor(): Align shadow with class registry, part of #9144 #9626
  • cd() Surface the minified build as standard when importing. #9624
  • chore(): removed unused code from Path render function #9619
asturur
published 6.0.0-beta18 •

Changelog

Source

[6.0.0-beta18]

  • fix(StyledText): add ability to unset style (issue #9578) #9597
  • CD(): expose vue deployed app #9615
  • chore(): Upgrade Rollup to 4.9.5 #9613
  • chore(): Upgrade rollup and plugins at latest 3 #9612
  • fix(WebGLFilterBackend) Destroy the context of queryWebgl test function, remove automatic perf checkup, make it explicit with a function #8932
  • tests(): migrate target hit tests to jest and drag and drop test to playwright #9333
  • fix(SVGParser): avoid crashing on SVG that use @import css feature #9602
  • fix(): compositionEnd event handler is not registered correctly. (regression from f91362c ) #9610
  • ci(): Add a test case from the multiple selection use case for groups #9599
  • refactor(env): Change the way the environment and retina are initialized #9480
  • chore(TS): fix type of modifed event that could cause unexpected behaviour in dev code #9596
  • fix(LayoutManager): remove unnecessary check #9591
  • fix(Text) Fix style transfer issue on a line that is not empty #9461
  • ci(): add a vue template #9502
  • refactor(): getActiveControl now returns the key, the corner and the coordinates #9515
  • fix(Controls): forbid scaling to avoid NaN issues on scaling zero sized objects. #9475 #9563
  • feat(LayoutManager): BREAKING remove shouldResetTransform handling from LayoutManager #9581
  • refactor(): rm active selection ref #9561
  • feat(Next.js sandbox): simpler canvas hook #9577
  • fix(): fix modify polygon points with zero sized polygons ( particular case of axis oriented lines ) #9575
  • fix(Polyline, Polygon): Fix wrong pathOffset for polyline with the normal bounding box calculation. #9460
asturur
published 6.0.0-beta17 •

Changelog

Source

[6.0.0-beta17]

  • refactor(): Rewrite how typeAssertion works to avoid isType and add tests for subclasses #9570
  • fix(): perform layout on poly change + initialization object subscription #9537
  • fix(): Addressing path cloning slowness ( partially ) #9573
  • fix(): exactBoundingBox stroke calculations #9572
  • feat(): Add save/restore ability to group LayoutManager #9564
  • fix(): Remove unwanted set type warning #9569
  • refactor(): Separate defaults for base fabric object vs interactive object. Also some moving around of variables #9474
  • refactor(): Change how LayoutManager handles restoring groups #9522
  • fix(BaseConfiguration): set devicePixelRatio from window #9470
  • fix(): bubble dirty flag for group only when true #9540
  • test() Backport a test to capture a failing text style situation #9531
asturur
published 6.0.0-beta16 •

Changelog

Source

[6.0.0-beta16]

  • fix(): block enterEditing after endCurrentTransform #9513
  • fix(): transferring object between active selections, expose FabricObject#parent, rm isActiveSelection #8951 BREAKING beta:
    • rm(): getParent => FabricObject#parent
  • refactor(): Layout Manager #9152
  • refactor(): transferring object between active selections, expose FabricObject#parent, rm isActiveSelection #8951
  • refactor(): BREAKING beta getParent => FabricObject#parent #8951
  • fix(): fire Poly control events #9504
  • test(FabricObject): add a snapshot of the default values so that reordering and shuffling is verified. #9492
  • feat(FabricObject, Canvas) BREAKING: remove calculate true/false from the api. #9483
  • chore(): remove some Type assertions #8950
  • chore(): expose sendVectorToPlane #9479
  • feat(FabricObject, Canvas) BREAKING: remove absolute true/false from the api. #9395
  • refactor(Canvas): BREAKING deprecate getPointer, add new getScenePoint and getViewportPoint methods, removed restorePointerVpt, extended mouse events data #9175
  • chore(): rm isClick artifacts leftovers from #9434 #9478
  • fix(Object): Fix detection of falsy shadows in Object.needsItsOwnCache method #9469
  • feat(util): expose calcPlaneRotation #9419
  • refactor(Canvas): BREAKING remove button from mouse events, delegate to event.button property #9449
  • patch(Canvas): move event mouse:up:before earlier in the logic for more control #9434
asturur
published 6.0.0-beta15 •

Changelog

Source

[6.0.0-beta15]

  • Fix(SVGParser) ignore missing xlink target issue on svg parsing (#9427) #9109
  • fix(#9172): dep export Object, Text, Image #9433
asturur
published 6.0.0-beta14 •

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