Skip to content

Commit

Permalink
BREAKING: extend, clone => internal cloneDeep (#8600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 authored Jan 22, 2023
1 parent f850db6 commit 2615b84
Show file tree
Hide file tree
Showing 26 changed files with 446 additions and 549 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [next]

- BREAKING: refactor `clone(obj, true)` with `cloneDeep(obj)` and remove all `extend`, `clone` calls in favor of object spreads. [#8600](https://github.com/fabricjs/fabric.js/pull/8600)
- chore(TS): Fix some error caused by ts-nocheck removals [#8615](https://github.com/fabricjs/fabric.js/pull/8615)
- refactor(IText): extract draggable text logic to a delegate [#8598](https://github.com/fabricjs/fabric.js/pull/8598)
- chore(TS): Update StaticCanvas to remove ts-nocheck [#8606](https://github.com/fabricjs/fabric.js/pull/8606)
Expand Down
5 changes: 0 additions & 5 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ import {
stylesToArray,
hasStyleChanged,
} from './src/util/misc/textStyles';
import { clone, extend } from './src/util/lang_object';
import {
createCanvasElement,
createImage,
Expand Down Expand Up @@ -196,10 +195,6 @@ const util = {
stylesToArray,
hasStyleChanged,
getElementOffset,
object: {
clone,
extend,
},
createCanvasElement,
createImage,
copyCanvasElement,
Expand Down
Loading

0 comments on commit 2615b84

Please sign in to comment.