Bump dependencies (#11)

* Bump dependencies
This commit is contained in:
Brian Beck 2025-10-19 09:15:21 -07:00 committed by GitHub
parent 97b02c33f6
commit 169aed6274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
146 changed files with 6957 additions and 6111 deletions

5
types/fabric.d.ts vendored Normal file
View file

@ -0,0 +1,5 @@
/// <reference types="fabric" />
declare module "fabric" {
// Re-export the DT namespace as the module's export.
export { fabric };
}

19
types/model-viewer.d.ts vendored Normal file
View file

@ -0,0 +1,19 @@
import "react";
import type { ModelViewerElement } from "@google/model-viewer";
type ModelViewerProps = React.DetailedHTMLProps<
React.HTMLAttributes<ModelViewerElement>,
ModelViewerElement
> &
// avoid the style clash (React owns `style`)
Omit<Partial<ModelViewerElement>, "style" | "className">;
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"model-viewer": ModelViewerProps;
}
}
}
export {};

28
types/pngjs-browser.d.ts vendored Normal file
View file

@ -0,0 +1,28 @@
declare module "pngjs/browser" {
import type { PNG as NodePNG } from "pngjs";
export class PNG extends NodePNG {
data: Uint8Array;
width: number;
height: number;
constructor(options?: {
width?: number;
height?: number;
inputHasAlpha?: boolean;
});
on(eventName: "data", callback: (chunk: Uint8Array) => void);
on(eventName: "end", callback: () => void);
on(eventName: "error", callback: (err: Error | string) => void);
pack: () => PNG;
parse(
arrayBuffer: ArrayBuffer,
callback: (error: Error, data: PNG) => void
);
}
}
export {};