Upgrade/remove outdated dependencies

This commit is contained in:
Jamie Kyle
2024-11-13 17:20:36 -08:00
committed by GitHub
parent 0bc6368c64
commit b347a628b3
21 changed files with 3511 additions and 8360 deletions

View File

@@ -1,26 +1,26 @@
diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts
index 3935075..22a4c2e 100644
index 15d9d4b..a431841 100644
--- a/node_modules/@types/backbone/index.d.ts
+++ b/node_modules/@types/backbone/index.d.ts
@@ -81,7 +81,7 @@ declare namespace Backbone {
@@ -66,7 +66,7 @@ declare namespace Backbone {
collection?: Collection<TModel> | undefined;
}
- type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model> = ModelConstructorOptions<M> & E;
+ type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model<any, any, E>> = ModelConstructorOptions<M> & E;
interface ModelSetOptions extends Silenceable, Validable {}
@@ -219,7 +219,7 @@ declare namespace Backbone {
@@ -204,7 +204,7 @@ declare namespace Backbone {
*/
static extend(properties: any, classProperties?: any): any;
- attributes: Partial<T>;
+ attributes: T;
changed: Partial<T>;
cidPrefix: string;
cid: string;
@@ -235,7 +235,7 @@ declare namespace Backbone {
@@ -220,7 +220,7 @@ declare namespace Backbone {
* That works only if you set it in the constructor or the initialize method.
*/
defaults(): Partial<T>;
@@ -28,22 +28,22 @@ index 3935075..22a4c2e 100644
+ id: string;
idAttribute: string;
validationError: any;
@@ -266,7 +266,7 @@ declare namespace Backbone {
@@ -251,7 +251,7 @@ declare namespace Backbone {
* return super.get("name");
* }
*/
- get<A extends _StringKey<T>>(attributeName: A): T[A] | undefined;
+ get<A extends _StringKey<T>>(attributeName: A): T[A];
/**
* For strongly-typed assignment of attributes, use the `set` method only privately in public setter properties.
@@ -300,7 +300,7 @@ declare namespace Backbone {
@@ -285,7 +285,7 @@ declare namespace Backbone {
previousAttributes(): Partial<T>;
save(attributes?: Partial<T> | null, options?: ModelSaveOptions): JQueryXHR;
unset(attribute: _StringKey<T>, options?: Silenceable): this;
- validate(attributes: Partial<T>, options?: any): any;
+ validate(attributes: T, options?: any): any;
private _validate(attributes: Partial<T>, options: any): boolean;
// mixins from underscore

View File

@@ -1,8 +1,8 @@
diff --git a/node_modules/@types/express/index.d.ts b/node_modules/@types/express/index.d.ts
index 8427f02..2b4698f 100755
index b92b15c..6536d9f 100644
--- a/node_modules/@types/express/index.d.ts
+++ b/node_modules/@types/express/index.d.ts
@@ -55,7 +55,7 @@ declare namespace e {
@@ -47,7 +47,7 @@ declare namespace e {
/**
* This is a built-in middleware function in Express. It serves static files and is based on serve-static.
*/

View File

@@ -1,14 +1,14 @@
diff --git a/node_modules/@types/node-fetch/index.d.ts b/node_modules/@types/node-fetch/index.d.ts
index 346d0b2..8b3efdd 100755
index f95f9c1..72b3814 100644
--- a/node_modules/@types/node-fetch/index.d.ts
+++ b/node_modules/@types/node-fetch/index.d.ts
@@ -19,7 +19,8 @@
import FormData = require('form-data');
@@ -3,7 +3,8 @@
import FormData = require("form-data");
import { RequestOptions } from "http";
import { URLSearchParams, URL } from "url";
import { URL, URLSearchParams } from "url";
-import { AbortSignal } from "./externals";
+// Avoid type conflicts!
+// import { AbortSignal } from "./externals";
+// Avoid type conflicts!
export class Request extends Body {
declare class Request extends Body {
constructor(input: RequestInfo, init?: RequestInit);

View File

@@ -1,8 +1,8 @@
diff --git a/node_modules/zod/lib/types.d.ts b/node_modules/zod/lib/types.d.ts
index 0ece6e8..57bbe86 100644
index e5314e6..4c54da2 100644
--- a/node_modules/zod/lib/types.d.ts
+++ b/node_modules/zod/lib/types.d.ts
@@ -56,7 +56,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
@@ -59,7 +59,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
};
_parseSync(input: ParseInput): SyncParseReturnType<Output>;
_parseAsync(input: ParseInput): AsyncParseReturnType<Output>;