mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 15:28:12 +08:00
Update npm dependencies (#678)
This commit is contained in:
Generated
+1341
-1299
File diff suppressed because it is too large
Load Diff
@@ -29,23 +29,23 @@
|
|||||||
"@vue/cli-service": "^5.0.4",
|
"@vue/cli-service": "^5.0.4",
|
||||||
"@vue/compiler-sfc": "^3.2.31",
|
"@vue/compiler-sfc": "^3.2.31",
|
||||||
"@vue/eslint-config-airbnb": "^6.0.0",
|
"@vue/eslint-config-airbnb": "^6.0.0",
|
||||||
"@vue/eslint-config-typescript": "^10.0.0",
|
"@vue/eslint-config-typescript": "^11.0.0",
|
||||||
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
|
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.14.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-import": "^2.25.4",
|
"eslint-plugin-import": "^2.25.4",
|
||||||
"eslint-plugin-prettier-vue": "^3.1.0",
|
"eslint-plugin-prettier-vue": "^4.1.0",
|
||||||
"eslint-plugin-vue": "^8.7.1",
|
"eslint-plugin-vue": "^9.1.1",
|
||||||
"license-checker-webpack-plugin": "^0.2.1",
|
"license-checker-webpack-plugin": "^0.2.1",
|
||||||
"prettier": "^2.6.1",
|
"prettier": "^2.6.1",
|
||||||
"sass": "^1.50.1",
|
"sass": "^1.50.1",
|
||||||
"sass-loader": "^12.6.0",
|
"sass-loader": "^13.0.0",
|
||||||
"typescript": "^4.6.3",
|
"typescript": "^4.6.3",
|
||||||
"vue-loader": "^17.0.0",
|
"vue-loader": "^17.0.0",
|
||||||
"vue-template-compiler": "^2.6.14"
|
"vue-template-compiler": "^2.6.14"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"wasm-pack": "0.10.1"
|
"wasm-pack": "^0.10.3"
|
||||||
},
|
},
|
||||||
"//": "wasm-pack 0.10.2 is broken on Windows so it should remain pinned to 0.10.1 until a fix is released (https://github.com/rustwasm/wasm-pack/issues/1097)."
|
"//": "Notes about dependency issues and incompatibilities should be added here when needed."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateLayout(widgetId: BigInt, value: unknown) {
|
updateLayout(widgetId: bigint, value: unknown) {
|
||||||
this.editor.instance.update_layout(this.layoutTarget, widgetId, value);
|
this.editor.instance.update_layout(this.layoutTarget, widgetId, value);
|
||||||
},
|
},
|
||||||
withoutValue(props: Record<string, unknown>): Record<string, unknown> {
|
withoutValue(props: Record<string, unknown>): Record<string, unknown> {
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ const WidgetSection = defineComponent({
|
|||||||
expanded: true,
|
expanded: true,
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
updateLayout(widgetId: BigInt, value: unknown) {
|
updateLayout(widgetId: bigint, value: unknown) {
|
||||||
this.editor.instance.update_layout(this.layoutTarget, widgetId, value);
|
this.editor.instance.update_layout(this.layoutTarget, widgetId, value);
|
||||||
},
|
},
|
||||||
layoutRowType(layoutRow: LayoutSystemRow): unknown {
|
layoutRowType(layoutRow: LayoutSystemRow): unknown {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export abstract class DocumentDetails {
|
|||||||
|
|
||||||
readonly is_saved!: boolean;
|
readonly is_saved!: boolean;
|
||||||
|
|
||||||
readonly id!: BigInt | string;
|
readonly id!: bigint | string;
|
||||||
|
|
||||||
get displayName(): string {
|
get displayName(): string {
|
||||||
return `${this.name}${this.is_saved ? "" : "*"}`;
|
return `${this.name}${this.is_saved ? "" : "*"}`;
|
||||||
@@ -37,7 +37,7 @@ export abstract class DocumentDetails {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class FrontendDocumentDetails extends DocumentDetails {
|
export class FrontendDocumentDetails extends DocumentDetails {
|
||||||
readonly id!: BigInt;
|
readonly id!: bigint;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class UpdateNodeGraphVisibility extends JsMessage {
|
export class UpdateNodeGraphVisibility extends JsMessage {
|
||||||
@@ -118,7 +118,7 @@ export class UpdateWorkingColors extends JsMessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class UpdateActiveDocument extends JsMessage {
|
export class UpdateActiveDocument extends JsMessage {
|
||||||
readonly document_id!: BigInt;
|
readonly document_id!: bigint;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class DisplayDialogPanic extends JsMessage {
|
export class DisplayDialogPanic extends JsMessage {
|
||||||
@@ -212,14 +212,14 @@ export class TriggerRasterDownload extends JsMessage {
|
|||||||
export class DocumentChanged extends JsMessage {}
|
export class DocumentChanged extends JsMessage {}
|
||||||
|
|
||||||
export class UpdateDocumentLayerTreeStructure extends JsMessage {
|
export class UpdateDocumentLayerTreeStructure extends JsMessage {
|
||||||
constructor(readonly layerId: BigInt, readonly children: UpdateDocumentLayerTreeStructure[]) {
|
constructor(readonly layerId: bigint, readonly children: UpdateDocumentLayerTreeStructure[]) {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DataBuffer {
|
interface DataBuffer {
|
||||||
pointer: BigInt;
|
pointer: bigint;
|
||||||
length: BigInt;
|
length: bigint;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function newUpdateDocumentLayerTreeStructure(input: { data_buffer: DataBuffer }, wasm: WasmRawInstance): UpdateDocumentLayerTreeStructure {
|
export function newUpdateDocumentLayerTreeStructure(input: { data_buffer: DataBuffer }, wasm: WasmRawInstance): UpdateDocumentLayerTreeStructure {
|
||||||
@@ -331,7 +331,7 @@ export class ImageData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class IndexedDbDocumentDetails extends DocumentDetails {
|
export class IndexedDbDocumentDetails extends DocumentDetails {
|
||||||
@Transform(({ value }: { value: BigInt }) => value.toString())
|
@Transform(({ value }: { value: bigint }) => value.toString())
|
||||||
id!: string;
|
id!: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -348,7 +348,7 @@ export class TriggerIndexedDbWriteDocument extends JsMessage {
|
|||||||
|
|
||||||
export class TriggerIndexedDbRemoveDocument extends JsMessage {
|
export class TriggerIndexedDbRemoveDocument extends JsMessage {
|
||||||
// Use a string since IndexedDB can not use BigInts for keys
|
// Use a string since IndexedDB can not use BigInts for keys
|
||||||
@Transform(({ value }: { value: BigInt }) => value.toString())
|
@Transform(({ value }: { value: bigint }) => value.toString())
|
||||||
document_id!: string;
|
document_id!: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -418,7 +418,7 @@ export type WidgetKind =
|
|||||||
|
|
||||||
export interface Widget {
|
export interface Widget {
|
||||||
kind: WidgetKind;
|
kind: WidgetKind;
|
||||||
widget_id: BigInt;
|
widget_id: bigint;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
props: any;
|
props: any;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user