-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
chore(): dependencies maintenance #10497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(): dependencies maintenance #10497
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
@@ -81,32 +81,30 @@ | |||
"@types/fs-extra": "^9.0.13", | |||
"@types/jsdom": "^20.0.1", | |||
"@types/lodash": "^4.14.180", | |||
"@types/mocha": "^10.0.1", | |||
"@types/micromatch": "^4.0.9", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these types were missing
import match from 'micromatch'; | ||
import path from 'path'; | ||
import { makeRe } from 'micromatch'; | ||
import * as path from 'node:path'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these were lint errors now that this file is properly linted
@@ -43,8 +43,8 @@ export type SerializedLayoutManager = { | |||
}; | |||
|
|||
export class LayoutManager { | |||
private declare _prevLayoutStrategy?: LayoutStrategy; | |||
protected declare _subscriptions: Map<FabricObject, VoidFunction[]>; | |||
declare private _prevLayoutStrategy?: LayoutStrategy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are from newer prettier just reordering these
@@ -3,4 +3,4 @@ export * from './LayoutStrategies/ClipPathLayout'; | |||
export * from './LayoutStrategies/FitContentLayout'; | |||
export * from './LayoutStrategies/FixedLayout'; | |||
export * from './LayoutStrategies/LayoutStrategy'; | |||
export * from './types'; | |||
export type * from './types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newer eslint prefers that type only exports are marked as such
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that is good anyway for rollup to know and any builder
6fd63a1
to
3520faa
Compare
Did some dependencies maintenance like updating lint related ones.
There were some new prettier issues which are fixed now and also eslint ones regarding exporting of types which are also fixed now.
Also updated micromatch because it reported security vulnerability.
included playwright setup file in lint now as well so it is properly linted.
Removed few deps that I think are unused but lets see what CI says.
I tried to analyse what is babel doing in playwright setup file, seems like there is some kind of a watcher built into playwright tests, but I can't see where is the watch used at all?
is it when tests are failing so it is triggered again on changes?
Is that watch mechanism needed at all for playwright?
Seems like a lot of acrobatics and overhead but maybe I misinterpreted it