From 7a5480f12fb762e17ee6a50044e48e4d80bffd5b Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 11:29:55 -0400 Subject: [PATCH 01/25] Add option to show modified timestamp on shared docs (#9347) * Add showLastModified option to Share models - Add showLastModified column to shares table with migration - Add showLastModified field to client and server Share models - Add 'Show last modified' toggle in share popover (PublicAccess component) - Update shares.update API route to handle showLastModified field - Include share data in documents.info API response for shared documents - Modify DocumentMeta visibility logic to show timestamp when showLastModified is enabled - Add proper type definitions across component hierarchy - Follow existing patterns used by allowIndexing option * Applied automatic fixes * refactor --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- .../Sharing/Document/PublicAccess.tsx | 39 +++++++++++++++++++ app/models/Share.ts | 4 ++ app/scenes/Document/components/Editor.tsx | 34 ++++++++++++---- ...1003217-add-show-last-updated-to-shares.js | 17 ++++++++ server/models/Share.ts | 12 ++++-- server/presenters/document.ts | 6 +++ server/presenters/share.ts | 1 + server/routes/api/documents/documents.ts | 1 + server/routes/api/shares/schema.ts | 1 + server/routes/api/shares/shares.ts | 14 ++++++- shared/i18n/locales/en_US/translation.json | 4 +- 11 files changed, 118 insertions(+), 15 deletions(-) create mode 100644 server/migrations/20250531003217-add-show-last-updated-to-shares.js diff --git a/app/components/Sharing/Document/PublicAccess.tsx b/app/components/Sharing/Document/PublicAccess.tsx index c86ea98880..7982884bce 100644 --- a/app/components/Sharing/Document/PublicAccess.tsx +++ b/app/components/Sharing/Document/PublicAccess.tsx @@ -64,6 +64,19 @@ function PublicAccess({ document, share, sharedParent }: Props) { [share] ); + const handleShowLastModifiedChanged = React.useCallback( + async (event) => { + try { + await share?.save({ + showLastUpdated: event.currentTarget.checked, + }); + } catch (err) { + toast.error(err.message); + } + }, + [share] + ); + const handlePublishedChange = React.useCallback( async (event) => { try { @@ -193,6 +206,32 @@ function PublicAccess({ document, share, sharedParent }: Props) { /> )} + {share?.published && ( + + {t("Show last modified")}  + + + + + } + actions={ + + } + /> + )} + {sharedParent?.published ? ( {copyButton} diff --git a/app/models/Share.ts b/app/models/Share.ts index fd066a98a3..fc7932a6e8 100644 --- a/app/models/Share.ts +++ b/app/models/Share.ts @@ -60,6 +60,10 @@ class Share extends Model implements Searchable { @observable allowIndexing: boolean; + @Field + @observable + showLastUpdated: boolean; + @observable views: number; diff --git a/app/scenes/Document/components/Editor.tsx b/app/scenes/Document/components/Editor.tsx index 793d7b54bf..259f27df77 100644 --- a/app/scenes/Document/components/Editor.tsx +++ b/app/scenes/Document/components/Editor.tsx @@ -4,6 +4,8 @@ import * as React from "react"; import { useTranslation } from "react-i18next"; import { mergeRefs } from "react-merge-refs"; import { useHistory, useRouteMatch } from "react-router-dom"; +import styled from "styled-components"; +import Text from "@shared/components/Text"; import { richExtensions, withComments } from "@shared/editor/nodes"; import { TeamPreference } from "@shared/types"; import { colorPalette } from "@shared/utils/collections"; @@ -13,6 +15,7 @@ import { RefHandle } from "~/components/ContentEditable"; import { useDocumentContext } from "~/components/DocumentContext"; import Editor, { Props as EditorProps } from "~/components/Editor"; import Flex from "~/components/Flex"; +import Time from "~/components/Time"; import { withUIExtensions } from "~/editor/extensions"; import useCurrentTeam from "~/hooks/useCurrentTeam"; import useCurrentUser from "~/hooks/useCurrentUser"; @@ -229,16 +232,26 @@ function DocumentEditor(props: Props, ref: React.RefObject) { onBlur={handleBlur} placeholder={t("Untitled")} /> - {!shareId && ( + {shareId ? ( + document.updatedAt ? ( + + {t("Last updated")} + ) : null + ) : ( )} @@ -274,4 +287,9 @@ function DocumentEditor(props: Props, ref: React.RefObject) { ); } +const SharedMeta = styled(Text)` + margin: -12px 0 2em 0; + font-size: 14px; +`; + export default observer(React.forwardRef(DocumentEditor)); diff --git a/server/migrations/20250531003217-add-show-last-updated-to-shares.js b/server/migrations/20250531003217-add-show-last-updated-to-shares.js new file mode 100644 index 0000000000..76cfc9a367 --- /dev/null +++ b/server/migrations/20250531003217-add-show-last-updated-to-shares.js @@ -0,0 +1,17 @@ +'use strict'; + +/** @type {import('sequelize-cli').Migration} */ +module.exports = { + async up(queryInterface, Sequelize) { + await queryInterface.addColumn("shares", "showLastUpdated", { + type: Sequelize.BOOLEAN, + allowNull: false, + defaultValue: false, + }); + }, + + async down(queryInterface, Sequelize) { + await queryInterface.removeColumn("shares", "showLastUpdated"); + } +}; + diff --git a/server/models/Share.ts b/server/models/Share.ts index b3ef01e5ca..80a5e42fc1 100644 --- a/server/models/Share.ts +++ b/server/models/Share.ts @@ -114,6 +114,14 @@ class Share extends IdModel< @Column domain: string | null; + @Default(true) + @Column + allowIndexing: boolean; + + @Default(false) + @Column + showLastUpdated: boolean; + // hooks @BeforeUpdate @@ -185,10 +193,6 @@ class Share extends IdModel< @Column(DataType.UUID) documentId: string; - @Default(true) - @Column - allowIndexing: boolean; - revoke(ctx: APIContext) { const { user } = ctx.context.auth; this.revokedAt = new Date(); diff --git a/server/presenters/document.ts b/server/presenters/document.ts index 42a12f0d6e..1a78c2a835 100644 --- a/server/presenters/document.ts +++ b/server/presenters/document.ts @@ -14,6 +14,8 @@ type Options = { includeText?: boolean; /** Always include the data of the document in the payload. */ includeData?: boolean; + + includeUpdatedAt?: boolean; }; async function presentDocument( @@ -75,6 +77,10 @@ async function presentDocument( res.lastViewedAt = document.views[0].updatedAt; } + if (options.isPublic && !options.includeUpdatedAt) { + delete res.updatedAt; + } + if (!options.isPublic) { const source = await document.$get("import"); diff --git a/server/presenters/share.ts b/server/presenters/share.ts index 14acf3ed4a..a05105e1d9 100644 --- a/server/presenters/share.ts +++ b/server/presenters/share.ts @@ -13,6 +13,7 @@ export default function presentShare(share: Share, isAdmin = false) { createdBy: presentUser(share.user), includeChildDocuments: share.includeChildDocuments, allowIndexing: share.allowIndexing, + showLastUpdated: share.showLastUpdated, lastAccessedAt: share.lastAccessedAt || undefined, views: share.views || 0, domain: share.domain, diff --git a/server/routes/api/documents/documents.ts b/server/routes/api/documents/documents.ts index bfeb2185bc..321b69803c 100644 --- a/server/routes/api/documents/documents.ts +++ b/server/routes/api/documents/documents.ts @@ -579,6 +579,7 @@ router.post( presentDocument(ctx, document, { isPublic, shareId, + includeUpdatedAt: share?.showLastUpdated, }), teamFromCtx?.id === document.teamId ? teamFromCtx : document.$get("team"), ]); diff --git a/server/routes/api/shares/schema.ts b/server/routes/api/shares/schema.ts index 1b6b782e0c..d17d944584 100644 --- a/server/routes/api/shares/schema.ts +++ b/server/routes/api/shares/schema.ts @@ -53,6 +53,7 @@ export const SharesUpdateSchema = BaseSchema.extend({ includeChildDocuments: z.boolean().optional(), published: z.boolean().optional(), allowIndexing: z.boolean().optional(), + showLastUpdated: z.boolean().optional(), urlId: z .string() .regex(UrlHelper.SHARE_URL_SLUG_REGEX, { diff --git a/server/routes/api/shares/shares.ts b/server/routes/api/shares/shares.ts index 1d3eed3bc0..9c20c38be4 100644 --- a/server/routes/api/shares/shares.ts +++ b/server/routes/api/shares/shares.ts @@ -235,8 +235,14 @@ router.post( validate(T.SharesUpdateSchema), transaction(), async (ctx: APIContext) => { - const { id, includeChildDocuments, published, urlId, allowIndexing } = - ctx.input.body; + const { + id, + includeChildDocuments, + published, + urlId, + allowIndexing, + showLastUpdated, + } = ctx.input.body; const { user } = ctx.state.auth; authorize(user, "share", user.team); @@ -267,6 +273,10 @@ router.post( share.allowIndexing = allowIndexing; } + if (showLastUpdated !== undefined) { + share.showLastUpdated = showLastUpdated; + } + await share.saveWithCtx(ctx); ctx.body = { diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 56f18f5acd..381ee226fb 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -362,6 +362,8 @@ "Publish to internet": "Publish to internet", "Search engine indexing": "Search engine indexing", "Disable this setting to discourage search engines from indexing the page": "Disable this setting to discourage search engines from indexing the page", + "Show last modified": "Show last modified", + "Display the last modified timestamp on the shared page": "Display the last modified timestamp on the shared page", "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future": "Nested documents are not shared on the web. Toggle sharing to enable access, this will be the default behavior in the future", "{{ userName }} was added to the document": "{{ userName }} was added to the document", "{{ count }} people added to the document": "{{ count }} people added to the document", @@ -655,6 +657,7 @@ "only you": "only you", "person": "person", "people": "people", + "Last updated": "Last updated", "Type '/' to insert, or start writing…": "Type '/' to insert, or start writing…", "Hide contents": "Hide contents", "Show contents": "Show contents", @@ -684,7 +687,6 @@ "{{ count }} characters selected_plural": "{{ count }} characters selected", "Contributors": "Contributors", "Created": "Created", - "Last updated": "Last updated", "Creator": "Creator", "Last edited": "Last edited", "Previously edited": "Previously edited", From cd0acc40bbe46168b36fd5d4d411f669f682e416 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 11:30:28 -0400 Subject: [PATCH 02/25] Add support for individual database environment variables (#9344) * Add support for individual database environment variables - Add DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD env vars - Implement mutual exclusivity validation between DATABASE_URL and individual components - Add effectiveDatabaseUrl getter to construct URL from individual components - Update database connection logic to use new configuration options - Ensure backward compatibility with existing DATABASE_URL configuration Resolves: https://github.com/outline/outline/discussions/9158 * Refactor database configuration methods - Move effectiveDatabaseUrl method from env.ts to database.ts as getEffectiveDatabaseUrl function - Remove validateDatabaseConfiguration method from env.ts as validation is handled by decorators - Maintain clean separation of concerns between environment and database modules * Pass database options directly to Sequelize constructor - Replace URL construction with direct Sequelize configuration object - Support both DATABASE_URL string and individual component object configurations - Maintain common Sequelize options for both configuration types - Improve error messaging for different configuration scenarios * remove spurious comments * tsc --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- server/env.ts | 51 +++++++++++++++++++++++++++++++++- server/storage/database.ts | 57 ++++++++++++++++++++++++++++++++------ server/utils/validators.ts | 30 ++++++++++++++++++++ 3 files changed, 128 insertions(+), 10 deletions(-) diff --git a/server/env.ts b/server/env.ts index 9a4a0da1d3..4bfcd7b68f 100644 --- a/server/env.ts +++ b/server/env.ts @@ -16,7 +16,11 @@ import { import uniq from "lodash/uniq"; import { languages } from "@shared/i18n"; import { Day, Hour } from "@shared/utils/time"; -import { CannotUseWith, CannotUseWithout } from "@server/utils/validators"; +import { + CannotUseWith, + CannotUseWithout, + CannotUseWithAny, +} from "@server/utils/validators"; import Deprecated from "./models/decorators/Deprecated"; import { getArg } from "./utils/args"; import { Public, PublicEnvironmentRegister } from "./utils/decorators/Public"; @@ -79,8 +83,53 @@ export class Environment { allow_underscores: true, protocols: ["postgres", "postgresql"], }) + @CannotUseWithAny([ + "DATABASE_HOST", + "DATABASE_PORT", + "DATABASE_NAME", + "DATABASE_USER", + "DATABASE_PASSWORD", + ]) public DATABASE_URL = environment.DATABASE_URL ?? ""; + /** + * Database host for individual component configuration. + */ + @IsOptional() + @CannotUseWith("DATABASE_URL") + public DATABASE_HOST = this.toOptionalString(environment.DATABASE_HOST); + + /** + * Database port for individual component configuration. + */ + @IsOptional() + @IsNumber() + @CannotUseWith("DATABASE_URL") + public DATABASE_PORT = this.toOptionalNumber(environment.DATABASE_PORT); + + /** + * Database name for individual component configuration. + */ + @IsOptional() + @CannotUseWith("DATABASE_URL") + public DATABASE_NAME = this.toOptionalString(environment.DATABASE_NAME); + + /** + * Database user for individual component configuration. + */ + @IsOptional() + @CannotUseWith("DATABASE_URL") + public DATABASE_USER = this.toOptionalString(environment.DATABASE_USER); + + /** + * Database password for individual component configuration. + */ + @IsOptional() + @CannotUseWith("DATABASE_URL") + public DATABASE_PASSWORD = this.toOptionalString( + environment.DATABASE_PASSWORD + ); + /** * An optional database schema. */ diff --git a/server/storage/database.ts b/server/storage/database.ts index ca32bde4fc..446847f893 100644 --- a/server/storage/database.ts +++ b/server/storage/database.ts @@ -1,21 +1,47 @@ import path from "path"; import { InferAttributes, InferCreationAttributes } from "sequelize"; import sequelizeStrictAttributes from "sequelize-strict-attributes"; -import { Sequelize } from "sequelize-typescript"; +import { Sequelize, SequelizeOptions } from "sequelize-typescript"; import { Umzug, SequelizeStorage, MigrationError } from "umzug"; import env from "@server/env"; import Model from "@server/models/base/Model"; import Logger from "../logging/Logger"; import * as models from "../models"; +/** + * Returns database configuration for Sequelize constructor. + * Either uses DATABASE_URL or constructs options from individual components. + */ +function getDatabaseConfig() { + if (env.DATABASE_URL) { + return env.DATABASE_URL; + } + + // If using individual components, return Sequelize options object + if (env.DATABASE_HOST && env.DATABASE_NAME && env.DATABASE_USER) { + return { + database: env.DATABASE_NAME, + username: env.DATABASE_USER, + password: env.DATABASE_PASSWORD || undefined, + host: env.DATABASE_HOST, + port: env.DATABASE_PORT || 5432, + dialect: "postgres" as const, + }; + } + + throw new Error( + "DATABASE_URL is not set or individual database components (DATABASE_HOST, DATABASE_NAME, DATABASE_USER) are not properly configured." + ); +} + const isSSLDisabled = env.PGSSLMODE === "disable"; const poolMax = env.DATABASE_CONNECTION_POOL_MAX ?? 5; const poolMin = env.DATABASE_CONNECTION_POOL_MIN ?? 0; -const url = env.DATABASE_CONNECTION_POOL_URL || env.DATABASE_URL; +const databaseConfig = env.DATABASE_CONNECTION_POOL_URL || getDatabaseConfig(); const schema = env.DATABASE_SCHEMA; export function createDatabaseInstance( - databaseUrl: string, + databaseConfig: string | object, input: { [key: string]: typeof Model< InferAttributes, @@ -24,7 +50,10 @@ export function createDatabaseInstance( } ): Sequelize { try { - const instance = new Sequelize(databaseUrl, { + let instance; + + // Common options for both URL and object configurations + const commonOptions: SequelizeOptions = { logging: (msg) => process.env.DEBUG?.includes("database") && Logger.debug("database", msg), @@ -47,17 +76,27 @@ export function createDatabaseInstance( idle: 10000, }, schema, - }); + }; + + // If databaseConfig is a string, it's a URL; if it's an object, merge with common options + if (typeof databaseConfig === "string") { + instance = new Sequelize(databaseConfig, commonOptions); + } else { + instance = new Sequelize({ ...databaseConfig, ...commonOptions }); + } + sequelizeStrictAttributes(instance); return instance; } catch (error) { Logger.fatal( "Could not connect to database", - databaseUrl + typeof databaseConfig === "string" ? new Error( - `Failed to parse: "${databaseUrl}". Ensure special characters in database URL are encoded` + `Failed to parse: "${databaseConfig}". Ensure special characters in database URL are encoded` + ) + : new Error( + `Failed to connect using database credentials. Please check DATABASE_HOST, DATABASE_NAME, DATABASE_USER configuration` ) - : new Error(`DATABASE_URL is not set.`) ); process.exit(1); } @@ -131,7 +170,7 @@ export function createMigrationRunner( }); } -export const sequelize = createDatabaseInstance(url, models); +export const sequelize = createDatabaseInstance(databaseConfig, models); export const migrations = createMigrationRunner(sequelize, [ "migrations/*.js", diff --git a/server/utils/validators.ts b/server/utils/validators.ts index 382a8caebb..e78f4a0935 100644 --- a/server/utils/validators.ts +++ b/server/utils/validators.ts @@ -57,3 +57,33 @@ export function CannotUseWith( }); }; } + +export function CannotUseWithAny( + properties: string[], + validationOptions?: ValidationOptions +) { + return function (object: Object, propertyName: string) { + registerDecorator({ + name: "cannotUseWithAny", + target: object.constructor, + propertyName, + constraints: properties, + options: validationOptions, + validator: { + validate(value: T, args: ValidationArguments) { + if (value === undefined) { + return true; + } + const obj = args.object as unknown as T; + const forbiddenProperties = args.constraints as (keyof T)[]; + return forbiddenProperties.every((prop) => obj[prop] === undefined); + }, + defaultMessage(args: ValidationArguments) { + return `${propertyName} cannot be used with any of: ${args.constraints.join( + ", " + )}.`; + }, + }, + }); + }; +} From e51d2f643e4dba8a3f1b1bcb191134a2c4a09ef2 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 31 May 2025 11:33:04 -0400 Subject: [PATCH 03/25] fix: Inaccessible tooltips after conversion (#9350) --- app/components/Sharing/Document/AccessControlList.tsx | 5 ++++- app/components/Sharing/Document/PublicAccess.tsx | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/components/Sharing/Document/AccessControlList.tsx b/app/components/Sharing/Document/AccessControlList.tsx index 3a3089a67a..c73659a07c 100644 --- a/app/components/Sharing/Document/AccessControlList.tsx +++ b/app/components/Sharing/Document/AccessControlList.tsx @@ -12,6 +12,7 @@ import type Collection from "~/models/Collection"; import type Document from "~/models/Document"; import Share from "~/models/Share"; import Flex from "~/components/Flex"; +import NudeButton from "~/components/NudeButton"; import Scrollable from "~/components/Scrollable"; import Text from "~/components/Text"; import useCurrentTeam from "~/hooks/useCurrentTeam"; @@ -230,7 +231,9 @@ const AccessTooltip = ({ {children} - + + + ); diff --git a/app/components/Sharing/Document/PublicAccess.tsx b/app/components/Sharing/Document/PublicAccess.tsx index 7982884bce..d69c6e46f2 100644 --- a/app/components/Sharing/Document/PublicAccess.tsx +++ b/app/components/Sharing/Document/PublicAccess.tsx @@ -190,7 +190,9 @@ function PublicAccess({ document, share, sharedParent }: Props) { "Disable this setting to discourage search engines from indexing the page" )} > - + + + } From e7b7eb78181ee911ebd5ffc62b4a1a59565ee5c6 Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Sat, 31 May 2025 21:06:36 +0530 Subject: [PATCH 04/25] feat: Allow specifying exact pixel width for images (#9288) * Allow specifying exact pixel width for images * resize height * Math.round * handle natural width, debounce error state --- app/editor/components/MediaDimension.tsx | 252 +++++++++++++++++++++ app/editor/components/SelectionToolbar.tsx | 3 + app/editor/components/ToolbarMenu.tsx | 7 +- app/editor/menus/image.tsx | 9 + app/hooks/useDictionary.ts | 1 + shared/editor/nodes/Image.tsx | 42 +++- shared/editor/types/index.ts | 1 + shared/i18n/locales/en_US/translation.json | 1 + 8 files changed, 303 insertions(+), 13 deletions(-) create mode 100644 app/editor/components/MediaDimension.tsx diff --git a/app/editor/components/MediaDimension.tsx b/app/editor/components/MediaDimension.tsx new file mode 100644 index 0000000000..d103580ba2 --- /dev/null +++ b/app/editor/components/MediaDimension.tsx @@ -0,0 +1,252 @@ +import { NodeSelection } from "prosemirror-state"; +import { useCallback, useEffect, useRef, useState } from "react"; +import styled from "styled-components"; +import Flex from "@shared/components/Flex"; +import Text from "@shared/components/Text"; +import { EditorStyleHelper } from "@shared/editor/styles/EditorStyleHelper"; +import { extraArea } from "@shared/styles"; +import Input, { NativeInput, Outline } from "~/components/Input"; +import { useEditor } from "./EditorContext"; + +type Dimension = { + width: string; + height: string; + changed: "width" | "height" | "none"; +}; + +export function MediaDimension() { + const ref = useRef(null); + const boundsRef = useRef<{ + width: { min: number; max: number }; + height: { min: number; max: number }; + }>(); + const { view, commands } = useEditor(); + const { state } = view; + const { selection } = state; + + // This component will be rendered only when the selection is image or video (NodeSelection types). + const node = (selection as NodeSelection).node; + const nodeType = node.type.name, + width = node.attrs.width as number, + height = node.attrs.height as number; + + const [localDimension, setLocalDimension] = useState(() => ({ + width: String(width), + height: String(height), + changed: "none", + })); + const [error, setError] = useState<{ width: boolean; height: boolean }>({ + width: false, + height: false, + }); + + if (!boundsRef.current && ref.current) { + const docWidth = parseInt( + getComputedStyle(ref.current).getPropertyValue("--document-width") + ); + const maxWidth = docWidth - EditorStyleHelper.padding * 2; + const constrainedWidth = Math.min(width, maxWidth); // Ensure media width does not exceed the max width of the editor. + const aspectRatio = height / constrainedWidth; + + const maxHeight = Math.round(maxWidth * aspectRatio); + boundsRef.current = { + width: { min: 50, max: maxWidth }, + height: { min: 50, max: maxHeight }, + }; + } + + const reset = useCallback(() => { + setLocalDimension({ + width: String(width), + height: String(height), + changed: "none", + }); + setError({ width: false, height: false }); + }, [width, height]); + + const isOutsideBounds = useCallback( + (type: "width" | "height", value: number) => { + const bounds = boundsRef.current!; + return value < bounds[type].min || value > bounds[type].max; + }, + [] + ); + + const handleChange = useCallback( + (type: "width" | "height") => (e: React.ChangeEvent) => { + const { value } = e.target; + const isNumber = /^\d+$/.test(value); + + if (value && (!isNumber || value === "0")) { + return; + } + + setError((prev) => { + if (!prev.width && !prev.height) { + return prev; + } + return { width: false, height: false }; + }); + + setLocalDimension((prev) => { + if (type === "width") { + return { + ...prev, + width: value, + changed: "width", + }; + } + return { + ...prev, + height: value, + changed: "height", + }; + }); + }, + [] + ); + + const handleBlur = useCallback(() => { + const localWidthAsNumber = localDimension.width + ? parseInt(localDimension.width, 10) + : undefined, + localHeightAsNumber = localDimension.height + ? parseInt(localDimension.height, 10) + : undefined; + + const isUnchanged = + !localWidthAsNumber || + !localHeightAsNumber || + (localWidthAsNumber === width && localHeightAsNumber === height); + + const isError = + error.width || + error.height || + (localDimension.changed === "width" && + localWidthAsNumber && + isOutsideBounds("width", localWidthAsNumber)); // check width bounds here since 'onChange' error checker is debounced. + + if (isUnchanged || isError) { + reset(); + return; + } + + const maxWidth = boundsRef.current!.width.max; + // For images resized to the full width of the editor, natural width will be shown in the toolbar. + // So, we constrain it here for computing aspect ratio. + const constrainedWidth = Math.min(width, maxWidth); + + const aspectRatio = + localDimension.changed === "width" + ? height / constrainedWidth + : constrainedWidth / height; + + const finalWidth = + localDimension.changed === "width" + ? localWidthAsNumber + : Math.round(aspectRatio * localHeightAsNumber); + const finalHeight = + localDimension.changed === "height" + ? localHeightAsNumber + : Math.round(aspectRatio * localWidthAsNumber); + + if (nodeType === "image") { + commands["resizeImage"]({ + width: finalWidth, + height: finalHeight, + }); + } + }, [commands, width, height, localDimension, nodeType, error, reset]); + + const handleKeyDown = useCallback( + (e: React.KeyboardEvent) => { + if (e.key === "Enter") { + handleBlur(); + } else if (e.key === "Escape") { + reset(); + } + }, + [handleBlur, reset] + ); + + // Sync dimension changes from outside. + useEffect(() => { + if ( + width !== Number(localDimension.width) || + height !== Number(localDimension.height) + ) { + reset(); + } + }, [width, height, reset]); + + // hacky debounce for checking error. + useEffect(() => { + const timeout = setTimeout(() => { + const isWidthError = localDimension.width + ? Number(localDimension.width) !== width && + isOutsideBounds("width", Number(localDimension.width)) + : false; + const isHeightError = localDimension.height + ? Number(localDimension.height) !== height && + isOutsideBounds("height", Number(localDimension.height)) + : false; + + if (isWidthError || isHeightError) { + setError({ + width: isWidthError, + height: isHeightError, + }); + } + }, 200); + + return () => clearTimeout(timeout); + }, [width, height, localDimension, isOutsideBounds]); + + return ( + + + + x + + + + ); +} + +const StyledFlex = styled(Flex)` + pointer-events: all; + position: relative; + + ${extraArea(4)} +`; + +const StyledInput = styled(Input)<{ $error?: boolean }>` + width: 50px; + z-index: 1; + + ${Outline} { + margin: 0; + background: transparent; + border-color: transparent; + } + + ${NativeInput} { + height: 24px; + padding: 0; + text-align: center; + + ${(props) => props.$error && `color: ${props.theme.danger}`}; + } +`; diff --git a/app/editor/components/SelectionToolbar.tsx b/app/editor/components/SelectionToolbar.tsx index bea7956d6b..e27290fe7b 100644 --- a/app/editor/components/SelectionToolbar.tsx +++ b/app/editor/components/SelectionToolbar.tsx @@ -221,6 +221,9 @@ export default function SelectionToolbar(props: Props) { if (item.name === "separator") { return true; } + if (item.name === "dimensions") { + return item.visible ?? false; + } if (item.name && !commands[item.name]) { return false; } diff --git a/app/editor/components/ToolbarMenu.tsx b/app/editor/components/ToolbarMenu.tsx index a63d3a82b7..c2d759486f 100644 --- a/app/editor/components/ToolbarMenu.tsx +++ b/app/editor/components/ToolbarMenu.tsx @@ -10,6 +10,7 @@ import Template from "~/components/ContextMenu/Template"; import { TooltipProvider } from "~/components/TooltipContext"; import { MenuItem as TMenuItem } from "~/types"; import { useEditor } from "./EditorContext"; +import { MediaDimension } from "./MediaDimension"; import ToolbarButton from "./ToolbarButton"; import ToolbarSeparator from "./ToolbarSeparator"; import Tooltip from "./Tooltip"; @@ -98,7 +99,7 @@ function ToolbarMenu(props: Props) { if (item.name === "separator" && item.visible !== false) { return ; } - if (item.visible === false || !item.icon) { + if (item.visible === false || (!item.skipIcon && !item.icon)) { return null; } const isActive = item.active ? item.active(state) : false; @@ -109,7 +110,9 @@ function ToolbarMenu(props: Props) { shortcut={item.shortcut} content={item.label === item.tooltip ? undefined : item.tooltip} > - {item.children ? ( + {item.name === "dimensions" ? ( + + ) : item.children ? ( ) : ( number }) => ({ width, height }: { width: number; height?: number }) => { - const { view } = this.editor; - const { tr } = view.state; + const { view, commands } = this.editor; + const { doc, tr } = view.state; const pos = getPos(); - const transaction = tr - .setNodeMarkup(pos, undefined, { - ...node.attrs, - width, - height, - }) - .setMeta("addToHistory", true); - const $pos = transaction.doc.resolve(getPos()); - view.dispatch(transaction.setSelection(new NodeSelection($pos))); + const $pos = doc.resolve(pos); + + view.dispatch(tr.setSelection(new NodeSelection($pos))); + commands["resizeImage"]({ + width, + height: height || node.attrs.height, + }); }; handleDownload = @@ -430,6 +428,28 @@ export default class Image extends SimpleImage { dispatch?.(state.tr.setNodeMarkup(selection.from, undefined, attrs)); return true; }, + resizeImage: + ({ width, height }: { width: number; height: number }): Command => + (state, dispatch) => { + if (!(state.selection instanceof NodeSelection)) { + return false; + } + + const { selection } = state; + const transformedAttrs = { + ...state.selection.node.attrs, + width, + height, + }; + + const tr = state.tr + .setNodeMarkup(selection.from, undefined, transformedAttrs) + .setMeta("addToHistory", true); + + const $pos = tr.doc.resolve(selection.from); + dispatch?.(tr.setSelection(new NodeSelection($pos))); + return true; + }, }; } diff --git a/shared/editor/types/index.ts b/shared/editor/types/index.ts index 26d57dd38b..bd23e2345a 100644 --- a/shared/editor/types/index.ts +++ b/shared/editor/types/index.ts @@ -40,6 +40,7 @@ export type MenuItem = { visible?: boolean; active?: (state: EditorState) => boolean; appendSpace?: boolean; + skipIcon?: boolean; }; export type ComponentProps = { diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 381ee226fb..8eed2b4c4a 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -451,6 +451,7 @@ "Create a new child doc": "Create a new child doc", "Delete table": "Delete table", "Delete file": "Delete file", + "Width x Height": "Width x Height", "Download file": "Download file", "Replace file": "Replace file", "Delete image": "Delete image", From 76bd503581be03b8770ee442088c7f23bf665ada Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 13:53:42 -0400 Subject: [PATCH 05/25] Add description setting for workspaces (#9345) * Add team description column and settings - Add database migration to add description column to teams table - Update server-side Team model with description field and validation - Update client-side Team model to include description field - Add description input field to team settings page - Update renderApp to use team description in HTML metadata when public branding is enabled * Applied automatic fixes * tweaks --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- app/models/Team.ts | 4 ++++ app/scenes/Settings/Details.tsx | 20 +++++++++++++++++-- ...20250531002344-add-description-to-teams.js | 15 ++++++++++++++ server/models/Team.ts | 8 ++++++++ server/presenters/team.ts | 1 + server/routes/api/teams/schema.ts | 2 ++ server/routes/app.ts | 14 ++++++++----- server/routes/index.ts | 14 ++++++------- shared/i18n/locales/en_US/translation.json | 4 +++- shared/validations.ts | 3 +++ 10 files changed, 70 insertions(+), 15 deletions(-) create mode 100644 server/migrations/20250531002344-add-description-to-teams.js diff --git a/app/models/Team.ts b/app/models/Team.ts index 9d1b4c109c..83f1a8f0b1 100644 --- a/app/models/Team.ts +++ b/app/models/Team.ts @@ -12,6 +12,10 @@ class Team extends Model { @observable name: string; + @Field + @observable + description: string | null; + @Field @observable avatarUrl: string; diff --git a/app/scenes/Settings/Details.tsx b/app/scenes/Settings/Details.tsx index ba3b4449a0..c34785ec39 100644 --- a/app/scenes/Settings/Details.tsx +++ b/app/scenes/Settings/Details.tsx @@ -44,6 +44,7 @@ function Details() { team.preferences?.customTheme?.accentText ); const [name, setName] = useState(team.name); + const [description, setDescription] = useState(team.description || ""); const [subdomain, setSubdomain] = useState(team.subdomain); const [publicBranding, setPublicBranding] = useState( team.preferences?.publicBranding @@ -94,6 +95,7 @@ function Details() { try { await team.save({ name, + description, subdomain, defaultCollectionId, preferences: { @@ -112,6 +114,7 @@ function Details() { tocPosition, team, name, + description, subdomain, defaultCollectionId, publicBranding, @@ -210,6 +213,19 @@ function Details() { required /> + + ) => { + setDescription(ev.target.value); + }} + /> + - {team.avatarUrl && ( + {(team.avatarUrl || team.description) && ( { + await queryInterface.addColumn('teams', 'description', { + type: Sequelize.TEXT, + allowNull: true, + }); + }, + + down: async (queryInterface, Sequelize) => { + await queryInterface.removeColumn('teams', 'description'); + } +}; + diff --git a/server/models/Team.ts b/server/models/Team.ts index c2011d6e26..e2d1d5a224 100644 --- a/server/models/Team.ts +++ b/server/models/Team.ts @@ -79,6 +79,14 @@ class Team extends ParanoidModel< @Column name: string; + @AllowNull + @Length({ + max: TeamValidation.maxDescriptionLength, + msg: `Team description must be ${TeamValidation.maxDescriptionLength} characters or less`, + }) + @Column(DataType.TEXT) + description: string | null; + @IsLowercase @Unique @Length({ diff --git a/server/presenters/team.ts b/server/presenters/team.ts index f756968e09..8dcd3db632 100644 --- a/server/presenters/team.ts +++ b/server/presenters/team.ts @@ -4,6 +4,7 @@ export default function presentTeam(team: Team) { return { id: team.id, name: team.name, + description: team.description, avatarUrl: team.avatarUrl, sharing: team.sharing, memberCollectionCreate: team.memberCollectionCreate, diff --git a/server/routes/api/teams/schema.ts b/server/routes/api/teams/schema.ts index ee0ef56741..052a5ac095 100644 --- a/server/routes/api/teams/schema.ts +++ b/server/routes/api/teams/schema.ts @@ -6,6 +6,8 @@ export const TeamsUpdateSchema = BaseSchema.extend({ body: z.object({ /** Team name */ name: z.string().optional(), + /** Team description */ + description: z.string().nullish(), /** Avatar URL */ avatarUrl: z.string().nullish(), /** The subdomain to access the team */ diff --git a/server/routes/app.ts b/server/routes/app.ts index cd57a2bddc..244b5c0976 100644 --- a/server/routes/app.ts +++ b/server/routes/app.ts @@ -190,14 +190,18 @@ export const renderShare = async (ctx: Context, next: Next) => { // Allow shares to be embedded in iframes on other websites ctx.remove("X-Frame-Options"); + const publicBranding = + team?.getPreference(TeamPreference.PublicBranding) ?? false; + // Inject share information in SSR HTML return renderApp(ctx, next, { - title: document?.title, - description: document?.getSummary(), + title: + document?.title || (publicBranding && team?.name ? team.name : undefined), + description: + document?.getSummary() || + (publicBranding && team?.description ? team.description : undefined), shortcutIcon: - team?.getPreference(TeamPreference.PublicBranding) && team.avatarUrl - ? team.avatarUrl - : undefined, + publicBranding && team?.avatarUrl ? team.avatarUrl : undefined, analytics, isShare: true, rootShareId, diff --git a/server/routes/index.ts b/server/routes/index.ts index 0f2d36ef66..09d530f6cf 100644 --- a/server/routes/index.ts +++ b/server/routes/index.ts @@ -170,16 +170,16 @@ router.get("*", shareDomains(), async (ctx, next) => { }) : []; + const publicBranding = + team?.getPreference(TeamPreference.PublicBranding) ?? false; + return renderApp(ctx, next, { - title: - team?.getPreference(TeamPreference.PublicBranding) && team.name - ? team.name - : undefined, + title: publicBranding && team?.name ? team.name : undefined, + description: + publicBranding && team?.description ? team.description : undefined, analytics, shortcutIcon: - team?.getPreference(TeamPreference.PublicBranding) && team.avatarUrl - ? team.avatarUrl - : undefined, + publicBranding && team?.avatarUrl ? team.avatarUrl : undefined, }); }); diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 8eed2b4c4a..9f6c7956fc 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -1008,13 +1008,15 @@ "Display": "Display", "The logo is displayed at the top left of the application.": "The logo is displayed at the top left of the application.", "The workspace name, usually the same as your company name.": "The workspace name, usually the same as your company name.", + "Description": "Description", + "A short description of your workspace.": "A short description of your workspace.", "Theme": "Theme", "Customize the interface look and feel.": "Customize the interface look and feel.", "Reset theme": "Reset theme", "Accent color": "Accent color", "Accent text color": "Accent text color", "Public branding": "Public branding", - "Show your team’s logo on public pages like login and shared documents.": "Show your team’s logo on public pages like login and shared documents.", + "Show your workspace logo, description, and branding on publicly shared pages.": "Show your workspace logo, description, and branding on publicly shared pages.", "Table of contents position": "Table of contents position", "The side to display the table of contents in relation to the main content.": "The side to display the table of contents in relation to the main content.", "Behavior": "Behavior", diff --git a/shared/validations.ts b/shared/validations.ts index d15de4b269..dcc18a5e7a 100644 --- a/shared/validations.ts +++ b/shared/validations.ts @@ -95,6 +95,9 @@ export const TeamValidation = { /** The maximum length of the team name */ maxNameLength: 255, + + /** The maximum length of the team description */ + maxDescriptionLength: 1000, }; export const UserValidation = { From f6d9d0094752ae81c3a5cd0f807c7477ed1a24b9 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 31 May 2025 16:46:39 -0400 Subject: [PATCH 06/25] fix: First time migration fails (Regressed in #9345) (#9353) --- ...062414-resolve-collection-index-collisions.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/server/scripts/20250327062414-resolve-collection-index-collisions.ts b/server/scripts/20250327062414-resolve-collection-index-collisions.ts index 9ef5364824..08073583de 100644 --- a/server/scripts/20250327062414-resolve-collection-index-collisions.ts +++ b/server/scripts/20250327062414-resolve-collection-index-collisions.ts @@ -109,12 +109,18 @@ class CollectionIndexCollisionResolver { } export default async function main(exit = false) { - await Team.findAllInBatches({ batchLimit: 5 }, async (teams) => { - for (const team of teams) { - const resolver = new CollectionIndexCollisionResolver(team.id); - await resolver.process(); + await Team.findAllInBatches( + { + attributes: ["id"], + batchLimit: 5, + }, + async (teams) => { + for (const team of teams) { + const resolver = new CollectionIndexCollisionResolver(team.id); + await resolver.process(); + } } - }); + ); if (exit) { process.exit(0); From 665b19d933aec399b86937830526aa4ab08973c1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 31 May 2025 21:52:17 -0400 Subject: [PATCH 07/25] perf: Remove `fetchIfMissing` websocket property (#9351) * Remove fetchIfMissing websocket property * Refactor to invalidatedPolicies * invalidate --- app/components/WebsocketProvider.tsx | 10 ++++++++-- app/types.ts | 2 +- server/queues/processors/WebsocketsProcessor.ts | 5 +++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/app/components/WebsocketProvider.tsx b/app/components/WebsocketProvider.tsx index bf16887394..7012ff0dc4 100644 --- a/app/components/WebsocketProvider.tsx +++ b/app/components/WebsocketProvider.tsx @@ -148,6 +148,12 @@ class WebsocketProvider extends Component { this.socket.on( "entities", action(async (event: WebsocketEntitiesEvent) => { + if (event.invalidatedPolicies) { + event.invalidatedPolicies.forEach((policyId) => { + policies.remove(policyId); + }); + } + if (event.documentIds) { for (const documentDescriptor of event.documentIds) { const documentId = documentDescriptor.id; @@ -159,7 +165,7 @@ class WebsocketProvider extends Component { if (document?.updatedAt === documentDescriptor.updatedAt) { continue; } - if (!document && !event.fetchIfMissing) { + if (!document) { continue; } @@ -207,7 +213,7 @@ class WebsocketProvider extends Component { if (collection?.updatedAt === collectionDescriptor.updatedAt) { continue; } - if (!collection?.documents && !event.fetchIfMissing) { + if (!collection?.documents) { continue; } diff --git a/app/types.ts b/app/types.ts index a940e08cdc..621f424760 100644 --- a/app/types.ts +++ b/app/types.ts @@ -177,10 +177,10 @@ export type WebsocketEntityDeletedEvent = { }; export type WebsocketEntitiesEvent = { - fetchIfMissing?: boolean; documentIds: { id: string; updatedAt?: string }[]; collectionIds: { id: string; updatedAt?: string }[]; groupIds: { id: string; updatedAt?: string }[]; + invalidatedPolicies: string[]; teamIds: string[]; event: string; }; diff --git a/server/queues/processors/WebsocketsProcessor.ts b/server/queues/processors/WebsocketsProcessor.ts index 2b7df91dac..8368dbfb82 100644 --- a/server/queues/processors/WebsocketsProcessor.ts +++ b/server/queues/processors/WebsocketsProcessor.ts @@ -62,7 +62,7 @@ export default class WebsocketsProcessor { return socketio.to(channels).emit("entities", { event: event.name, - fetchIfMissing: true, + invalidatedPolicies: [document.id], documentIds: [ { id: document.id, @@ -124,7 +124,7 @@ export default class WebsocketsProcessor { return socketio.to(channels).emit("entities", { event: event.name, - fetchIfMissing: true, + invalidatedPolicies: [document.id], documentIds: [ { id: document.id, @@ -177,6 +177,7 @@ export default class WebsocketsProcessor { documents.forEach((document) => { socketio.to(`collection-${document.collectionId}`).emit("entities", { event: event.name, + invalidatedPolicies: [document.id], documentIds: [ { id: document.id, From 66209c4ee8e259943e8be0dfa6949691f216539c Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 22:32:26 -0400 Subject: [PATCH 08/25] Switch Modal component from reakit/Dialog to Radix UI Dialog (#9356) - Replace reakit Dialog, DialogBackdrop, and useDialogState with Radix UI Dialog components - Maintain the same API and functionality (isOpen, fullscreen, title, style, onRequestClose) - Preserve existing styling and animations using styled-components - Keep nested modal depth tracking and responsive behavior - Update overlay and content styling to work with Radix Dialog structure - Maintain accessibility features and event handling Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> --- app/components/Modal.tsx | 155 ++++++++++++++++++++------------------- 1 file changed, 80 insertions(+), 75 deletions(-) diff --git a/app/components/Modal.tsx b/app/components/Modal.tsx index cc55db2f42..c3f56a28fb 100644 --- a/app/components/Modal.tsx +++ b/app/components/Modal.tsx @@ -1,9 +1,9 @@ +import * as Dialog from "@radix-ui/react-dialog"; import { observer } from "mobx-react"; import { CloseIcon, BackIcon } from "outline-icons"; import { transparentize } from "polished"; import * as React from "react"; import { useTranslation } from "react-i18next"; -import { Dialog, DialogBackdrop, useDialogState } from "reakit/Dialog"; import styled, { DefaultTheme } from "styled-components"; import breakpoint from "styled-components-breakpoint"; import { depths, s } from "@shared/styles"; @@ -37,9 +37,6 @@ const Modal: React.FC = ({ style, onRequestClose, }: Props) => { - const dialog = useDialogState({ - animated: 250, - }); const [depth, setDepth] = React.useState(0); const wasOpen = usePrevious(isOpen); const isMobile = useMobile(); @@ -48,14 +45,12 @@ const Modal: React.FC = ({ React.useEffect(() => { if (!wasOpen && isOpen) { setDepth(openModals++); - dialog.show(); } if (wasOpen && !isOpen) { setDepth(openModals--); - dialog.hide(); } - }, [dialog, wasOpen, isOpen]); + }, [wasOpen, isOpen]); useUnmount(() => { if (isOpen) { @@ -68,78 +63,75 @@ const Modal: React.FC = ({ } return ( - - {(backdropProps) => ( - - !open && onRequestClose()} + > + + + - {(dialogProps) => - fullscreen || isMobile ? ( - - - ev.stopPropagation()} column> - {title && ( - - {title} - - )} - {children} - - - - - - - - {t("Back")} - - - ) : ( - - ev.stopPropagation()} - // maxHeight needed for proper overflow behavior in Safari - style={{ maxHeight: "65vh" }} - column - reverse - > - - {children} - -
- {title && {title}} - - - -
+ {fullscreen || isMobile ? ( + + + ev.stopPropagation()} column> + {title && ( + + {title} + + )} + {children} -
- ) - } -
-
- )} -
+ + + + + + + {t("Back")} + + + ) : ( + + ev.stopPropagation()} + // maxHeight needed for proper overflow behavior in Safari + style={{ maxHeight: "65vh" }} + column + reverse + > + + {children} + +
+ {title && {title}} + + + +
+
+
+ )} + + + + ); }; -const Backdrop = styled(Flex)<{ $fullscreen?: boolean }>` +const StyledOverlay = styled(Dialog.Overlay)<{ $fullscreen?: boolean }>` position: fixed; top: 0; left: 0; @@ -153,11 +145,24 @@ const Backdrop = styled(Flex)<{ $fullscreen?: boolean }>` transition: opacity 50ms ease-in-out; opacity: 0; - &[data-enter] { + &[data-state="open"] { opacity: 1; } `; +const StyledContent = styled(Dialog.Content)` + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: ${depths.modal}; + display: flex; + justify-content: center; + align-items: flex-start; + outline: none; +`; + type FullscreenProps = { $nested: boolean; theme: DefaultTheme; From 82dc24040ce354fe67b4337c5b2f702ac3f23006 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 31 May 2025 23:27:44 -0400 Subject: [PATCH 09/25] feat: Add screen to provision workspace (#9355) * wip * refactor * lint --- app/scenes/Login/Login.tsx | 7 ++ .../Login/components/WorkspaceSetup.tsx | 77 +++++++++++++++++++ server/scripts/seed.ts | 54 ------------- shared/i18n/locales/en_US/translation.json | 6 +- 4 files changed, 89 insertions(+), 55 deletions(-) create mode 100644 app/scenes/Login/components/WorkspaceSetup.tsx delete mode 100644 server/scripts/seed.ts diff --git a/app/scenes/Login/Login.tsx b/app/scenes/Login/Login.tsx index f41ac04f4a..a4f03a4ca6 100644 --- a/app/scenes/Login/Login.tsx +++ b/app/scenes/Login/Login.tsx @@ -38,6 +38,7 @@ import { BackButton } from "./components/BackButton"; import { Background } from "./components/Background"; import { Centered } from "./components/Centered"; import { Notices } from "./components/Notices"; +import WorkspaceSetup from "./components/WorkspaceSetup"; import { getRedirectUrl, navigateToSubdomain } from "./urls"; type Props = { @@ -191,12 +192,18 @@ function Login({ children, onBack }: Props) { ); } + const firstRun = + config.providers.length === 0 && !isCloudHosted && !config.name; const hasMultipleProviders = config.providers.length > 1; const defaultProvider = find( config.providers, (provider) => provider.id === auth.lastSignedIn && !isCreate ); + if (firstRun) { + return ; + } + if (emailLinkSentTo) { return ( diff --git a/app/scenes/Login/components/WorkspaceSetup.tsx b/app/scenes/Login/components/WorkspaceSetup.tsx new file mode 100644 index 0000000000..dbda31f535 --- /dev/null +++ b/app/scenes/Login/components/WorkspaceSetup.tsx @@ -0,0 +1,77 @@ +import * as React from "react"; +import { useTranslation } from "react-i18next"; +import styled from "styled-components"; +import { s } from "@shared/styles"; +import ButtonLarge from "~/components/ButtonLarge"; +import ChangeLanguage from "~/components/ChangeLanguage"; +import Flex from "~/components/Flex"; +import Heading from "~/components/Heading"; +import Input from "~/components/Input"; +import Text from "~/components/Text"; +import { detectLanguage } from "~/utils/language"; +import { BackButton } from "./BackButton"; +import { Background } from "./Background"; +import { Centered } from "./Centered"; + +const WorkspaceSetup = ({ onBack }: { onBack?: () => void }) => { + const { t } = useTranslation(); + return ( + + + + + {t("Create workspace")} + + {t( + "Setup your workspace by providing a name and details for admin login. You can change these later." + )} + + + + + + + + {t("Continue")} → + + + + ); +}; + +const StyledHeading = styled(Heading)` + margin: 0; +`; + +const Content = styled(Text)` + color: ${s("textSecondary")}; + text-align: center; + margin-top: -8px; +`; + +export default WorkspaceSetup; diff --git a/server/scripts/seed.ts b/server/scripts/seed.ts deleted file mode 100644 index 1925ccef12..0000000000 --- a/server/scripts/seed.ts +++ /dev/null @@ -1,54 +0,0 @@ -import "./bootstrap"; -import { UserRole } from "@shared/types"; -import { parseEmail } from "@shared/utils/email"; -import teamCreator from "@server/commands/teamCreator"; -import env from "@server/env"; -import { Team, User } from "@server/models"; -import { sequelize } from "@server/storage/database"; - -const email = process.argv[2]; - -export default async function main(exit = false) { - const teamCount = await Team.count(); - if (teamCount === 0) { - const name = parseEmail(email).local; - const user = await sequelize.transaction(async (transaction) => { - const team = await teamCreator({ - name: "Wiki", - subdomain: "wiki", - authenticationProviders: [], - transaction, - ip: "127.0.0.1", - }); - - return await User.create( - { - teamId: team.id, - name, - email, - role: UserRole.Admin, - }, - { - transaction, - } - ); - }); - - console.log( - "email", - `✅ Seed done – sign-in link: ${ - env.URL - }/auth/email.callback?token=${user.getEmailSigninToken()}` - ); - } else { - console.log("Team already exists, aborting"); - } - - if (exit) { - process.exit(0); - } -} - -if (process.env.NODE_ENV !== "test") { - void main(true); -} diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 9f6c7956fc..f808c62e1b 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -830,6 +830,11 @@ "Sorry, an unknown error occurred.": "Sorry, an unknown error occurred.", "Choose a workspace": "Choose a workspace", "Choose an {{ appName }} workspace or login to continue connecting this app": "Choose an {{ appName }} workspace or login to continue connecting this app", + "Create workspace": "Create workspace", + "Setup your workspace by providing a name and details for admin login. You can change these later.": "Setup your workspace by providing a name and details for admin login. You can change these later.", + "Workspace name": "Workspace name", + "Admin name": "Admin name", + "Admin email": "Admin email", "Login": "Login", "Error": "Error", "Failed to load configuration.": "Failed to load configuration.", @@ -1134,7 +1139,6 @@ "Confirmation code": "Confirmation code", "Deleting the <1>{{workspaceName}} workspace will destroy all collections, documents, users, and associated data. You will be immediately logged out of {{appName}}.": "Deleting the <1>{{workspaceName}} workspace will destroy all collections, documents, users, and associated data. You will be immediately logged out of {{appName}}.", "Please note that workspaces are completely separated. They can have a different domain, settings, users, and billing.": "Please note that workspaces are completely separated. They can have a different domain, settings, users, and billing.", - "Workspace name": "Workspace name", "You are creating a new workspace using your current account — {{email}}": "You are creating a new workspace using your current account — {{email}}", "To create a workspace under another email please sign up from the homepage": "To create a workspace under another email please sign up from the homepage", "Trash emptied": "Trash emptied", From bba94faf00eccc284e82649eb45d865f25238f4f Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 00:12:44 -0400 Subject: [PATCH 10/25] Update Switch component to use Radix UI (#9358) * Update Switch component to use Radix UI - Replace custom switch implementation with @radix-ui/react-switch - Maintain backward compatibility with existing API - Add synthetic event handling for onChange callback - Preserve all existing styling and behavior - Add proper accessibility features from Radix UI * Fix TypeScript error in Switch component - Exclude 'onChange' from Radix Switch props to avoid type conflict - Radix Switch expects FormEventHandler but our component uses ChangeEvent - This maintains backward compatibility while fixing the TypeScript compilation error * Tweak positioning --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- app/components/Switch.tsx | 118 +++++++++++++++++++++----------------- package.json | 1 + yarn.lock | 18 ++++++ 3 files changed, 83 insertions(+), 54 deletions(-) diff --git a/app/components/Switch.tsx b/app/components/Switch.tsx index e36ac9c8d9..d2678636ff 100644 --- a/app/components/Switch.tsx +++ b/app/components/Switch.tsx @@ -1,3 +1,4 @@ +import * as RadixSwitch from "@radix-ui/react-switch"; import * as React from "react"; import styled from "styled-components"; import { s } from "@shared/styles"; @@ -5,7 +6,11 @@ import { LabelText } from "~/components/Input"; import Text from "~/components/Text"; import { undraggableOnDesktop } from "~/styles"; -interface Props extends React.HTMLAttributes { +interface Props + extends Omit< + React.ComponentProps, + "checked" | "onCheckedChange" | "onChange" + > { /** Width of the switch. Defaults to 32. */ width?: number; /** Height of the switch. Defaults to 18 */ @@ -22,6 +27,8 @@ interface Props extends React.HTMLAttributes { checked?: boolean; /** Whether the switch is disabled */ disabled?: boolean; + /** Callback when the switch state changes */ + onChange?: (event: React.ChangeEvent) => void; } function Switch( @@ -33,26 +40,39 @@ function Switch( disabled, className, note, + checked, + onChange, ...props }: Props, - ref: React.Ref + ref: React.Ref> ) { + const handleCheckedChange = React.useCallback( + (checkedState: boolean) => { + if (onChange) { + // Create a synthetic event to maintain compatibility with existing code + const syntheticEvent = { + target: { checked: checkedState }, + currentTarget: { checked: checkedState }, + } as React.ChangeEvent; + onChange(syntheticEvent); + } + }, + [onChange] + ); + const component = ( - - - - + + ); if (label) { @@ -110,60 +130,50 @@ const Label = styled.label<{ ${(props) => (props.disabled ? `opacity: 0.75;` : "")} `; -const Input = styled.label<{ width: number; height: number }>` +const StyledSwitchRoot = styled(RadixSwitch.Root)<{ + width: number; + height: number; +}>` position: relative; - display: inline-block; width: ${(props) => props.width}px; height: ${(props) => props.height}px; - flex-shrink: 0; -`; - -const Slider = styled.span<{ width: number; height: number }>` - position: absolute; - cursor: var(--pointer); - top: 0; - left: 0; - right: 0; - bottom: 0; background-color: ${(props) => props.theme.slate}; - -webkit-transition: 0.4s; - transition: 0.4s; border-radius: ${(props) => props.height}px; + border: none; + cursor: var(--pointer); + transition: background-color 0.4s; + padding: 0 4px; + flex-shrink: 0; - &:before { - position: absolute; - content: ""; - height: ${(props) => props.height - 8}px; - width: ${(props) => props.height - 8}px; - left: 4px; - bottom: 4px; - background-color: white; - border-radius: 50%; - -webkit-transition: 0.4s; - transition: 0.4s; - } -`; - -const HiddenInput = styled.input<{ width: number; height: number }>` - opacity: 0; - width: 0; - height: 0; - visibility: hidden; - - &:disabled + ${Slider} { - opacity: 0.75; - cursor: default; + &:focus { + box-shadow: 0 0 1px ${s("accent")}; + outline: none; } - &:checked + ${Slider} { + &[data-state="checked"] { background-color: ${s("accent")}; } - &:focus + ${Slider} { - box-shadow: 0 0 1px ${s("accent")}; + &:disabled { + opacity: 0.75; + cursor: default; } +`; - &:checked + ${Slider}:before { +const StyledSwitchThumb = styled(RadixSwitch.Thumb)<{ + width: number; + height: number; +}>` + display: block; + width: ${(props) => props.height - 8}px; + height: ${(props) => props.height - 8}px; + background-color: white; + border-radius: 50%; + transition: transform 0.4s; + transform: translateX(0); + will-change: transform; + + &[data-state="checked"] { transform: translateX(${(props) => props.width - props.height}px); } `; diff --git a/package.json b/package.json index ca07d4b060..1e2a8c888d 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "@outlinewiki/koa-passport": "^4.2.1", "@outlinewiki/passport-azure-ad-oauth2": "^0.1.0", "@radix-ui/react-select": "^2.1.4", + "@radix-ui/react-switch": "^1.2.5", "@radix-ui/react-tooltip": "^1.2.7", "@radix-ui/react-visually-hidden": "^1.2.2", "@renderlesskit/react": "^0.11.0", diff --git a/yarn.lock b/yarn.lock index cd324c00a0..9741fcb612 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3595,6 +3595,19 @@ dependencies: "@radix-ui/react-compose-refs" "1.1.2" +"@radix-ui/react-switch@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@radix-ui/react-switch/-/react-switch-1.2.5.tgz#56c15a4cd219e00b0745ec6b2ea1c0feeb0b21d0" + integrity sha512-5ijLkak6ZMylXsaImpZ8u4Rlf5grRmoc0p0QeX9VJtlrM4f5m3nCTX8tWga/zOA8PZYIR/t0p2Mnvd7InrJ6yQ== + dependencies: + "@radix-ui/primitive" "1.1.2" + "@radix-ui/react-compose-refs" "1.1.2" + "@radix-ui/react-context" "1.1.2" + "@radix-ui/react-primitive" "2.1.3" + "@radix-ui/react-use-controllable-state" "1.2.2" + "@radix-ui/react-use-previous" "1.1.1" + "@radix-ui/react-use-size" "1.1.1" + "@radix-ui/react-tooltip@^1.2.7": version "1.2.7" resolved "https://registry.yarnpkg.com/@radix-ui/react-tooltip/-/react-tooltip-1.2.7.tgz#23612ac7a5e8e1f6829e46d0e0ad94afe3976c72" @@ -3674,6 +3687,11 @@ resolved "https://registry.yarnpkg.com/@radix-ui/react-use-previous/-/react-use-previous-1.1.0.tgz#d4dd37b05520f1d996a384eb469320c2ada8377c" integrity sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og== +"@radix-ui/react-use-previous@1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz#1a1ad5568973d24051ed0af687766f6c7cb9b5b5" + integrity sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ== + "@radix-ui/react-use-rect@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@radix-ui/react-use-rect/-/react-use-rect-1.1.0.tgz#13b25b913bd3e3987cc9b073a1a164bb1cf47b88" From d73d0523f42f9fe00ce34da1388cfc37c6e7cff0 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 09:35:53 -0400 Subject: [PATCH 11/25] feat: migrate NotificationsPopover from reakit to radix-ui (#9359) * feat: migrate NotificationsPopover from reakit to radix-ui - Replace reakit/Popover with @radix-ui/react-popover - Maintain same styling and functionality - Use radix-ui best practices with proper Portal and trigger patterns - Preserve mobile responsive behavior - Keep same z-index and animation styles - Remove unused imports and variables * tweaks --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- .../Notifications/Notifications.tsx | 6 +- .../Notifications/NotificationsPopover.tsx | 94 ++++++++++++------- app/components/Sidebar/Sidebar.tsx | 15 ++- package.json | 1 + yarn.lock | 35 +++++++ 5 files changed, 105 insertions(+), 46 deletions(-) diff --git a/app/components/Notifications/Notifications.tsx b/app/components/Notifications/Notifications.tsx index 481255133a..611aea0589 100644 --- a/app/components/Notifications/Notifications.tsx +++ b/app/components/Notifications/Notifications.tsx @@ -23,15 +23,13 @@ import NotificationListItem from "./NotificationListItem"; type Props = { /** Callback when the notification panel wants to close. */ onRequestClose: () => void; - /** Whether the panel is open or not. */ - isOpen: boolean; }; /** * A panel containing a list of notifications and controls to manage them. */ function Notifications( - { onRequestClose, isOpen }: Props, + { onRequestClose }: Props, ref: React.RefObject ) { const context = useActionContext(); @@ -82,7 +80,7 @@ function Notifications( fetch={notifications.fetchPage} options={{ archived: false }} - items={isOpen ? notifications.orderedData : undefined} + items={notifications.orderedData} renderItem={(item) => ( { const { t } = useTranslation(); const scrollableRef = React.useRef(null); + const closeRef = React.useRef(null); - const popover = usePopoverState({ - gutter: 0, - placement: "top-start", - unstable_fixed: true, - }); - - // Reset scroll position to the top when popover is opened - React.useEffect(() => { - if (popover.visible && scrollableRef.current) { - scrollableRef.current.scrollTop = 0; + const handleRequestClose = React.useCallback(() => { + if (closeRef.current) { + closeRef.current.click(); } - }, [popover.visible]); + }, []); + + const handleAutoFocus = React.useCallback((event: Event) => { + // Prevent focus from moving to the popover content + event.preventDefault(); + + // Reset scroll position to the top when popover is opened + if (scrollableRef.current) { + scrollableRef.current.scrollTop = 0; + scrollableRef.current.focus(); + } + }, []); return ( - <> - {children} - - - - + + {children} + + + + + + + + + ); }; -const StyledPopover = styled(Popover)` +const StyledContent = styled(Popover.Content)` z-index: ${depths.menu}; + display: flex; + animation: ${fadeAndSlideUp} 200ms ease; + transform-origin: 75% 0; + background: ${s("menuBackground")}; + border-radius: 6px; + padding: 6px 0; + max-height: 75vh; + box-shadow: ${s("menuShadow")}; + width: 380px; + overflow: hidden; + + @media (max-width: 768px) { + position: fixed; + z-index: ${depths.menu}; + top: 50px; + left: 8px; + right: 8px; + width: auto; + } `; export default observer(NotificationsPopover); diff --git a/app/components/Sidebar/Sidebar.tsx b/app/components/Sidebar/Sidebar.tsx index d11996e518..f2fcf87a35 100644 --- a/app/components/Sidebar/Sidebar.tsx +++ b/app/components/Sidebar/Sidebar.tsx @@ -246,7 +246,12 @@ const Sidebar = React.forwardRef(function _Sidebar( /> } > - + + } + /> + )} @@ -261,14 +266,6 @@ const Sidebar = React.forwardRef(function _Sidebar( ); }); -const Notifications = () => ( - - {(rest: SidebarButtonProps) => ( - } /> - )} - -); - const Backdrop = styled.a` animation: ${fadeIn} 250ms ease-in-out; position: fixed; diff --git a/package.json b/package.json index 1e2a8c888d..440333d141 100644 --- a/package.json +++ b/package.json @@ -86,6 +86,7 @@ "@octokit/auth-app": "^6.1.3", "@outlinewiki/koa-passport": "^4.2.1", "@outlinewiki/passport-azure-ad-oauth2": "^0.1.0", + "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-select": "^2.1.4", "@radix-ui/react-switch": "^1.2.5", "@radix-ui/react-tooltip": "^1.2.7", diff --git a/yarn.lock b/yarn.lock index 9741fcb612..1cdac51e43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3408,6 +3408,11 @@ resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.1.tgz#8635edd346304f8b42cae86b05912b61aef27afe" integrity sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg== +"@radix-ui/react-focus-guards@1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.2.tgz#4ec9a7e50925f7fb661394460045b46212a33bed" + integrity sha512-fyjAACV62oPV925xFCrH8DR5xWhg9KYtJT4s3u54jxp+L/hbpTY2kIeEFFbFe+a/HCE94zGQMZLIpVTPVZDhaA== + "@radix-ui/react-focus-scope@1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.1.tgz#5c602115d1db1c4fcfa0fae4c3b09bb8919853cb" @@ -3426,6 +3431,15 @@ "@radix-ui/react-primitive" "2.0.2" "@radix-ui/react-use-callback-ref" "1.1.0" +"@radix-ui/react-focus-scope@1.1.7": + version "1.1.7" + resolved "https://registry.yarnpkg.com/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz#dfe76fc103537d80bf42723a183773fd07bfb58d" + integrity sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw== + dependencies: + "@radix-ui/react-compose-refs" "1.1.2" + "@radix-ui/react-primitive" "2.1.3" + "@radix-ui/react-use-callback-ref" "1.1.1" + "@radix-ui/react-id@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@radix-ui/react-id/-/react-id-1.1.0.tgz#de47339656594ad722eb87f94a6b25f9cffae0ed" @@ -3440,6 +3454,27 @@ dependencies: "@radix-ui/react-use-layout-effect" "1.1.1" +"@radix-ui/react-popover@^1.1.14": + version "1.1.14" + resolved "https://registry.yarnpkg.com/@radix-ui/react-popover/-/react-popover-1.1.14.tgz#5496d1986f0287cdfc77e73f70a887e4cb77ad08" + integrity sha512-ODz16+1iIbGUfFEfKx2HTPKizg2MN39uIOV8MXeHnmdd3i/N9Wt7vU46wbHsqA0xoaQyXVcs0KIlBdOA2Y95bw== + dependencies: + "@radix-ui/primitive" "1.1.2" + "@radix-ui/react-compose-refs" "1.1.2" + "@radix-ui/react-context" "1.1.2" + "@radix-ui/react-dismissable-layer" "1.1.10" + "@radix-ui/react-focus-guards" "1.1.2" + "@radix-ui/react-focus-scope" "1.1.7" + "@radix-ui/react-id" "1.1.1" + "@radix-ui/react-popper" "1.2.7" + "@radix-ui/react-portal" "1.1.9" + "@radix-ui/react-presence" "1.1.4" + "@radix-ui/react-primitive" "2.1.3" + "@radix-ui/react-slot" "1.2.3" + "@radix-ui/react-use-controllable-state" "1.2.2" + aria-hidden "^1.2.4" + react-remove-scroll "^2.6.3" + "@radix-ui/react-popper@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@radix-ui/react-popper/-/react-popper-1.2.1.tgz#2fc66cfc34f95f00d858924e3bee54beae2dff0a" From 1836d2ef639655cda1f10218c06370dc00b443cb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 1 Jun 2025 10:59:55 -0400 Subject: [PATCH 12/25] chore: Fix various lint warnings (#9362) * Fix various linting errors This commit addresses several linting warnings reported by ESLint: - @typescript-eslint/no-shadow: - I renamed variables in inner scopes to avoid conflicts with variables in outer scopes in the following files: - server/commands/accountProvisioner.ts - server/commands/documentDuplicator.ts - server/commands/documentMover.ts - server/commands/teamProvisioner.test.ts - server/commands/teamProvisioner.ts - server/commands/userInviter.ts - server/commands/userProvisioner.ts - server/emails/templates/BaseEmail.tsx - @typescript-eslint/no-explicit-any: - I replaced `any` with more specific types (Record or void) in the following files: - server/emails/templates/BaseEmail.tsx - server/emails/templates/InviteEmail.tsx - server/emails/templates/SigninEmail.tsx - server/logging/Logger.ts These changes improve code clarity and type safety without altering functionality. * Update BaseEmail.tsx * lint --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- server/commands/accountProvisioner.ts | 8 ++++---- server/commands/documentDuplicator.ts | 4 ++-- server/commands/documentMover.ts | 6 +++--- server/commands/teamProvisioner.test.ts | 6 +++--- server/commands/teamProvisioner.ts | 8 ++++---- server/commands/userInviter.ts | 4 +++- server/commands/userProvisioner.ts | 4 ++-- server/emails/templates/BaseEmail.tsx | 2 +- server/emails/templates/InviteEmail.tsx | 2 +- server/emails/templates/SigninEmail.tsx | 2 +- server/logging/Logger.ts | 1 + 11 files changed, 25 insertions(+), 22 deletions(-) diff --git a/server/commands/accountProvisioner.ts b/server/commands/accountProvisioner.ts index 5668265939..2817cccbb2 100644 --- a/server/commands/accountProvisioner.ts +++ b/server/commands/accountProvisioner.ts @@ -101,7 +101,7 @@ async function accountProvisioner({ // The account could not be provisioned for the provided teamId // check to see if we can try authentication using email matching only if (err.id === "invalid_authentication") { - const authenticationProvider = await AuthenticationProvider.findOne({ + const authProvider = await AuthenticationProvider.findOne({ where: { name: authenticationProviderParams.name, teamId: teamParams.teamId, @@ -116,11 +116,11 @@ async function accountProvisioner({ order: [["enabled", "DESC"]], }); - if (authenticationProvider) { + if (authProvider) { emailMatchOnly = true; result = { - authenticationProvider, - team: authenticationProvider.team, + authenticationProvider: authProvider, + team: authProvider.team, isNewTeam: false, }; } diff --git a/server/commands/documentDuplicator.ts b/server/commands/documentDuplicator.ts index da542a2f94..d82e003aa6 100644 --- a/server/commands/documentDuplicator.ts +++ b/server/commands/documentDuplicator.ts @@ -60,7 +60,7 @@ export default async function documentDuplicator({ async function duplicateChildDocuments( original: Document, - duplicated: Document + duplicatedDocument: Document ) { const childDocuments = await original.findChildDocuments( { @@ -77,7 +77,7 @@ export default async function documentDuplicator({ for (const childDocument of childDocuments) { const duplicatedChildDocument = await documentCreator({ - parentDocumentId: duplicated.id, + parentDocumentId: duplicatedDocument.id, icon: childDocument.icon, color: childDocument.color, title: childDocument.title, diff --git a/server/commands/documentMover.ts b/server/commands/documentMover.ts index f09f6c361d..09501c13da 100644 --- a/server/commands/documentMover.ts +++ b/server/commands/documentMover.ts @@ -193,11 +193,11 @@ async function documentMover({ document.collection = newCollection; result.documents.push( - ...documents.map((document) => { + ...documents.map((doc) => { if (newCollection) { - document.collection = newCollection; + doc.collection = newCollection; } - return document; + return doc; }) ); diff --git a/server/commands/teamProvisioner.test.ts b/server/commands/teamProvisioner.test.ts index c60716cb7e..81ce331e95 100644 --- a/server/commands/teamProvisioner.test.ts +++ b/server/commands/teamProvisioner.test.ts @@ -110,14 +110,14 @@ describe("teamProvisioner", () => { let error; try { - const subdomain = faker.internet.domainWord(); + const testSubdomain = faker.internet.domainWord(); await teamProvisioner({ teamId: exampleTeam.id, name: "name", - subdomain, + subdomain: testSubdomain, authenticationProvider: { name: "google", - providerId: `${subdomain}.com`, + providerId: `${testSubdomain}.com`, }, ip, }); diff --git a/server/commands/teamProvisioner.ts b/server/commands/teamProvisioner.ts index 380d090656..dca325d802 100644 --- a/server/commands/teamProvisioner.ts +++ b/server/commands/teamProvisioner.ts @@ -83,7 +83,7 @@ async function teamProvisioner({ } // This team + auth provider combination has not been seen before in self hosted - const team = await Team.findByPk(teamId, { + const existingTeam = await Team.findByPk(teamId, { rejectOnEmpty: true, }); @@ -91,14 +91,14 @@ async function teamProvisioner({ // new team is allowed then assign the authentication provider to the // existing team if (domain) { - if (await team.isDomainAllowed(domain)) { - authP = await team.$create( + if (await existingTeam.isDomainAllowed(domain)) { + authP = await existingTeam.$create( "authenticationProvider", authenticationProvider ); return { authenticationProvider: authP, - team, + team: existingTeam, isNewTeam: false, }; } diff --git a/server/commands/userInviter.ts b/server/commands/userInviter.ts index 6b811cd7c9..b192549402 100644 --- a/server/commands/userInviter.ts +++ b/server/commands/userInviter.ts @@ -46,7 +46,9 @@ export default async function userInviter({ email: emails, }, }); - const existingEmails = existingUsers.map((user) => user.email); + const existingEmails = existingUsers.map( + (existingUser) => existingUser.email + ); const filteredInvites = normalizedInvites.filter( (invite) => !existingEmails.includes(invite.email) ); diff --git a/server/commands/userProvisioner.ts b/server/commands/userProvisioner.ts index 8d11004ece..59e11262eb 100644 --- a/server/commands/userProvisioner.ts +++ b/server/commands/userProvisioner.ts @@ -136,7 +136,7 @@ export default async function userProvisioner({ // that's never been active before. const isInvite = existingUser.isInvited; - const auth = await sequelize.transaction(async (transaction) => { + const userAuth = await sequelize.transaction(async (transaction) => { if (isInvite) { await Event.create( { @@ -198,7 +198,7 @@ export default async function userProvisioner({ return { user: existingUser, - authentication: auth, + authentication: userAuth, isNewUser: isInvite, }; } else if (!authentication && !team?.allowedDomains.length) { diff --git a/server/emails/templates/BaseEmail.tsx b/server/emails/templates/BaseEmail.tsx index b81aa5ced9..7021ef0fc2 100644 --- a/server/emails/templates/BaseEmail.tsx +++ b/server/emails/templates/BaseEmail.tsx @@ -35,7 +35,7 @@ export interface EmailProps { export default abstract class BaseEmail< T extends EmailProps, - S extends Record | void = void + S extends Record | void = void > { private props: T; private metadata?: NotificationMetadata; diff --git a/server/emails/templates/InviteEmail.tsx b/server/emails/templates/InviteEmail.tsx index fd173bfe19..6815c82259 100644 --- a/server/emails/templates/InviteEmail.tsx +++ b/server/emails/templates/InviteEmail.tsx @@ -21,7 +21,7 @@ type Props = EmailProps & { /** * Email sent to an external user when an admin sends them an invite. */ -export default class InviteEmail extends BaseEmail> { +export default class InviteEmail extends BaseEmail { protected get category() { return EmailMessageCategory.Invitation; } diff --git a/server/emails/templates/SigninEmail.tsx b/server/emails/templates/SigninEmail.tsx index bb229118df..dc87a3ae2c 100644 --- a/server/emails/templates/SigninEmail.tsx +++ b/server/emails/templates/SigninEmail.tsx @@ -20,7 +20,7 @@ type Props = EmailProps & { /** * Email sent to a user when they request a magic sign-in link. */ -export default class SigninEmail extends BaseEmail> { +export default class SigninEmail extends BaseEmail { protected get category() { return EmailMessageCategory.Authentication; } diff --git a/server/logging/Logger.ts b/server/logging/Logger.ts index d80bf04ed9..c7170c63e1 100644 --- a/server/logging/Logger.ts +++ b/server/logging/Logger.ts @@ -26,6 +26,7 @@ type LogCategory = | "database" | "utils" | "plugins"; + type Extra = Record; class Logger { From 758d4edbb90f0d92d661d3a97e6c0f60ab9528c2 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 11:01:15 -0400 Subject: [PATCH 13/25] Upgrade @typescript-eslint dependencies to v8.33.0 (#9363) * Upgrade @typescript-eslint dependencies from v6.21.0 to v8.33.0 - Updated @typescript-eslint/eslint-plugin from ^6.21.0 to ^8.33.0 - Updated @typescript-eslint/parser from ^6.21.0 to ^8.33.0 - Tested linting functionality to ensure compatibility - This brings the latest TypeScript ESLint features and bug fixes * lint * tsc --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- .eslintrc | 4 +- app/actions/definitions/developer.tsx | 4 +- app/actions/definitions/documents.tsx | 2 +- app/actions/definitions/teams.tsx | 4 +- app/components/ContextMenu/index.tsx | 4 +- app/components/DocumentCopy.tsx | 2 +- app/components/Reactions/Reaction.tsx | 8 +- app/components/Reactions/ReactionList.tsx | 2 +- .../Reactions/ViewReactionsDialog.tsx | 2 +- .../Sharing/Document/DocumentMemberList.tsx | 4 +- .../Sidebar/components/DocumentLink.tsx | 6 +- app/editor/components/LinkEditor.tsx | 2 +- app/editor/extensions/FindAndReplace.tsx | 2 +- app/editor/extensions/PasteHandler.tsx | 10 +- app/editor/index.tsx | 2 +- app/hooks/useEditorClickHandlers.ts | 2 +- app/hooks/useLastVisitedPath.tsx | 6 +- .../Document/components/CommentThreadItem.tsx | 2 +- .../Document/components/MarkAsViewed.ts | 4 +- app/scenes/DocumentMove.tsx | 2 +- app/scenes/DocumentNew.tsx | 2 +- app/scenes/DocumentPublish.tsx | 2 +- app/scenes/Login/OAuthAuthorize.tsx | 4 +- .../Settings/components/GroupDialogs.tsx | 4 +- app/stores/GroupMembershipsStore.ts | 20 +- app/stores/NotificationsStore.ts | 4 +- app/stores/RootStore.ts | 6 +- app/types.ts | 1 - app/utils/ApiClient.ts | 2 +- app/utils/download.ts | 5 +- app/utils/language.ts | 2 +- app/utils/urls.ts | 2 +- package.json | 4 +- plugins/email/server/auth/email.ts | 2 +- plugins/slack/server/auth/slack.ts | 2 +- plugins/storage/server/api/files.ts | 2 +- server/commands/documentLoader.ts | 8 +- server/emails/mailer.tsx | 2 +- server/env.ts | 4 +- server/middlewares/authentication.ts | 4 +- server/models/base/ArchivableModel.ts | 5 +- server/models/base/IdModel.ts | 5 +- server/models/base/Model.ts | 5 +- server/models/base/ParanoidModel.ts | 5 +- server/models/decorators/Deprecated.ts | 4 +- server/models/validators/TextLength.ts | 2 +- server/onerror.ts | 4 +- server/policies/cancan.ts | 2 +- server/routes/api/urls/schema.ts | 2 +- server/routes/api/users/users.ts | 2 +- server/routes/app.ts | 2 +- server/routes/embeds.ts | 14 +- server/storage/database.ts | 4 +- server/utils/ImportHelper.ts | 2 +- server/utils/authentication.ts | 2 +- server/utils/fs.ts | 1 + server/utils/jwt.ts | 8 +- server/utils/passport.ts | 2 +- server/utils/permissions.ts | 2 +- server/utils/readManifestFile.ts | 2 +- server/utils/ssl.ts | 4 +- server/utils/validators.ts | 7 +- server/validation.ts | 2 +- shared/components/Icon.tsx | 6 +- shared/editor/embeds/Spotify.tsx | 2 +- shared/editor/embeds/index.tsx | 8 +- shared/editor/extensions/Math.ts | 2 +- .../recreateTransform.ts | 2 +- shared/editor/marks/Link.tsx | 8 +- shared/utils/browser.ts | 4 +- shared/utils/domains.ts | 2 +- shared/utils/files.ts | 4 +- shared/utils/parseCollectionSlug.ts | 2 +- shared/utils/parseDocumentSlug.ts | 2 +- shared/utils/urls.ts | 8 +- yarn.lock | 237 +++++++++--------- 76 files changed, 274 insertions(+), 257 deletions(-) diff --git a/.eslintrc b/.eslintrc index 458b0314d8..730b9d6ee4 100644 --- a/.eslintrc +++ b/.eslintrc @@ -72,6 +72,7 @@ "ignoreTypeValueShadow": true } ], + "@typescript-eslint/no-require-imports": "off", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/await-thenable": "error", @@ -85,6 +86,7 @@ "error", { "argsIgnorePattern": "^_", + "caughtErrorsIgnorePattern": "^_", "args": "after-used", "ignoreRestSiblings": true } @@ -185,4 +187,4 @@ "typescript": {} } } -} \ No newline at end of file +} diff --git a/app/actions/definitions/developer.tsx b/app/actions/definitions/developer.tsx index 476b26cd03..8fa6e9af7b 100644 --- a/app/actions/definitions/developer.tsx +++ b/app/actions/definitions/developer.tsx @@ -106,8 +106,8 @@ export const startTyping = createAction({ }, 250); window.addEventListener("keydown", (event) => { - if (event.key === "Escape") { - intervalId && clearInterval(intervalId); + if (event.key === "Escape" && intervalId) { + clearInterval(intervalId); } }); diff --git a/app/actions/definitions/documents.tsx b/app/actions/definitions/documents.tsx index 60bf342902..91da5215f3 100644 --- a/app/actions/definitions/documents.tsx +++ b/app/actions/definitions/documents.tsx @@ -1215,7 +1215,7 @@ export const leaveDocument = createAction({ } as UserMembership); toast.success(t("You have left the shared document")); - } catch (err) { + } catch (_err) { toast.error(t("Could not leave document")); } }, diff --git a/app/actions/definitions/teams.tsx b/app/actions/definitions/teams.tsx index 0c827777bd..eb4cf85634 100644 --- a/app/actions/definitions/teams.tsx +++ b/app/actions/definitions/teams.tsx @@ -57,13 +57,15 @@ export const createTeam = createAction({ perform: ({ t, event, stores }) => { event?.preventDefault(); event?.stopPropagation(); + const { user } = stores.auth; - user && + if (user) { stores.dialogs.openModal({ title: t("Create a workspace"), fullscreen: true, content: , }); + } }, }); diff --git a/app/components/ContextMenu/index.tsx b/app/components/ContextMenu/index.tsx index 93cf5368ba..4d981af9cf 100644 --- a/app/components/ContextMenu/index.tsx +++ b/app/components/ContextMenu/index.tsx @@ -171,7 +171,9 @@ const InnerContextMenu = (props: InnerContextMenuProps) => { }); } return () => { - scrollElement && !props.isSubMenu && enableBodyScroll(scrollElement); + if (scrollElement && !props.isSubMenu) { + enableBodyScroll(scrollElement); + } }; }, [props.isSubMenu, props.visible]); diff --git a/app/components/DocumentCopy.tsx b/app/components/DocumentCopy.tsx index ba90f940b7..d800dfd6ed 100644 --- a/app/components/DocumentCopy.tsx +++ b/app/components/DocumentCopy.tsx @@ -79,7 +79,7 @@ function DocumentCopy({ document, onSubmit }: Props) { toast.success(t("Document copied")); onSubmit(result); - } catch (err) { + } catch (_err) { toast.error(t("Couldn’t copy the document, try again?")); } }; diff --git a/app/components/Reactions/Reaction.tsx b/app/components/Reactions/Reaction.tsx index 8ea941d461..2d5ed3962c 100644 --- a/app/components/Reactions/Reaction.tsx +++ b/app/components/Reactions/Reaction.tsx @@ -107,9 +107,11 @@ const Reaction: React.FC = ({ const handleClick = React.useCallback( (event: React.SyntheticEvent) => { event.stopPropagation(); - active - ? void onRemoveReaction(reaction.emoji) - : void onAddReaction(reaction.emoji); + if (active) { + void onRemoveReaction(reaction.emoji); + } else { + void onAddReaction(reaction.emoji); + } }, [reaction, active, onAddReaction, onRemoveReaction] ); diff --git a/app/components/Reactions/ReactionList.tsx b/app/components/Reactions/ReactionList.tsx index d627e69b5e..24a3853c44 100644 --- a/app/components/Reactions/ReactionList.tsx +++ b/app/components/Reactions/ReactionList.tsx @@ -41,7 +41,7 @@ const ReactionList: React.FC = ({ const loadReactedUsersData = async () => { try { await model.loadReactedUsersData(); - } catch (err) { + } catch (_err) { Logger.warn("Could not prefetch reaction data"); } }; diff --git a/app/components/Reactions/ViewReactionsDialog.tsx b/app/components/Reactions/ViewReactionsDialog.tsx index 01625939a6..8c486fc767 100644 --- a/app/components/Reactions/ViewReactionsDialog.tsx +++ b/app/components/Reactions/ViewReactionsDialog.tsx @@ -29,7 +29,7 @@ const ViewReactionsDialog: React.FC = ({ model }) => { const loadReactedUsersData = async () => { try { await model.loadReactedUsersData(); - } catch (err) { + } catch (_err) { toast.error(t("Could not load reactions")); } }; diff --git a/app/components/Sharing/Document/DocumentMemberList.tsx b/app/components/Sharing/Document/DocumentMemberList.tsx index 95940162fe..52cae327c9 100644 --- a/app/components/Sharing/Document/DocumentMemberList.tsx +++ b/app/components/Sharing/Document/DocumentMemberList.tsx @@ -54,7 +54,7 @@ function DocumentMembersList({ document, invitedInSession }: Props) { }) ); } - } catch (err) { + } catch (_err) { toast.error(t("Could not remove user")); } }, @@ -74,7 +74,7 @@ function DocumentMembersList({ document, invitedInSession }: Props) { userName: userToUpdate.name, }) ); - } catch (err) { + } catch (_err) { toast.error(t("Could not update user")); } }, diff --git a/app/components/Sidebar/components/DocumentLink.tsx b/app/components/Sidebar/components/DocumentLink.tsx index d1050bd34c..d1c01c297a 100644 --- a/app/components/Sidebar/components/DocumentLink.tsx +++ b/app/components/Sidebar/components/DocumentLink.tsx @@ -120,7 +120,11 @@ function InnerDocumentLink( const handleDisclosureClick = React.useCallback( (ev) => { ev?.preventDefault(); - expanded ? setCollapsed() : setExpanded(); + if (expanded) { + setCollapsed(); + } else { + setExpanded(); + } }, [setCollapsed, setExpanded, expanded] ); diff --git a/app/editor/components/LinkEditor.tsx b/app/editor/components/LinkEditor.tsx index 6bb0fa1fae..beab3a47c6 100644 --- a/app/editor/components/LinkEditor.tsx +++ b/app/editor/components/LinkEditor.tsx @@ -190,7 +190,7 @@ const LinkEditor: React.FC = ({ try { onClickLink(getHref(), event); - } catch (err) { + } catch (_err) { toast.error(dictionary.openLinkError); } }; diff --git a/app/editor/extensions/FindAndReplace.tsx b/app/editor/extensions/FindAndReplace.tsx index 924a11a2b5..53ec7ed23b 100644 --- a/app/editor/extensions/FindAndReplace.tsx +++ b/app/editor/extensions/FindAndReplace.tsx @@ -299,7 +299,7 @@ export default class FindAndReplaceExtension extends Extension { this.results.push({ from, to, type }); } - } catch (e) { + } catch (_err) { // Invalid RegExp } }); diff --git a/app/editor/extensions/PasteHandler.tsx b/app/editor/extensions/PasteHandler.tsx index dfd8f5611a..7806e46fb4 100644 --- a/app/editor/extensions/PasteHandler.tsx +++ b/app/editor/extensions/PasteHandler.tsx @@ -293,9 +293,11 @@ export default class PasteHandler extends Extension { currentPos += node.nodeSize; }); } else { - singleNode - ? tr.replaceSelectionWith(singleNode, this.shiftKey) - : tr.replaceSelection(slice); + if (singleNode) { + tr.replaceSelectionWith(singleNode, this.shiftKey); + } else { + tr.replaceSelection(slice); + } } view.dispatch( @@ -550,7 +552,7 @@ function parseSingleIframeSrc(html: string) { return src; } } - } catch (e) { + } catch (_err) { // Ignore the million ways parsing could fail. } return undefined; diff --git a/app/editor/index.tsx b/app/editor/index.tsx index 328730bea1..7247db1407 100644 --- a/app/editor/index.tsx +++ b/app/editor/index.tsx @@ -513,7 +513,7 @@ export class Editor extends React.PureComponent< }, this.elementRef.current || undefined ); - } catch (err) { + } catch (_err) { // querySelector will throw an error if the hash begins with a number // or contains a period. This is protected against now by safeSlugify // however previous links may be in the wild. diff --git a/app/hooks/useEditorClickHandlers.ts b/app/hooks/useEditorClickHandlers.ts index a5e5ad7e0e..579574d936 100644 --- a/app/hooks/useEditorClickHandlers.ts +++ b/app/hooks/useEditorClickHandlers.ts @@ -30,7 +30,7 @@ export default function useEditorClickHandlers({ shareId }: Params) { try { const url = new URL(href); navigateTo = url.pathname + url.hash; - } catch (err) { + } catch (_err) { navigateTo = href; } } diff --git a/app/hooks/useLastVisitedPath.tsx b/app/hooks/useLastVisitedPath.tsx index 05b2deb95d..74f7c217b8 100644 --- a/app/hooks/useLastVisitedPath.tsx +++ b/app/hooks/useLastVisitedPath.tsx @@ -43,7 +43,7 @@ export function setPostLoginPath(path: string) { try { sessionStorage.setItem(key, path); - } catch (e) { + } catch (_err) { // If the session storage is full or inaccessible, we can't do anything about it. } } @@ -62,7 +62,7 @@ export function usePostLoginPath() { let path; try { path = sessionStorage.getItem(key) || getCookie(key); - } catch (e) { + } catch (_err) { // Expected error if the session storage is full or inaccessible. } @@ -74,7 +74,7 @@ export function usePostLoginPath() { const cleanup = history.listen(() => { try { sessionStorage.removeItem(key); - } catch (e) { + } catch (_err) { // Expected error if the session storage is full or inaccessible. } removeCookie(key); diff --git a/app/scenes/Document/components/CommentThreadItem.tsx b/app/scenes/Document/components/CommentThreadItem.tsx index da0689b737..6b6968d152 100644 --- a/app/scenes/Document/components/CommentThreadItem.tsx +++ b/app/scenes/Document/components/CommentThreadItem.tsx @@ -165,7 +165,7 @@ function CommentThreadItem({ setReadOnly(); comment.data = data; await comment.save(); - } catch (error) { + } catch (_err) { setEditing(); toast.error(t("Error updating comment")); } diff --git a/app/scenes/Document/components/MarkAsViewed.ts b/app/scenes/Document/components/MarkAsViewed.ts index 78d08c83e4..928041ba7c 100644 --- a/app/scenes/Document/components/MarkAsViewed.ts +++ b/app/scenes/Document/components/MarkAsViewed.ts @@ -21,7 +21,9 @@ function MarkAsViewed(props: Props) { }, MARK_AS_VIEWED_AFTER); return () => { - viewTimeout.current && clearTimeout(viewTimeout.current); + if (viewTimeout.current) { + clearTimeout(viewTimeout.current); + } }; }, [document]); diff --git a/app/scenes/DocumentMove.tsx b/app/scenes/DocumentMove.tsx index 43ef035344..c1ec884a5e 100644 --- a/app/scenes/DocumentMove.tsx +++ b/app/scenes/DocumentMove.tsx @@ -86,7 +86,7 @@ function DocumentMove({ document }: Props) { toast.success(t("Document moved")); dialogs.closeAllModals(); - } catch (err) { + } catch (_err) { toast.error(t("Couldn’t move the document, try again?")); } }; diff --git a/app/scenes/DocumentNew.tsx b/app/scenes/DocumentNew.tsx index 468570e610..debc416d89 100644 --- a/app/scenes/DocumentNew.tsx +++ b/app/scenes/DocumentNew.tsx @@ -61,7 +61,7 @@ function DocumentNew({ template }: Props) { : documentEditPath(document), location.state ); - } catch (err) { + } catch (_err) { toast.error(t("Couldn’t create the document, try again?")); history.goBack(); } diff --git a/app/scenes/DocumentPublish.tsx b/app/scenes/DocumentPublish.tsx index 79d8f5ceca..3a616d1dde 100644 --- a/app/scenes/DocumentPublish.tsx +++ b/app/scenes/DocumentPublish.tsx @@ -57,7 +57,7 @@ function DocumentPublish({ document }: Props) { toast.success(t("Document published")); dialogs.closeAllModals(); - } catch (err) { + } catch (_err) { toast.error(t("Couldn’t publish the document, try again?")); } }; diff --git a/app/scenes/Login/OAuthAuthorize.tsx b/app/scenes/Login/OAuthAuthorize.tsx index 22099676e9..1acc7509b3 100644 --- a/app/scenes/Login/OAuthAuthorize.tsx +++ b/app/scenes/Login/OAuthAuthorize.tsx @@ -93,7 +93,9 @@ function Authorize() { useEffect( () => () => { - timeoutRef.current && window.clearTimeout(timeoutRef.current); + if (timeoutRef.current) { + window.clearTimeout(timeoutRef.current); + } }, [] ); diff --git a/app/scenes/Settings/components/GroupDialogs.tsx b/app/scenes/Settings/components/GroupDialogs.tsx index 642d99e5fc..4147ccc233 100644 --- a/app/scenes/Settings/components/GroupDialogs.tsx +++ b/app/scenes/Settings/components/GroupDialogs.tsx @@ -216,7 +216,7 @@ export const ViewGroupMembersDialog = observer(function ({ icon: , } ); - } catch (err) { + } catch (_err) { toast.error(t("Could not remove user")); } }, @@ -326,7 +326,7 @@ const AddPeopleToGroupDialog = observer(function ({ icon: , } ); - } catch (err) { + } catch (_err) { toast.error(t("Could not add user")); } }, diff --git a/app/stores/GroupMembershipsStore.ts b/app/stores/GroupMembershipsStore.ts index ec0cd90a70..c9ccf2eae2 100644 --- a/app/stores/GroupMembershipsStore.ts +++ b/app/stores/GroupMembershipsStore.ts @@ -99,15 +99,17 @@ export default class GroupMembershipsStore extends Store { documentId?: string; groupId: string; }) { - collectionId - ? await client.post("/collections.remove_group", { - id: collectionId, - groupId, - }) - : await client.post("/documents.remove_group", { - id: documentId, - groupId, - }); + if (collectionId) { + await client.post("/collections.remove_group", { + id: collectionId, + groupId, + }); + } else { + await client.post("/documents.remove_group", { + id: documentId, + groupId, + }); + } this.removeAll( collectionId diff --git a/app/stores/NotificationsStore.ts b/app/stores/NotificationsStore.ts index c71c6357b5..265cbfba1e 100644 --- a/app/stores/NotificationsStore.ts +++ b/app/stores/NotificationsStore.ts @@ -84,9 +84,7 @@ export default class NotificationsStore extends Store { get orderedData(): Notification[] { return sortBy( orderBy(Array.from(this.data.values()), "createdAt", "desc"), - (item) => { - item.viewedAt ? 1 : -1; - } + (item) => (item.viewedAt ? 1 : -1) ); } } diff --git a/app/stores/RootStore.ts b/app/stores/RootStore.ts index 224254af8e..8bb7c31f36 100644 --- a/app/stores/RootStore.ts +++ b/app/stores/RootStore.ts @@ -129,8 +129,10 @@ export default class RootStore { Object.getOwnPropertyNames(this) .filter((key) => ["auth", "ui"].includes(key) === false) .forEach((key: keyof RootStore) => { - // @ts-expect-error clear exists on all stores - "clear" in this[key] && this[key].clear(); + if ("clear" in this[key]) { + // @ts-expect-error clear exists on all stores + this[key].clear(); + } }); } diff --git a/app/types.ts b/app/types.ts index 621f424760..a88e3b62a7 100644 --- a/app/types.ts +++ b/app/types.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-types */ import { Location, LocationDescriptor } from "history"; import { TFunction } from "i18next"; import { diff --git a/app/utils/ApiClient.ts b/app/utils/ApiClient.ts index 7b9e98729f..56732b1919 100644 --- a/app/utils/ApiClient.ts +++ b/app/utils/ApiClient.ts @@ -127,7 +127,7 @@ class ApiClient { cache: "no-cache", } ); - } catch (err) { + } catch (_err) { if (window.navigator.onLine) { throw new NetworkError("A network error occurred, try again?"); } else { diff --git a/app/utils/download.ts b/app/utils/download.ts index 59d8aa3ae1..c3daac8317 100644 --- a/app/utils/download.ts +++ b/app/utils/download.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-expressions */ // download.js v3.0, by dandavis; 2008-2014. [CCBY2] see http://danml.com/download.html for tests/usage // v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime // v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs @@ -53,7 +54,7 @@ export default function download( : new B([x], { type: m, }); - } catch (y) { + } catch (_err) { if (BB) { b = new BB(); b.append([x]); @@ -112,7 +113,7 @@ export default function download( ) { try { return saver("data:" + m + ";base64," + self.btoa(blob)); - } catch (y) { + } catch (_err) { return saver("data:" + m + "," + encodeURIComponent(blob)); } } diff --git a/app/utils/language.ts b/app/utils/language.ts index 1f75a275f3..bc0233afa6 100644 --- a/app/utils/language.ts +++ b/app/utils/language.ts @@ -12,7 +12,7 @@ import Desktop from "./Desktop"; export function formatNumber(number: number, locale: string) { try { return new Intl.NumberFormat(locale).format(number); - } catch (e) { + } catch (_err) { return number.toString(); } } diff --git a/app/utils/urls.ts b/app/utils/urls.ts index 197e00fa3f..66e3b374ff 100644 --- a/app/utils/urls.ts +++ b/app/utils/urls.ts @@ -14,7 +14,7 @@ export function isHash(href: string) { ) { return true; } - } catch (e) { + } catch (_err) { // failed to parse as url } diff --git a/package.json b/package.json index 440333d141..36b5236fdc 100644 --- a/package.json +++ b/package.json @@ -334,8 +334,8 @@ "@types/utf8": "^3.0.3", "@types/validator": "^13.15.0", "@types/yauzl": "^2.10.3", - "@typescript-eslint/eslint-plugin": "^6.21.0", - "@typescript-eslint/parser": "^6.21.0", + "@typescript-eslint/eslint-plugin": "^8.33.0", + "@typescript-eslint/parser": "^8.33.0", "babel-eslint": "^10.1.0", "babel-jest": "^29.7.0", "babel-plugin-transform-inline-environment-variables": "^0.4.4", diff --git a/plugins/email/server/auth/email.ts b/plugins/email/server/auth/email.ts index 59528b035d..0f55714ac4 100644 --- a/plugins/email/server/auth/email.ts +++ b/plugins/email/server/auth/email.ts @@ -103,7 +103,7 @@ const emailCallback = async (ctx: APIContext) => { try { user = await getUserForEmailSigninToken(token as string); - } catch (err) { + } catch (_err) { ctx.redirect(`/?notice=expired-token`); return; } diff --git a/plugins/slack/server/auth/slack.ts b/plugins/slack/server/auth/slack.ts index 60c343d9ad..c2d24113ae 100644 --- a/plugins/slack/server/auth/slack.ts +++ b/plugins/slack/server/auth/slack.ts @@ -148,7 +148,7 @@ if (env.SLACK_CLIENT_ID && env.SLACK_CLIENT_SECRET) { parsedState = SlackUtils.parseState<{ collectionId: string; }>(state); - } catch (err) { + } catch (_err) { throw ValidationError("Invalid state"); } diff --git a/plugins/storage/server/api/files.ts b/plugins/storage/server/api/files.ts index 53d15c48c7..8ecc7e08d8 100644 --- a/plugins/storage/server/api/files.ts +++ b/plugins/storage/server/api/files.ts @@ -154,7 +154,7 @@ function getKeyFromContext(ctx: APIContext): string { try { JWT.verify(sig, env.SECRET_KEY); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid signature"); } diff --git a/server/commands/documentLoader.ts b/server/commands/documentLoader.ts index f937804b23..1ec343ea9b 100644 --- a/server/commands/documentLoader.ts +++ b/server/commands/documentLoader.ts @@ -194,9 +194,13 @@ export default async function loadDocument({ if (document.deletedAt) { // don't send data if user cannot restore deleted doc - user && authorize(user, "restore", document); + if (user) { + authorize(user, "restore", document); + } } else { - user && authorize(user, "read", document); + if (user) { + authorize(user, "read", document); + } } if (document.isTrialImport) { diff --git a/server/emails/mailer.tsx b/server/emails/mailer.tsx index 80764e6473..9c602595a9 100644 --- a/server/emails/mailer.tsx +++ b/server/emails/mailer.tsx @@ -246,7 +246,7 @@ export class Mailer { pass: testAccount.pass, }, }; - } catch (err) { + } catch (_err) { return undefined; } } diff --git a/server/env.ts b/server/env.ts index 4bfcd7b68f..7bf74c8ffe 100644 --- a/server/env.ts +++ b/server/env.ts @@ -758,7 +758,7 @@ export class Environment { protected toBoolean(value: string) { try { return value ? !!JSON.parse(value) : false; - } catch (err) { + } catch (_err) { throw new Error( `"${value}" could not be parsed as a boolean, must be "true" or "false"` ); @@ -780,7 +780,7 @@ export class Environment { protected toOptionalBoolean(value: string | undefined) { try { return value ? !!JSON.parse(value) : undefined; - } catch (err) { + } catch (_err) { return undefined; } } diff --git a/server/middlewares/authentication.ts b/server/middlewares/authentication.ts index b8a8588b33..4f4cc8ccb3 100644 --- a/server/middlewares/authentication.ts +++ b/server/middlewares/authentication.ts @@ -79,7 +79,7 @@ export default function auth(options: AuthenticationOptions = {}) { authentication = await OAuthAuthentication.findByAccessToken(token, { rejectOnEmpty: true, }); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid access token"); } if (!authentication) { @@ -114,7 +114,7 @@ export default function auth(options: AuthenticationOptions = {}) { try { apiKey = await ApiKey.findByToken(token); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid API key"); } diff --git a/server/models/base/ArchivableModel.ts b/server/models/base/ArchivableModel.ts index c563143710..2b043c4558 100644 --- a/server/models/base/ArchivableModel.ts +++ b/server/models/base/ArchivableModel.ts @@ -1,10 +1,9 @@ -/* eslint-disable @typescript-eslint/ban-types */ import { AllowNull, Column, IsDate } from "sequelize-typescript"; import ParanoidModel from "./ParanoidModel"; class ArchivableModel< - TModelAttributes extends {} = any, - TCreationAttributes extends {} = TModelAttributes + TModelAttributes extends object = any, + TCreationAttributes extends object = TModelAttributes > extends ParanoidModel { /** Whether the document is archived, and if so when. */ @AllowNull diff --git a/server/models/base/IdModel.ts b/server/models/base/IdModel.ts index f76dbeba7d..6d71963048 100644 --- a/server/models/base/IdModel.ts +++ b/server/models/base/IdModel.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-types */ import { CreatedAt, UpdatedAt, @@ -11,8 +10,8 @@ import { import Model from "./Model"; class IdModel< - TModelAttributes extends {} = any, - TCreationAttributes extends {} = TModelAttributes + TModelAttributes extends object = any, + TCreationAttributes extends object = TModelAttributes > extends Model { @IsUUID(4) @PrimaryKey diff --git a/server/models/base/Model.ts b/server/models/base/Model.ts index ac0cb7078b..0c00005402 100644 --- a/server/models/base/Model.ts +++ b/server/models/base/Model.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-types */ import isEqual from "fast-deep-equal"; import isArray from "lodash/isArray"; import isObject from "lodash/isObject"; @@ -43,8 +42,8 @@ type EventOptions = EventOverrideOptions & { export type HookContext = APIContext["context"] & { event?: EventOptions }; class Model< - TModelAttributes extends {} = any, - TCreationAttributes extends {} = TModelAttributes + TModelAttributes extends object = any, + TCreationAttributes extends object = TModelAttributes > extends SequelizeModel { /** * The namespace to use for events - defaults to the table name if none is provided. diff --git a/server/models/base/ParanoidModel.ts b/server/models/base/ParanoidModel.ts index 5ec84514a9..38270df16f 100644 --- a/server/models/base/ParanoidModel.ts +++ b/server/models/base/ParanoidModel.ts @@ -1,10 +1,9 @@ -/* eslint-disable @typescript-eslint/ban-types */ import { DeletedAt } from "sequelize-typescript"; import IdModel from "./IdModel"; class ParanoidModel< - TModelAttributes extends {} = any, - TCreationAttributes extends {} = TModelAttributes + TModelAttributes extends object = any, + TCreationAttributes extends object = TModelAttributes > extends IdModel { @DeletedAt deletedAt: Date | null; diff --git a/server/models/decorators/Deprecated.ts b/server/models/decorators/Deprecated.ts index 92b8a363ef..687826c337 100644 --- a/server/models/decorators/Deprecated.ts +++ b/server/models/decorators/Deprecated.ts @@ -1,7 +1,5 @@ -/* eslint-disable @typescript-eslint/ban-types */ - const Deprecated = - (message?: string) => (target: Object, propertyKey: string) => { + (message?: string) => (_target: object, propertyKey: string) => { if (process.env[propertyKey]) { // eslint-disable-next-line no-console console.warn( diff --git a/server/models/validators/TextLength.ts b/server/models/validators/TextLength.ts index 444e327ce6..d4b2ac4954 100644 --- a/server/models/validators/TextLength.ts +++ b/server/models/validators/TextLength.ts @@ -29,7 +29,7 @@ export default function TextLength({ Node.fromJSON(schema, value), schema ); - } catch (err) { + } catch (_err) { throw new Error("Invalid data"); } diff --git a/server/onerror.ts b/server/onerror.ts index 4f1c585435..d23684d813 100644 --- a/server/onerror.ts +++ b/server/onerror.ts @@ -100,7 +100,9 @@ function wrapInNativeError(err: any): Error { try { errMsg = JSON.stringify(err); // eslint-disable-next-line no-empty - } catch (e) {} + } catch (_err) { + // Ignore + } } const newError = InternalError(`Non-error thrown: ${errMsg}`); // err maybe an object, try to copy the name, message and stack to the new error instance diff --git a/server/policies/cancan.ts b/server/policies/cancan.ts index 060fbc08dc..959a2042ae 100644 --- a/server/policies/cancan.ts +++ b/server/policies/cancan.ts @@ -122,7 +122,7 @@ export class CanCan { try { response = this.can(performer, ability.action, target); - } catch (err) { + } catch (_err) { response = false; } diff --git a/server/routes/api/urls/schema.ts b/server/routes/api/urls/schema.ts index 719e6a2efb..2b81eb7fab 100644 --- a/server/routes/api/urls/schema.ts +++ b/server/routes/api/urls/schema.ts @@ -20,7 +20,7 @@ export const UrlsUnfurlSchema = BaseSchema.extend({ return ValidateURL.isValidMentionUrl(val); } return isUrl(val); - } catch (err) { + } catch (_err) { return false; } }, diff --git a/server/routes/api/users/users.ts b/server/routes/api/users/users.ts index 07fdb33e16..ed00d484ed 100644 --- a/server/routes/api/users/users.ts +++ b/server/routes/api/users/users.ts @@ -273,7 +273,7 @@ router.get( }); user = res.user; email = res.email; - } catch (err) { + } catch (_err) { ctx.redirect(`/?notice=expired-token`); return; } diff --git a/server/routes/app.ts b/server/routes/app.ts index 244b5c0976..9000fffc71 100644 --- a/server/routes/app.ts +++ b/server/routes/app.ts @@ -182,7 +182,7 @@ export const renderShare = async (ctx: Context, next: Next) => { } ); } - } catch (err) { + } catch (_err) { // If the share or document does not exist, return a 404. ctx.status = 404; } diff --git a/server/routes/embeds.ts b/server/routes/embeds.ts index cffeabddc4..5cc8417939 100644 --- a/server/routes/embeds.ts +++ b/server/routes/embeds.ts @@ -47,7 +47,7 @@ export const renderEmbed = async (ctx: Context, next: Next) => { let parsed; try { parsed = new URL(url); - } catch (err) { + } catch (_err) { ctx.throw(400, "Invalid URL provided"); } @@ -143,7 +143,7 @@ ${iframeCheckScript(ctx)} - ${resizeObserverScript(ctx)} @@ -184,7 +184,7 @@ ${resizeObserverScript(ctx)} @@ -232,8 +232,8 @@ ${iframeCheckScript(ctx)}
- { - // eslint-disable-next-line @typescript-eslint/no-var-requires + // eslint-disable-next-line @typescript-eslint/no-require-imports const migration = require(path as string); return { name, diff --git a/server/utils/ImportHelper.ts b/server/utils/ImportHelper.ts index 12c63dbc99..9a90e07030 100644 --- a/server/utils/ImportHelper.ts +++ b/server/utils/ImportHelper.ts @@ -37,7 +37,7 @@ export default class ImportHelper { try { stats = await fs.stat(filePath); - } catch (e) { + } catch (_err) { return null; } diff --git a/server/utils/authentication.ts b/server/utils/authentication.ts index 10ac921949..ca8f9a9733 100644 --- a/server/utils/authentication.ts +++ b/server/utils/authentication.ts @@ -22,7 +22,7 @@ export function getSessionsInCookie(ctx: Context) { const sessionCookie = ctx.cookies.get("sessions") || ""; const decodedSessionCookie = decodeURIComponent(sessionCookie); return decodedSessionCookie ? JSON.parse(decodedSessionCookie) : {}; - } catch (err) { + } catch (_err) { return {}; } } diff --git a/server/utils/fs.ts b/server/utils/fs.ts index 6ddbd15a5c..08407f58d3 100644 --- a/server/utils/fs.ts +++ b/server/utils/fs.ts @@ -75,6 +75,7 @@ export function requireDirectory(dirName: string): [T, string][] { return getFilenamesInDirectory(dirName).map((fileName) => { const filePath = path.join(dirName, fileName); const name = path.basename(filePath.replace(/\.[jt]s$/, "")); + return [require(filePath), name]; }); } diff --git a/server/utils/jwt.ts b/server/utils/jwt.ts index 0e214a5d76..f9e0485d91 100644 --- a/server/utils/jwt.ts +++ b/server/utils/jwt.ts @@ -18,7 +18,7 @@ export function getJWTPayload(token: string) { } return payload as JWT.JwtPayload; - } catch (err) { + } catch (_err) { throw AuthenticationError("Unable to decode token"); } } @@ -67,7 +67,7 @@ export async function getUserForJWT( try { JWT.verify(token, user.jwtSecret); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid token"); } @@ -100,7 +100,7 @@ export async function getUserForEmailSigninToken(token: string): Promise { try { JWT.verify(token, user.jwtSecret); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid token"); } @@ -132,7 +132,7 @@ export async function getDetailsForEmailUpdateToken( try { JWT.verify(token, user.jwtSecret); - } catch (err) { + } catch (_err) { throw AuthenticationError("Invalid token"); } diff --git a/server/utils/passport.ts b/server/utils/passport.ts index f3b6ede8c4..6936961061 100644 --- a/server/utils/passport.ts +++ b/server/utils/passport.ts @@ -82,7 +82,7 @@ export async function request( try { return JSON.parse(text); - } catch (err) { + } catch (_err) { throw InternalError( `Failed to parse response from ${endpoint}. Expected JSON, got: ${text}` ); diff --git a/server/utils/permissions.ts b/server/utils/permissions.ts index 397af7a041..68bf12d5e5 100644 --- a/server/utils/permissions.ts +++ b/server/utils/permissions.ts @@ -39,7 +39,7 @@ export const canUserAccessDocument = async (user: User, documentId: string) => { }); authorize(user, "read", document); return true; - } catch (err) { + } catch (_err) { return false; } }; diff --git a/server/utils/readManifestFile.ts b/server/utils/readManifestFile.ts index bfb411e22a..6b21f85f67 100644 --- a/server/utils/readManifestFile.ts +++ b/server/utils/readManifestFile.ts @@ -18,7 +18,7 @@ export const readManifestFile = (file = "./build/app/.vite/manifest.json") => { try { manifest = fs.readFileSync(absoluteFilePath, "utf8") as string; - } catch (err) { + } catch (_err) { Logger.warn( `Can not find ${absoluteFilePath}. Try executing "yarn vite:build" before running in production mode.` ); diff --git a/server/utils/ssl.ts b/server/utils/ssl.ts index 52987c7644..8d9bb172b6 100644 --- a/server/utils/ssl.ts +++ b/server/utils/ssl.ts @@ -13,7 +13,7 @@ export function getSSLOptions() { path.normalize(`${__dirname}/../../../${name}`), "utf8" ); - } catch (err) { + } catch (_err) { return undefined; } } @@ -35,7 +35,7 @@ export function getSSLOptions() { safeReadFile("public.pem") || safeReadFile("server/config/certs/public.cert"), }; - } catch (err) { + } catch (_err) { return { key: undefined, cert: undefined, diff --git a/server/utils/validators.ts b/server/utils/validators.ts index e78f4a0935..5266b98753 100644 --- a/server/utils/validators.ts +++ b/server/utils/validators.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-types */ import { registerDecorator, ValidationArguments, @@ -9,7 +8,7 @@ export function CannotUseWithout( property: string, validationOptions?: ValidationOptions ) { - return function (object: Object, propertyName: string) { + return function (object: object, propertyName: string) { registerDecorator({ name: "cannotUseWithout", target: object.constructor, @@ -34,7 +33,7 @@ export function CannotUseWith( property: string, validationOptions?: ValidationOptions ) { - return function (object: Object, propertyName: string) { + return function (object: object, propertyName: string) { registerDecorator({ name: "cannotUseWith", target: object.constructor, @@ -62,7 +61,7 @@ export function CannotUseWithAny( properties: string[], validationOptions?: ValidationOptions ) { - return function (object: Object, propertyName: string) { + return function (object: object, propertyName: string) { registerDecorator({ name: "cannotUseWithAny", target: object.constructor, diff --git a/server/validation.ts b/server/validation.ts index 12439f510e..0a9709f340 100644 --- a/server/validation.ts +++ b/server/validation.ts @@ -259,7 +259,7 @@ export class ValidateURL { Object.values(MentionType).includes(mentionType as MentionType) && isUUID(modelId) ); - } catch (err) { + } catch (_err) { return false; } }; diff --git a/shared/components/Icon.tsx b/shared/components/Icon.tsx index d5ea91bb45..e155b4bc59 100644 --- a/shared/components/Icon.tsx +++ b/shared/components/Icon.tsx @@ -61,10 +61,8 @@ const Icon = ({ } return ; - } catch (err) { - // Logger.warn("Failed to render icon", { - // icon, - // }); + } catch (_err) { + // Ignore } return null; diff --git a/shared/editor/embeds/Spotify.tsx b/shared/editor/embeds/Spotify.tsx index e6b4233d8e..50c065292e 100644 --- a/shared/editor/embeds/Spotify.tsx +++ b/shared/editor/embeds/Spotify.tsx @@ -8,7 +8,7 @@ function Spotify({ matches, ...props }: Props) { try { const parsed = new URL(props.attrs.href); pathname = parsed.pathname; - } catch (err) { + } catch (_err) { pathname = ""; } diff --git a/shared/editor/embeds/index.tsx b/shared/editor/embeds/index.tsx index 11234fda8f..b1ffac04ce 100644 --- a/shared/editor/embeds/index.tsx +++ b/shared/editor/embeds/index.tsx @@ -190,8 +190,8 @@ const embeds: EmbedDescriptor[] = [ const params = new URLSearchParams(url.search); params.append("embed", ""); return `${url.origin}${url.pathname}?${params.toString()}`; - } catch (e) { - // + } catch (_err) { + // Ignore } return input; @@ -425,8 +425,8 @@ const embeds: EmbedDescriptor[] = [ params.append("embed", "true"); return `${url.origin}${url.pathname}?${params.toString()}`; - } catch (e) { - // + } catch (_err) { + // Ignore } return input; diff --git a/shared/editor/extensions/Math.ts b/shared/editor/extensions/Math.ts index 6d28b9bd5d..3b66aa0984 100644 --- a/shared/editor/extensions/Math.ts +++ b/shared/editor/extensions/Math.ts @@ -13,7 +13,7 @@ const MATH_PLUGIN_KEY = new PluginKey("prosemirror-math"); export function createMathView(displayMode: boolean): NodeViewConstructor { return (node, view, getPos) => { // dynamically load katex styles and fonts - import("katex/dist/katex.min.css"); + void import("katex/dist/katex.min.css"); const pluginState = MATH_PLUGIN_KEY.getState(view.state); if (!pluginState) { diff --git a/shared/editor/lib/prosemirror-recreate-transform/recreateTransform.ts b/shared/editor/lib/prosemirror-recreate-transform/recreateTransform.ts index 2a2b1e4fec..8aaa936025 100644 --- a/shared/editor/lib/prosemirror-recreate-transform/recreateTransform.ts +++ b/shared/editor/lib/prosemirror-recreate-transform/recreateTransform.ts @@ -97,7 +97,7 @@ export class RecreateTransform { try { toDoc = this.schema.nodeFromJSON(afterStepJSON); toDoc.check(); - } catch (error) { + } catch (_err) { toDoc = null; if (this.ops.length > 0) { op = this.ops.shift() as Operation; diff --git a/shared/editor/marks/Link.tsx b/shared/editor/marks/Link.tsx index 06c6a3e016..ccb93eaec4 100644 --- a/shared/editor/marks/Link.tsx +++ b/shared/editor/marks/Link.tsx @@ -126,7 +126,7 @@ export default class Link extends Mark { sanitizeUrl(range.mark.attrs.href), event ); - } catch (err) { + } catch (_err) { toast.error(this.options.dictionary.openLinkError); } return true; @@ -156,7 +156,7 @@ export default class Link extends Mark { view.dispatch(tr); return true; - } catch (err) { + } catch (_err) { // Failed to set selection } return false; @@ -208,7 +208,7 @@ export default class Link extends Mark { event.preventDefault(); this.options.onClickLink(sanitizeUrl(href), event); } - } catch (err) { + } catch (_err) { toast.error(this.options.dictionary.openLinkError); } @@ -227,7 +227,7 @@ export default class Link extends Mark { return false; }, - click: (view: EditorView, event: MouseEvent) => { + click: (_view: EditorView, event: MouseEvent) => { if ( !(event.target instanceof HTMLAnchorElement) || event.button !== 0 diff --git a/shared/utils/browser.ts b/shared/utils/browser.ts index e9d9218ceb..28fd454837 100644 --- a/shared/utils/browser.ts +++ b/shared/utils/browser.ts @@ -83,8 +83,8 @@ try { window.addEventListener("testPassive", null, opts); // @ts-expect-error ts-migrate(2769) testPassive is not a real event window.removeEventListener("testPassive", null, opts); -} catch (e) { - // No-op +} catch (_err) { + // Ignore } /** diff --git a/shared/utils/domains.ts b/shared/utils/domains.ts index 5dd49f2cf2..434deea4f9 100644 --- a/shared/utils/domains.ts +++ b/shared/utils/domains.ts @@ -49,7 +49,7 @@ export function parseDomain(url: string): Domain { try { const parsedUrl = new URL(url); port = parsedUrl.port || undefined; - } catch (e) { + } catch (_err) { // ignore } diff --git a/shared/utils/files.ts b/shared/utils/files.ts index 17bd53b5e7..4ebaae6193 100644 --- a/shared/utils/files.ts +++ b/shared/utils/files.ts @@ -43,7 +43,7 @@ export function getDataTransferImage( .parseFromString(untrustedHTML, "text/html") .querySelector("img")?.src : dt?.getData("url"); - } catch (e) { + } catch (_err) { return; } } @@ -125,7 +125,7 @@ export function getFileNameFromUrl(url: string) { const pathname = urlObj.pathname; const filename = pathname.substring(pathname.lastIndexOf("/") + 1); return filename; - } catch (error) { + } catch (_err) { return null; } } diff --git a/shared/utils/parseCollectionSlug.ts b/shared/utils/parseCollectionSlug.ts index 9e3f484779..d37bdf077a 100644 --- a/shared/utils/parseCollectionSlug.ts +++ b/shared/utils/parseCollectionSlug.ts @@ -15,7 +15,7 @@ export default function parseCollectionSlug(url: string) { try { parsed = new URL(url).pathname; - } catch (err) { + } catch (_err) { return; } diff --git a/shared/utils/parseDocumentSlug.ts b/shared/utils/parseDocumentSlug.ts index f4ea72f189..80aff6cbf0 100644 --- a/shared/utils/parseDocumentSlug.ts +++ b/shared/utils/parseDocumentSlug.ts @@ -15,7 +15,7 @@ export default function parseDocumentSlug(url: string) { try { parsed = new URL(url).pathname; - } catch (err) { + } catch (_err) { return; } diff --git a/shared/utils/urls.ts b/shared/utils/urls.ts index 31e35559f1..2cba0d3395 100644 --- a/shared/utils/urls.ts +++ b/shared/utils/urls.ts @@ -23,7 +23,7 @@ export function fileNameFromUrl(url: string) { try { const parsed = new URL(url); return parsed.pathname.split("/").pop(); - } catch (err) { + } catch (_err) { return; } } @@ -71,7 +71,7 @@ export function isDocumentUrl(url: string) { isInternalUrl(url) && (parsed.pathname.startsWith("/doc/") || parsed.pathname.startsWith("/d/")) ); - } catch (err) { + } catch (_err) { return false; } } @@ -86,7 +86,7 @@ export function isCollectionUrl(url: string) { try { const parsed = new URL(url, env.URL); return isInternalUrl(url) && parsed.pathname.startsWith("/collection/"); - } catch (err) { + } catch (_err) { return false; } } @@ -130,7 +130,7 @@ export function isUrl( (url.pathname.startsWith("//") || url.pathname.startsWith("http")) && !options?.requireHostname ); - } catch (err) { + } catch (_err) { return false; } } diff --git a/yarn.lock b/yarn.lock index 1cdac51e43..01c5ae8a06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2236,14 +2236,26 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz#b17a2171f9074df9e91bfb07ef99a892ac06412a" integrity sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg== -"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": +"@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== dependencies: eslint-visitor-keys "^3.3.0" -"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": +"@eslint-community/eslint-utils@^4.7.0": + version "4.7.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz#607084630c6c033992a082de6e6fbc1a8b52175a" + integrity sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw== + dependencies: + eslint-visitor-keys "^3.4.3" + +"@eslint-community/regexpp@^4.10.0": + version "4.12.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0" + integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ== + +"@eslint-community/regexpp@^4.6.1": version "4.10.0" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== @@ -5444,11 +5456,6 @@ "@types/tough-cookie" "*" parse5 "^7.0.0" -"@types/json-schema@^7.0.12": - version "7.0.15" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" - integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== - "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -5860,7 +5867,7 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" integrity "sha1-GmL4lSVyPd4kuhsBsJK/XfitTTk= sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" -"@types/semver@^7.5.0", "@types/semver@^7.7.0": +"@types/semver@^7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.7.0.tgz#64c441bdae033b378b6eef7d0c3d77c329b9378e" integrity sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA== @@ -5990,91 +5997,102 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@^6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz#30830c1ca81fd5f3c2714e524c4303e0194f9cd3" - integrity sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA== +"@typescript-eslint/eslint-plugin@^8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.0.tgz#51ed03649575ba51bcee7efdbfd85283249b5447" + integrity sha512-CACyQuqSHt7ma3Ns601xykeBK/rDeZa3w6IS6UtMQbixO5DWy+8TilKkviGDH6jtWCo8FGRKEK5cLLkPvEammQ== dependencies: - "@eslint-community/regexpp" "^4.5.1" - "@typescript-eslint/scope-manager" "6.21.0" - "@typescript-eslint/type-utils" "6.21.0" - "@typescript-eslint/utils" "6.21.0" - "@typescript-eslint/visitor-keys" "6.21.0" - debug "^4.3.4" + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "8.33.0" + "@typescript-eslint/type-utils" "8.33.0" + "@typescript-eslint/utils" "8.33.0" + "@typescript-eslint/visitor-keys" "8.33.0" graphemer "^1.4.0" - ignore "^5.2.4" + ignore "^7.0.0" natural-compare "^1.4.0" - semver "^7.5.4" - ts-api-utils "^1.0.1" + ts-api-utils "^2.1.0" -"@typescript-eslint/parser@^6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.21.0.tgz#af8fcf66feee2edc86bc5d1cf45e33b0630bf35b" - integrity sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ== +"@typescript-eslint/parser@^8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.33.0.tgz#8e523c2b447ad7cd6ac91b719d8b37449481784d" + integrity sha512-JaehZvf6m0yqYp34+RVnihBAChkqeH+tqqhS0GuX1qgPpwLvmTPheKEs6OeCK6hVJgXZHJ2vbjnC9j119auStQ== dependencies: - "@typescript-eslint/scope-manager" "6.21.0" - "@typescript-eslint/types" "6.21.0" - "@typescript-eslint/typescript-estree" "6.21.0" - "@typescript-eslint/visitor-keys" "6.21.0" + "@typescript-eslint/scope-manager" "8.33.0" + "@typescript-eslint/types" "8.33.0" + "@typescript-eslint/typescript-estree" "8.33.0" + "@typescript-eslint/visitor-keys" "8.33.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#ea8a9bfc8f1504a6ac5d59a6df308d3a0630a2b1" - integrity sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg== +"@typescript-eslint/project-service@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.33.0.tgz#71f37ef9010de47bf20963914743c5cbef851e08" + integrity sha512-d1hz0u9l6N+u/gcrk6s6gYdl7/+pp8yHheRTqP6X5hVDKALEaTn8WfGiit7G511yueBEL3OpOEpD+3/MBdoN+A== dependencies: - "@typescript-eslint/types" "6.21.0" - "@typescript-eslint/visitor-keys" "6.21.0" - -"@typescript-eslint/type-utils@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz#6473281cfed4dacabe8004e8521cee0bd9d4c01e" - integrity sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag== - dependencies: - "@typescript-eslint/typescript-estree" "6.21.0" - "@typescript-eslint/utils" "6.21.0" + "@typescript-eslint/tsconfig-utils" "^8.33.0" + "@typescript-eslint/types" "^8.33.0" debug "^4.3.4" - ts-api-utils "^1.0.1" -"@typescript-eslint/types@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" - integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== - -"@typescript-eslint/typescript-estree@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#c47ae7901db3b8bddc3ecd73daff2d0895688c46" - integrity sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ== +"@typescript-eslint/scope-manager@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz#459cf0c49d410800b1a023b973c62d699b09bf4c" + integrity sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw== dependencies: - "@typescript-eslint/types" "6.21.0" - "@typescript-eslint/visitor-keys" "6.21.0" + "@typescript-eslint/types" "8.33.0" + "@typescript-eslint/visitor-keys" "8.33.0" + +"@typescript-eslint/tsconfig-utils@8.33.0", "@typescript-eslint/tsconfig-utils@^8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.0.tgz#316adab038bbdc43e448781d5a816c2973eab73e" + integrity sha512-sTkETlbqhEoiFmGr1gsdq5HyVbSOF0145SYDJ/EQmXHtKViCaGvnyLqWFFHtEXoS0J1yU8Wyou2UGmgW88fEug== + +"@typescript-eslint/type-utils@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.33.0.tgz#f06124b2d6db8a51b24990cb123c9543af93fef5" + integrity sha512-lScnHNCBqL1QayuSrWeqAL5GmqNdVUQAAMTaCwdYEdWfIrSrOGzyLGRCHXcCixa5NK6i5l0AfSO2oBSjCjf4XQ== + dependencies: + "@typescript-eslint/typescript-estree" "8.33.0" + "@typescript-eslint/utils" "8.33.0" debug "^4.3.4" - globby "^11.1.0" + ts-api-utils "^2.1.0" + +"@typescript-eslint/types@8.33.0", "@typescript-eslint/types@^8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.33.0.tgz#02a7dbba611a8abf1ad2a9e00f72f7b94b5ab0ee" + integrity sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg== + +"@typescript-eslint/typescript-estree@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz#abcc1d3db75a8e9fd2e274ee8c4099fa2399abfd" + integrity sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ== + dependencies: + "@typescript-eslint/project-service" "8.33.0" + "@typescript-eslint/tsconfig-utils" "8.33.0" + "@typescript-eslint/types" "8.33.0" + "@typescript-eslint/visitor-keys" "8.33.0" + debug "^4.3.4" + fast-glob "^3.3.2" is-glob "^4.0.3" - minimatch "9.0.3" - semver "^7.5.4" - ts-api-utils "^1.0.1" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^2.1.0" -"@typescript-eslint/utils@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.21.0.tgz#4714e7a6b39e773c1c8e97ec587f520840cd8134" - integrity sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ== +"@typescript-eslint/utils@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.33.0.tgz#574ad5edee371077b9e28ca6fb804f2440f447c1" + integrity sha512-lPFuQaLA9aSNa7D5u2EpRiqdAUhzShwGg/nhpBlc4GR6kcTABttCuyjFs8BcEZ8VWrjCBof/bePhP3Q3fS+Yrw== dependencies: - "@eslint-community/eslint-utils" "^4.4.0" - "@types/json-schema" "^7.0.12" - "@types/semver" "^7.5.0" - "@typescript-eslint/scope-manager" "6.21.0" - "@typescript-eslint/types" "6.21.0" - "@typescript-eslint/typescript-estree" "6.21.0" - semver "^7.5.4" + "@eslint-community/eslint-utils" "^4.7.0" + "@typescript-eslint/scope-manager" "8.33.0" + "@typescript-eslint/types" "8.33.0" + "@typescript-eslint/typescript-estree" "8.33.0" -"@typescript-eslint/visitor-keys@6.21.0": - version "6.21.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#87a99d077aa507e20e238b11d56cc26ade45fe47" - integrity sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A== +"@typescript-eslint/visitor-keys@8.33.0": + version "8.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz#fbae16fd3594531f8cad95d421125d634e9974fe" + integrity sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ== dependencies: - "@typescript-eslint/types" "6.21.0" - eslint-visitor-keys "^3.4.1" + "@typescript-eslint/types" "8.33.0" + eslint-visitor-keys "^4.2.0" "@ungap/structured-clone@^1.2.0": version "1.2.0" @@ -6407,11 +6425,6 @@ array-includes@^3.1.6, array-includes@^3.1.8: get-intrinsic "^1.2.4" is-string "^1.0.7" -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity "sha1-t5hCCtvrHego2ErNii4j0+/oXo0= sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" - array.prototype.findlast@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz#3e4fbcb30a15a7f5bf64cf2faae22d139c2e4904" @@ -8423,13 +8436,6 @@ dingbat-to-unicode@^1.0.1: resolved "https://registry.yarnpkg.com/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz#5091dd673241453e6b5865e26e5a4452cdef5c83" integrity "sha1-UJHdZzJBRT5rWGXiblpEUs3vXIM= sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==" -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity "sha1-Vtv3PZkqSpO6FYT0U0Bj/S5BcX8= sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==" - dependencies: - path-type "^4.0.0" - discord-api-types@^0.37.119: version "0.37.119" resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.119.tgz#29e32f635351da32dd4c92defcafdeb65156ad33" @@ -9187,6 +9193,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity "sha1-DNcv6FUOPC6uFWqWpN3c0cisWAA= sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==" +eslint-visitor-keys@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz#687bacb2af884fcdda8a6e7d65c606f46a14cd45" + integrity sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw== + eslint@^8.57.0: version "8.57.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668" @@ -9392,7 +9403,7 @@ fast-fifo@^1.3.2: resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== -fast-glob@^3.2.11, fast-glob@^3.2.9, fast-glob@^3.3.2: +fast-glob@^3.2.11, fast-glob@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity "sha1-qQRQHlfP3S/83tRemaVP71XkYSk= sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==" @@ -9893,18 +9904,6 @@ globalthis@^1.0.4: define-properties "^1.2.1" gopd "^1.0.1" -globby@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity "sha1-vUvpi7BC+D15b344EZkfvoKg00s= sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==" - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - google-closure-compiler-js@^20170423.0.0: version "20170423.0.0" resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20170423.0.0.tgz#e9e8b40dadfdf0e64044c9479b5d26d228778fbc" @@ -10306,6 +10305,11 @@ ignore@^5.1.1, ignore@^5.2.0, ignore@^5.2.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity "sha1-opHAxheP8blgvv5H/N7DAWdKYyQ= sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" +ignore@^7.0.0: + version "7.0.5" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.5.tgz#4cb5f6cd7d4c7ab0365738c7aea888baa6d7efd9" + integrity sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg== + immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" @@ -12294,7 +12298,7 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity "sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A= sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" -merge2@^1.3.0, merge2@^1.4.1: +merge2@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity "sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4= sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" @@ -12360,13 +12364,6 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity "sha1-YKkFUNXLCyOcymXYk7GlOymHHsw= sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==" -minimatch@9.0.3: - version "9.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" - integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== - dependencies: - brace-expansion "^2.0.1" - minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -12381,6 +12378,13 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@^9.0.4: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.1.0, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -13148,11 +13152,6 @@ path-to-regexp@^8.1.0: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4" integrity sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ== -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity "sha1-hO0BwKe6OAr+CdkKjBgNzZ0DBDs= sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" - pathe@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" @@ -14568,7 +14567,7 @@ semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0, semve resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.5.0, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.7.1, semver@^7.7.2: +semver@^7.5.0, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.7.1, semver@^7.7.2: version "7.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== @@ -15569,10 +15568,10 @@ truncate-utf8-bytes@^1.0.0: dependencies: utf8-byte-length "^1.0.1" -ts-api-utils@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" - integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== +ts-api-utils@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.1.0.tgz#595f7094e46eed364c13fd23e75f9513d29baf91" + integrity sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ== ts-dedent@^2.2.0: version "2.2.0" From 62a388fc3b6ce385f7fc70fdf5f1c97108f20e4b Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 11:41:22 -0400 Subject: [PATCH 14/25] =?UTF-8?q?Update=20import=20button=20to=20show=20"U?= =?UTF-8?q?ploading=E2=80=A6"=20state=20during=20file=20upload=20(#9365)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update import button to show 'Uploading…' state during file upload - Update DropToImport component to show 'Uploading…' text and disable button during import - Update Notion ImportDialog to show 'Uploading…' text during submission - Improves user feedback during import operations * Move ellipsis character out of translated strings - Separate ellipsis from 'Uploading' translation to improve i18n - Use string concatenation: t('Uploading') + '…' instead of t('Uploading…') --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> --- app/scenes/Settings/components/DropToImport.tsx | 4 ++-- plugins/notion/client/components/ImportDialog.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scenes/Settings/components/DropToImport.tsx b/app/scenes/Settings/components/DropToImport.tsx index a0a2f8e01c..d5615cfc67 100644 --- a/app/scenes/Settings/components/DropToImport.tsx +++ b/app/scenes/Settings/components/DropToImport.tsx @@ -118,8 +118,8 @@ function DropToImport({ disabled, onSubmit, children, format }: Props) {
- diff --git a/plugins/notion/client/components/ImportDialog.tsx b/plugins/notion/client/components/ImportDialog.tsx index 97283f62e0..56a7ab0257 100644 --- a/plugins/notion/client/components/ImportDialog.tsx +++ b/plugins/notion/client/components/ImportDialog.tsx @@ -70,7 +70,7 @@ export function ImportDialog({ integrationId, onSubmit }: Props) { From 34bdd59f35d0c332adddecd9ece4e05e78e28d9f Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 1 Jun 2025 15:38:51 -0400 Subject: [PATCH 15/25] fix: Last modified switch tooltip (#9367) --- app/components/Sharing/Document/PublicAccess.tsx | 4 +++- shared/i18n/locales/en_US/translation.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/components/Sharing/Document/PublicAccess.tsx b/app/components/Sharing/Document/PublicAccess.tsx index d69c6e46f2..53e78073cf 100644 --- a/app/components/Sharing/Document/PublicAccess.tsx +++ b/app/components/Sharing/Document/PublicAccess.tsx @@ -218,7 +218,9 @@ function PublicAccess({ document, share, sharedParent }: Props) { "Display the last modified timestamp on the shared page" )} > - + + + } diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index f808c62e1b..e4c8d7ebbd 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -940,6 +940,7 @@ "Your import is being processed, you can safely leave this page": "Your import is being processed, you can safely leave this page", "File not supported – please upload a valid ZIP file": "File not supported – please upload a valid ZIP file", "Set the default permission level for collections created from the import": "Set the default permission level for collections created from the import", + "Uploading": "Uploading", "Start import": "Start import", "Processing": "Processing", "Expired": "Expired", @@ -974,7 +975,6 @@ "Date created": "Date created", "Crop Image": "Crop Image", "Crop image": "Crop image", - "Uploading": "Uploading", "How does this work?": "How does this work?", "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.": "You can import a zip file that was previously exported from the JSON option in another instance. In {{ appName }}, open Export in the Settings sidebar and click on Export Data.", "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload": "Drag and drop the zip file from the JSON export option in {{appName}}, or click to upload", From fde507f34f9eca098f9b774355a68456b61d16fc Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 22:17:02 +0000 Subject: [PATCH 16/25] Replace reakit/Disclosure with Radix Collapsible (#9368) * Replace reakit/Disclosure with Radix Collapsible - Replaced reakit/Disclosure imports with @radix-ui/react-collapsible - Updated HelpDisclosure component to use Radix Collapsible.Root, Collapsible.Trigger, and Collapsible.Content - Maintained same styling and functionality with proper data-state attributes - Added @radix-ui/react-collapsible dependency * fix animation --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- .../Settings/components/HelpDisclosure.tsx | 69 ++++++++++++------- .../Settings/components/ImportJSONDialog.tsx | 5 +- .../components/ImportMarkdownDialog.tsx | 5 +- package.json | 1 + yarn.lock | 14 ++++ 5 files changed, 64 insertions(+), 30 deletions(-) diff --git a/app/scenes/Settings/components/HelpDisclosure.tsx b/app/scenes/Settings/components/HelpDisclosure.tsx index c09ca02fac..1699f23fbe 100644 --- a/app/scenes/Settings/components/HelpDisclosure.tsx +++ b/app/scenes/Settings/components/HelpDisclosure.tsx @@ -1,42 +1,34 @@ +import * as Collapsible from "@radix-ui/react-collapsible"; import { QuestionMarkIcon } from "outline-icons"; import * as React from "react"; -import { - useDisclosureState, - Disclosure, - DisclosureContent, -} from "reakit/Disclosure"; import styled, { useTheme } from "styled-components"; import Button from "~/components/Button"; import Text from "~/components/Text"; type Props = { children?: React.ReactNode; - title: React.ReactNode; + title: string; }; const HelpDisclosure: React.FC = ({ title, children }: Props) => { - const disclosure = useDisclosureState({ animated: true }); const theme = useTheme(); return ( - <> - - {(props) => ( - } - neutral - aria-label={title} - borderOnHover - {...props} - /> - )} - - + + + } + neutral + aria-label={title} + borderOnHover + /> + + {children} - + ); }; @@ -46,12 +38,37 @@ const StyledButton = styled(Button)` right: 50px; `; -const HelpContent = styled(DisclosureContent)` - transition: opacity 250ms ease-in-out; - opacity: 0; +const HelpContent = styled(Collapsible.Content)` + overflow: hidden; - &[data-enter] { - opacity: 1; + &[data-state="open"] { + animation: slideDown 250ms ease-out; + } + + &[data-state="closed"] { + animation: slideUp 250ms ease-out; + } + + @keyframes slideDown { + from { + height: 0; + opacity: 0; + } + to { + height: var(--radix-collapsible-content-height); + opacity: 1; + } + } + + @keyframes slideUp { + from { + height: var(--radix-collapsible-content-height); + opacity: 1; + } + to { + height: 0; + opacity: 0; + } } `; diff --git a/app/scenes/Settings/components/ImportJSONDialog.tsx b/app/scenes/Settings/components/ImportJSONDialog.tsx index 1ccc4e98e9..212aa56a57 100644 --- a/app/scenes/Settings/components/ImportJSONDialog.tsx +++ b/app/scenes/Settings/components/ImportJSONDialog.tsx @@ -1,4 +1,4 @@ -import { Trans } from "react-i18next"; +import { Trans, useTranslation } from "react-i18next"; import { FileOperationFormat } from "@shared/types"; import env from "~/env"; import useStores from "~/hooks/useStores"; @@ -6,12 +6,13 @@ import DropToImport from "./DropToImport"; import HelpDisclosure from "./HelpDisclosure"; function ImportJSONDialog() { + const { t } = useTranslation(); const { dialogs } = useStores(); const appName = env.APP_NAME; return ( <> - How does this work?}> + - How does this work?}> + Date: Sun, 1 Jun 2025 18:20:49 -0400 Subject: [PATCH 17/25] Replace reakit/Popover with radix-ui in Collaborators component (#9360) - Migrated from reakit usePopoverState to radix-ui Popover.Root - Replaced PopoverDisclosure with Popover.Trigger - Updated popover content with styled component matching original design - Maintained same styling with fadeAndScaleIn animation, menuBackground, and menuShadow - Added @radix-ui/react-popover dependency - Preserved all existing functionality and accessibility features Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor --- app/components/Collaborators.tsx | 76 ++++++++++++++++++++------------ 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a/app/components/Collaborators.tsx b/app/components/Collaborators.tsx index c87d1f4fbe..72f090770c 100644 --- a/app/components/Collaborators.tsx +++ b/app/components/Collaborators.tsx @@ -1,3 +1,4 @@ +import * as Popover from "@radix-ui/react-popover"; import filter from "lodash/filter"; import isEqual from "lodash/isEqual"; import orderBy from "lodash/orderBy"; @@ -5,15 +6,16 @@ import uniq from "lodash/uniq"; import { observer } from "mobx-react"; import { useState, useMemo, useEffect, useCallback } from "react"; import { useTranslation } from "react-i18next"; -import { usePopoverState, PopoverDisclosure } from "reakit/Popover"; +import styled from "styled-components"; +import { depths, s } from "@shared/styles"; import Document from "~/models/Document"; import { AvatarSize, AvatarWithPresence } from "~/components/Avatar"; import DocumentViews from "~/components/DocumentViews"; import Facepile from "~/components/Facepile"; import NudeButton from "~/components/NudeButton"; -import Popover from "~/components/Popover"; import useCurrentUser from "~/hooks/useCurrentUser"; import useStores from "~/hooks/useStores"; +import { fadeAndScaleIn } from "~/styles/animations"; type Props = { /** The document to display live collaborators for */ @@ -22,6 +24,21 @@ type Props = { limit?: number; }; +// Styled components to match the original Popover styling +const StyledPopoverContent = styled(Popover.Content)` + animation: ${fadeAndScaleIn} 200ms ease; + transform-origin: 75% 0; + background: ${s("menuBackground")}; + border-radius: 6px; + padding: 12px 24px; + max-height: 75vh; + box-shadow: ${s("menuShadow")}; + z-index: ${depths.modal}; + overflow-x: hidden; + overflow-y: auto; + outline: none; +`; + /** * Displays a list of live collaborators for a document, including their avatars * and presence status. @@ -32,6 +49,7 @@ function Collaborators(props: Props) { const user = useCurrentUser(); const currentUserId = user?.id; const [requestedUserIds, setRequestedUserIds] = useState([]); + const [popoverOpen, setPopoverOpen] = useState(false); const { users, presence, ui } = useStores(); const { document } = props; const { observingUserId } = ui; @@ -94,11 +112,6 @@ function Collaborators(props: Props) { } }, [missingUserIds, requestedUserIds, users]); - const popover = usePopoverState({ - gutter: 0, - placement: "bottom-end", - }); - // Memoize onClick handler to avoid inline function creation const handleAvatarClick = useCallback( ( @@ -150,28 +163,33 @@ function Collaborators(props: Props) { ); return ( - <> - - {(popoverProps) => ( - - - - )} - - - {popover.visible && } - - + + + + + + + + + + + + ); } From 301a6f11779d9c08064ad55a647e91bd6fd9e278 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 17:06:43 -0400 Subject: [PATCH 18/25] chore(deps): bump sequelize-cli from 6.6.2 to 6.6.3 (#9380) Bumps [sequelize-cli](https://github.com/sequelize/cli) from 6.6.2 to 6.6.3. - [Release notes](https://github.com/sequelize/cli/releases) - [Changelog](https://github.com/sequelize/cli/blob/main/CHANGELOG.md) - [Commits](https://github.com/sequelize/cli/compare/v6.6.2...v6.6.3) --- updated-dependencies: - dependency-name: sequelize-cli dependency-version: 6.6.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 344 ++++++++++++++++++++++++--------------------------- 2 files changed, 162 insertions(+), 184 deletions(-) diff --git a/package.json b/package.json index e772c9fc36..0b0a5fb9a4 100644 --- a/package.json +++ b/package.json @@ -230,7 +230,7 @@ "scroll-into-view-if-needed": "^3.1.0", "semver": "^7.7.2", "sequelize": "^6.37.3", - "sequelize-cli": "^6.6.2", + "sequelize-cli": "^6.6.3", "sequelize-encrypted": "^1.0.0", "sequelize-strict-attributes": "^1.0.2", "sequelize-typescript": "^2.1.6", diff --git a/yarn.lock b/yarn.lock index 859610bfa9..a6343f14c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2543,6 +2543,18 @@ resolved "https://registry.yarnpkg.com/@ioredis/commands/-/commands-1.2.0.tgz#6d61b3097470af1fdbbe622795b8921d42018e11" integrity "sha1-bWGzCXRwrx/bvmInlbiSHUIBjhE= sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==" +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@isaacs/ttlcache@^1.4.1": version "1.4.1" resolved "https://registry.yarnpkg.com/@isaacs/ttlcache/-/ttlcache-1.4.1.tgz#21fb23db34e9b6220c6ba023a0118a2dd3461ea2" @@ -3201,6 +3213,11 @@ "@octokit/webhooks-types" "7.1.0" aggregate-error "^3.1.0" +"@one-ini/wasm@0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@one-ini/wasm/-/wasm-0.1.1.tgz#6013659736c9dbfccc96e8a9c2b3de317df39323" + integrity sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw== + "@opentelemetry/api@>=1.0.0 <1.9.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.8.0.tgz#5aa7abb48f23f693068ed2999ae627d2f7d902ec" @@ -3232,6 +3249,11 @@ dependencies: passport-oauth "1.0.x" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + "@popperjs/core@^2.5.4": version "2.11.8" resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" @@ -6226,11 +6248,16 @@ abab@^2.0.6: resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" integrity "sha1-QbgPLIcdGWhiFrgjCSMc/Tyz0pE= sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==" -abbrev@1, abbrev@^1.0.0: +abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg= sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" +abbrev@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" + integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== + accepts@^1.3.5, accepts@~1.3.4: version "1.3.7" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" @@ -7315,17 +7342,6 @@ clean-stack@^2.0.0: resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -cli-color@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" - integrity "sha1-c3abqWkIBilnDz8u9ppL9OfMGHk= sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==" - dependencies: - d "^1.0.1" - es5-ext "^0.10.61" - es6-iterator "^2.0.3" - memoizee "^0.4.15" - timers-ext "^0.1.7" - cli-cursor@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" @@ -7503,12 +7519,12 @@ commander@7: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity "sha1-o2y1fQtQHOEI5NIFWaFQo5HZerc= sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" -commander@^10.0.1: +commander@^10.0.0, commander@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity "sha1-iB7ka0930cHczFgjQzqjmwIsvgY= sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==" -commander@^2.19.0, commander@^2.20.0: +commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity "sha1-/UhehMA+tIgcIHIrpIA16FMa6zM= sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" @@ -7776,6 +7792,15 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.6: + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypto-js@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" @@ -8147,14 +8172,6 @@ d3@^7.0.0, d3@^7.9.0: d3-transition "3" d3-zoom "3" -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity "sha1-hpgJU3LVjb7jRv/Qxwk/mfj561o= sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==" - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - dagre-d3-es@7.0.11: version "7.0.11" resolved "https://registry.yarnpkg.com/dagre-d3-es/-/dagre-d3-es-7.0.11.tgz#2237e726c0577bfe67d1a7cfd2265b9ab2c15c40" @@ -8600,15 +8617,15 @@ ecdsa-sig-formatter@1.0.11: dependencies: safe-buffer "^5.0.1" -editorconfig@^0.15.3: - version "0.15.3" - resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-0.15.3.tgz#bef84c4e75fb8dcb0ce5cee8efd51c15999befc5" - integrity "sha1-vvhMTnX7jcsM5c7o79UcFZmb78U= sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==" +editorconfig@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-1.0.4.tgz#040c9a8e9a6c5288388b87c2db07028aa89f53a3" + integrity sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q== dependencies: - commander "^2.19.0" - lru-cache "^4.1.5" - semver "^5.6.0" - sigmund "^1.0.1" + "@one-ini/wasm" "0.1.1" + commander "^10.0.0" + minimatch "9.0.1" + semver "^7.5.3" ee-first@1.1.1: version "1.1.1" @@ -8887,53 +8904,16 @@ es-to-primitive@^1.3.0: is-date-object "^1.0.5" is-symbol "^1.0.4" -es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@^0.10.62, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: - version "0.10.63" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.63.tgz#9c222a63b6a332ac80b1e373b426af723b895bd6" - integrity sha512-hUCZd2Byj/mNKjfP9jXrdVZ62B8KuA/VoK7X8nUh5qT+AxDmcbvZz041oDVZdbIN1qW6XY9VDNwzkvKnZvK2TQ== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - esniff "^2.0.1" - next-tick "^1.1.0" - es6-error@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" integrity "sha1-njr0B0Wd7tR+mpH5uIWoTrBcVh0= sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity "sha1-p96IkUGgWpSwhUQDstCg+/qY87c= sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==" - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - es6-promise@^4.2.8: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" integrity "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo= sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity "sha1-utXTwbzawoJp9MszHkMceKxwXRg= sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==" - dependencies: - d "^1.0.1" - ext "^1.1.2" - -es6-weak-map@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" - integrity "sha1-ttofFswswNm+Q+a9v8Xn383zHVM= sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==" - dependencies: - d "1" - es5-ext "^0.10.46" - es6-iterator "^2.0.3" - es6-symbol "^3.1.1" - esbuild@^0.20.1: version "0.20.2" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.20.2.tgz#9d6b2386561766ee6b5a55196c6d766d28c87ea1" @@ -9256,16 +9236,6 @@ eslint@^8.57.0: strip-ansi "^6.0.1" text-table "^0.2.0" -esniff@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" - integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== - dependencies: - d "^1.0.1" - es5-ext "^0.10.62" - event-emitter "^0.3.5" - type "^2.7.2" - espree@^9.6.0, espree@^9.6.1: version "9.6.1" resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" @@ -9314,14 +9284,6 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q= sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" -event-emitter@^0.3.5: - version "0.3.5" - resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" - integrity "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk= sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==" - dependencies: - d "1" - es5-ext "~0.10.14" - eventemitter3@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" @@ -9383,13 +9345,6 @@ express-useragent@^1.0.15: resolved "https://registry.yarnpkg.com/express-useragent/-/express-useragent-1.0.15.tgz#cefda5fa4904345d51d3368b117a8dd4124985d9" integrity "sha1-zv2l+kkENF1R0zaLEXqN1BJJhdk= sha512-eq5xMiYCYwFPoekffMjvEIk+NWdlQY9Y38OsTyl13IvA728vKT+q/CSERYWzcw93HGBJcIqMIsZC5CZGARPVdg==" -ext@^1.1.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244" - integrity "sha1-ia56BxWPedNVF4gpBDJAd+Q3kkQ= sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==" - dependencies: - type "^2.0.0" - extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -9592,6 +9547,14 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" +foreground-child@^3.1.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" + integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== + dependencies: + cross-spawn "^7.0.6" + signal-exit "^4.0.1" + form-data@*, form-data@^4.0.0, form-data@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.2.tgz#35cabbdd30c3ce73deb2c42d3c8d3ed9ca51794c" @@ -9870,6 +9833,18 @@ glob@7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^10.4.2: + version "10.4.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -9882,7 +9857,7 @@ glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.3, glob@^8.1.0: +glob@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" integrity "sha1-04j2Vlk+9wjuPjRkD9+5mp/Rwz4= sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==" @@ -10690,11 +10665,6 @@ is-printable-key-event@^1.0.0: resolved "https://registry.yarnpkg.com/is-printable-key-event/-/is-printable-key-event-1.0.0.tgz#1ea47b8abe1a2e53a1f5ea6aecbd6d24da707c66" integrity "sha1-HqR7ir4aLlOh9epq7L1tJNpwfGY= sha512-C/GJ8ApSdY6/RGQrSSkBzuWDtYI9/mOTRLCOu/5iYH46pI7Ki6y6B71kPL7OWRzqv9KkWSEmskKdq5IvgAGPHA==" -is-promise@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" - integrity "sha1-OauVnMv5p3TPB597QMeib3YxNfE= sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - is-regex@^1.1.4, is-regex@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.2.1.tgz#76d70a3ed10ef9be48eb577887d74205bf0cad22" @@ -10896,6 +10866,15 @@ iterator.prototype@^1.1.4: reflect.getprototypeof "^1.0.8" set-function-name "^2.0.2" +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jake@^10.8.5: version "10.8.5" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" @@ -11281,15 +11260,21 @@ jest-worker@^29.7.0: merge-stream "^2.0.0" supports-color "^8.0.0" -js-beautify@^1.14.5, js-beautify@^1.6.12: - version "1.14.7" - resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.14.7.tgz#9206296de33f86dc106d3e50a35b7cf8729703b2" - integrity "sha1-kgYpbeM/htwQbT5Qo1t8+HKXA7I= sha512-5SOX1KXPFKx+5f6ZrPsIPEY7NwKeQz47n3jm2i+XeHx9MoRsfQenlOP13FQhWvg8JRS0+XLO6XYUQ2GX+q+T9A==" +js-beautify@1.15.4, js-beautify@^1.6.12: + version "1.15.4" + resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.15.4.tgz#f579f977ed4c930cef73af8f98f3f0a608acd51e" + integrity sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA== dependencies: config-chain "^1.1.13" - editorconfig "^0.15.3" - glob "^8.0.3" - nopt "^6.0.0" + editorconfig "^1.0.4" + glob "^10.4.2" + js-cookie "^3.0.5" + nopt "^7.2.1" + +js-cookie@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-3.0.5.tgz#0b7e2fd0c01552c58ba86e0841f94dc2557dcdbc" + integrity sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw== js-sdsl@4.3.0: version "4.3.0" @@ -12091,13 +12076,10 @@ lop@^0.4.2: option "~0.2.1" underscore "^1.13.1" -lru-cache@^4.1.5: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity "sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80= sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==" - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" +lru-cache@^10.2.0: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== lru-cache@^5.1.1: version "5.1.1" @@ -12123,13 +12105,6 @@ lru-cache@^7.14.0: resolved "https://registry.yarnpkg.com/@wolfy1339/lru-cache/-/lru-cache-11.0.2-patch.1.tgz#bb648b660478099c9022ee71a00b80603daf7294" integrity sha512-BgYZfL2ADCXKOw2wJtkM3slhHotawWkgIRRxq4wEybnZQPjvAp71SPX35xepMykTw8gXlzWcWPTY31hlbnRsDA== -lru-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" - integrity "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM= sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==" - dependencies: - es5-ext "~0.10.2" - luxon@^3.0.1: version "3.2.1" resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.2.1.tgz#14f1af209188ad61212578ea7e3d518d18cee45f" @@ -12293,20 +12268,6 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.1.1.tgz#047b6e3199b508eaec03504de71229b8eb1d75c0" integrity "sha1-BHtuMZm1COrsA1BN5xIpuOsddcA= sha512-HKeeBpWvqiVJD57ZUAsJNm71eHTykffzcLZVYWiVfQeI1rJtuEaS7hQiEpWfVVk18donPwJEcFKIkCmPJNOhHA==" -memoizee@^0.4.15: - version "0.4.15" - resolved "https://registry.yarnpkg.com/memoizee/-/memoizee-0.4.15.tgz#e6f3d2da863f318d02225391829a6c5956555b72" - integrity "sha1-5vPS2oY/MY0CIlORgppsWVZVW3I= sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==" - dependencies: - d "^1.0.1" - es5-ext "^0.10.53" - es6-weak-map "^2.0.3" - event-emitter "^0.3.5" - is-promise "^2.2.2" - lru-queue "^0.1.0" - next-tick "^1.1.0" - timers-ext "^0.1.7" - merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -12378,6 +12339,13 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity "sha1-YKkFUNXLCyOcymXYk7GlOymHHsw= sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==" +minimatch@9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.1.tgz#8a555f541cf976c622daf078bb28f29fb927c253" + integrity sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -12404,6 +12372,11 @@ minimist@^1.1.0, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + mktemp@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/mktemp/-/mktemp-0.4.0.tgz#6d0515611c8a8c84e484aa2000129b98e981ff0b" @@ -12550,11 +12523,6 @@ negotiator@0.6.2: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity "sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs= sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" -next-tick@1, next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity "sha1-GDbuMK1W1n7ygbIr0Zn3CUSbNes= sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - node-abort-controller@^1.1.0: version "1.2.1" resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-1.2.1.tgz#1eddb57eb8fea734198b11b28857596dc6165708" @@ -12628,12 +12596,12 @@ nodemon@^3.1.10: touch "^3.1.0" undefsafe "^2.0.5" -nopt@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" - integrity "sha1-JFgB2Ov0CcbfIqudlbZeEwnNsW0= sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==" +nopt@^7.2.1: + version "7.2.1" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz#1cac0eab9b8e97c9093338446eddd40b2c8ca1e7" + integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== dependencies: - abbrev "^1.0.0" + abbrev "^2.0.0" nopt@~1.0.10: version "1.0.10" @@ -12947,6 +12915,11 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity "sha1-yyhoVA4xPWHeWPr741zpAE1VQOY= sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" +package-json-from-dist@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== + package-manager-detector@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/package-manager-detector/-/package-manager-detector-0.2.2.tgz#fbbc8afe87cdaee471ca9b89c3700236c6d2d9e5" @@ -13149,6 +13122,14 @@ path-posix@^1.0.0: resolved "https://registry.yarnpkg.com/path-posix/-/path-posix-1.0.0.tgz#06b26113f56beab042545a23bfa88003ccac260f" integrity "sha1-BrJhE/Vr6rBCVFojv6iAA8ysJg8= sha512-1gJ0WpNIiYcQydgg3Ed8KzvIqTsDpNwq+cjBCssvBtuTWjEqY1AW+i+OepiEMqDCzyro9B2sLAe4RBPajMYFiA==" +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-to-regexp@^0.1.12: version "0.1.12" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.12.tgz#d5e1a12e478a976d432ef3c58d534b9923164bb7" @@ -13659,11 +13640,6 @@ proxy-from-env@^1.1.0: resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity "sha1-8FKijacOYYkX7wqKw0wa5aaChrM= sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" - psl@^1.1.33: version "1.9.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" @@ -14586,15 +14562,15 @@ semver@^7.5.0, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semve resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== -sequelize-cli@^6.6.2: - version "6.6.2" - resolved "https://registry.yarnpkg.com/sequelize-cli/-/sequelize-cli-6.6.2.tgz#8d838b25c988cf136914cdc3843e19d88c3dcb67" - integrity sha512-V8Oh+XMz2+uquLZltZES6MVAD+yEnmMfwfn+gpXcDiwE3jyQygLt4xoI0zG8gKt6cRcs84hsKnXAKDQjG/JAgg== +sequelize-cli@^6.6.3: + version "6.6.3" + resolved "https://registry.yarnpkg.com/sequelize-cli/-/sequelize-cli-6.6.3.tgz#faf041e009b6c0d30d84d290e6c4d485ac8cacbd" + integrity sha512-1YYPrcSRt/bpMDDSKM5ubY1mnJ2TEwIaGZcqITw4hLtGtE64nIqaBnLtMvH8VKHg6FbWpXTiFNc2mS/BtQCXZw== dependencies: - cli-color "^2.0.3" fs-extra "^9.1.0" - js-beautify "^1.14.5" + js-beautify "1.15.4" lodash "^4.17.21" + picocolors "^1.1.1" resolve "^1.22.1" umzug "^2.3.0" yargs "^16.2.0" @@ -14754,16 +14730,16 @@ side-channel@^1.0.4, side-channel@^1.1.0: side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" -sigmund@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" - integrity "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA= sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==" - signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity "sha1-qaF2f4r4QVURTqq9c/mSc8j1mtk= sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -15078,6 +15054,15 @@ string-replace-to-array@^2.1.1: resolved "https://registry.yarnpkg.com/string-replace-to-array/-/string-replace-to-array-2.1.1.tgz#93aef1530d269721f0022e53a503a7ec8b2076a2" integrity sha512-i31csTEoIrcB8pusAF72Z0WsF04sbdiH4s0egpcmFj30SgHYdYd1swmZ7Zb1qFryJ5DbZR6z4rSjOzoUcrWUWw== +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -15087,7 +15072,7 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^5.0.0, string-width@^5.0.1: +string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" integrity "sha1-FPja7G2B5yIdKjV+Zoyrc728p5Q= sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==" @@ -15187,6 +15172,13 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -15415,14 +15407,6 @@ through2@^2.0.1: readable-stream "~2.3.6" xtend "~4.0.1" -timers-ext@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" - integrity "sha1-b1ethXjgej+5+R2Th9ZWR1VeJcY= sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==" - dependencies: - es5-ext "~0.10.46" - next-tick "1" - tiny-cookie@^2.5.1: version "2.5.1" resolved "https://registry.yarnpkg.com/tiny-cookie/-/tiny-cookie-2.5.1.tgz#11c72e58f4de854f6a24fd53aa207c6c35014581" @@ -15690,16 +15674,6 @@ type-is@1.6.18, type-is@^1.6.16, type-is@^1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity "sha1-hI3XaY2vo+VKbEeedZxLw/GIR6A= sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - -type@^2.0.0, type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - typed-array-buffer@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" @@ -16543,6 +16517,15 @@ workbox-window@7.3.0, workbox-window@^7.3.0: "@types/trusted-types" "^2.0.2" workbox-core "7.3.0" +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -16640,11 +16623,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity "sha1-f0k00PfKjFb5UxSTndzS3ZHOHVU= sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" - yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" From 44eabf4b8d04a2495dc4a32882deeba81858ad17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 17:07:17 -0400 Subject: [PATCH 19/25] chore(deps-dev): bump terser from 5.39.0 to 5.40.0 (#9379) Bumps [terser](https://github.com/terser/terser) from 5.39.0 to 5.40.0. - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v5.39.0...v5.40.0) --- updated-dependencies: - dependency-name: terser dependency-version: 5.40.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 0b0a5fb9a4..b650186d03 100644 --- a/package.json +++ b/package.json @@ -368,7 +368,7 @@ "react-refresh": "^0.17.0", "rimraf": "^2.5.4", "rollup-plugin-webpack-stats": "^2.0.5", - "terser": "^5.39.0", + "terser": "^5.40.0", "typescript": "^5.8.3", "vite-plugin-static-copy": "^0.17.0", "yarn-deduplicate": "^6.0.2" diff --git a/yarn.lock b/yarn.lock index a6343f14c0..c7710c461a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6289,7 +6289,7 @@ acorn-walk@^8.0.2: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity "sha1-dBIQ8uJCZFRQiFOi9E0KuDt/acE= sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==" -acorn@^8.1.0, acorn@^8.14.0, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.1.0, acorn@^8.14.0, acorn@^8.8.1, acorn@^8.9.0: version "8.14.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== @@ -15342,13 +15342,13 @@ tempy@^0.6.0: type-fest "^0.16.0" unique-string "^2.0.0" -terser@^5.17.4, terser@^5.39.0: - version "5.39.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.39.0.tgz#0e82033ed57b3ddf1f96708d123cca717d86ca3a" - integrity sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw== +terser@^5.17.4, terser@^5.40.0: + version "5.40.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.40.0.tgz#839a80db42bfee8340085f44ea99b5cba36c55c8" + integrity sha512-cfeKl/jjwSR5ar7d0FGmave9hFGJT8obyo0z+CrQOylLDbk7X81nPU6vq9VORa5jU30SkDnT2FXjLbR8HLP+xA== dependencies: "@jridgewell/source-map" "^0.3.3" - acorn "^8.8.2" + acorn "^8.14.0" commander "^2.20.0" source-map-support "~0.5.20" From b1fd8878f43db1ad0e094ec03357fd09367cdd68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 17:08:02 -0400 Subject: [PATCH 20/25] chore(deps): bump the babel group with 3 updates (#9376) Bumps the babel group with 3 updates: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/plugin-transform-destructuring](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-destructuring) and [@babel/plugin-transform-regenerator](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-regenerator). Updates `@babel/core` from 7.27.1 to 7.27.4 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.4/packages/babel-core) Updates `@babel/plugin-transform-destructuring` from 7.27.1 to 7.27.3 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-plugin-transform-destructuring) Updates `@babel/plugin-transform-regenerator` from 7.27.1 to 7.27.4 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.4/packages/babel-plugin-transform-regenerator) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: babel - dependency-name: "@babel/plugin-transform-destructuring" dependency-version: 7.27.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: babel - dependency-name: "@babel/plugin-transform-regenerator" dependency-version: 7.27.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: babel ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 6 +-- yarn.lock | 118 +++++++++++++++++++++++++-------------------------- 2 files changed, 62 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index b650186d03..9c7544b3ee 100644 --- a/package.json +++ b/package.json @@ -54,11 +54,11 @@ "@aws-sdk/s3-presigned-post": "3.817.0", "@aws-sdk/s3-request-presigner": "3.817.0", "@aws-sdk/signature-v4-crt": "^3.816.0", - "@babel/core": "^7.27.1", + "@babel/core": "^7.27.4", "@babel/plugin-proposal-decorators": "^7.27.1", "@babel/plugin-transform-class-properties": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.1", - "@babel/plugin-transform-regenerator": "^7.27.1", + "@babel/plugin-transform-destructuring": "^7.27.3", + "@babel/plugin-transform-regenerator": "^7.27.4", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "@benrbray/prosemirror-math": "^0.2.2", diff --git a/yarn.lock b/yarn.lock index c7710c461a..7ccaf4c21a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -706,34 +706,34 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.27.2.tgz#4183f9e642fd84e74e3eea7ffa93a412e3b102c9" integrity sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ== -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.20.12", "@babel/core@^7.24.4", "@babel/core@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.27.1.tgz#89de51e86bd12246003e3524704c49541b16c3e6" - integrity sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ== +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.20.12", "@babel/core@^7.24.4", "@babel/core@^7.27.4": + version "7.27.4" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.27.4.tgz#cc1fc55d0ce140a1828d1dd2a2eba285adbfb3ce" + integrity sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.27.1" - "@babel/helper-compilation-targets" "^7.27.1" - "@babel/helper-module-transforms" "^7.27.1" - "@babel/helpers" "^7.27.1" - "@babel/parser" "^7.27.1" - "@babel/template" "^7.27.1" - "@babel/traverse" "^7.27.1" - "@babel/types" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/helper-compilation-targets" "^7.27.2" + "@babel/helper-module-transforms" "^7.27.3" + "@babel/helpers" "^7.27.4" + "@babel/parser" "^7.27.4" + "@babel/template" "^7.27.2" + "@babel/traverse" "^7.27.4" + "@babel/types" "^7.27.3" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.27.1", "@babel/generator@^7.7.2": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.1.tgz#862d4fad858f7208edd487c28b58144036b76230" - integrity sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w== +"@babel/generator@^7.27.3", "@babel/generator@^7.7.2": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.3.tgz#ef1c0f7cfe3b5fc8cbb9f6cc69f93441a68edefc" + integrity sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q== dependencies: - "@babel/parser" "^7.27.1" - "@babel/types" "^7.27.1" + "@babel/parser" "^7.27.3" + "@babel/types" "^7.27.3" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" @@ -819,14 +819,14 @@ "@babel/traverse" "^7.27.1" "@babel/types" "^7.27.1" -"@babel/helper-module-transforms@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.27.1.tgz#e1663b8b71d2de948da5c4fb2a20ca4f3ec27a6f" - integrity sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g== +"@babel/helper-module-transforms@^7.27.1", "@babel/helper-module-transforms@^7.27.3": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz#db0bbcfba5802f9ef7870705a7ef8788508ede02" + integrity sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg== dependencies: "@babel/helper-module-imports" "^7.27.1" "@babel/helper-validator-identifier" "^7.27.1" - "@babel/traverse" "^7.27.1" + "@babel/traverse" "^7.27.3" "@babel/helper-optimise-call-expression@^7.27.1": version "7.27.1" @@ -890,20 +890,20 @@ "@babel/traverse" "^7.27.1" "@babel/types" "^7.27.1" -"@babel/helpers@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.27.1.tgz#ffc27013038607cdba3288e692c3611c06a18aa4" - integrity sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ== +"@babel/helpers@^7.27.4": + version "7.27.4" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.27.4.tgz#c79050c6a0e41e095bfc96d469c85431e9ed7fe7" + integrity sha512-Y+bO6U+I7ZKaM5G5rDUZiYfUvQPUibYmAFe7EnKdnKBbVXDZxvp+MWOH5gYciY0EPk4EScsuFMQBbEfpdRKSCQ== dependencies: - "@babel/template" "^7.27.1" - "@babel/types" "^7.27.1" + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.3" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.27.1", "@babel/parser@^7.7.0": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.27.1.tgz#c55d5bed74449d1223701f1869b9ee345cc94cc9" - integrity sha512-I0dZ3ZpCrJ1c04OqlNsQcKiZlsrXf/kkE4FXzID9rIOYICsAbA8mMDzhW/luRNAHdCNt7os/u8wenklZDlUVUQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.27.2", "@babel/parser@^7.27.3", "@babel/parser@^7.27.4", "@babel/parser@^7.7.0": + version "7.27.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.27.4.tgz#f92e89e4f51847be05427285836fc88341c956df" + integrity sha512-BRmLHGwpUqLFR2jzx9orBuX/ABDkj2jLKOXrHDTN2aOKL+jFDDKaRNo9nyYsIl9h/UE/7lMKdDjKQQyxKKDZ7g== dependencies: - "@babel/types" "^7.27.1" + "@babel/types" "^7.27.3" "@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.27.1": version "7.27.1" @@ -1160,10 +1160,10 @@ "@babel/helper-plugin-utils" "^7.27.1" "@babel/template" "^7.27.1" -"@babel/plugin-transform-destructuring@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.27.1.tgz#d5916ef7089cb254df0418ae524533c1b72ba656" - integrity sha512-ttDCqhfvpE9emVkXbPD8vyxxh4TWYACVybGkDj+oReOGwnp066ITEivDlLwe0b1R0+evJ13IXQuLNB5w1fhC5Q== +"@babel/plugin-transform-destructuring@^7.27.1", "@babel/plugin-transform-destructuring@^7.27.3": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.27.3.tgz#3cc8299ed798d9a909f8d66ddeb40849ec32e3b0" + integrity sha512-s4Jrok82JpiaIprtY2nHsYmrThKvvwgHwjgd7UMiYhZaN0asdXNLr0y+NjTfkA7SyQE5i2Fb7eawUOZmLvyqOA== dependencies: "@babel/helper-plugin-utils" "^7.27.1" @@ -1430,10 +1430,10 @@ "@babel/helper-annotate-as-pure" "^7.27.1" "@babel/helper-plugin-utils" "^7.27.1" -"@babel/plugin-transform-regenerator@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.27.1.tgz#0a471df9213416e44cd66bf67176b66f65768401" - integrity sha512-B19lbbL7PMrKr52BNPjCqg1IyNUIjTcxKj8uX9zHO+PmWN93s19NDr/f69mIkEp2x9nmDJ08a7lgHaTTzvW7mw== +"@babel/plugin-transform-regenerator@^7.27.1", "@babel/plugin-transform-regenerator@^7.27.4": + version "7.27.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.27.4.tgz#05d006c09f482b34ba5dc16d630c204a7d06d31f" + integrity sha512-Glp/0n8xuj+E1588otw5rjJkTXfzW7FjH3IIUrfqiZOPQCd2vbg8e+DQE8jK9g4V5/zrxFW+D9WM9gboRPELpQ== dependencies: "@babel/helper-plugin-utils" "^7.27.1" @@ -1656,32 +1656,32 @@ dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.27.1", "@babel/template@^7.3.3": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.1.tgz#b9e4f55c17a92312774dfbdde1b3c01c547bbae2" - integrity sha512-Fyo3ghWMqkHHpHQCoBs2VnYjR4iWFFjguTDEqA5WgZDOrFesVjMhMM2FSqTKSoUSDO1VQtavj8NFpdRBEvJTtg== +"@babel/template@^7.27.1", "@babel/template@^7.27.2", "@babel/template@^7.3.3": + version "7.27.2" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.2.tgz#fa78ceed3c4e7b63ebf6cb39e5852fca45f6809d" + integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw== dependencies: "@babel/code-frame" "^7.27.1" - "@babel/parser" "^7.27.1" + "@babel/parser" "^7.27.2" "@babel/types" "^7.27.1" -"@babel/traverse@^7.13.0", "@babel/traverse@^7.27.1", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.27.1.tgz#4db772902b133bbddd1c4f7a7ee47761c1b9f291" - integrity sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg== +"@babel/traverse@^7.13.0", "@babel/traverse@^7.27.1", "@babel/traverse@^7.27.3", "@babel/traverse@^7.27.4", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0": + version "7.27.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.27.4.tgz#b0045ac7023c8472c3d35effd7cc9ebd638da6ea" + integrity sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA== dependencies: "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.27.1" - "@babel/parser" "^7.27.1" - "@babel/template" "^7.27.1" - "@babel/types" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/parser" "^7.27.4" + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.3" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.27.1", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.27.1.tgz#9defc53c16fc899e46941fc6901a9eea1c9d8560" - integrity sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q== +"@babel/types@^7.0.0", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": + version "7.27.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.27.3.tgz#c0257bedf33aad6aad1f406d35c44758321eb3ec" + integrity sha512-Y1GkI4ktrtvmawoSq+4FCVHNryea6uR+qUQy0AGxLSsjCX0nVmkYQMBLHDkXZuo5hGx7eYdnIaslsdBFm7zbUw== dependencies: "@babel/helper-string-parser" "^7.27.1" "@babel/helper-validator-identifier" "^7.27.1" From c7f7c43aaf1654b215da3cd912bfbeddef322401 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 22:32:47 -0400 Subject: [PATCH 21/25] chore(deps): bump the aws group with 5 updates (#9378) Bumps the aws group with 5 updates: | Package | From | To | | --- | --- | --- | | [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.817.0` | `3.821.0` | | [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.817.0` | `3.821.0` | | [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.817.0` | `3.821.0` | | [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.817.0` | `3.821.0` | | [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.816.0` | `3.821.0` | Updates `@aws-sdk/client-s3` from 3.817.0 to 3.821.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.821.0/clients/client-s3) Updates `@aws-sdk/lib-storage` from 3.817.0 to 3.821.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.821.0/lib/lib-storage) Updates `@aws-sdk/s3-presigned-post` from 3.817.0 to 3.821.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-presigned-post/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.821.0/packages/s3-presigned-post) Updates `@aws-sdk/s3-request-presigner` from 3.817.0 to 3.821.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-request-presigner/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.821.0/packages/s3-request-presigner) Updates `@aws-sdk/signature-v4-crt` from 3.816.0 to 3.821.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/signature-v4-crt/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.821.0/packages/signature-v4-crt) --- updated-dependencies: - dependency-name: "@aws-sdk/client-s3" dependency-version: 3.821.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/lib-storage" dependency-version: 3.821.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-presigned-post" dependency-version: 3.821.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/s3-request-presigner" dependency-version: 3.821.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws - dependency-name: "@aws-sdk/signature-v4-crt" dependency-version: 3.821.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 10 +- yarn.lock | 1337 +++++++++++++++++++++++++------------------------- 2 files changed, 674 insertions(+), 673 deletions(-) diff --git a/package.json b/package.json index 9c7544b3ee..3afb01da94 100644 --- a/package.json +++ b/package.json @@ -49,11 +49,11 @@ "> 0.25%, not dead" ], "dependencies": { - "@aws-sdk/client-s3": "3.817.0", - "@aws-sdk/lib-storage": "3.817.0", - "@aws-sdk/s3-presigned-post": "3.817.0", - "@aws-sdk/s3-request-presigner": "3.817.0", - "@aws-sdk/signature-v4-crt": "^3.816.0", + "@aws-sdk/client-s3": "3.821.0", + "@aws-sdk/lib-storage": "3.821.0", + "@aws-sdk/s3-presigned-post": "3.821.0", + "@aws-sdk/s3-request-presigner": "3.821.0", + "@aws-sdk/signature-v4-crt": "^3.821.0", "@babel/core": "^7.27.4", "@babel/plugin-proposal-decorators": "^7.27.1", "@babel/plugin-transform-class-properties": "^7.27.1", diff --git a/yarn.lock b/yarn.lock index 7ccaf4c21a..c5660e678e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -105,505 +105,505 @@ "@smithy/util-utf8" "^2.0.0" tslib "^2.6.2" -"@aws-sdk/client-s3@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.817.0.tgz#841840d2a03581b706ba564820335b96497a1c15" - integrity sha512-nZyjhlLMEXDs0ofWbpikI8tKoeKuuSgYcIb6eEZJk90Nt5HkkXn6nkWOs/kp2FdhpoGJyTILOVsDgdm7eutnLA== +"@aws-sdk/client-s3@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.821.0.tgz#1b4b89fef2d8c99b9f5a53b40c946ab175089e81" + integrity sha512-enlFiONQD+oCaV+C6hMsAJvyQRT3wZmCtXXq7qjxX8BiLgXsHQ9HHS+Nhoq08Ya6mtd1Y1qHOOYpnD8yyUzTMQ== dependencies: "@aws-crypto/sha1-browser" "5.2.0" "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.816.0" - "@aws-sdk/credential-provider-node" "3.817.0" - "@aws-sdk/middleware-bucket-endpoint" "3.808.0" - "@aws-sdk/middleware-expect-continue" "3.804.0" - "@aws-sdk/middleware-flexible-checksums" "3.816.0" - "@aws-sdk/middleware-host-header" "3.804.0" - "@aws-sdk/middleware-location-constraint" "3.804.0" - "@aws-sdk/middleware-logger" "3.804.0" - "@aws-sdk/middleware-recursion-detection" "3.804.0" - "@aws-sdk/middleware-sdk-s3" "3.816.0" - "@aws-sdk/middleware-ssec" "3.804.0" - "@aws-sdk/middleware-user-agent" "3.816.0" - "@aws-sdk/region-config-resolver" "3.808.0" - "@aws-sdk/signature-v4-multi-region" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-endpoints" "3.808.0" - "@aws-sdk/util-user-agent-browser" "3.804.0" - "@aws-sdk/util-user-agent-node" "3.816.0" - "@aws-sdk/xml-builder" "3.804.0" - "@smithy/config-resolver" "^4.1.2" - "@smithy/core" "^3.3.3" - "@smithy/eventstream-serde-browser" "^4.0.2" - "@smithy/eventstream-serde-config-resolver" "^4.1.0" - "@smithy/eventstream-serde-node" "^4.0.2" - "@smithy/fetch-http-handler" "^5.0.2" - "@smithy/hash-blob-browser" "^4.0.2" - "@smithy/hash-node" "^4.0.2" - "@smithy/hash-stream-node" "^4.0.2" - "@smithy/invalid-dependency" "^4.0.2" - "@smithy/md5-js" "^4.0.2" - "@smithy/middleware-content-length" "^4.0.2" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/middleware-retry" "^4.1.7" - "@smithy/middleware-serde" "^4.0.5" - "@smithy/middleware-stack" "^4.0.2" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/node-http-handler" "^4.0.4" - "@smithy/protocol-http" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" - "@smithy/url-parser" "^4.0.2" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/credential-provider-node" "3.821.0" + "@aws-sdk/middleware-bucket-endpoint" "3.821.0" + "@aws-sdk/middleware-expect-continue" "3.821.0" + "@aws-sdk/middleware-flexible-checksums" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-location-constraint" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-sdk-s3" "3.821.0" + "@aws-sdk/middleware-ssec" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/signature-v4-multi-region" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@aws-sdk/xml-builder" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/eventstream-serde-browser" "^4.0.4" + "@smithy/eventstream-serde-config-resolver" "^4.1.2" + "@smithy/eventstream-serde-node" "^4.0.4" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-blob-browser" "^4.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/hash-stream-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/md5-js" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" "@smithy/util-base64" "^4.0.0" "@smithy/util-body-length-browser" "^4.0.0" "@smithy/util-body-length-node" "^4.0.0" - "@smithy/util-defaults-mode-browser" "^4.0.14" - "@smithy/util-defaults-mode-node" "^4.0.14" - "@smithy/util-endpoints" "^3.0.4" - "@smithy/util-middleware" "^4.0.2" - "@smithy/util-retry" "^4.0.3" - "@smithy/util-stream" "^4.2.0" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" + "@smithy/util-stream" "^4.2.2" "@smithy/util-utf8" "^4.0.0" - "@smithy/util-waiter" "^4.0.3" + "@smithy/util-waiter" "^4.0.5" tslib "^2.6.2" -"@aws-sdk/client-sso@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.817.0.tgz#eca663fb562095f7ff1c2d0af6f89cc1f04e12a4" - integrity sha512-fCh5rUHmWmWDvw70NNoWpE5+BRdtNi45kDnIoeoszqVg7UKF79SlG+qYooUT52HKCgDNHqgbWaXxMOSqd2I/OQ== +"@aws-sdk/client-sso@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.821.0.tgz#052187cf3322fba7fc0eb1fc781c77b7643998d6" + integrity sha512-aDEBZUKUd/+Tvudi0d9KQlqt2OW2P27LATZX0jkNC8yVk4145bAPS04EYoqdKLuyUn/U33DibEOgKUpxZB12jQ== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.816.0" - "@aws-sdk/middleware-host-header" "3.804.0" - "@aws-sdk/middleware-logger" "3.804.0" - "@aws-sdk/middleware-recursion-detection" "3.804.0" - "@aws-sdk/middleware-user-agent" "3.816.0" - "@aws-sdk/region-config-resolver" "3.808.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-endpoints" "3.808.0" - "@aws-sdk/util-user-agent-browser" "3.804.0" - "@aws-sdk/util-user-agent-node" "3.816.0" - "@smithy/config-resolver" "^4.1.2" - "@smithy/core" "^3.3.3" - "@smithy/fetch-http-handler" "^5.0.2" - "@smithy/hash-node" "^4.0.2" - "@smithy/invalid-dependency" "^4.0.2" - "@smithy/middleware-content-length" "^4.0.2" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/middleware-retry" "^4.1.7" - "@smithy/middleware-serde" "^4.0.5" - "@smithy/middleware-stack" "^4.0.2" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/node-http-handler" "^4.0.4" - "@smithy/protocol-http" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" - "@smithy/url-parser" "^4.0.2" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" "@smithy/util-base64" "^4.0.0" "@smithy/util-body-length-browser" "^4.0.0" "@smithy/util-body-length-node" "^4.0.0" - "@smithy/util-defaults-mode-browser" "^4.0.14" - "@smithy/util-defaults-mode-node" "^4.0.14" - "@smithy/util-endpoints" "^3.0.4" - "@smithy/util-middleware" "^4.0.2" - "@smithy/util-retry" "^4.0.3" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/core@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.816.0.tgz#f310a2fd458534b13f42de5e10fdfd3dfc8d4982" - integrity sha512-Lx50wjtyarzKpMFV6V+gjbSZDgsA/71iyifbClGUSiNPoIQ4OCV0KVOmAAj7mQRVvGJqUMWKVM+WzK79CjbjWA== +"@aws-sdk/core@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.821.0.tgz#0e53a74d4c0857b72f93dd5f2bf3fe3fda4a85b9" + integrity sha512-8eB3wKbmfciQFmxFq7hAjy7mXdUs7vBOR5SwT0ZtQBg0Txc18Lc9tMViqqdO6/KU7OukA6ib2IAVSjIJJEN7FQ== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/core" "^3.3.3" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/property-provider" "^4.0.2" - "@smithy/protocol-http" "^5.1.0" - "@smithy/signature-v4" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" - "@smithy/util-middleware" "^4.0.2" + "@aws-sdk/types" "3.821.0" + "@smithy/core" "^3.5.1" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" fast-xml-parser "4.4.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-env@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.816.0.tgz#a5e1dd3a23403f6c8ea4cbdcbf06d7986bcd1e81" - integrity sha512-wUJZwRLe+SxPxRV9AENYBLrJZRrNIo+fva7ZzejsC83iz7hdfq6Rv6B/aHEdPwG/nQC4+q7UUvcRPlomyrpsBA== +"@aws-sdk/credential-provider-env@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.821.0.tgz#900c63fe2e2c993c078aad2d6417273673d84f27" + integrity sha512-C+s/A72pd7CXwEsJj9+Uq9T726iIfIF18hGRY8o82xcIEfOyakiPnlisku8zZOaAu+jm0CihbbYN4NyYNQ+HZQ== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/property-provider" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-http@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.816.0.tgz#35e5188e9c0143c48d02a9c7ca08f9e6e4821ed1" - integrity sha512-gcWGzMQ7yRIF+ljTkR8Vzp7727UY6cmeaPrFQrvcFB8PhOqWpf7g0JsgOf5BSaP8CkkSQcTQHc0C5ZYAzUFwPg== +"@aws-sdk/credential-provider-http@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.821.0.tgz#357700d8961e5edaf98310b3b3eca8c869b5dc73" + integrity sha512-gIRzTLnAsRfRSNarCag7G7rhcHagz4x5nNTWRihQs5cwTOghEExDy7Tj5m4TEkv3dcTAsNn+l4tnR4nZXo6R+Q== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/fetch-http-handler" "^5.0.2" - "@smithy/node-http-handler" "^4.0.4" - "@smithy/property-provider" "^4.0.2" - "@smithy/protocol-http" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" - "@smithy/util-stream" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-stream" "^4.2.2" tslib "^2.6.2" -"@aws-sdk/credential-provider-ini@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.817.0.tgz#eb0d2dab8fc861cc0871e1a01bac6ac3f84a3b8b" - integrity sha512-kyEwbQyuXE+phWVzloMdkFv6qM6NOon+asMXY5W0fhDKwBz9zQLObDRWBrvQX9lmqq8BbDL1sCfZjOh82Y+RFw== +"@aws-sdk/credential-provider-ini@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.821.0.tgz#d85b13f3918bb00da4f04beab52164598659b748" + integrity sha512-VRTrmsca8kBHtY1tTek1ce+XkK/H0fzodBKcilM/qXjTyumMHPAzVAxKZfSvGC+28/pXyQzhOEyxZfw7giCiWA== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/credential-provider-env" "3.816.0" - "@aws-sdk/credential-provider-http" "3.816.0" - "@aws-sdk/credential-provider-process" "3.816.0" - "@aws-sdk/credential-provider-sso" "3.817.0" - "@aws-sdk/credential-provider-web-identity" "3.817.0" - "@aws-sdk/nested-clients" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@smithy/credential-provider-imds" "^4.0.4" - "@smithy/property-provider" "^4.0.2" - "@smithy/shared-ini-file-loader" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/credential-provider-env" "3.821.0" + "@aws-sdk/credential-provider-http" "3.821.0" + "@aws-sdk/credential-provider-process" "3.821.0" + "@aws-sdk/credential-provider-sso" "3.821.0" + "@aws-sdk/credential-provider-web-identity" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-node@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.817.0.tgz#ffa311d3917535a24a3319ff01f430c5ba4139e0" - integrity sha512-b5mz7av0Lhavs1Bz3Zb+jrs0Pki93+8XNctnVO0drBW98x1fM4AR38cWvGbM/w9F9Q0/WEH3TinkmrMPrP4T/w== +"@aws-sdk/credential-provider-node@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.821.0.tgz#c126bcea304d2152b51e6130dd51e33e98b236df" + integrity sha512-oBgbcgOXWMgknAfhIdTeHSSVIv+k2LXN9oTbxu1r++o4WWBWrEQ8mHU0Zo9dfr7Uaoqi3pezYZznsBkXnMLEOg== dependencies: - "@aws-sdk/credential-provider-env" "3.816.0" - "@aws-sdk/credential-provider-http" "3.816.0" - "@aws-sdk/credential-provider-ini" "3.817.0" - "@aws-sdk/credential-provider-process" "3.816.0" - "@aws-sdk/credential-provider-sso" "3.817.0" - "@aws-sdk/credential-provider-web-identity" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@smithy/credential-provider-imds" "^4.0.4" - "@smithy/property-provider" "^4.0.2" - "@smithy/shared-ini-file-loader" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/credential-provider-env" "3.821.0" + "@aws-sdk/credential-provider-http" "3.821.0" + "@aws-sdk/credential-provider-ini" "3.821.0" + "@aws-sdk/credential-provider-process" "3.821.0" + "@aws-sdk/credential-provider-sso" "3.821.0" + "@aws-sdk/credential-provider-web-identity" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-process@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.816.0.tgz#8fa3694b8d17d4e446de038e74d5a177d25d86f0" - integrity sha512-9Tm+AxMoV2Izvl5b9tyMQRbBwaex8JP06HN7ZeCXgC5sAsSN+o8dsThnEhf8jKN+uBpT6CLWKN1TXuUMrAmW1A== +"@aws-sdk/credential-provider-process@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.821.0.tgz#01604b80243c5462cd4d99ffeb77e27b75a70580" + integrity sha512-e18ucfqKB3ICNj5RP/FEdvUfhVK6E9MALOsl8pKP13mwegug46p/1BsZWACD5n+Zf9ViiiHxIO7td03zQixfwA== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/property-provider" "^4.0.2" - "@smithy/shared-ini-file-loader" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-sso@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.817.0.tgz#e23361a57f6aa72417847d568d7fb807a3c7ebfc" - integrity sha512-gFUAW3VmGvdnueK1bh6TOcRX+j99Xm0men1+gz3cA4RE+rZGNy1Qjj8YHlv0hPwI9OnTPZquvPzA5fkviGREWg== +"@aws-sdk/credential-provider-sso@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.821.0.tgz#457b8e11ed7b8e7272049db1f522f45a80c73ee4" + integrity sha512-Dt+pheBLom4O/egO4L75/72k9C1qtUOLl0F0h6lmqZe4Mvhz+wDtjoO/MdGC/P1q0kcIX/bBKr0NQ3cIvAH8pA== dependencies: - "@aws-sdk/client-sso" "3.817.0" - "@aws-sdk/core" "3.816.0" - "@aws-sdk/token-providers" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@smithy/property-provider" "^4.0.2" - "@smithy/shared-ini-file-loader" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/client-sso" "3.821.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/token-providers" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/credential-provider-web-identity@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.817.0.tgz#7d3c9c5af5a5d17ea877feda57b92ba075df64a8" - integrity sha512-A2kgkS9g6NY0OMT2f2EdXHpL17Ym81NhbGnQ8bRXPqESIi7TFypFD2U6osB2VnsFv+MhwM+Ke4PKXSmLun22/A== +"@aws-sdk/credential-provider-web-identity@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.821.0.tgz#44d16c1f0c2bc3d69ef479f7ed3f9ce04e849f73" + integrity sha512-FF5wnRJkxSQaCVVvWNv53K1MhTMgH8d+O+MHTbkv51gVIgVATrtfFQMKBLcEAxzXrgAliIO3LiNv+1TqqBZ+BA== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/nested-clients" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@smithy/property-provider" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/crt-loader@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/crt-loader/-/crt-loader-3.816.0.tgz#d8efa42f580a9452eecaa0c68bd458870ea35abb" - integrity sha512-AbcGJdyPr1gWYaWXScTGdQUVVE2MwMCxIPfLQCexGXlh6pkkaW2g36SktyJv6LJ0Fb2d30+A17oyK6R9jmDp2A== +"@aws-sdk/crt-loader@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/crt-loader/-/crt-loader-3.821.0.tgz#51173425ef83c07ce54350492c1a961aab9f79d2" + integrity sha512-msYDGNc9+aw+DTKI2H00i19GSiqleA/Kj9JoZHt0BhSMF/KrMkZWUFg3hlr9WzgBDZzLAA/znYa1PC1VOY1tuw== dependencies: - "@aws-sdk/util-user-agent-node" "3.816.0" + "@aws-sdk/util-user-agent-node" "3.821.0" aws-crt "^1.24.0" tslib "^2.6.2" -"@aws-sdk/lib-storage@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/lib-storage/-/lib-storage-3.817.0.tgz#579f330a22175ccc7aa1366fcfb2432001028680" - integrity sha512-2zOO8+2EmiS049PjLSNdqmmZMQj7fzE1hZJ70A94vO+KNaVhVZYuMOOiOmwMw6ePkTCcFwK40vZIIXwEQQ1v1g== +"@aws-sdk/lib-storage@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/lib-storage/-/lib-storage-3.821.0.tgz#766d27ef5f03ac750e52d4f5eed1128a49418a11" + integrity sha512-79N58EjrNOFbbegxJoeR1d9TH3MTV8gfpob5gIpXnZWl27gSJYPaD5K7vNS1wbwFEnIWMp9esRO3TtEMb/UAPg== dependencies: - "@smithy/abort-controller" "^4.0.2" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/smithy-client" "^4.2.6" + "@smithy/abort-controller" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/smithy-client" "^4.4.1" buffer "5.6.0" events "3.3.0" stream-browserify "3.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-bucket-endpoint@3.808.0": - version "3.808.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.808.0.tgz#f34e18328f37ef8e99379b9603129d09cad92521" - integrity sha512-wEPlNcs8dir9lXbuviEGtSzYSxG/NRKQrJk5ybOc7OpPGHovsN+QhDOdY3lcjOFdwMTiMIG9foUkPz3zBpLB1A== +"@aws-sdk/middleware-bucket-endpoint@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.821.0.tgz#2d7658e5b20a7712624ea33fa579a6be0339028b" + integrity sha512-cebgeytKlWOgGczLo3BPvNY9XlzAzGZQANSysgJ2/8PSldmUpXRIF+GKPXDVhXeInWYHIfB8zZi3RqrPoXcNYQ== dependencies: - "@aws-sdk/types" "3.804.0" + "@aws-sdk/types" "3.821.0" "@aws-sdk/util-arn-parser" "3.804.0" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" "@smithy/util-config-provider" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-expect-continue@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.804.0.tgz#3f9982a7100d186a2830b0c3723275e0734de6ae" - integrity sha512-YW1hySBolALMII6C8y7Z0CRG2UX1dGJjLEBNFeefhO/xP7ZuE1dvnmfJGaEuBMnvc3wkRS63VZ3aqX6sevM1CA== +"@aws-sdk/middleware-expect-continue@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.821.0.tgz#de4e8f5ca3727dd2dd802685aa3342ceb4e662e3" + integrity sha512-zAOoSZKe1njOrtynvK6ZORU57YGv5I7KP4+rwOvUN3ZhJbQ7QPf8gKtFUCYAPRMegaXCKF/ADPtDZBAmM+zZ9g== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-flexible-checksums@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.816.0.tgz#f9d761043734e0e6caa6cbcd4c63203a16633e6c" - integrity sha512-kftcwDxB/VoCBsUiRgkm5CIuKbTfCN1WLPbis9LRwX3kQhKgGVxG2gG78SHk4TBB0qviWVAd/t+i/KaUgwiAcA== +"@aws-sdk/middleware-flexible-checksums@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.821.0.tgz#06762058f9e1d31955b4b099c2253547b6604e7b" + integrity sha512-C56sBHXq1fEsLfIAup+w/7SKtb6d8Mb3YBec94r2ludVn1s3ypYWRovFE/6VhUzvwUbTQaxfrA2ewy5GQ1/DJQ== dependencies: "@aws-crypto/crc32" "5.2.0" "@aws-crypto/crc32c" "5.2.0" "@aws-crypto/util" "5.2.0" - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" "@smithy/is-array-buffer" "^4.0.0" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" - "@smithy/util-middleware" "^4.0.2" - "@smithy/util-stream" "^4.2.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-host-header@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.804.0.tgz#e4c2180cfc75f19c697974383324509fa104d7a3" - integrity sha512-bum1hLVBrn2lJCi423Z2fMUYtsbkGI2s4N+2RI2WSjvbaVyMSv/WcejIrjkqiiMR+2Y7m5exgoKeg4/TODLDPQ== +"@aws-sdk/middleware-host-header@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.821.0.tgz#1dfda8da4e0f9499648dab9a989d10706e289cc7" + integrity sha512-xSMR+sopSeWGx5/4pAGhhfMvGBHioVBbqGvDs6pG64xfNwM5vq5s5v6D04e2i+uSTj4qGa71dLUs5I0UzAK3sw== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-location-constraint@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.804.0.tgz#512104f4648186fc88a62356c069e4a8f77b3e02" - integrity sha512-AMtKnllIWKgoo7hiJfphLYotEwTERfjVMO2+cKAncz9w1g+bnYhHxiVhJJoR94y047c06X4PU5MsTxvdQ73Znw== +"@aws-sdk/middleware-location-constraint@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.821.0.tgz#9a5b52f8874f48274e89329aa3d45a55340d267e" + integrity sha512-sKrm80k0t3R0on8aA/WhWFoMaAl4yvdk+riotmMElLUpcMcRXAd1+600uFVrxJqZdbrKQ0mjX0PjT68DlkYXLg== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-logger@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.804.0.tgz#9b7860d0193ec8647a1102aa6ffad070e3260513" - integrity sha512-w/qLwL3iq0KOPQNat0Kb7sKndl9BtceigINwBU7SpkYWX9L/Lem6f8NPEKrC9Tl4wDBht3Yztub4oRTy/horJA== +"@aws-sdk/middleware-logger@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.821.0.tgz#87067907a25cdc6c155d3a35fe32e399c1ef87e6" + integrity sha512-0cvI0ipf2tGx7fXYEEN5fBeZDz2RnHyb9xftSgUsEq7NBxjV0yTZfLJw6Za5rjE6snC80dRN8+bTNR1tuG89zA== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-recursion-detection@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.804.0.tgz#797bbe72c765e83a1d4c259db9799b77831e1fbb" - integrity sha512-zqHOrvLRdsUdN/ehYfZ9Tf8svhbiLLz5VaWUz22YndFv6m9qaAcijkpAOlKexsv3nLBMJdSdJ6GUTAeIy3BZzw== +"@aws-sdk/middleware-recursion-detection@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.821.0.tgz#bc34b08efc1e1af7b14a58023a79bfb75a0b64fa" + integrity sha512-efmaifbhBoqKG3bAoEfDdcM8hn1psF+4qa7ykWuYmfmah59JBeqHLfz5W9m9JoTwoKPkFcVLWZxnyZzAnVBOIg== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-sdk-s3@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.816.0.tgz#29a99d6a9b3f0eb2c82a3e3b96bcea842b120077" - integrity sha512-jJ+EAXM7gnOwiCM6rrl4AUNY5urmtIsX7roTkxtb4DevJxcS+wFYRRg3/j33fQbuxQZrvk21HqxyZYx5UH70PA== +"@aws-sdk/middleware-sdk-s3@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.821.0.tgz#926c8272ccaf7087fa7e6b813d3fed209404ccee" + integrity sha512-D469De1d4NtcCTVHzUL2Q0tGvPFr7mk2j4+oCYpVyd5awSSOyl8Adkxse8qayZj9ROmuMlsoU5VhBvcc9Hoo2w== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" "@aws-sdk/util-arn-parser" "3.804.0" - "@smithy/core" "^3.3.3" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/protocol-http" "^5.1.0" - "@smithy/signature-v4" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" + "@smithy/core" "^3.5.1" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" "@smithy/util-config-provider" "^4.0.0" - "@smithy/util-middleware" "^4.0.2" - "@smithy/util-stream" "^4.2.0" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/middleware-ssec@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.804.0.tgz#4b586d7f9ce03907e6b3968d31ec1cad877d7f53" - integrity sha512-Tk8jK0gOIUBvEPTz/wwSlP1V70zVQ3QYqsLPAjQRMO6zfOK9ax31dln3MgKvFDJxBydS2tS3wsn53v+brxDxTA== +"@aws-sdk/middleware-ssec@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.821.0.tgz#4d4c2ba22e5bbf5ac618a1f679cbe256eaaf3d35" + integrity sha512-YYi1Hhr2AYiU/24cQc8HIB+SWbQo6FBkMYojVuz/zgrtkFmALxENGF/21OPg7f/QWd+eadZJRxCjmRwh5F2Cxg== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/middleware-user-agent@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.816.0.tgz#6eb00bbcb44304ff9df53dbb53dc072638831760" - integrity sha512-bHRSlWZ0xDsFR8E2FwDb//0Ff6wMkVx4O+UKsfyNlAbtqCiiHRt5ANNfKPafr95cN2CCxLxiPvFTFVblQM5TsQ== +"@aws-sdk/middleware-user-agent@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.821.0.tgz#bfe6a86cc16e14c4595931bd8894d2569f1e1dac" + integrity sha512-rw8q3TxygMg3VrofN04QyWVCCyGwz3bVthYmBZZseENPWG3Krz1OCKcyqjkTcAxMQlEywOske+GIiOasGKnJ3w== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-endpoints" "3.808.0" - "@smithy/core" "^3.3.3" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@smithy/core" "^3.5.1" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/nested-clients@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/nested-clients/-/nested-clients-3.817.0.tgz#4df7ff486cb918fa567bd29581452eeac7c05055" - integrity sha512-vQ2E06A48STJFssueJQgxYD8lh1iGJoLJnHdshRDWOQb8gy1wVQR+a7MkPGhGR6lGoS0SCnF/Qp6CZhnwLsqsQ== +"@aws-sdk/nested-clients@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/nested-clients/-/nested-clients-3.821.0.tgz#d979debfa401b4fc0b454c469e6c548b541d3cc8" + integrity sha512-2IuHcUsWw44ftSEDYU4dvktTEqgyDvkOcfpoGC/UmT4Qo6TVCP3U5tWEGpNK9nN+7nLvekruxxG/jaMt5/oWVw== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.816.0" - "@aws-sdk/middleware-host-header" "3.804.0" - "@aws-sdk/middleware-logger" "3.804.0" - "@aws-sdk/middleware-recursion-detection" "3.804.0" - "@aws-sdk/middleware-user-agent" "3.816.0" - "@aws-sdk/region-config-resolver" "3.808.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-endpoints" "3.808.0" - "@aws-sdk/util-user-agent-browser" "3.804.0" - "@aws-sdk/util-user-agent-node" "3.816.0" - "@smithy/config-resolver" "^4.1.2" - "@smithy/core" "^3.3.3" - "@smithy/fetch-http-handler" "^5.0.2" - "@smithy/hash-node" "^4.0.2" - "@smithy/invalid-dependency" "^4.0.2" - "@smithy/middleware-content-length" "^4.0.2" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/middleware-retry" "^4.1.7" - "@smithy/middleware-serde" "^4.0.5" - "@smithy/middleware-stack" "^4.0.2" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/node-http-handler" "^4.0.4" - "@smithy/protocol-http" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" - "@smithy/url-parser" "^4.0.2" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" "@smithy/util-base64" "^4.0.0" "@smithy/util-body-length-browser" "^4.0.0" "@smithy/util-body-length-node" "^4.0.0" - "@smithy/util-defaults-mode-browser" "^4.0.14" - "@smithy/util-defaults-mode-node" "^4.0.14" - "@smithy/util-endpoints" "^3.0.4" - "@smithy/util-middleware" "^4.0.2" - "@smithy/util-retry" "^4.0.3" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/region-config-resolver@3.808.0": - version "3.808.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.808.0.tgz#76b037215c39b01361b9c34b7205f0b52513607c" - integrity sha512-9x2QWfphkARZY5OGkl9dJxZlSlYM2l5inFeo2bKntGuwg4A4YUe5h7d5yJ6sZbam9h43eBrkOdumx03DAkQF9A== +"@aws-sdk/region-config-resolver@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.821.0.tgz#2f1cd54ca140cbdc821a604d8b20444f9b0b77cf" + integrity sha512-t8og+lRCIIy5nlId0bScNpCkif8sc0LhmtaKsbm0ZPm3sCa/WhCbSZibjbZ28FNjVCV+p0D9RYZx0VDDbtWyjw== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" "@smithy/util-config-provider" "^4.0.0" - "@smithy/util-middleware" "^4.0.2" + "@smithy/util-middleware" "^4.0.4" tslib "^2.6.2" -"@aws-sdk/s3-presigned-post@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-presigned-post/-/s3-presigned-post-3.817.0.tgz#bb57d63562c7c91f566351b3f95173db61aa1311" - integrity sha512-VovOA3joqJhHIYyV74nEOO0xXXfB9kLVfy15KVjkHX2QlZnKVdpeyrthAd2m2rog430B6PhRp8N3jDv5Z+/fQg== +"@aws-sdk/s3-presigned-post@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-presigned-post/-/s3-presigned-post-3.821.0.tgz#9446ebc384131c9fac429f6cdc1ce7b71e47c2f9" + integrity sha512-hd+1JleVjWB296gV9Ael02gXdGfihqP49XiE13KHP5Y9ficVUiHbE2kLn6XVfGOv9DfzbtvQBjyuBuqo3qrmKA== dependencies: - "@aws-sdk/client-s3" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-format-url" "3.804.0" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/signature-v4" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/client-s3" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-format-url" "3.821.0" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/signature-v4" "^5.1.2" + "@smithy/types" "^4.3.1" "@smithy/util-hex-encoding" "^4.0.0" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@aws-sdk/s3-request-presigner@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.817.0.tgz#214d4058844342dfd9246fa01046d22f04996fcb" - integrity sha512-FMV0YefefGwPqIbGcHdkkHaiVWKIZoI0wOhYhYDZI129aUD5+CEOtTi7KFp1iJjAK+Cx9bW5tAYc+e9shaWEyQ== +"@aws-sdk/s3-request-presigner@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.821.0.tgz#f77808df5f99523ce88f304485b9704d09d596f2" + integrity sha512-VLM0pWQxEBf80uKirU4B1hQz3ZYX5OaPFrRSciUkkKYdqPFrnjQ7NyIQRjF1MVmXwsKgBxJVWl+p0BKcsHR+rQ== dependencies: - "@aws-sdk/signature-v4-multi-region" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@aws-sdk/util-format-url" "3.804.0" - "@smithy/middleware-endpoint" "^4.1.6" - "@smithy/protocol-http" "^5.1.0" - "@smithy/smithy-client" "^4.2.6" - "@smithy/types" "^4.2.0" + "@aws-sdk/signature-v4-multi-region" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-format-url" "3.821.0" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/signature-v4-crt@^3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-crt/-/signature-v4-crt-3.816.0.tgz#918f10b213a856fdccc00a67d07cbb07fb77a2b4" - integrity sha512-xMVo3Tty9YhExlhOM9n4Yu46Vj5w/D/Diisa6ndXPRTuO8t3Lw7GCOCJ0Lt1YSGbLB9ZsUMzQgekaCF4khyzYQ== +"@aws-sdk/signature-v4-crt@^3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-crt/-/signature-v4-crt-3.821.0.tgz#73b2dbc051bfcf8bfc94f5b38f7ffdac7ef8261f" + integrity sha512-okNttTdEajDTx/nqL2gTUPc61s0ene8cBxfcT/4of8r0x0L+SUjebx+M4JhhUiac1ktwdyDN5t93TVSvu8Ergw== dependencies: - "@aws-sdk/crt-loader" "3.816.0" - "@aws-sdk/signature-v4-multi-region" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/querystring-parser" "^4.0.2" - "@smithy/signature-v4" "^5.1.0" - "@smithy/types" "^4.2.0" - "@smithy/util-middleware" "^4.0.2" + "@aws-sdk/crt-loader" "3.821.0" + "@aws-sdk/signature-v4-multi-region" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/querystring-parser" "^4.0.4" + "@smithy/signature-v4" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" tslib "^2.6.2" -"@aws-sdk/signature-v4-multi-region@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.816.0.tgz#76670e7adc3309e3e50bc4360805c2b5142f9399" - integrity sha512-idcr9NW86sSIXASSej3423Selu6fxlhhJJtMgpAqoCH/HJh1eQrONJwNKuI9huiruPE8+02pwxuePvLW46X2mw== +"@aws-sdk/signature-v4-multi-region@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.821.0.tgz#703acb5611454a5fa034501fe1f658dd66da6b71" + integrity sha512-UjfyVR/PB/TP9qe1x6tv7qLlD8/0eiSLDkkBUgBmddkkX0l17oy9c2SJINuV3jy1fbx6KORZ6gyvRZ2nb8dtMw== dependencies: - "@aws-sdk/middleware-sdk-s3" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/protocol-http" "^5.1.0" - "@smithy/signature-v4" "^5.1.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/middleware-sdk-s3" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/token-providers@3.817.0": - version "3.817.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.817.0.tgz#138a0b4aac9ddbd16c7244a8a0618334804572c1" - integrity sha512-CYN4/UO0VaqyHf46ogZzNrVX7jI3/CfiuktwKlwtpKA6hjf2+ivfgHSKzPpgPBcSEfiibA/26EeLuMnB6cpSrQ== +"@aws-sdk/token-providers@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.821.0.tgz#38e515f1c4ce7c27f72a4b42b7a0d94f8c3e504d" + integrity sha512-qJ7wgKhdxGbPg718zWXbCYKDuSWZNU3TSw64hPRW6FtbZrIyZxObpiTKC6DKwfsVoZZhHEoP/imGykN1OdOTJA== dependencies: - "@aws-sdk/core" "3.816.0" - "@aws-sdk/nested-clients" "3.817.0" - "@aws-sdk/types" "3.804.0" - "@smithy/property-provider" "^4.0.2" - "@smithy/shared-ini-file-loader" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@aws-sdk/types@3.804.0", "@aws-sdk/types@^3.222.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.804.0.tgz#b70a734fa721450cf8a513cec0c276001a5d154f" - integrity sha512-A9qnsy9zQ8G89vrPPlNG9d1d8QcKRGqJKqwyGgS0dclJpwy6d1EWgQLIolKPl6vcFpLoe6avLOLxr+h8ur5wpg== +"@aws-sdk/types@3.821.0", "@aws-sdk/types@^3.222.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.821.0.tgz#edfd4595208e4e9f24f397fbc8cb82e3ec336649" + integrity sha512-Znroqdai1a90TlxGaJ+FK1lwC0fHpo97Xjsp5UKGR5JODYm7f9+/fF17ebO1KdoBr/Rm0UIFiF5VmI8ts9F1eA== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@aws-sdk/util-arn-parser@3.804.0": @@ -613,24 +613,24 @@ dependencies: tslib "^2.6.2" -"@aws-sdk/util-endpoints@3.808.0": - version "3.808.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.808.0.tgz#a3d269c4d5a6536d6387ba3cd66876f5b52ce913" - integrity sha512-N6Lic98uc4ADB7fLWlzx+1uVnq04VgVjngZvwHoujcRg9YDhIg9dUDiTzD5VZv13g1BrPYmvYP1HhsildpGV6w== +"@aws-sdk/util-endpoints@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.821.0.tgz#8883370bc3218e532fb9b7358e23369dc0a77201" + integrity sha512-Uknt/zUZnLE76zaAAPEayOeF5/4IZ2puTFXvcSCWHsi9m3tqbb9UozlnlVqvCZLCRWfQryZQoG2W4XSS3qgk5A== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/types" "^4.2.0" - "@smithy/util-endpoints" "^3.0.4" + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + "@smithy/util-endpoints" "^3.0.6" tslib "^2.6.2" -"@aws-sdk/util-format-url@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.804.0.tgz#47046b636e6044a910ad007fac2d3cd580ae5a3b" - integrity sha512-1nOwSg7B0bj5LFGor0udF/HSdvDuSCxP+NC0IuSOJ5RgJ2AphFo03pLtK2UwArHY5WWZaejAEz5VBND6xxOEhA== +"@aws-sdk/util-format-url@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.821.0.tgz#de0a61d6dc23478724c501b3894b0d13ae775c14" + integrity sha512-h+xqmPToxDrZ0a7rxE1a8Oh4zpWfZe9oiQUphGtfiGFA6j75UiURH5J3MmGHa/G4t15I3iLLbYtUXxvb1i7evg== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/querystring-builder" "^4.0.2" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/querystring-builder" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@aws-sdk/util-locate-window@^3.0.0": @@ -640,25 +640,25 @@ dependencies: tslib "^2.6.2" -"@aws-sdk/util-user-agent-browser@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.804.0.tgz#0312fda0fd34958a1d89e7691c5b1cf41ad5549b" - integrity sha512-KfW6T6nQHHM/vZBBdGn6fMyG/MgX5lq82TDdX4HRQRRuHKLgBWGpKXqqvBwqIaCdXwWHgDrg2VQups6GqOWW2A== +"@aws-sdk/util-user-agent-browser@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.821.0.tgz#32962fd3ae20986da128944b88a231508e017f5b" + integrity sha512-irWZHyM0Jr1xhC+38OuZ7JB6OXMLPZlj48thElpsO1ZSLRkLZx5+I7VV6k3sp2yZ7BYbKz/G2ojSv4wdm7XTLw== dependencies: - "@aws-sdk/types" "3.804.0" - "@smithy/types" "^4.2.0" + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" bowser "^2.11.0" tslib "^2.6.2" -"@aws-sdk/util-user-agent-node@3.816.0": - version "3.816.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.816.0.tgz#c752f9bc37a973f82841c84b864e362f8ad28f68" - integrity sha512-Q6dxmuj4hL7pudhrneWEQ7yVHIQRBFr0wqKLF1opwOi1cIePuoEbPyJ2jkel6PDEv1YMfvsAKaRshp6eNA8VHg== +"@aws-sdk/util-user-agent-node@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.821.0.tgz#7b2cda0bfbd8d47bcd7b0a09ecc6af316e7e0ca1" + integrity sha512-YwMXc9EvuzJgnLBTyiQly2juPujXwDgcMHB0iSN92tHe7Dd1jJ1feBmTgdClaaqCeHFUaFpw+3JU/ZUJ6LjR+A== dependencies: - "@aws-sdk/middleware-user-agent" "3.816.0" - "@aws-sdk/types" "3.804.0" - "@smithy/node-config-provider" "^4.1.1" - "@smithy/types" "^4.2.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@aws-sdk/util-utf8-browser@^3.259.0": @@ -668,12 +668,12 @@ dependencies: tslib "^2.3.1" -"@aws-sdk/xml-builder@3.804.0": - version "3.804.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.804.0.tgz#8a1708b5cda5006e5a7f902542a3d9cd75052add" - integrity sha512-JbGWp36IG9dgxtvC6+YXwt5WDZYfuamWFtVfK6fQpnmL96dx+GUPOXPKRWdw67WLKf2comHY28iX2d3z35I53Q== +"@aws-sdk/xml-builder@3.821.0": + version "3.821.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.821.0.tgz#ff89bf1276fca41276ed508b9c8ae21978d91177" + integrity sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@babel/cli@^7.27.2": @@ -4378,12 +4378,12 @@ dependencies: "@sinonjs/commons" "^2.0.0" -"@smithy/abort-controller@^4.0.2", "@smithy/abort-controller@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-4.0.3.tgz#53a53dabc5a46fec70857acb07653d658c79b916" - integrity sha512-AqXFf6DXnuRBXy4SoK/n1mfgHaKaq36bmkphmD1KO0nHq6xK/g9KHSW4HEsPQUBCGdIEfuJifGHwxFXPIFay9Q== +"@smithy/abort-controller@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-4.0.4.tgz#ab991d521fc78b5c7f24907fcd6803c0f2da51d9" + integrity sha512-gJnEjZMvigPDQWHrW3oPrFhQtkrgqBkyjj3pCIdF3A5M6vsZODG93KNlfJprv6bp4245bdT32fsHK4kkH3KYDA== dependencies: - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@smithy/chunked-blob-reader-native@^4.0.0": @@ -4401,133 +4401,134 @@ dependencies: tslib "^2.6.2" -"@smithy/config-resolver@^4.1.2", "@smithy/config-resolver@^4.1.3": - version "4.1.3" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-4.1.3.tgz#d883b2edaa05594cb7f002b2e1d4c5b495c1be42" - integrity sha512-N5e7ofiyYDmHxnPnqF8L4KtsbSDwyxFRfDK9bp1d9OyPO4ytRLd0/XxCqi5xVaaqB65v4woW8uey6jND6zxzxQ== +"@smithy/config-resolver@^4.1.4": + version "4.1.4" + resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-4.1.4.tgz#05d8eab8bb8eb73bec90c222fc19ac5608b1384e" + integrity sha512-prmU+rDddxHOH0oNcwemL+SwnzcG65sBF2yXRO7aeXIn/xTlq2pX7JLVbkBnVLowHLg4/OL4+jBmv9hVrVGS+w== dependencies: - "@smithy/node-config-provider" "^4.1.2" - "@smithy/types" "^4.3.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" "@smithy/util-config-provider" "^4.0.0" - "@smithy/util-middleware" "^4.0.3" + "@smithy/util-middleware" "^4.0.4" tslib "^2.6.2" -"@smithy/core@^3.3.3", "@smithy/core@^3.4.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-3.4.0.tgz#e8f4c93d138e68bfc76d43a63429b2b276987d19" - integrity sha512-dDYISQo7k0Ml/rXlFIjkTmTcQze/LxhtIRAEmZ6HJ/EI0inVxVEVnrUXJ7jPx6ZP0GHUhFm40iQcCgS5apXIXA== +"@smithy/core@^3.5.1": + version "3.5.1" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-3.5.1.tgz#12f68b4605b8b374020723989d23464eb55cdd38" + integrity sha512-xSw7bZEFKwOKrm/iv8e2BLt2ur98YZdrRD6nII8ditQeUsY2Q1JmIQ0rpILOhaLKYxxG2ivnoOpokzr9qLyDWA== dependencies: - "@smithy/middleware-serde" "^4.0.6" - "@smithy/protocol-http" "^5.1.1" - "@smithy/types" "^4.3.0" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-base64" "^4.0.0" "@smithy/util-body-length-browser" "^4.0.0" - "@smithy/util-middleware" "^4.0.3" - "@smithy/util-stream" "^4.2.1" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@smithy/credential-provider-imds@^4.0.4", "@smithy/credential-provider-imds@^4.0.5": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.5.tgz#d44989d783300af37b2be2fc4ec29cdb67540c32" - integrity sha512-saEAGwrIlkb9XxX/m5S5hOtzjoJPEK6Qw2f9pYTbIsMPOFyGSXBBTw95WbOyru8A1vIS2jVCCU1Qhz50QWG3IA== +"@smithy/credential-provider-imds@^4.0.6": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.6.tgz#4cfd79a619cdbc9a75fcdc51a1193685f6a8944e" + integrity sha512-hKMWcANhUiNbCJouYkZ9V3+/Qf9pteR1dnwgdyzR09R4ODEYx8BbUysHwRSyex4rZ9zapddZhLFTnT4ZijR4pw== dependencies: - "@smithy/node-config-provider" "^4.1.2" - "@smithy/property-provider" "^4.0.3" - "@smithy/types" "^4.3.0" - "@smithy/url-parser" "^4.0.3" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" tslib "^2.6.2" -"@smithy/eventstream-codec@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-4.0.2.tgz#d4d77699308a3dfeea1b2e87683845f5d8440bdb" - integrity sha512-p+f2kLSK7ZrXVfskU/f5dzksKTewZk8pJLPvER3aFHPt76C2MxD9vNatSfLzzQSQB4FNO96RK4PSXfhD1TTeMQ== +"@smithy/eventstream-codec@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-4.0.4.tgz#35abc26d6829cc61a0d14950857ccc5320bf92d2" + integrity sha512-7XoWfZqWb/QoR/rAU4VSi0mWnO2vu9/ltS6JZ5ZSZv0eovLVfDfu0/AX4ub33RsJTOth3TiFWSHS5YdztvFnig== dependencies: "@aws-crypto/crc32" "5.2.0" - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" "@smithy/util-hex-encoding" "^4.0.0" tslib "^2.6.2" -"@smithy/eventstream-serde-browser@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.0.2.tgz#876f05491373ab217801c47b802601b8c09388d4" - integrity sha512-CepZCDs2xgVUtH7ZZ7oDdZFH8e6Y2zOv8iiX6RhndH69nlojCALSKK+OXwZUgOtUZEUaZ5e1hULVCHYbCn7pug== +"@smithy/eventstream-serde-browser@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.0.4.tgz#0c57cf0b66862106100a796751003733ce3f5273" + integrity sha512-3fb/9SYaYqbpy/z/H3yIi0bYKyAa89y6xPmIqwr2vQiUT2St+avRt8UKwsWt9fEdEasc5d/V+QjrviRaX1JRFA== dependencies: - "@smithy/eventstream-serde-universal" "^4.0.2" - "@smithy/types" "^4.2.0" + "@smithy/eventstream-serde-universal" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/eventstream-serde-config-resolver@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.1.0.tgz#4ab7a2575e9041a2df2179bce64619a4e632e4d3" - integrity sha512-1PI+WPZ5TWXrfj3CIoKyUycYynYJgZjuQo8U+sphneOtjsgrttYybdqESFReQrdWJ+LKt6NEdbYzmmfDBmjX2A== +"@smithy/eventstream-serde-config-resolver@^4.1.2": + version "4.1.2" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.1.2.tgz#4d41c1ecad1a9b1c694f32865a2f0d4b5bc0162d" + integrity sha512-JGtambizrWP50xHgbzZI04IWU7LdI0nh/wGbqH3sJesYToMi2j/DcoElqyOcqEIG/D4tNyxgRuaqBXWE3zOFhQ== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/eventstream-serde-node@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.0.2.tgz#390306ff79edb0c607705f639d8c5a76caad4bf7" - integrity sha512-C5bJ/C6x9ENPMx2cFOirspnF9ZsBVnBMtP6BdPl/qYSuUawdGQ34Lq0dMcf42QTjUZgWGbUIZnz6+zLxJlb9aw== +"@smithy/eventstream-serde-node@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.0.4.tgz#0fbd0ac288f02bf485eb307a14254ea8d8767746" + integrity sha512-RD6UwNZ5zISpOWPuhVgRz60GkSIp0dy1fuZmj4RYmqLVRtejFqQ16WmfYDdoSoAjlp1LX+FnZo+/hkdmyyGZ1w== dependencies: - "@smithy/eventstream-serde-universal" "^4.0.2" - "@smithy/types" "^4.2.0" + "@smithy/eventstream-serde-universal" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/eventstream-serde-universal@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.0.2.tgz#9f45472fc4fe5fe5f7c22c33d90ec6fc0230d0ae" - integrity sha512-St8h9JqzvnbB52FtckiHPN4U/cnXcarMniXRXTKn0r4b4XesZOGiAyUdj1aXbqqn1icSqBlzzUsCl6nPB018ng== +"@smithy/eventstream-serde-universal@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.0.4.tgz#48b2b416dc0f576917c36373efaa4012f7310ab0" + integrity sha512-UeJpOmLGhq1SLox79QWw/0n2PFX+oPRE1ZyRMxPIaFEfCqWaqpB7BU9C8kpPOGEhLF7AwEqfFbtwNxGy4ReENA== dependencies: - "@smithy/eventstream-codec" "^4.0.2" - "@smithy/types" "^4.2.0" + "@smithy/eventstream-codec" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/fetch-http-handler@^5.0.2", "@smithy/fetch-http-handler@^5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.3.tgz#4db3296bbacd6ddfdc9f8b8b2a6fb52d201dace3" - integrity sha512-yBZwavI31roqTndNI7ONHqesfH01JmjJK6L3uUpZAhyAmr86LN5QiPzfyZGIxQmed8VEK2NRSQT3/JX5V1njfQ== +"@smithy/fetch-http-handler@^5.0.4": + version "5.0.4" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.4.tgz#c68601b4676787e049b5d464d5f4b825dbb44013" + integrity sha512-AMtBR5pHppYMVD7z7G+OlHHAcgAN7v0kVKEpHuTO4Gb199Gowh0taYi9oDStFeUhetkeP55JLSVlTW1n9rFtUw== dependencies: - "@smithy/protocol-http" "^5.1.1" - "@smithy/querystring-builder" "^4.0.3" - "@smithy/types" "^4.3.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/querystring-builder" "^4.0.4" + "@smithy/types" "^4.3.1" "@smithy/util-base64" "^4.0.0" tslib "^2.6.2" -"@smithy/hash-blob-browser@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-4.0.2.tgz#c51abe21684803f6eb5e43c4870e2af9e232a5cd" - integrity sha512-3g188Z3DyhtzfBRxpZjU8R9PpOQuYsbNnyStc/ZVS+9nVX1f6XeNOa9IrAh35HwwIZg+XWk8bFVtNINVscBP+g== +"@smithy/hash-blob-browser@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-4.0.4.tgz#34adda037d324123d77032b3ad59c16e6d4949bb" + integrity sha512-WszRiACJiQV3QG6XMV44i5YWlkrlsM5Yxgz4jvsksuu7LDXA6wAtypfPajtNTadzpJy3KyJPoWehYpmZGKUFIQ== dependencies: "@smithy/chunked-blob-reader" "^5.0.0" "@smithy/chunked-blob-reader-native" "^4.0.0" - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/hash-node@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-4.0.2.tgz#a34fe5a33b067d754ca63302b9791778f003e437" - integrity sha512-VnTpYPnRUE7yVhWozFdlxcYknv9UN7CeOqSrMH+V877v4oqtVYuoqhIhtSjmGPvYrYnAkaM61sLMKHvxL138yg== +"@smithy/hash-node@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-4.0.4.tgz#f867cfe6b702ed8893aacd3e097f8ca8ecba579e" + integrity sha512-qnbTPUhCVnCgBp4z4BUJUhOEkVwxiEi1cyFM+Zj6o+aY8OFGxUQleKWq8ltgp3dujuhXojIvJWdoqpm6dVO3lQ== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" "@smithy/util-buffer-from" "^4.0.0" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@smithy/hash-stream-node@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-4.0.2.tgz#c9ee7d85710121268b7b487a7259375c949a3289" - integrity sha512-POWDuTznzbIwlEXEvvXoPMS10y0WKXK790soe57tFRfvf4zBHyzE529HpZMqmDdwG9MfFflnyzndUQ8j78ZdSg== +"@smithy/hash-stream-node@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-4.0.4.tgz#02c023590e09529e940e0a0243d32c02c4e6c645" + integrity sha512-wHo0d8GXyVmpmMh/qOR0R7Y46/G1y6OR8U+bSTB4ppEzRxd1xVAQ9xOE9hOc0bSjhz0ujCPAbfNLkLrpa6cevg== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@smithy/invalid-dependency@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-4.0.2.tgz#e9b1c5e407d795f10a03afba90e37bccdc3e38f7" - integrity sha512-GatB4+2DTpgWPday+mnUkoumP54u/MDM/5u44KF9hIu8jF0uafZtQLcdfIKkIcUNuF/fBojpLEHZS/56JqPeXQ== +"@smithy/invalid-dependency@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-4.0.4.tgz#8c2c539b2f22e857b4652bd2427a3d7a8befd610" + integrity sha512-bNYMi7WKTJHu0gn26wg8OscncTt1t2b8KcsZxvOv56XA6cyXtOAAAaNP7+m45xfppXfOatXF3Sb1MNsLUgVLTw== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@smithy/is-array-buffer@^2.2.0": @@ -4544,180 +4545,180 @@ dependencies: tslib "^2.6.2" -"@smithy/md5-js@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-4.0.2.tgz#ac8f05d2c845fde48d3fde805a04ec21030fd19b" - integrity sha512-Hc0R8EiuVunUewCse2syVgA2AfSRco3LyAv07B/zCOMa+jpXI9ll+Q21Nc6FAlYPcpNcAXqBzMhNs1CD/pP2bA== +"@smithy/md5-js@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-4.0.4.tgz#d7cb70b08c2a4d809d5cb905feab74fc9726a2f2" + integrity sha512-uGLBVqcOwrLvGh/v/jw423yWHq/ofUGK1W31M2TNspLQbUV1Va0F5kTxtirkoHawODAZcjXTSGi7JwbnPcDPJg== dependencies: - "@smithy/types" "^4.2.0" + "@smithy/types" "^4.3.1" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@smithy/middleware-content-length@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-4.0.2.tgz#ff78658e8047ad7038f58478cf8713ee2f6ef647" - integrity sha512-hAfEXm1zU+ELvucxqQ7I8SszwQ4znWMbNv6PLMndN83JJN41EPuS93AIyh2N+gJ6x8QFhzSO6b7q2e6oClDI8A== +"@smithy/middleware-content-length@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-4.0.4.tgz#fad1f125779daf8d5f261dae6dbebba0f60c234b" + integrity sha512-F7gDyfI2BB1Kc+4M6rpuOLne5LOcEknH1n6UQB69qv+HucXBR1rkzXBnQTB2q46sFy1PM/zuSJOB532yc8bg3w== dependencies: - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/middleware-endpoint@^4.1.6", "@smithy/middleware-endpoint@^4.1.7": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.7.tgz#7b15fc81171dc879c9d9c8f5297d4939d0f6a234" - integrity sha512-KDzM7Iajo6K7eIWNNtukykRT4eWwlHjCEsULZUaSfi/SRSBK8BPRqG5FsVfp58lUxcvre8GT8AIPIqndA0ERKw== +"@smithy/middleware-endpoint@^4.1.9": + version "4.1.9" + resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.9.tgz#217020b4c29605e73b953da47202aa1f30c28fdf" + integrity sha512-AjDgX4UjORLltD/LZCBQTwjQqEfyrx/GeDTHcYLzIgf87pIT70tMWnN87NQpJru1K4ITirY2htSOxNECZJCBOg== dependencies: - "@smithy/core" "^3.4.0" - "@smithy/middleware-serde" "^4.0.6" - "@smithy/node-config-provider" "^4.1.2" - "@smithy/shared-ini-file-loader" "^4.0.3" - "@smithy/types" "^4.3.0" - "@smithy/url-parser" "^4.0.3" - "@smithy/util-middleware" "^4.0.3" + "@smithy/core" "^3.5.1" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + "@smithy/util-middleware" "^4.0.4" tslib "^2.6.2" -"@smithy/middleware-retry@^4.1.7": - version "4.1.8" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-4.1.8.tgz#1b6123ef5ad4ea9e55d6e4a0d1912c238d019e05" - integrity sha512-e2OtQgFzzlSG0uCjcJmi02QuFSRTrpT11Eh2EcqqDFy7DYriteHZJkkf+4AsxsrGDugAtPFcWBz1aq06sSX5fQ== +"@smithy/middleware-retry@^4.1.10": + version "4.1.10" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-4.1.10.tgz#f3b8442b29c8bbd5ec2fdf1b033e443ff7b3bdbc" + integrity sha512-RyhcA3sZIIvAo6r48b2Nx2qfg0OnyohlaV0fw415xrQyx5HQ2bvHl9vs/WBiDXIP49mCfws5wX4308c9Pi/isw== dependencies: - "@smithy/node-config-provider" "^4.1.2" - "@smithy/protocol-http" "^5.1.1" - "@smithy/service-error-classification" "^4.0.4" - "@smithy/smithy-client" "^4.3.0" - "@smithy/types" "^4.3.0" - "@smithy/util-middleware" "^4.0.3" - "@smithy/util-retry" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/service-error-classification" "^4.0.5" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" tslib "^2.6.2" uuid "^9.0.1" -"@smithy/middleware-serde@^4.0.5", "@smithy/middleware-serde@^4.0.6": +"@smithy/middleware-serde@^4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-4.0.8.tgz#3704c8cc46acd0a7f910a78ee1d2f23ce928701f" + integrity sha512-iSSl7HJoJaGyMIoNn2B7czghOVwJ9nD7TMvLhMWeSB5vt0TnEYyRRqPJu/TqW76WScaNvYYB8nRoiBHR9S1Ddw== + dependencies: + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/middleware-stack@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-4.0.4.tgz#58e0c6a0d7678c6ad4d6af8dd9a00f749ffac7c5" + integrity sha512-kagK5ggDrBUCCzI93ft6DjteNSfY8Ulr83UtySog/h09lTIOAJ/xUSObutanlPT0nhoHAkpmW9V5K8oPyLh+QA== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/node-config-provider@^4.1.3": + version "4.1.3" + resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-4.1.3.tgz#6626fe26c6fe7b0df34f71cb72764ccba414a815" + integrity sha512-HGHQr2s59qaU1lrVH6MbLlmOBxadtzTsoO4c+bF5asdgVik3I8o7JIOzoeqWc5MjVa+vD36/LWE0iXKpNqooRw== + dependencies: + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/node-http-handler@^4.0.6": version "4.0.6" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-4.0.6.tgz#76e8523b48f2402ccef97b6764d9cfe35e7df669" - integrity sha512-YECyl7uNII+jCr/9qEmCu8xYL79cU0fqjo0qxpcVIU18dAPHam/iYwcknAu4Jiyw1uN+sAx7/SMf/Kmef/Jjsg== + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-4.0.6.tgz#a022da499ba3af4b6b4c815104fde973c0eccc40" + integrity sha512-NqbmSz7AW2rvw4kXhKGrYTiJVDHnMsFnX4i+/FzcZAfbOBauPYs2ekuECkSbtqaxETLLTu9Rl/ex6+I2BKErPA== dependencies: - "@smithy/protocol-http" "^5.1.1" - "@smithy/types" "^4.3.0" + "@smithy/abort-controller" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/querystring-builder" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/middleware-stack@^4.0.2", "@smithy/middleware-stack@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-4.0.3.tgz#4231f41e05f63d088644bc829b182850f5a9ee59" - integrity sha512-baeV7t4jQfQtFxBADFmnhmqBmqR38dNU5cvEgHcMK/Kp3D3bEI0CouoX2Sr/rGuntR+Eg0IjXdxnGGTc6SbIkw== +"@smithy/property-provider@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-4.0.4.tgz#303a8fd99665fff61eeb6ec3922eee53838962c5" + integrity sha512-qHJ2sSgu4FqF4U/5UUp4DhXNmdTrgmoAai6oQiM+c5RZ/sbDwJ12qxB1M6FnP+Tn/ggkPZf9ccn4jqKSINaquw== dependencies: - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/node-config-provider@^4.1.1", "@smithy/node-config-provider@^4.1.2": - version "4.1.2" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-4.1.2.tgz#6397998db6741ada1f9ee1bf6665190b02d68084" - integrity sha512-SUvNup8iU1v7fmM8XPk+27m36udmGCfSz+VZP5Gb0aJ3Ne0X28K/25gnsrg3X1rWlhcnhzNUUysKW/Ied46ivQ== +"@smithy/protocol-http@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-5.1.2.tgz#8094860c2407f250b80c95899e0385112d6eb98b" + integrity sha512-rOG5cNLBXovxIrICSBm95dLqzfvxjEmuZx4KK3hWwPFHGdW3lxY0fZNXfv2zebfRO7sJZ5pKJYHScsqopeIWtQ== dependencies: - "@smithy/property-provider" "^4.0.3" - "@smithy/shared-ini-file-loader" "^4.0.3" - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/node-http-handler@^4.0.4", "@smithy/node-http-handler@^4.0.5": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-4.0.5.tgz#7d825f35d8e006a2662b7237eb7d369430883140" - integrity sha512-T7QglZC1vS7SPT44/1qSIAQEx5bFKb3LfO6zw/o4Xzt1eC5HNoH1TkS4lMYA9cWFbacUhx4hRl/blLun4EOCkg== +"@smithy/querystring-builder@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-4.0.4.tgz#f7546efd59d457b3d2525a330c6137e5f907864c" + integrity sha512-SwREZcDnEYoh9tLNgMbpop+UTGq44Hl9tdj3rf+yeLcfH7+J8OXEBaMc2kDxtyRHu8BhSg9ADEx0gFHvpJgU8w== dependencies: - "@smithy/abort-controller" "^4.0.3" - "@smithy/protocol-http" "^5.1.1" - "@smithy/querystring-builder" "^4.0.3" - "@smithy/types" "^4.3.0" - tslib "^2.6.2" - -"@smithy/property-provider@^4.0.2", "@smithy/property-provider@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-4.0.3.tgz#cefeb7bc7a8baaeec9f68e82c3164141703a15d5" - integrity sha512-Wcn17QNdawJZcZZPBuMuzyBENVi1AXl4TdE0jvzo4vWX2x5df/oMlmr/9M5XAAC6+yae4kWZlOYIsNsgDrMU9A== - dependencies: - "@smithy/types" "^4.3.0" - tslib "^2.6.2" - -"@smithy/protocol-http@^5.1.0", "@smithy/protocol-http@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-5.1.1.tgz#95d998526cd806b7902b0440c3f25188945a2e2c" - integrity sha512-Vsay2mzq05DwNi9jK01yCFtfvu9HimmgC7a4HTs7lhX12Sx8aWsH0mfz6q/02yspSp+lOB+Q2HJwi4IV2GKz7A== - dependencies: - "@smithy/types" "^4.3.0" - tslib "^2.6.2" - -"@smithy/querystring-builder@^4.0.2", "@smithy/querystring-builder@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-4.0.3.tgz#056a17082e0a0ab10c817380d96321a8bba588fd" - integrity sha512-UUzIWMVfPmDZcOutk2/r1vURZqavvQW0OHvgsyNV0cKupChvqg+/NKPRMaMEe+i8tP96IthMFeZOZWpV+E4RAw== - dependencies: - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" "@smithy/util-uri-escape" "^4.0.0" tslib "^2.6.2" -"@smithy/querystring-parser@^4.0.2", "@smithy/querystring-parser@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-4.0.3.tgz#ac8b26a23b7b9423734620cd025b5963bad764ae" - integrity sha512-K5M4ZJQpFCblOJ5Oyw7diICpFg1qhhR47m2/5Ef1PhGE19RaIZf50tjYFrxa6usqcuXyTiFPGo4d1geZdH4YcQ== - dependencies: - "@smithy/types" "^4.3.0" - tslib "^2.6.2" - -"@smithy/service-error-classification@^4.0.4": +"@smithy/querystring-parser@^4.0.4": version "4.0.4" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-4.0.4.tgz#63aef3b40db39ef7f04f4ffcca8bf4ef57ff5b23" - integrity sha512-W5ScbQ1bTzgH91kNEE2CvOzM4gXlDOqdow4m8vMFSIXCel2scbHwjflpVNnC60Y3F1m5i7w2gQg9lSnR+JsJAA== + resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-4.0.4.tgz#307ab95ee5f1a142ab46c2eddebeae68cb2f703d" + integrity sha512-6yZf53i/qB8gRHH/l2ZwUG5xgkPgQF15/KxH0DdXMDHjesA9MeZje/853ifkSY0x4m5S+dfDZ+c4x439PF0M2w== dependencies: - "@smithy/types" "^4.3.0" - -"@smithy/shared-ini-file-loader@^4.0.2", "@smithy/shared-ini-file-loader@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.3.tgz#23fab0e773630b0817846c52c54b435ac32a4dd0" - integrity sha512-vHwlrqhZGIoLwaH8vvIjpHnloShqdJ7SUPNM2EQtEox+yEDFTVQ7E+DLZ+6OhnYEgFUwPByJyz6UZaOu2tny6A== - dependencies: - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/signature-v4@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-5.1.0.tgz#2c56e5b278482b04383d84ea2c07b7f0a8eb8f63" - integrity sha512-4t5WX60sL3zGJF/CtZsUQTs3UrZEDO2P7pEaElrekbLqkWPYkgqNW1oeiNYC6xXifBnT9dVBOnNQRvOE9riU9w== +"@smithy/service-error-classification@^4.0.5": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-4.0.5.tgz#cd912cdd0510de9369db6a4d34dc36f36de54a59" + integrity sha512-LvcfhrnCBvCmTee81pRlh1F39yTS/+kYleVeLCwNtkY8wtGg8V/ca9rbZZvYIl8OjlMtL6KIjaiL/lgVqHD2nA== + dependencies: + "@smithy/types" "^4.3.1" + +"@smithy/shared-ini-file-loader@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.4.tgz#33c63468b95cfd5e7d642c8131d7acc034025e00" + integrity sha512-63X0260LoFBjrHifPDs+nM9tV0VMkOTl4JRMYNuKh/f5PauSjowTfvF3LogfkWdcPoxsA9UjqEOgjeYIbhb7Nw== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/signature-v4@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-5.1.2.tgz#5afd9d428bd26bb660bee8075b6e89fe93600c22" + integrity sha512-d3+U/VpX7a60seHziWnVZOHuEgJlclufjkS6zhXvxcJgkJq4UWdH5eOBLzHRMx6gXjsdT9h6lfpmLzbrdupHgQ== dependencies: "@smithy/is-array-buffer" "^4.0.0" - "@smithy/protocol-http" "^5.1.0" - "@smithy/types" "^4.2.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" "@smithy/util-hex-encoding" "^4.0.0" - "@smithy/util-middleware" "^4.0.2" + "@smithy/util-middleware" "^4.0.4" "@smithy/util-uri-escape" "^4.0.0" "@smithy/util-utf8" "^4.0.0" tslib "^2.6.2" -"@smithy/smithy-client@^4.2.6", "@smithy/smithy-client@^4.3.0": - version "4.3.0" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-4.3.0.tgz#05d2fa958ffbb9256c777a11b380aeba199295b3" - integrity sha512-DNsRA38pN6tYHUjebmwD9e4KcgqTLldYQb2gC6K+oxXYdCTxPn6wV9+FvOa6wrU2FQEnGJoi+3GULzOTKck/tg== +"@smithy/smithy-client@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-4.4.1.tgz#4725d5339393f3dae37f3934a6d79b9934fbf496" + integrity sha512-XPbcHRfd0iwx8dY5XCBCGyI7uweMW0oezYezxXcG8ANgvZ5YPuC6Ylh+n0bTHpdU3SCMZOnhzgVklYz+p3fIhw== dependencies: - "@smithy/core" "^3.4.0" - "@smithy/middleware-endpoint" "^4.1.7" - "@smithy/middleware-stack" "^4.0.3" - "@smithy/protocol-http" "^5.1.1" - "@smithy/types" "^4.3.0" - "@smithy/util-stream" "^4.2.1" + "@smithy/core" "^3.5.1" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-stream" "^4.2.2" tslib "^2.6.2" -"@smithy/types@^4.2.0", "@smithy/types@^4.3.0": - version "4.3.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-4.3.0.tgz#80a0da5ac907cfe9e97e89814bc7502626451580" - integrity sha512-+1iaIQHthDh9yaLhRzaoQxRk+l9xlk+JjMFxGRhNLz+m9vKOkjNeU8QuB4w3xvzHyVR/BVlp/4AXDHjoRIkfgQ== +"@smithy/types@^4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-4.3.1.tgz#c11276ea16235d798f47a68aef9f44d3dbb70dd4" + integrity sha512-UqKOQBL2x6+HWl3P+3QqFD4ncKq0I8Nuz9QItGv5WuKuMHuuwlhvqcZCoXGfc+P1QmfJE7VieykoYYmrOoFJxA== dependencies: tslib "^2.6.2" -"@smithy/url-parser@^4.0.2", "@smithy/url-parser@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-4.0.3.tgz#ab0920cc98205f438a3064fb85161bc3c50625b4" - integrity sha512-n5/DnosDu/tweOqUUNtUbu7eRIR4J/Wz9nL7V5kFYQQVb8VYdj7a4G5NJHCw6o21ul7CvZoJkOpdTnsQDLT0tQ== +"@smithy/url-parser@^4.0.4": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-4.0.4.tgz#049143f4c156356e177bd69242675db26fe4f4db" + integrity sha512-eMkc144MuN7B0TDA4U2fKs+BqczVbk3W+qIvcoCY6D1JY3hnAdCuhCZODC+GAeaxj0p6Jroz4+XMUn3PCxQQeQ== dependencies: - "@smithy/querystring-parser" "^4.0.3" - "@smithy/types" "^4.3.0" + "@smithy/querystring-parser" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@smithy/util-base64@^4.0.0": @@ -4766,37 +4767,37 @@ dependencies: tslib "^2.6.2" -"@smithy/util-defaults-mode-browser@^4.0.14": - version "4.0.15" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.15.tgz#4a76a59f2af347189bef0f49295004e0156667ac" - integrity sha512-bJJ/B8owQbHAflatSq92f9OcV8858DJBQF1Y3GRjB8psLyUjbISywszYPFw16beREHO/C3I3taW4VGH+tOuwrQ== +"@smithy/util-defaults-mode-browser@^4.0.17": + version "4.0.17" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.17.tgz#9389485ad47119b51e888ea1a4fdfa23c040c4a9" + integrity sha512-HXq5181qnXmIwB7VrwqwP8rsJybHMoYuJnNoXy4PROs2pfSI4sWDMASF2i+7Lo+u64Y6xowhegcdxczowgJtZg== dependencies: - "@smithy/property-provider" "^4.0.3" - "@smithy/smithy-client" "^4.3.0" - "@smithy/types" "^4.3.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" bowser "^2.11.0" tslib "^2.6.2" -"@smithy/util-defaults-mode-node@^4.0.14": - version "4.0.15" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.15.tgz#60383794aa743776db1ac9e24d2e03aefae508d4" - integrity sha512-8CUrEW2Ni5q+NmYkj8wsgkfqoP7l4ZquptFbq92yQE66xevc4SxqP2zH6tMtN158kgBqBDsZ+qlrRwXWOjCR8A== +"@smithy/util-defaults-mode-node@^4.0.17": + version "4.0.17" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.17.tgz#5a5f12ad57e775b7fc227dd6975baa4f51a318f3" + integrity sha512-RfU2A5LjFhEHw4Nwl1GZNitK4AUWu5jGtigAUDoQtfDUvYHpQxcuLw2QGAdKDtKRflIiHSZ8wXBDR36H9R2Ang== dependencies: - "@smithy/config-resolver" "^4.1.3" - "@smithy/credential-provider-imds" "^4.0.5" - "@smithy/node-config-provider" "^4.1.2" - "@smithy/property-provider" "^4.0.3" - "@smithy/smithy-client" "^4.3.0" - "@smithy/types" "^4.3.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/util-endpoints@^3.0.4": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-3.0.5.tgz#92ce03a97c29f60b2e46df161797df88ec262f2d" - integrity sha512-PjDpqLk24/vAl340tmtCA++Q01GRRNH9cwL9qh46NspAX9S+IQVcK+GOzPt0GLJ6KYGyn8uOgo2kvJhiThclJw== +"@smithy/util-endpoints@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-3.0.6.tgz#a24b0801a1b94c0de26ad83da206b9add68117f2" + integrity sha512-YARl3tFL3WgPuLzljRUnrS2ngLiUtkwhQtj8PAL13XZSyUiNLQxwG3fBBq3QXFqGFUXepIN73pINp3y8c2nBmA== dependencies: - "@smithy/node-config-provider" "^4.1.2" - "@smithy/types" "^4.3.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@smithy/util-hex-encoding@^4.0.0": @@ -4806,31 +4807,31 @@ dependencies: tslib "^2.6.2" -"@smithy/util-middleware@^4.0.2", "@smithy/util-middleware@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-4.0.3.tgz#bb4176241ce0df21623a3c402ce55f94903f8161" - integrity sha512-iIsC6qZXxkD7V3BzTw3b1uK8RVC1M8WvwNxK1PKrH9FnxntCd30CSunXjL/8iJBE8Z0J14r2P69njwIpRG4FBQ== - dependencies: - "@smithy/types" "^4.3.0" - tslib "^2.6.2" - -"@smithy/util-retry@^4.0.3", "@smithy/util-retry@^4.0.4": +"@smithy/util-middleware@^4.0.4": version "4.0.4" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-4.0.4.tgz#4e372f83aa83170eb95bc35a60be827555f90208" - integrity sha512-Aoqr9W2jDYGrI6OxljN8VmLDQIGO4VdMAUKMf9RGqLG8hn6or+K41NEy1Y5dtum9q8F7e0obYAuKl2mt/GnpZg== + resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-4.0.4.tgz#8f639de049082c687841ea5e69c6c36e12e31a3c" + integrity sha512-9MLKmkBmf4PRb0ONJikCbCwORACcil6gUWojwARCClT7RmLzF04hUR4WdRprIXal7XVyrddadYNfp2eF3nrvtQ== dependencies: - "@smithy/service-error-classification" "^4.0.4" - "@smithy/types" "^4.3.0" + "@smithy/types" "^4.3.1" tslib "^2.6.2" -"@smithy/util-stream@^4.2.0", "@smithy/util-stream@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-4.2.1.tgz#bc5358c4e1d5027b11411333f3190b7d5c104316" - integrity sha512-W3IR0x5DY6iVtjj5p902oNhD+Bz7vs5S+p6tppbPa509rV9BdeXZjGuRSCtVEad9FA0Mba+tNUtUmtnSI1nwUw== +"@smithy/util-retry@^4.0.5": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-4.0.5.tgz#58eea5bb1869745dac28a3f81a5904f225ec1207" + integrity sha512-V7MSjVDTlEt/plmOFBn1762Dyu5uqMrV2Pl2X0dYk4XvWfdWJNe9Bs5Bzb56wkCuiWjSfClVMGcsuKrGj7S/yg== dependencies: - "@smithy/fetch-http-handler" "^5.0.3" - "@smithy/node-http-handler" "^4.0.5" - "@smithy/types" "^4.3.0" + "@smithy/service-error-classification" "^4.0.5" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-stream@^4.2.2": + version "4.2.2" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-4.2.2.tgz#beeb1edf690db9b7d7983f46ca4fb66e22253608" + integrity sha512-aI+GLi7MJoVxg24/3J1ipwLoYzgkB4kUfogZfnslcYlynj3xsQ0e7vk4TnTro9hhsS5PvX1mwmkRqqHQjwcU7w== + dependencies: + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/types" "^4.3.1" "@smithy/util-base64" "^4.0.0" "@smithy/util-buffer-from" "^4.0.0" "@smithy/util-hex-encoding" "^4.0.0" @@ -4860,13 +4861,13 @@ "@smithy/util-buffer-from" "^4.0.0" tslib "^2.6.2" -"@smithy/util-waiter@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-4.0.3.tgz#ec5605ec123493259ccbf1c0b5c1951b3360f43b" - integrity sha512-JtaY3FxmD+te+KSI2FJuEcfNC9T/DGGVf551babM7fAaXhjJUt7oSYurH1Devxd2+BOSUACCgt3buinx4UnmEA== +"@smithy/util-waiter@^4.0.5": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-4.0.5.tgz#cc7c65c86f5f8330445e27f9cc47d42c53c69bb7" + integrity sha512-4QvC49HTteI1gfemu0I1syWovJgPvGn7CVUoN9ZFkdvr/cCFkrEL7qNCdx/2eICqDWEGnnr68oMdSIPCLAriSQ== dependencies: - "@smithy/abort-controller" "^4.0.2" - "@smithy/types" "^4.2.0" + "@smithy/abort-controller" "^4.0.4" + "@smithy/types" "^4.3.1" tslib "^2.6.2" "@socket.io/component-emitter@~3.1.0": From 16038896b4858a62674a6de3c1d65391ead968cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 22:33:00 -0400 Subject: [PATCH 22/25] chore(deps): bump @bull-board/koa from 6.7.10 to 6.9.6 (#9377) Bumps [@bull-board/koa](https://github.com/felixmosh/bull-board/tree/HEAD/packages/koa) from 6.7.10 to 6.9.6. - [Release notes](https://github.com/felixmosh/bull-board/releases) - [Changelog](https://github.com/felixmosh/bull-board/blob/master/CHANGELOG.md) - [Commits](https://github.com/felixmosh/bull-board/commits/v6.9.6/packages/koa) --- updated-dependencies: - dependency-name: "@bull-board/koa" dependency-version: 6.9.6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 113 +++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 88 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 3afb01da94..98c5723cfa 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@babel/preset-react": "^7.27.1", "@benrbray/prosemirror-math": "^0.2.2", "@bull-board/api": "^6.7.10", - "@bull-board/koa": "^6.7.10", + "@bull-board/koa": "^6.9.6", "@css-inline/css-inline-wasm": "^0.14.3", "@dnd-kit/core": "^6.3.1", "@dnd-kit/modifiers": "^6.0.1", diff --git a/yarn.lock b/yarn.lock index c5660e678e..3a82858008 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1701,34 +1701,34 @@ resolved "https://registry.yarnpkg.com/@braintree/sanitize-url/-/sanitize-url-7.1.0.tgz#048e48aab4f1460e3121e22aa62459d16653dc85" integrity sha512-o+UlMLt49RvtCASlOMW0AkHnabN9wR9rwCCherxO0yG4Npy34GkvrAqdXQvrhNs+jh+gkK8gB8Lf05qL/O7KWg== -"@bull-board/api@6.7.10", "@bull-board/api@^6.7.10": - version "6.7.10" - resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-6.7.10.tgz#61537228200eb6830f7a437e2d389f9f05d202a4" - integrity sha512-FY2k81Pei+fW7UK85mEjV6qGvY7uWn2sB4oNy2K+dsHZQ/sbpXMlcaJZEl+65sEmi9oFF/ush3DvmeSUCWbaCQ== +"@bull-board/api@6.9.6", "@bull-board/api@^6.7.10": + version "6.9.6" + resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-6.9.6.tgz#48985a68b9f67eeb875632f514d616ed78670f98" + integrity sha512-k1h35Q+y5hdf9UoPhp6mLG5+QM9AHP8luyggxEJ+/ZkoSMJ0h45HjHhqbexEAzdgsVN7lncXNLNn6myKwwcjkw== dependencies: - redis-info "^3.0.8" + redis-info "^3.1.0" -"@bull-board/koa@^6.7.10": - version "6.7.10" - resolved "https://registry.yarnpkg.com/@bull-board/koa/-/koa-6.7.10.tgz#93b6a475082e877f05a263341c725e60c8ea1d12" - integrity sha512-065Vsr+Npk5Bh0B29ogOLLjEPCtqEyAnqTZYOMHyc2pvBRGa1G1KoM6lUL/dVdY6bnLQD2hVdPN8Fa7gfa7Gbg== +"@bull-board/koa@^6.9.6": + version "6.9.6" + resolved "https://registry.yarnpkg.com/@bull-board/koa/-/koa-6.9.6.tgz#430ff2eec68804529be0338eea3cd44320c9c26f" + integrity sha512-IZgqcJmeOmmr6qwAEf5AgGJ+oWHqrlrgqnOMaTwimzEgKE+gUs2tVBw1kdAuirYOD3umfznhtv5hCnWrWqEs9g== dependencies: - "@bull-board/api" "6.7.10" - "@bull-board/ui" "6.7.10" + "@bull-board/api" "6.9.6" + "@bull-board/ui" "6.9.6" "@koa/bodyparser" "^5.1.1" "@ladjs/koa-views" "^9.0.0" ejs "^3.1.10" - koa "^2.15.3" - koa-mount "^4.0.0" + koa "^3.0.0" + koa-mount "^4.2.0" koa-router "^13.0.1" koa-static "^5.0.0" -"@bull-board/ui@6.7.10": - version "6.7.10" - resolved "https://registry.yarnpkg.com/@bull-board/ui/-/ui-6.7.10.tgz#66146cd49f28d3c00361f75371879171a6edd7fa" - integrity sha512-FRMCU7t1K0XKxFIiooBG8es0otK3fyW4BwCz5rfMwx7gpkHhYcp2qxI91vqazTWFXdScUpiWdDwCV7pJcRV+Gg== +"@bull-board/ui@6.9.6": + version "6.9.6" + resolved "https://registry.yarnpkg.com/@bull-board/ui/-/ui-6.9.6.tgz#a3c83384c73b54ca564cb275caeee646f0b6417e" + integrity sha512-uRYJ3G4hsodEuhVd7yIl7MSsGNYZNa0nCcivK472ojUV22t4ZB2j2KKew07jBhlhPN5jxzQ5PJh16lOnrWk9vQ== dependencies: - "@bull-board/api" "6.7.10" + "@bull-board/api" "6.9.6" "@bundle-stats/plugin-webpack-filter@4.19.0": version "4.19.0" @@ -7652,6 +7652,11 @@ content-type@^1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity "sha1-4TjMdeBAxyexlm/l5fjJruJW/js= sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" +content-type@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + convert-source-map@^1.6.0: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" @@ -7669,7 +7674,7 @@ cookie@^0.7.0, cookie@~0.7.2: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== -cookies@~0.9.0: +cookies@~0.9.0, cookies@~0.9.1: version "0.9.1" resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.9.1.tgz#3ffed6f60bb4fb5f146feeedba50acc418af67e3" integrity sha512-TG2hpqe4ELx54QER/S3HQ9SRVnQnGBtKUz5bLQWtYAQ+o6GpgMs6sYUvaiJjVxb+UXwhRhAEP3m7LbsIZ77Hmw== @@ -8685,6 +8690,11 @@ encodeurl@^1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" +encodeurl@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" + integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== + encoding-japanese@2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/encoding-japanese/-/encoding-japanese-2.2.0.tgz#0ef2d2351250547f432a2dd155453555c16deb59" @@ -11607,7 +11617,7 @@ koa-logger@^3.2.1: humanize-number "0.0.2" passthrough-counter "^1.0.0" -koa-mount@^4.0.0, koa-mount@^4.2.0: +koa-mount@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/koa-mount/-/koa-mount-4.2.0.tgz#66f4436cac76af3075ac432d503299f7678d5914" integrity sha512-2iHQc7vbA9qLeVq5gKAYh3m5DOMMlMfIKjW/REPAS18Mf63daCJHHVXY9nbu7ivrnYn5PiPC4CE523Tf5qvjeQ== @@ -11665,7 +11675,7 @@ koa-useragent@*, koa-useragent@^4.1.0: dependencies: express-useragent "^1.0.15" -koa@^2.15.3, koa@^2.16.1: +koa@^2.16.1: version "2.16.1" resolved "https://registry.yarnpkg.com/koa/-/koa-2.16.1.tgz#ba1aae04d8319d7dac4a17a0d289d7482501e194" integrity sha512-umfX9d3iuSxTQP4pnzLOz0HKnPg0FaUUIKcye2lOiz3KPu1Y3M3xlz76dISdFPQs37P9eJz1wUpcTS6KDPn9fA== @@ -11694,6 +11704,31 @@ koa@^2.15.3, koa@^2.16.1: type-is "^1.6.16" vary "^1.1.2" +koa@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/koa/-/koa-3.0.0.tgz#42b74a8404bbeab1cfc40b2431f488112f5a4d7f" + integrity sha512-Usyqf1o+XN618R3Jzq4S4YWbKsRtPcGpgyHXD4APdGYQQyqQ59X+Oyc7fXHS2429stzLsBiDjj6zqqYe8kknfw== + dependencies: + accepts "^1.3.5" + cache-content-type "^1.0.0" + content-disposition "~0.5.2" + content-type "^1.0.4" + cookies "~0.9.1" + debug "^4.3.2" + delegates "^1.0.0" + destroy "^1.0.4" + encodeurl "^2.0.0" + escape-html "^1.0.3" + fresh "~0.5.2" + http-assert "^1.3.0" + http-errors "^2.0.0" + koa-compose "^4.1.0" + on-finished "^2.3.0" + parseurl "^1.3.2" + statuses "^2.0.1" + type-is "^2.0.1" + vary "^1.1.2" + koalas@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/koalas/-/koalas-1.0.2.tgz#318433f074235db78fae5661a02a8ca53ee295cd" @@ -12264,6 +12299,11 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" +media-typer@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" + integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== + "memoize-one@>=3.1.1 <6": version "5.1.1" resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.1.1.tgz#047b6e3199b508eaec03504de71229b8eb1d75c0" @@ -12323,6 +12363,11 @@ mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity "sha1-u6vNwChZ9JhzAchW4zh85exDv3A= sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" +mime-db@^1.54.0: + version "1.54.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" + integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== + mime-types@^2.1.12, mime-types@^2.1.18, mime-types@^2.1.35, mime-types@~2.1.24: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" @@ -12330,6 +12375,13 @@ mime-types@^2.1.12, mime-types@^2.1.18, mime-types@^2.1.35, mime-types@~2.1.24: dependencies: mime-db "1.52.0" +mime-types@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" + integrity sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA== + dependencies: + mime-db "^1.54.0" + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" @@ -14045,10 +14097,10 @@ redis-errors@^1.0.0, redis-errors@^1.2.0: resolved "https://registry.yarnpkg.com/redis-errors/-/redis-errors-1.2.0.tgz#eb62d2adb15e4eaf4610c04afe1529384250abad" integrity "sha1-62LSrbFeTq9GEMBK/hUpOEJQq60= sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==" -redis-info@^3.0.8: - version "3.0.8" - resolved "https://registry.yarnpkg.com/redis-info/-/redis-info-3.0.8.tgz#27e696778c100d716324fa68b92cccf390487e02" - integrity "sha1-J+aWd4wQDXFjJPpouSzM85BIfgI= sha512-L7yPuGzRq+gu+ZYl/aO0TDgc4nNcMpDTaTN4P3bBi8ZENp1fk8gvtZQpidrYL5uAJYMIcMN81fgUz28qUpTeVA==" +redis-info@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/redis-info/-/redis-info-3.1.0.tgz#5e349c8720e82d27ac84c73136dce0931e10469a" + integrity sha512-ER4L9Sh/vm63DkIE0bkSjxluQlioBiBgf5w1UuldaW/3vPcecdljVDisZhmnCMvsxHNiARTTDDHGg9cGwTfrKg== dependencies: lodash "^4.17.11" @@ -14980,7 +15032,7 @@ standard-as-callback@^2.1.0: resolved "https://registry.yarnpkg.com/standard-as-callback/-/standard-as-callback-2.1.0.tgz#8953fc05359868a77b5b9739a665c5977bb7df45" integrity "sha1-iVP8BTWYaKd7W5c5pmXFl3u330U= sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" -statuses@2.0.1: +statuses@2.0.1, statuses@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity "sha1-VcsADM8dSHKL0jxoWgY5mM8aG2M= sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" @@ -15675,6 +15727,15 @@ type-is@1.6.18, type-is@^1.6.16, type-is@^1.6.18: media-typer "0.3.0" mime-types "~2.1.24" +type-is@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" + integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== + dependencies: + content-type "^1.0.5" + media-typer "^1.1.0" + mime-types "^3.0.0" + typed-array-buffer@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" From 6a16dc07c154712fbe0ff2cf254a8f8ee97ad4f6 Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:21:29 +0530 Subject: [PATCH 23/25] fix: Set name and id in `Switch` events (#9384) --- app/components/Switch.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Switch.tsx b/app/components/Switch.tsx index d2678636ff..efd5a77b30 100644 --- a/app/components/Switch.tsx +++ b/app/components/Switch.tsx @@ -51,13 +51,13 @@ function Switch( if (onChange) { // Create a synthetic event to maintain compatibility with existing code const syntheticEvent = { - target: { checked: checkedState }, + target: { id: props.id, name: props.name, checked: checkedState }, currentTarget: { checked: checkedState }, } as React.ChangeEvent; onChange(syntheticEvent); } }, - [onChange] + [onChange, props.id, props.name] ); const component = ( From 6660cd67462d3b7725c482deae5229ec6e7fb46e Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Fri, 6 Jun 2025 00:20:00 +0530 Subject: [PATCH 24/25] fix: invalidate stale policy only (#9397) * fix: invalidate stale document policy only * remove collection policy --- app/components/WebsocketProvider.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/app/components/WebsocketProvider.tsx b/app/components/WebsocketProvider.tsx index 7012ff0dc4..9680b49ffd 100644 --- a/app/components/WebsocketProvider.tsx +++ b/app/components/WebsocketProvider.tsx @@ -148,12 +148,6 @@ class WebsocketProvider extends Component { this.socket.on( "entities", action(async (event: WebsocketEntitiesEvent) => { - if (event.invalidatedPolicies) { - event.invalidatedPolicies.forEach((policyId) => { - policies.remove(policyId); - }); - } - if (event.documentIds) { for (const documentDescriptor of event.documentIds) { const documentId = documentDescriptor.id; @@ -169,6 +163,12 @@ class WebsocketProvider extends Component { continue; } + if (event.invalidatedPolicies) { + event.invalidatedPolicies.forEach((policyId) => { + policies.remove(policyId); + }); + } + // otherwise, grab the latest version of the document try { document = await documents.fetch(documentId, { @@ -217,6 +217,12 @@ class WebsocketProvider extends Component { continue; } + if (event.invalidatedPolicies) { + event.invalidatedPolicies.forEach((policyId) => { + policies.remove(policyId); + }); + } + try { await collection?.fetchDocuments({ force: true, From 384186c318f47d1436ffd68eb8be1b7ed0916627 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 6 Jun 2025 18:28:29 -0400 Subject: [PATCH 25/25] fix: Canonical meta tag is incorrect for documents shared to custom domain (#9398) --- server/routes/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/routes/index.ts b/server/routes/index.ts index 09d530f6cf..26fbded27d 100644 --- a/server/routes/index.ts +++ b/server/routes/index.ts @@ -132,6 +132,13 @@ router.get("/embeds/github", renderEmbed); router.get("/embeds/dropbox", renderEmbed); router.get("/embeds/pinterest", renderEmbed); +router.get("/doc/:documentSlug", shareDomains(), async (ctx, next) => { + if (ctx.state?.rootShare) { + return renderShare(ctx, next); + } + return next(); +}); + // catch all for application router.get("*", shareDomains(), async (ctx, next) => { if (ctx.state?.rootShare) {