Update npm dependencies (#678)

This commit is contained in:
Keavon Chambers
2022-06-13 12:32:01 -07:00
parent 55ef8eedb8
commit 04d6bd9190
5 changed files with 1358 additions and 1316 deletions
+1341 -1299
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -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 {
+9 -9
View File
@@ -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;
} }