Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
refactor(backend:files): replace `yauzl` with `zip.js`
johaven76241272c75b
diff --git a/backend/package.json b/backend/package.jsonindex 1175491b..ec8ec6fc 100755--- a/backend/package.json+++ b/backend/package.json@@ -53,6 +53,7 @@"@nestjs/websockets": "^11.1.24","@socket.io/cluster-adapter": "^0.3.0","@socket.io/redis-adapter": "^8.3.0",+ "@zip.js/zip.js": "^2.8.26","bcryptjs": "^3.0.3","class-transformer": "^0.5.1","class-validator": "^0.15.1",@@ -83,14 +84,13 @@"tesseract.js": "^7.0.0","text-to-svg": "^3.1.5","time2fa": "^1.4.2",- "unpdf": "^1.6.2",- "yauzl": "^3.3.2"+ "unpdf": "^1.6.2"},"devDependencies": {"@eslint/js": "^9.18.0","@faker-js/faker": "^10.4.0","@golevelup/ts-vitest": "^4.0.0",- "@nestjs/cli": "^11.0.21",+ "@nestjs/cli": "11.0.21","@nestjs/schematics": "^11.1.0","@nestjs/testing": "^11.1.24","@swc/cli": "^0.8.1",@@ -113,7 +113,6 @@"@types/supertest": "^7.2.0","@types/tar": "^6.1.13","@types/text-to-svg": "^3.1.4",- "@types/yauzl": "^2.10.3","@vitest/coverage-v8": "^4.1.8","chokidar": "^5.0.0","eslint": "^9.39.4",diff --git a/backend/src/applications/files/services/files-manager.service.spec.ts b/backend/src/applications/files/services/files-manager.service.spec.tsindex 6b00aa7a..419a405e 100644--- a/backend/src/applications/files/services/files-manager.service.spec.ts+++ b/backend/src/applications/files/services/files-manager.service.spec.ts@@ -1128,7 +1128,14 @@ describe(FilesManager.name, () => {await service.compress(user, space, dto)- expect(tarSpy).toHaveBeenCalledWith('/data/users/john/tmp/tasks/.task-c-archive.tgz', dto.files, true, undefined, expect.any(Function))+ expect(tarSpy).toHaveBeenCalledWith(+ '/data/users/john/tmp/tasks/.task-c-archive.tgz',+ dto.files,+ true,+ undefined,+ expect.any(Function),+ undefined+ )expect(taskEmitSpy).toHaveBeenCalledWith('startWatch', space, '/tmp/archive.tgz')expect(taskUtils.taskTemporaryPath).toHaveBeenCalledWith(user.tasksPath, 'task-c', '/tmp/archive.tgz')expect(filesUtils.tempFilePath).not.toHaveBeenCalled()@@ -1154,7 +1161,14 @@ describe(FilesManager.name, () => {await expect(service.compress(user, space, dto)).resolves.toBeUndefined()expect(filesLockManager.create).not.toHaveBeenCalled()- expect(tarUtils.createTar).toHaveBeenCalledWith('/data/users/john/tmp/archive-trash.tgz-compress-uuid', dto.files, true, undefined, undefined)+ expect(tarUtils.createTar).toHaveBeenCalledWith(+ '/data/users/john/tmp/archive-trash.tgz-compress-uuid',+ dto.files,+ true,+ undefined,+ undefined,+ undefined+ )expect(filesUtils.moveFiles).toHaveBeenCalledWith('/data/users/john/tmp/archive-trash.tgz-compress-uuid', '/tmp/archive-trash.tgz')expect(emitSpy).toHaveBeenCalledWith('event', { user, space, action: ACTION.ADD, rPath: '/tmp/archive-trash.tgz' })})@@ -1221,10 +1235,31 @@ describe(FilesManager.name, () => {dto.files,false,controller.signal,+ undefined,undefined)expect(filesUtils.removeFiles).toHaveBeenCalledWith('/data/users/john/tmp/archive.tar-compress-uuid')})++ it('should limit an archive to the known remaining quota', async () => {+ vi.mocked(filesUtils.uniqueFilePathFromDir).mockResolvedValueOnce('/data/users/john/files/archive.tar')+ vi.mocked(filesUtils.tempFilePath).mockReturnValueOnce('/data/users/john/tmp/archive.tar-compress-uuid')+ const space = makeSpace({+ realPath: '/data/users/john/files/source.txt',+ storageQuota: 100,+ storageUsage: 40+ })+ const dto = {+ name: 'archive',+ extension: 'tar',+ compressInDirectory: true,+ files: [{ path: '/data/users/john/files/source.txt', name: 'source.txt', rootAlias: null }]+ } as any++ await service.compress(user, space, dto)++ expect(tarUtils.createTar).toHaveBeenCalledWith('/data/users/john/tmp/archive.tar-compress-uuid', dto.files, false, undefined, undefined, 60)+ })})describe('decompress', () => {diff --git a/backend/src/applications/files/services/files-manager.service.ts b/backend/src/applications/files/services/files-manager.service.tsindex a07ada5c..5f1957b6 100644--- a/backend/src/applications/files/services/files-manager.service.ts+++ b/backend/src/applications/files/services/files-manager.service.ts@@ -652,12 +652,14 @@ export class FilesManager {}// dotry {+ const maxArchiveSize = space.storageQuota === null ? undefined : Math.max(0, space.storageQuota - space.storageUsage)await createTar(tmpPath,dto.files.map((entry) => ({ ...entry, path: entry.path! })),dto.extension === TAR_GZ_EXTENSION,signal,- isTaskContext ? this.filesTasksTransfer.createByteProgressHandler(space) : undefined+ isTaskContext ? this.filesTasksTransfer.createByteProgressHandler(space) : undefined,+ maxArchiveSize)await moveFiles(tmpPath, dstPath)} catch (e) {diff --git a/backend/src/applications/files/utils/doc-textify/adapters/excel.ts b/backend/src/applications/files/utils/doc-textify/adapters/excel.tsindex aeb0a89b..17ec1c89 100644--- a/backend/src/applications/files/utils/doc-textify/adapters/excel.ts+++ b/backend/src/applications/files/utils/doc-textify/adapters/excel.ts@@ -1,89 +1,27 @@-import { promisify } from 'node:util'-import sax from 'sax'-import { open as openZip, Options, ZipFile } from 'yauzl'import { DocTextifyOptions } from '../interfaces/doc-textify.interfaces'+import { collectElementText, parseZipXmlEntries } from '../utils/zip-xml'-const openZipAsync: (path: string, options: Options) => Promise<ZipFile> = promisify(openZip)+const SHEET_PATH = /^xl\/worksheets\/sheet\d+\.xml$/+const SHARED_STRINGS_PATH = 'xl/sharedStrings.xml'/*** Parse XLSX files*/export async function parseExcel(filePath: string, options: DocTextifyOptions): Promise<string> {- const sheetRegex = /^xl\/worksheets\/sheet\d+\.xml$/- const sharedPath = 'xl/sharedStrings.xml'const texts: string[] = []let hasSheet = false- // Open the ZIP in lazyEntries mode- const zipFile = await openZipAsync(filePath, { lazyEntries: true })-- return new Promise<string>((resolve, reject) => {- zipFile.readEntry()-- zipFile.on('entry', (entry) => {- const path = entry.fileName-- // Only process sheets and sharedStrings- if (!sheetRegex.test(path) && path !== sharedPath) {- zipFile.readEntry() // <–– call directly, no unused-expression- return- }-- if (sheetRegex.test(path)) {- hasSheet = true- }-- zipFile.openReadStream(entry, (err, readStream) => {- if (err) {- zipFile.close()- return reject(err)- }-- const parser = sax.createStream(true)- let buffer = ''-- parser.on('error', (parseErr) => {- readStream.destroy()- zipFile.close()- reject(parseErr)- })-- parser.on('opentag', (node) => {- if (node.name === 't') buffer = ''- })- parser.on('text', (txt) => {- buffer += txt- })- parser.on('closetag', (name) => {- if (name === 't') {- texts.push(buffer)- }- })-- readStream- .on('error', (streamErr) => {- zipFile.close()- reject(streamErr)- })- .on('end', () => {- zipFile.readEntry()- })- .pipe(parser)- })- })-- zipFile.on('end', () => {- zipFile.close()- // No sheets found → corrupted file- if (!hasSheet) {- return reject(new Error('file seems to be corrupted'))- }- resolve(texts.join(options.newlineDelimiter))- })-- zipFile.on('error', (zipErr) => {- zipFile.close()- reject(zipErr)- })- })+ await parseZipXmlEntries(+ filePath,+ (entryPath) => {+ const isSheet = SHEET_PATH.test(entryPath)+ if (!isSheet && entryPath !== SHARED_STRINGS_PATH) return+ if (isSheet) hasSheet = true+ return true+ },+ (parser) => collectElementText(parser, 't', (text) => texts.push(text))+ )++ if (!hasSheet) throw new Error('file seems to be corrupted')+ return texts.join(options.newlineDelimiter)}diff --git a/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts b/backend/src/applications/files/utils/doc-textify/adapters/open-office.tsindex 125e5823..66dc01cd 100644--- a/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts+++ b/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts@@ -1,111 +1,34 @@-import { promisify } from 'node:util'-import sax from 'sax'-import { Entry, open as openZip, Options, ZipFile } from 'yauzl'import { DocTextifyOptions } from '../interfaces/doc-textify.interfaces'+import { collectElementText, parseZipXmlEntries } from '../utils/zip-xml'-const openZipAsync: (path: string, options: Options) => Promise<ZipFile> = promisify(openZip)+const MAIN_PATH = /^content\.xml$/+const OBJECT_PATH = /^Object \d+\/content\.xml$/+const TEXT_ELEMENTS = ['text:p', 'text:h'] as const/*** Parses ODT/ODS/ODP*/export async function parseOpenOffice(filePath: string, options: DocTextifyOptions): Promise<string> {- // Paths to process: main content and any embedded object content- const mainPath = /^content\.xml$/- const objectPath = /^Object \d+\/content\.xml$/-const texts: string[] = []const notes: string[] = []let hasMain = false- // Open the package as a ZIP in lazyEntries mode- const zipFile = await openZipAsync(filePath, { lazyEntries: true })-- return new Promise<string>((resolve, reject) => {- zipFile.readEntry()-- zipFile.on('entry', (entry: Entry) => {- const path = entry.fileName-- // Only process content.xml or object/.../content.xml- const isMain = mainPath.test(path)- const isObject = objectPath.test(path)- if (!isMain && !isObject) {- zipFile.readEntry()- return- }-- if (isMain) {- hasMain = true- }-- zipFile.openReadStream(entry, (err, readStream) => {- if (err) {- zipFile.close()- return reject(err)- }-- const parser = sax.createStream(true)- let buffer = ''- let reading = false-- parser.on('error', (parseErr) => {- readStream.destroy()- zipFile.close()- reject(parseErr)- })-- parser.on('opentag', (node) => {- // Start buffering when entering a paragraph or header- if (node.name === 'text:p' || node.name === 'text:h') {- reading = true- buffer = ''- }- })-- parser.on('text', (txt) => {- if (reading) {- buffer += txt- }- })-- parser.on('closetag', (name) => {- // On closing a paragraph or header, store the text- if ((name === 'text:p' || name === 'text:h') && reading) {- if (isMain) {- texts.push(buffer)- } else {- notes.push(buffer)- }- reading = false- }- })-- readStream- .on('error', (streamErr) => {- zipFile.close()- reject(streamErr)- })- .on('end', () => {- zipFile.readEntry()- })- .pipe(parser)+ await parseZipXmlEntries(+ filePath,+ (entryPath) => {+ const isMain = MAIN_PATH.test(entryPath)+ if (!isMain && !OBJECT_PATH.test(entryPath)) return+ if (isMain) hasMain = true+ return isMain+ },+ (parser, isMain) => {+ collectElementText(parser, TEXT_ELEMENTS, (text) => {+ const target = isMain ? texts : notes+ target.push(text)})- })-- zipFile.on('end', () => {- zipFile.close()- // Ensure main content was found- if (!hasMain) {- return reject(new Error('file seems to be corrupted'))- }- // Optionally append notes at the end- const all = texts.concat(notes)- resolve(all.join(options.newlineDelimiter))- })+ }+ )- zipFile.on('error', (zipErr) => {- zipFile.close()- reject(zipErr)- })- })+ if (!hasMain) throw new Error('file seems to be corrupted')+ return texts.concat(notes).join(options.newlineDelimiter)}diff --git a/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts b/backend/src/applications/files/utils/doc-textify/adapters/power-point.tsindex bdcde674..59bc433d 100644--- a/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts+++ b/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts@@ -1,118 +1,33 @@-import { promisify } from 'node:util'-import sax from 'sax'-import { Entry, open as openZip, Options, ZipFile } from 'yauzl'import { DocTextifyOptions } from '../interfaces/doc-textify.interfaces'+import { collectElementText, parseZipXmlEntries } from '../utils/zip-xml'-const openZipAsync: (path: string, options: Options) => Promise<ZipFile> = promisify(openZip)+const SLIDE_PATH = /^ppt\/slides\/slide(\d+)\.xml$/+const NOTES_PATH = /^ppt\/notesSlides\/notesSlide(\d+)\.xml$|^ppt\/slides\/notesSlides\/slide(\d+)\.xml$//*** Parses a PPTX file*/export async function parsePowerPoint(filePath: string, options: DocTextifyOptions): Promise<string> {- // Regex to match slide and notes XML, capturing the slide index- const slidesRegex = /^ppt\/slides\/slide(\d+)\.xml$/- const notesRegex = /^ppt\/notesSlides\/notesSlide(\d+)\.xml$|^ppt\/slides\/notesSlides\/slide(\d+)\.xml$/-- // Map of slide index -> array of text fragments- const slideTextMap: Record<number, string[]> = {}+ const slideTextMap = new Map<number, string[]>()let hasSlide = false- // 1. Open the PPTX (ZIP) in lazyEntries mode- const zipFile = await openZipAsync(filePath, { lazyEntries: true })-- return new Promise<string>((resolve, reject) => {- zipFile.readEntry()-- zipFile.on('entry', (entry: Entry) => {- const path = entry.fileName- let match: RegExpExecArray | null-- // Skip if not a slide or a note- const isSlide = slidesRegex.test(path)- const isNote = notesRegex.test(path)- if (!isSlide && !isNote) {- zipFile.readEntry()- return- }-- // Capture the regex match and flag that we've seen a slide- if (isSlide) {- match = slidesRegex.exec(path)!- hasSlide = true- } else {- match = notesRegex.exec(path)!- }-- // parse the slide number from whichever capture is defined- const slideNum = parseInt(match[1] || match[2]!, 10)- if (!slideTextMap[slideNum]) slideTextMap[slideNum] = []-- // 2. Open a read stream for this entry- zipFile.openReadStream(entry, (err, readStream) => {- if (err) {- zipFile.close()- return reject(err)- }-- // 3. SAX parser to extract <a:t> text nodes- const parser = sax.createStream(true)- let buffer = ''-- parser.on('error', (parseErr) => {- readStream.destroy()- zipFile.close()- reject(parseErr)- })-- parser.on('opentag', (node) => {- if (node.name === 'a:t') {- buffer = ''- }- })-- parser.on('text', (txt) => {- buffer += txt- })-- parser.on('closetag', (name) => {- if (name === 'a:t') {- slideTextMap[slideNum].push(buffer)- }- })-- readStream- .on('error', (streamErr) => {- zipFile.close()- reject(streamErr)- })- .on('end', () => {- // Move on to the next entry- zipFile.readEntry()- })- .pipe(parser)- })- })-- zipFile.on('end', () => {- zipFile.close()- // 4. Ensure at least one slide was found- if (!hasSlide) {- return reject(new Error('file seems to be corrupted'))- }-- // 5. Build final output by ascending slide number- const sortedSlides = Object.keys(slideTextMap)- .map((n) => parseInt(n, 10))- .sort((a, b) => a - b)-- const result = sortedSlides.map((num) => slideTextMap[num].join(options.newlineDelimiter)).join(options.newlineDelimiter)-- resolve(result)- })-- zipFile.on('error', (zipErr) => {- zipFile.close()- reject(zipErr)- })- })+ await parseZipXmlEntries(+ filePath,+ (entryPath) => {+ const slideMatch = SLIDE_PATH.exec(entryPath)+ const match = slideMatch ?? NOTES_PATH.exec(entryPath)+ if (!match) return+ if (slideMatch) hasSlide = true+ const slideNumber = Number(match[1] ?? match[2])+ if (!slideTextMap.has(slideNumber)) slideTextMap.set(slideNumber, [])+ return slideNumber+ },+ (parser, slideNumber) => collectElementText(parser, 'a:t', (text) => slideTextMap.get(slideNumber)!.push(text))+ )++ if (!hasSlide) throw new Error('file seems to be corrupted')+ return [...slideTextMap]+ .sort(([firstSlide], [secondSlide]) => firstSlide - secondSlide)+ .map(([, texts]) => texts.join(options.newlineDelimiter))+ .join(options.newlineDelimiter)}diff --git a/backend/src/applications/files/utils/doc-textify/adapters/word.ts b/backend/src/applications/files/utils/doc-textify/adapters/word.tsindex 34fcfb92..679772f8 100644--- a/backend/src/applications/files/utils/doc-textify/adapters/word.ts+++ b/backend/src/applications/files/utils/doc-textify/adapters/word.ts@@ -1,101 +1,28 @@-import { promisify } from 'node:util'-import sax from 'sax'-import { Entry, open as openZip, Options, ZipFile } from 'yauzl'import { DocTextifyOptions } from '../interfaces/doc-textify.interfaces'+import { collectElementText, parseZipXmlEntries } from '../utils/zip-xml'-const openZipAsync: (path: string, options: Options) => Promise<ZipFile> = promisify(openZip)+const MAIN_PATH = /^word\/document(?:\d*)\.xml$/+const FOOTNOTES_PATH = /^word\/footnotes(?:\d*)\.xml$/+const ENDNOTES_PATH = /^word\/endnotes(?:\d*)\.xml$//*** Parses a DOCX file*/export async function parseWord(filePath: string, options: DocTextifyOptions): Promise<string> {- // Patterns for main document, footnotes and endnotes- const mainRegex = /^word\/document(?:\d*)\.xml$/- const footnotesRegex = /^word\/footnotes(?:\d*)\.xml$/- const endnotesRegex = /^word\/endnotes(?:\d*)\.xml$/const texts: string[] = []let hasMain = false- // 1. Open the DOCX (ZIP) in lazyEntries mode- const zipFile = await openZipAsync(filePath, { lazyEntries: true })-- return new Promise<string>((resolve, reject) => {- zipFile.readEntry()-- zipFile.on('entry', (entry: Entry) => {- const path = entry.fileName-- // 2. Only process document, footnotes, endnotes parts- if (!mainRegex.test(path) && !footnotesRegex.test(path) && !endnotesRegex.test(path)) {- zipFile.readEntry()- return- }-- if (mainRegex.test(path)) {- hasMain = true- }-- // 3. Open a read stream for this entry- zipFile.openReadStream(entry, (err, readStream) => {- if (err) {- zipFile.close()- return reject(err)- }-- // 4. SAX parser to extract <w:t> text nodes- const parser = sax.createStream(true)- let buffer = ''-- parser.on('error', (parseErr) => {- readStream.destroy()- zipFile.close()- reject(parseErr)- })-- parser.on('opentag', (node) => {- // Start buffering when encountering a text tag- if (node.name === 'w:t') {- buffer = ''- }- })-- parser.on('text', (txt) => {- buffer += txt- })-- parser.on('closetag', (name) => {- // On closing a text tag, store its content- if (name === 'w:t') {- texts.push(buffer)- }- })-- readStream- .on('error', (streamErr) => {- zipFile.close()- reject(streamErr)- })- .on('end', () => {- // Move on to the next entry- zipFile.readEntry()- })- .pipe(parser)- })- })-- zipFile.on('end', () => {- zipFile.close()- // 5. Ensure at least the main document was found- if (!hasMain) {- return reject(new Error('file seems to be corrupted'))- }- // 6. Return all collected text joined by the delimiter- resolve(texts.join(options.newlineDelimiter))- })-- zipFile.on('error', (zipErr) => {- zipFile.close()- reject(zipErr)- })- })+ await parseZipXmlEntries(+ filePath,+ (entryPath) => {+ const isMain = MAIN_PATH.test(entryPath)+ if (!isMain && !FOOTNOTES_PATH.test(entryPath) && !ENDNOTES_PATH.test(entryPath)) return+ if (isMain) hasMain = true+ return true+ },+ (parser) => collectElementText(parser, 'w:t', (text) => texts.push(text))+ )++ if (!hasMain) throw new Error('file seems to be corrupted')+ return texts.join(options.newlineDelimiter)}diff --git a/backend/src/applications/files/utils/doc-textify/utils/zip-xml.ts b/backend/src/applications/files/utils/doc-textify/utils/zip-xml.tsnew file mode 100644index 00000000..c565bdb7--- /dev/null+++ b/backend/src/applications/files/utils/doc-textify/utils/zip-xml.ts@@ -0,0 +1,65 @@+import { BlobReader, type FileEntry, ZipReader } from '@zip.js/zip.js'+import { openAsBlob } from 'node:fs'+import sax, { type SAXStream } from 'sax'++type EntrySelector<Context> = (entryPath: string) => Context | undefined+type ParserSetup<Context> = (parser: SAXStream, context: Context) => void++export async function parseZipXmlEntries<Context>(+ filePath: string,+ selectEntry: EntrySelector<Context>,+ setupParser: ParserSetup<Context>+): Promise<void> {+ const zipReader = new ZipReader(new BlobReader(await openAsBlob(filePath)), { useWebWorkers: false })++ try {+ for await (const entry of zipReader.getEntriesGenerator()) {+ if (entry.directory) continue+ const context = selectEntry(entry.filename)+ if (context === undefined) continue+ await parseXmlEntry(entry as FileEntry, context, setupParser)+ }+ } finally {+ await zipReader.close()+ }+}++export function collectElementText(parser: SAXStream, elementNames: string | readonly string[], onText: (text: string) => void): void {+ let buffer: string | undefined+ const matches = Array.isArray(elementNames) ? (name: string) => elementNames.includes(name) : (name: string) => name === elementNames++ parser.on('opentag', (node) => {+ if (matches(node.name)) buffer = ''+ })+ parser.on('text', (text) => {+ if (buffer !== undefined) buffer += text+ })+ parser.on('closetag', (name) => {+ if (buffer !== undefined && matches(name)) {+ onText(buffer)+ buffer = undefined+ }+ })+}++async function parseXmlEntry<Context>(entry: FileEntry, context: Context, setupParser: ParserSetup<Context>): Promise<void> {+ const parser = sax.createStream(true)+ let parseError: Error | undefined+ setupParser(parser, context)+ parser.on('error', (error) => {+ parseError = error+ })++ await entry.getData(+ new WritableStream<Uint8Array>({+ write(chunk) {+ parser.write(Buffer.from(chunk.buffer, chunk.byteOffset, chunk.byteLength))+ if (parseError) throw parseError+ },+ close() {+ parser.end()+ if (parseError) throw parseError+ }+ })+ )+}diff --git a/backend/src/applications/files/utils/files.spec.ts b/backend/src/applications/files/utils/files.spec.tsindex ec668777..11d49093 100644--- a/backend/src/applications/files/utils/files.spec.ts+++ b/backend/src/applications/files/utils/files.spec.ts@@ -4,29 +4,42 @@ import os from 'node:os'import path from 'node:path'import { Readable } from 'node:stream'import fse from 'fs-extra'+import type { MockInstance } from 'vitest'import { FileError } from '../models/file-error'-import { FILE_ERROR_MESSAGES } from './errors'-import { isCrossDevice, isPathInside, makeTempDir, tempFilePath, writeFromStream } from './files'+import { FILE_ERROR_MESSAGES, storageQuotaExceededError } from './errors'+import { createSizeLimiter, isCrossDevice, isPathInside, makeTempDir, tempFilePath, writeFromStream } from './files'++describe(createSizeLimiter.name, () => {+ it('rejects the call that makes the cumulative size exceed the limit', () => {+ const checkSize = createSizeLimiter(5, storageQuotaExceededError)++ expect(() => checkSize(3)).not.toThrow()+ expect(() => checkSize(2)).not.toThrow()+ let sizeError: unknown+ try {+ checkSize(1)+ } catch (error) {+ sizeError = error+ }+ expect(sizeError).toMatchObject({+ httpCode: HttpStatus.INSUFFICIENT_STORAGE,+ message: FILE_ERROR_MESSAGES.STORAGE_QUOTA_EXCEEDED,+ name: FileError.name+ })+ })+})describe(isPathInside.name, () => {const basePath = path.join(path.sep, 'tmp', 'output')- it('accepts paths inside the base path', () => {+ it('accepts only paths inside the base path', () => {expect(isPathInside(basePath, path.join(basePath, 'safe', 'file.txt'))).toBe(true)- })-- it('accepts the base path only when explicitly allowed', () => {expect(isPathInside(basePath, basePath)).toBe(false)expect(isPathInside(basePath, basePath, true)).toBe(true)expect(isPathInside(path.parse(basePath).root, path.parse(basePath).root)).toBe(false)+ expect(isPathInside(basePath, path.join(basePath, '..', 'zip-slip-proof.txt'))).toBe(false)+ expect(isPathInside(basePath, path.join(path.sep, 'tmp', 'output-evil', 'file.txt'))).toBe(false)})-- it.each([path.join(basePath, '..', 'zip-slip-proof.txt'), path.join(path.sep, 'tmp', 'output-evil', 'file.txt')])(- 'rejects path "%s"',- (candidatePath) => {- expect(isPathInside(basePath, candidatePath)).toBe(false)- }- )})describe(isCrossDevice.name, () => {@@ -37,7 +50,8 @@ describe(isCrossDevice.name, () => {it('compares the source device with the nearest existing destination parent', async () => {vi.spyOn(fs, 'lstat').mockResolvedValueOnce({ dev: 1 } as any)const statSpy = vi.spyOn(fs, 'stat').mockResolvedValueOnce({ dev: 2 } as any)- vi.spyOn(fse, 'pathExists').mockResolvedValueOnce(false).mockResolvedValueOnce(false).mockResolvedValueOnce(true)+ const pathExistsSpy = vi.spyOn(fse, 'pathExists') as unknown as MockInstance<(path: string) => Promise<boolean>>+ pathExistsSpy.mockResolvedValueOnce(false).mockResolvedValueOnce(false).mockResolvedValueOnce(true)const dstPath = path.join(path.sep, 'missing', 'parent', 'destination.txt')await expect(isCrossDevice('/source.txt', dstPath)).resolves.toBe(true)@@ -57,12 +71,16 @@ describe(writeFromStream.name, () => {await rm(tmpDir, { recursive: true, force: true })})- it('writes a stream matching the max size', async () => {+ it('writes from an offset up to the max size and reports progress', async () => {const filePath = path.join(tmpDir, 'file.txt')+ const onProgress = vi.fn()+ await writeFile(filePath, 'abc')- await writeFromStream(filePath, Readable.from([Buffer.from('abc')]), 0, 3)+ await writeFromStream(filePath, Readable.from([Buffer.from('de'), Buffer.from('f')]), 3, 6, undefined, onProgress)- await expect(readFile(filePath, 'utf8')).resolves.toBe('abc')+ await expect(readFile(filePath, 'utf8')).resolves.toBe('abcdef')+ expect(onProgress).toHaveBeenNthCalledWith(1, 2)+ expect(onProgress).toHaveBeenNthCalledWith(2, 1)})it('rejects a stream exceeding the max size', async () => {@@ -75,15 +93,6 @@ describe(writeFromStream.name, () => {})})- it('accounts for the existing start offset', async () => {- const filePath = path.join(tmpDir, 'file.txt')- await writeFile(filePath, 'abc')-- await writeFromStream(filePath, Readable.from([Buffer.from('de')]), 3, 5)-- await expect(readFile(filePath, 'utf8')).resolves.toBe('abcde')- })-it('aborts a stream when its signal is already aborted', async () => {const filePath = path.join(tmpDir, 'file.txt')const controller = new AbortController()@@ -93,17 +102,6 @@ describe(writeFromStream.name, () => {name: 'AbortError'})})-- it('reports bytes written through the progress callback', async () => {- const filePath = path.join(tmpDir, 'progress.txt')- const onProgress = vi.fn()-- await writeFromStream(filePath, Readable.from([Buffer.from('abc'), Buffer.from('de')]), 0, 5, undefined, onProgress)-- expect(onProgress).toHaveBeenCalledTimes(2)- expect(onProgress).toHaveBeenNthCalledWith(1, 3)- expect(onProgress).toHaveBeenNthCalledWith(2, 2)- })})describe(makeTempDir.name, () => {@@ -129,7 +127,7 @@ describe(makeTempDir.name, () => {})describe(tempFilePath.name, () => {- it('returns distinct paths with the requested parent and prefix', () => {+ it('returns safe distinct paths with the requested parent and prefix', () => {const parentPath = path.join(path.sep, 'tmp', 'user')const firstPath = tempFilePath(parentPath, 'archive-compress-')const secondPath = tempFilePath(parentPath, 'archive-compress-')@@ -137,11 +135,6 @@ describe(tempFilePath.name, () => {expect(firstPath).not.toBe(secondPath)expect(path.dirname(firstPath)).toBe(parentPath)expect(path.basename(firstPath)).toMatch(/^archive-compress-/)- })-- it('keeps paths with traversal prefixes inside the requested parent', () => {- const parentPath = path.join(path.sep, 'tmp', 'user')-expect(path.dirname(tempFilePath(parentPath, path.join('..', 'archive-')))).toBe(parentPath)})})diff --git a/backend/src/applications/files/utils/files.ts b/backend/src/applications/files/utils/files.tsindex 10ce54a1..75f7b376 100644--- a/backend/src/applications/files/utils/files.ts+++ b/backend/src/applications/files/utils/files.ts@@ -214,10 +214,29 @@ export async function checksumFile(filePath: string, alg: string): Promise<strinreturn hash.digest('hex')}-export function createProgressTransform(onProgress: (bytes: number) => void): Transform {+export function createSizeLimiter(maxSize: number, maxSizeError: () => Error = maxFileSizeExceededError): (bytes: number) => void {+ let transferred = 0+ return (bytes: number) => {+ transferred += bytes+ if (transferred > maxSize) throw maxSizeError()+ }+}++export function createProgressTransform(+ onProgress?: (bytes: number) => void,+ maxSize?: number,+ maxSizeError: () => Error = maxFileSizeExceededError+): Transform {+ const checkSize = maxSize === undefined ? undefined : createSizeLimiter(maxSize, maxSizeError)return new Transform({transform(chunk: Buffer, _encoding, callback) {- onProgress(chunk.length)+ try {+ checkSize?.(chunk.length)+ onProgress?.(chunk.length)+ } catch (error) {+ callback(error as Error)+ return+ }callback(null, chunk)}})diff --git a/backend/src/applications/files/utils/tar-file.spec.ts b/backend/src/applications/files/utils/tar-file.spec.tsindex b7052c26..b7143813 100644--- a/backend/src/applications/files/utils/tar-file.spec.ts+++ b/backend/src/applications/files/utils/tar-file.spec.ts@@ -1,9 +1,7 @@import { link, mkdir, mkdtemp, rm, symlink, truncate, writeFile } from 'node:fs/promises'import os from 'node:os'import path from 'node:path'-import { Writable } from 'node:stream'-import { pipeline } from 'node:stream/promises'-import { create, list, type ReadEntry } from 'tar'+import { list, type ReadEntry } from 'tar'import { createTar } from './tar-file'const DEFAULT_TEST_FILE_SIZE = 8 * 1024 * 1024@@ -21,58 +19,59 @@ describe(createTar.name, () => {})afterEach(async () => {- vi.restoreAllMocks()await rm(tmpDir, { recursive: true, force: true })})- it('archives files, directories and symlinks without following link targets', async () => {+ it('archives files and directories', async () => {const directory = path.join(sourceDir, 'docs')- const externalFile = path.join(tmpDir, 'external.txt')await mkdir(directory)await writeFile(path.join(directory, 'file.txt'), 'content')- await writeFile(externalFile, 'external')- await symlink(externalFile, path.join(directory, 'external-link'))await createTar(archivePath, [{ path: directory, name: 'docs' }], false)const archiveEntries = await readArchiveEntries()- expect(archiveEntries.map(({ path }) => path)).toEqual(expect.arrayContaining(['.', 'file.txt', 'external-link']))- expect(archiveEntries.find(({ path }) => path === 'external-link')).toMatchObject({- type: 'SymbolicLink',- linkpath: externalFile- })+ expect(archiveEntries.map(({ path }) => path)).toEqual(expect.arrayContaining(['.', 'file.txt']))+ })++ it('rejects symbolic links and hard links', async () => {+ const linkPath = path.join(sourceDir, 'link')+ const sourceFile = path.join(sourceDir, 'source.txt')+ const linkedFile = path.join(sourceDir, 'linked.txt')+ await symlink('target.txt', linkPath)+ await writeFile(sourceFile, 'content')+ await link(sourceFile, linkedFile)++ await expect(createTar(archivePath, [{ path: linkPath, name: 'link' }], false)).rejects.toThrow(+ `TAR symbolic links are not supported: ${linkPath}`+ )+ await expect(createTar(archivePath, [{ path: sourceFile, name: 'source.txt' }], false)).rejects.toThrow(+ `TAR hard links are not supported: ${sourceFile}`+ )})- it('preserves selected root names and reports output progress', async () => {- const firstFile = path.join(sourceDir, 'first.txt')- const secondFile = path.join(sourceDir, 'second.txt')+ it('uses public root names in a multiple selection and reports progress', async () => {+ const anchoredDirectory = path.join(sourceDir, 'internal-root')+ const otherFile = path.join(sourceDir, 'other.txt')const onProgress = vi.fn()- await writeFile(firstFile, 'first')- await writeFile(secondFile, 'second')+ await mkdir(anchoredDirectory)+ await writeFile(path.join(anchoredDirectory, 'file.txt'), 'content')+ await writeFile(otherFile, 'other')await createTar(archivePath,[- { path: firstFile, name: 'first.txt' },- { path: secondFile, name: 'renamed.txt', rootAlias: 'personal' }+ { path: anchoredDirectory, name: 'documents', rootAlias: 'shared' },+ { path: otherFile, name: 'other.txt' }],false,undefined,onProgress)- expect((await readArchiveEntries()).map(({ path }) => path)).toEqual(['first.txt', 'renamed.txt'])+ expect((await readArchiveEntries()).map(({ path }) => path).sort()).toEqual(['documents', 'documents/file.txt', 'other.txt'])expect(onProgress).toHaveBeenCalled()})- it('passes relative source paths to node-tar in strict mode', async () => {- const sourceFile = path.join(sourceDir, 'file.txt')- await writeFile(sourceFile, 'content')-- await expect(createTar(archivePath, [{ path: sourceFile, name: 'file.txt' }], false)).resolves.toBeUndefined()- expect((await readArchiveEntries()).map(({ path }) => path)).toEqual(['file.txt'])- })-it('filters entries already included in a selected directory', async () => {const directory = path.join(sourceDir, 'docs')const nestedFile = path.join(directory, 'file.txt')@@ -91,27 +90,6 @@ describe(createTar.name, () => {expect((await readArchiveEntries()).map(({ path }) => path)).toEqual(['.', 'file.txt'])})- it('archives hard links as independent files', async () => {- const sourceFile = path.join(sourceDir, 'source.txt')- const linkedFile = path.join(sourceDir, 'linked.txt')- await writeFile(sourceFile, 'content')- await link(sourceFile, linkedFile)-- await createTar(- archivePath,- [- { path: sourceFile, name: 'source.txt' },- { path: linkedFile, name: 'linked.txt' }- ],- false- )-- expect(await readArchiveEntries()).toEqual([- expect.objectContaining({ path: 'source.txt', type: 'File' }),- expect.objectContaining({ path: 'linked.txt', type: 'File' })- ])- })-it('cancels an active file stream with the original reason', async () => {const largeFile = path.join(sourceDir, 'large.bin')const controller = new AbortController()@@ -126,34 +104,21 @@ describe(createTar.name, () => {await expect(tarPromise).rejects.toBe(reason)})- it('detects changes to the node-tar stream API used for cancellation', async () => {+ it('rejects archives exceeding the storage quota', async () => {const sourceFile = path.join(sourceDir, 'file.txt')await writeFile(sourceFile, 'content')- const onWriteEntry = vi.fn((entry) => {- expect(entry.absolute).toBe(sourceFile)- expect(typeof entry.destroy).toBe('function')- })- const archive = create({ cwd: sourceDir, onWriteEntry }, ['file.txt'])-- expect(typeof archive.destroy).toBe('function')- await pipeline(- archive,- new Writable({- write(_chunk, _encoding, callback) {- callback()- }- })- )- expect(onWriteEntry).toHaveBeenCalledOnce()+ await expect(createTar(archivePath, [{ path: sourceFile, name: 'file.txt' }], false, undefined, undefined, 1)).rejects.toThrow(+ 'Storage quota will be exceeded'+ )})- async function readArchiveEntries(): Promise<Pick<ReadEntry, 'linkpath' | 'path' | 'type'>[]> {- const archiveEntries: Pick<ReadEntry, 'linkpath' | 'path' | 'type'>[] = []+ async function readArchiveEntries(): Promise<Pick<ReadEntry, 'path' | 'type'>[]> {+ const archiveEntries: Pick<ReadEntry, 'path' | 'type'>[] = []await list({file: archivePath,onReadEntry: (entry) => {- archiveEntries.push({ linkpath: entry.linkpath, path: entry.path, type: entry.type })+ archiveEntries.push({ path: entry.path, type: entry.type })entry.resume()}})diff --git a/backend/src/applications/files/utils/tar-file.ts b/backend/src/applications/files/utils/tar-file.tsindex 29439fa8..fd37c8bc 100644--- a/backend/src/applications/files/utils/tar-file.ts+++ b/backend/src/applications/files/utils/tar-file.ts@@ -2,9 +2,10 @@ import { createWriteStream } from 'node:fs'import { lstat } from 'node:fs/promises'import path from 'node:path'import { pipeline } from 'node:stream/promises'-import { create, type WriteEntry } from 'tar'+import { create, type Pack, type WriteEntry } from 'tar'import { DEFAULT_HIGH_WATER_MARK } from '../constants/files'-import { createProgressTransform, fileName } from './files'+import { storageQuotaExceededError } from './errors'+import { createProgressTransform, fileName, isPathInside } from './files'export interface TarFileEntry {name: string@@ -23,7 +24,7 @@ function archiveRoots(entries: TarFileEntry[], directoryPaths: Set<string>): Tar.map((entry) => {const realPath = path.resolve(entry.path)const isDirectory = directoryPaths.has(realPath)- const archivePath = isDirectory ? (entries.length === 1 ? '' : fileName(realPath)) : entry.rootAlias ? entry.name : fileName(realPath)+ const archivePath = isDirectory && entries.length === 1 ? '' : entry.rootAlias ? entry.name : fileName(realPath)return { archivePath, realPath }}).sort((a, b) => b.realPath.length - a.realPath.length)@@ -43,19 +44,15 @@ function abortReason(signal?: AbortSignal): Error {return signal?.reason instanceof Error ? signal.reason : new Error('Cancelled')}-function isPathInside(parentPath: string, candidatePath: string): boolean {- const relativePath = path.relative(parentPath, candidatePath)- return relativePath !== '' && !path.isAbsolute(relativePath) && relativePath !== '..' && !relativePath.startsWith(`..${path.sep}`)-}-export async function createTar(outputPath: string,entries: TarFileEntry[],- gzip: boolean,+ compress: boolean,signal?: AbortSignal,- onProgress?: (bytes: number) => void+ onProgress?: (bytes: number) => void,+ maxArchiveSize?: number): Promise<void> {- // Creates a TAR/TGZ archive while node-tar handles recursion, symlinks and file streaming.+ // Creates a TAR/TGZ archive while node-tar handles recursion and file streaming.signal?.throwIfAborted()if (entries.length === 0) {throw new Error('Cannot create a TAR archive without entries')@@ -65,9 +62,10 @@ export async function createTar(const stats = await Promise.all(resolvedPaths.map((entryPath) => lstat(entryPath)))signal?.throwIfAborted()const directoryPaths = new Set(resolvedPaths.filter((_entryPath, index) => stats[index].isDirectory()))+ const selectedDirectoryPaths = [...directoryPaths]const selectedEntries = entries.map((entry, index) => ({ entry, realPath: resolvedPaths[index] }))- .filter(({ realPath }) => !resolvedPaths.some((parentPath) => directoryPaths.has(parentPath) && isPathInside(parentPath, realPath)))+ .filter(({ realPath }) => !selectedDirectoryPaths.some((parentPath) => isPathInside(parentPath, realPath)))const roots = archiveRoots(selectedEntries.map(({ entry }) => entry),directoryPaths@@ -81,17 +79,34 @@ export async function createTar(return relativePath || '.'})let activeEntry: WriteEntry | undefined+ let validationError: Error | undefined++ const rejectEntry = (error: Error): false => {+ if (!validationError) {+ validationError = error+ queueMicrotask(() => archive.destroy(error))+ }+ return false+ }- const archive = create(+ const archive: Pack = create({cwd,- filter: (_entryPath, entry) => {- // Archive hard links as independent files instead of TAR Link entries.- entry.nlink = 1+ filter: (entryPath, entry) => {+ const realPath = path.resolve(cwd, entryPath)+ const entryType = 'type' in entry ? entry.type : undefined+ const isSymbolicLink = 'type' in entry ? entry.type === 'SymbolicLink' : entry.isSymbolicLink()+ const hasMultipleFileLinks = !('type' in entry) && entry.isFile() && entry.nlink > 1+ if (isSymbolicLink) {+ return rejectEntry(new Error(`TAR symbolic links are not supported: ${realPath}`))+ }+ if (entryType === 'Link' || hasMultipleFileLinks) {+ return rejectEntry(new Error(`TAR hard links are not supported: ${realPath}`))+ }return true},follow: false,- gzip: gzip ? { level: 9 } : false,+ gzip: compress ? { level: 9 } : false,jobs: 1,maxReadSize: DEFAULT_HIGH_WATER_MARK,strict: true,@@ -115,15 +130,15 @@ export async function createTar(signal?.addEventListener('abort', onAbort, { once: true })try {const output = createWriteStream(outputPath, { highWaterMark: DEFAULT_HIGH_WATER_MARK })- if (onProgress) {- await pipeline(archive, createProgressTransform(onProgress), output)+ if (onProgress || maxArchiveSize !== undefined) {+ await pipeline(archive, createProgressTransform(onProgress, maxArchiveSize, storageQuotaExceededError), output)} else {await pipeline(archive, output)}signal?.throwIfAborted()} catch (error) {if (signal?.aborted) throw abortReason(signal)- throw error+ throw validationError || error} finally {signal?.removeEventListener('abort', onAbort)activeEntry?.destroy()diff --git a/backend/src/applications/files/utils/untar-file.spec.ts b/backend/src/applications/files/utils/untar-file.spec.tsindex e7eb1b23..85950639 100644--- a/backend/src/applications/files/utils/untar-file.spec.ts+++ b/backend/src/applications/files/utils/untar-file.spec.ts@@ -1,26 +1,14 @@import fs from 'node:fs'-import { access, mkdir, mkdtemp, readlink, rm, symlink, writeFile } from 'node:fs/promises'+import { access, mkdir, mkdtemp, rm, symlink, writeFile } from 'node:fs/promises'import os from 'node:os'import path from 'node:path'import { create } from 'tar'import { checkTarEntry, extractTar, isTarDirectory } from './untar-file'describe(extractTar.name, () => {- const baseOutputDir = path.join(path.sep, 'tmp', 'output')-- it('rejects hard links', () => {- expect(() => checkTarEntry(baseOutputDir, { type: 'Link', path: 'docs/hard-link', linkpath: 'docs/target' })).toThrow(- 'Tar entry "docs/hard-link" is a hard link'- )- })-- it('rejects symbolic links escaping the output directory', () => {- expect(() => checkTarEntry(baseOutputDir, { type: 'SymbolicLink', path: 'docs/latest', linkpath: '../../../outside' })).toThrow(- 'Tar symlink entry "docs/latest" would escape the output directory'- )- })-- it('recognizes regular and GNU dump directories', () => {+ it('classifies directories and rejects link entries', () => {+ expect(() => checkTarEntry({ type: 'Link', path: 'docs/hard-link' })).toThrow('Tar entry "docs/hard-link" is a hard link')+ expect(() => checkTarEntry({ type: 'SymbolicLink', path: 'docs/latest' })).toThrow('Tar entry "docs/latest" is a symbolic link')expect(isTarDirectory('Directory')).toBe(true)expect(isTarDirectory('GNUDumpDir')).toBe(true)expect(isTarDirectory('File')).toBe(false)@@ -45,16 +33,12 @@ describe(extractTar.name, () => {await rm(tmpDir, { recursive: true, force: true })})- it('extracts symbolic links targeting the output directory', async () => {- const onEntry = vi.fn()+ it('rejects symbolic links targeting the output directory', async () => {await symlink('./v2', path.join(sourceDir, 'docs', 'latest'))await createArchive()- await extractTar(archivePath, outputDir, false, undefined, undefined, onEntry)-- await expect(readlink(path.join(outputDir, 'docs', 'latest'))).resolves.toBe('./v2')- expect(onEntry).toHaveBeenCalledWith({ path: 'docs/', isDirectory: true, size: 0 })- expect(onEntry).toHaveBeenCalledWith({ path: 'docs/latest', isDirectory: false, size: 0 })+ await expect(extractTar(archivePath, outputDir, false)).rejects.toThrow('Tar entry "docs/latest" is a symbolic link')+ await expect(access(path.join(outputDir, 'docs', 'latest'))).rejects.toMatchObject({ code: 'ENOENT' })})it('reports decompressed file bytes through the entry transform', async () => {@@ -68,24 +52,6 @@ describe(extractTar.name, () => {expect(onEntry).toHaveBeenCalledWith({ path: 'docs/file.txt', isDirectory: false, size: 3 })})- it('rejects symbolic links escaping the output directory', async () => {- const linkPath = path.join(outputDir, 'docs', 'latest')- await symlink('../../../outside', path.join(sourceDir, 'docs', 'latest'))- await createArchive()-- await expect(extractTar(archivePath, outputDir, false)).rejects.toThrow('Tar symlink entry "docs/latest" would escape the output directory')- await expect(access(linkPath)).rejects.toMatchObject({ code: 'ENOENT' })- })-- it('rejects entries exceeding the extracted size limit', async () => {- await writeFile(path.join(sourceDir, 'docs', 'large.txt'), 'ab')- await createArchive()- const destroySpy = vi.spyOn(fs.ReadStream.prototype, 'destroy')-- await expect(extractTar(archivePath, outputDir, false, 1)).rejects.toThrow('Storage quota will be exceeded')- expect(destroySpy).toHaveBeenCalled()- })-it('aborts TAR.GZ extraction when the extracted size limit is exceeded', async () => {archivePath = path.join(tmpDir, 'archive.tar.gz')await writeFile(path.join(sourceDir, 'docs', 'large.txt'), 'ab')diff --git a/backend/src/applications/files/utils/untar-file.ts b/backend/src/applications/files/utils/untar-file.tsindex 411fe147..4ba1475b 100644--- a/backend/src/applications/files/utils/untar-file.ts+++ b/backend/src/applications/files/utils/untar-file.ts@@ -1,25 +1,18 @@import { createReadStream } from 'node:fs'-import path from 'node:path'import { pipeline } from 'node:stream/promises'import { extract, type ReadEntry, type Unpack } from 'tar'import type { FileTaskExtractionEntry } from '../interfaces/file-task.interface'import { storageQuotaExceededError } from './errors'-import { createProgressTransform, isPathInside } from './files'+import { createProgressTransform, createSizeLimiter } from './files'-export function checkTarEntry(outputDir: string, entry: Pick<ReadEntry, 'type' | 'path' | 'linkpath'>): boolean {+export function checkTarEntry(entry: Pick<ReadEntry, 'type' | 'path'>): void {if (entry.type === 'Link') {throw new Error(`Tar entry "${entry.path}" is a hard link`)}- if (entry.type !== 'SymbolicLink') return true- if (!entry.linkpath) {- throw new Error(`Tar symlink entry "${entry.path}" has no target`)+ if (entry.type === 'SymbolicLink') {+ // TAR links are rejected instead of being restored into user storage.+ throw new Error(`Tar entry "${entry.path}" is a symbolic link`)}- const linkPath = path.resolve(outputDir, entry.path)- const targetPath = path.resolve(path.dirname(linkPath), entry.linkpath)- if (!isPathInside(outputDir, linkPath) || !isPathInside(outputDir, targetPath, true)) {- throw new Error(`Tar symlink entry "${entry.path}" would escape the output directory`)- }- return true}export function isTarDirectory(type: ReadEntry['type']): boolean {@@ -35,7 +28,7 @@ export async function extractTar(onEntry?: (entry: FileTaskExtractionEntry) => void): Promise<void> {let validationError: Error | undefined- let extractedSize = 0+ const checkExtractedSize = maxExtractedSize === undefined ? undefined : createSizeLimiter(maxExtractedSize, storageQuotaExceededError)const srcStream = createReadStream(filePath)const abortExtraction = (error: Error): false => {@@ -65,12 +58,9 @@ export async function extractTar(if (validationError) return falsetry {// node-tar invokes the filter before writing an entry, so metadata can enforce the known quota.- extractedSize += entry.size- if (maxExtractedSize !== undefined && extractedSize > maxExtractedSize) {- throw storageQuotaExceededError()- }+ checkExtractedSize?.(entry.size)if (!('type' in entry)) return true- if (!checkTarEntry(outputDir, entry)) return false+ checkTarEntry(entry)onEntry?.({ path: entry.path, isDirectory: isTarDirectory(entry.type), size: 0 })return true} catch (e) {diff --git a/backend/src/applications/files/utils/unzip-file.spec.ts b/backend/src/applications/files/utils/unzip-file.spec.tsindex 2b0eeb90..664dc8b0 100644--- a/backend/src/applications/files/utils/unzip-file.spec.ts+++ b/backend/src/applications/files/utils/unzip-file.spec.ts@@ -1,10 +1,9 @@import { access, mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises'import os from 'node:os'import path from 'node:path'-import * as filesUtils from './files'import { extractZip } from './unzip-file'-function createZip(entryName: string, content = Buffer.alloc(0)): Buffer {+function createZip(entryName: string, content = Buffer.alloc(0), unixMode?: number): Buffer {const encodedEntryName = Buffer.from(entryName)const localFileHeader = Buffer.alloc(30)localFileHeader.writeUInt32LE(0x04034b50, 0)@@ -15,11 +14,12 @@ function createZip(entryName: string, content = Buffer.alloc(0)): Buffer {const centralDirectoryHeader = Buffer.alloc(46)centralDirectoryHeader.writeUInt32LE(0x02014b50, 0)- centralDirectoryHeader.writeUInt16LE(20, 4)+ centralDirectoryHeader.writeUInt16LE(unixMode === undefined ? 20 : (3 << 8) | 20, 4)centralDirectoryHeader.writeUInt16LE(20, 6)centralDirectoryHeader.writeUInt32LE(content.length, 20)centralDirectoryHeader.writeUInt32LE(content.length, 24)centralDirectoryHeader.writeUInt16LE(encodedEntryName.length, 28)+ if (unixMode !== undefined) centralDirectoryHeader.writeUInt32LE((unixMode << 16) >>> 0, 38)const endOfCentralDirectory = Buffer.alloc(22)endOfCentralDirectory.writeUInt32LE(0x06054b50, 0)@@ -44,19 +44,22 @@ describe(extractZip.name, () => {})afterEach(async () => {- vi.restoreAllMocks()await rm(tmpDir, { recursive: true, force: true })})- it('rejects entries escaping the output directory', async () => {+ it('rejects path traversal and symbolic links', async () => {const escapedPath = path.join(tmpDir, 'zip-slip-proof.txt')await writeFile(archivePath, createZip('../zip-slip-proof.txt'))await expect(extractZip(archivePath, outputDir)).rejects.toThrow('invalid relative path: ../zip-slip-proof.txt')await expect(access(escapedPath)).rejects.toMatchObject({ code: 'ENOENT' })++ await writeFile(archivePath, createZip('link', Buffer.from('../../outside'), 0o120777))++ await expect(extractZip(archivePath, outputDir)).rejects.toThrow('ZIP symbolic links are not supported: link')})- it('extracts entries inside the output directory', async () => {+ it('extracts files and accepts a root directory entry', async () => {const extractedPath = path.join(outputDir, 'safe.txt')const onEntry = vi.fn()await writeFile(archivePath, createZip('safe.txt', Buffer.from('abc')))@@ -65,22 +68,10 @@ describe(extractZip.name, () => {await expect(access(extractedPath)).resolves.toBeUndefined()expect(onEntry).toHaveBeenCalledWith({ path: 'safe.txt', isDirectory: false, size: 0 })expect(onEntry).toHaveBeenCalledWith({ path: 'safe.txt', isDirectory: false, size: 3 })- })-- it('rejects entries outside the output directory', async () => {- await writeFile(archivePath, createZip('safe.txt'))- const isPathInsideSpy = vi.spyOn(filesUtils, 'isPathInside').mockReturnValueOnce(false)-- await expect(extractZip(archivePath, outputDir)).rejects.toThrow('Zip entry "safe.txt" would escape the output directory')- expect(isPathInsideSpy).toHaveBeenCalledWith(outputDir, path.join(outputDir, 'safe.txt'), false)- })- it('accepts a root directory entry', async () => {await writeFile(archivePath, createZip('./'))- const isPathInsideSpy = vi.spyOn(filesUtils, 'isPathInside')await expect(extractZip(archivePath, outputDir)).resolves.toBeUndefined()- expect(isPathInsideSpy).toHaveBeenCalledWith(outputDir, outputDir, true)})it('rejects entries exceeding the extracted size limit', async () => {diff --git a/backend/src/applications/files/utils/unzip-file.ts b/backend/src/applications/files/utils/unzip-file.tsindex 9ac41ffa..63674873 100644--- a/backend/src/applications/files/utils/unzip-file.ts+++ b/backend/src/applications/files/utils/unzip-file.ts@@ -1,14 +1,35 @@-import fs from 'node:fs'+import { BlobReader, type FileEntry, ZipReader } from '@zip.js/zip.js'+import { createWriteStream, openAsBlob } from 'node:fs'import path from 'node:path'+import { Writable } from 'node:stream'import { pipeline } from 'node:stream/promises'-import { promisify } from 'node:util'-import { Entry, open as openZip, Options, ZipFile } from 'yauzl'import { DEFAULT_HIGH_WATER_MARK } from '../constants/files'import type { FileTaskExtractionEntry } from '../interfaces/file-task.interface'import { storageQuotaExceededError } from './errors'-import { createProgressTransform, isPathInside, makeDir } from './files'+import { createProgressTransform, createSizeLimiter, isPathInside, makeDir } from './files'-const openZipAsync: (path: string, options: Options) => Promise<ZipFile> = promisify(openZip)+const UNIX_FILE_TYPE_MASK = 0o170000+const UNIX_SYMBOLIC_LINK = 0o120000++function abortReason(signal?: AbortSignal): Error {+ return signal?.reason instanceof Error ? signal.reason : new Error('Cancelled')+}++function isSymbolicLink(entry: FileEntry): boolean {+ // ZIP symlinks are rejected instead of being restored or silently extracted as regular files.+ return entry.unixMode !== undefined && (entry.unixMode & UNIX_FILE_TYPE_MASK) === UNIX_SYMBOLIC_LINK+}++function normalizeEntryPath(entryPath: string): string {+ const normalizedPath = entryPath.replace(/\\/g, '/')+ if (normalizedPath.split('/').includes('..')) {+ throw new Error(`invalid relative path: ${normalizedPath}`)+ }+ if (path.posix.isAbsolute(normalizedPath) || /^[a-zA-Z]:/.test(normalizedPath)) {+ throw new Error(`absolute path: ${normalizedPath}`)+ }+ return normalizedPath+}export async function extractZip(filePath: string,@@ -17,81 +38,63 @@ export async function extractZip(signal?: AbortSignal,onEntry?: (entry: FileTaskExtractionEntry) => void): Promise<void> {- // Reject entries whose actual decompressed size differs from their metadata.- const zipFile = await openZipAsync(filePath, { lazyEntries: true, validateEntrySizes: true })- const openReadStream = promisify(zipFile.openReadStream.bind(zipFile))+ signal?.throwIfAborted()+ const zipReader = new ZipReader(new BlobReader(await openAsBlob(filePath)), { signal, useWebWorkers: false })const resolvedOutputDir = path.resolve(outputDir)- let extractedSize = 0+ const checkDeclaredSize = maxExtractedSize === undefined ? undefined : createSizeLimiter(maxExtractedSize, storageQuotaExceededError)+ const checkExtractedSize = maxExtractedSize === undefined ? undefined : createSizeLimiter(maxExtractedSize, storageQuotaExceededError)- return new Promise((resolve, reject) => {- let settled = false- const cleanup = () => signal?.removeEventListener('abort', onAbort)- const rejectOnce = (err: unknown) => {- if (settled) return- settled = true- cleanup()- zipFile.close()- reject(err)- }- const onAbort = () => rejectOnce(signal?.reason)- signal?.addEventListener('abort', onAbort, { once: true })+ try {+ for await (const entry of zipReader.getEntriesGenerator()) {+ signal?.throwIfAborted()+ checkDeclaredSize?.(entry.uncompressedSize)+ const entryPath = normalizeEntryPath(entry.filename)+ const fullPath = path.resolve(resolvedOutputDir, entryPath)+ if (!isPathInside(resolvedOutputDir, fullPath, entry.directory)) {+ throw new Error(`Zip entry "${entryPath}" would escape the output directory`)+ }- zipFile.on('entry', async (entry: Entry) => {- try {- signal?.throwIfAborted()- // Check the cumulative size before opening the entry stream to avoid writing beyond the known quota.- extractedSize += entry.uncompressedSize- if (maxExtractedSize !== undefined && extractedSize > maxExtractedSize) {- throw storageQuotaExceededError()- }- const isDir = entry.fileName.endsWith('/')- const fullPath = path.resolve(resolvedOutputDir, entry.fileName)- if (!isPathInside(resolvedOutputDir, fullPath, isDir)) {- throw new Error(`Zip entry "${entry.fileName}" would escape the output directory`)- }- if (isDir) {- await makeDir(fullPath, true)- onEntry?.({ path: entry.fileName, isDirectory: true, size: 0 })- zipFile.readEntry()- } else {- // make sure parent exists- await makeDir(path.dirname(fullPath), true)- const readStream = await openReadStream(entry)- const writeStream = fs.createWriteStream(fullPath, { highWaterMark: DEFAULT_HIGH_WATER_MARK })- if (onEntry) {- let extractedEntrySize = 0- onEntry({ path: entry.fileName, isDirectory: false, size: 0 })- await pipeline(- readStream,- createProgressTransform((bytes) => {- extractedEntrySize += bytes- onEntry({ path: entry.fileName, isDirectory: false, size: extractedEntrySize })- }),- writeStream,- { signal }- )- } else {- await pipeline(readStream, writeStream, { signal })- }- zipFile.readEntry()- }- } catch (err) {- rejectOnce(err)+ if (entry.directory) {+ await makeDir(fullPath, true)+ onEntry?.({ path: entryPath, isDirectory: true, size: 0 })+ continue}- })- zipFile.on('end', () => {- if (settled) return- settled = true- cleanup()- resolve()- })- zipFile.on('error', rejectOnce)- try {- signal?.throwIfAborted()- zipFile.readEntry()- } catch (err) {- rejectOnce(err)+ const fileEntry = entry as FileEntry+ if (isSymbolicLink(fileEntry)) {+ throw new Error(`ZIP symbolic links are not supported: ${entryPath}`)+ }+ await makeDir(path.dirname(fullPath), true)+ const writeStream = createWriteStream(fullPath, { highWaterMark: DEFAULT_HIGH_WATER_MARK })+ let extractedEntrySize = 0+ const progressTransform =+ onEntry || checkExtractedSize+ ? createProgressTransform((bytes) => {+ checkExtractedSize?.(bytes)+ if (!onEntry) return+ extractedEntrySize += bytes+ onEntry({ path: entryPath, isDirectory: false, size: extractedEntrySize })+ })+ : undefined+ const entryOutput = progressTransform ?? writeStream+ const outputPromise = progressTransform ? pipeline(progressTransform, writeStream) : undefined+ void outputPromise?.catch(() => undefined)+ try {+ onEntry?.({ path: entryPath, isDirectory: false, size: 0 })+ await fileEntry.getData(Writable.toWeb(entryOutput), { signal })+ await outputPromise+ } catch (error) {+ const reason = error instanceof Error ? error : new Error(String(error))+ entryOutput.destroy(reason)+ if (progressTransform) writeStream.destroy(reason)+ await outputPromise?.catch(() => undefined)+ throw error+ }}- })+ } catch (error) {+ if (signal?.aborted) throw abortReason(signal)+ throw error+ } finally {+ await zipReader.close()+ }}diff --git a/backend/src/applications/files/utils/zip-file.spec.ts b/backend/src/applications/files/utils/zip-file.spec.tsnew file mode 100644index 00000000..df9cedd6--- /dev/null+++ b/backend/src/applications/files/utils/zip-file.spec.ts@@ -0,0 +1,168 @@+import { BlobReader, type FileEntry, Uint8ArrayWriter, ZipReader } from '@zip.js/zip.js'+import { openAsBlob } from 'node:fs'+import { link, mkdir, mkdtemp, rm, symlink, truncate, writeFile } from 'node:fs/promises'+import os from 'node:os'+import path from 'node:path'+import { createZip } from './zip-file'++const DEFAULT_TEST_FILE_SIZE = 8 * 1024 * 1024+const UNIX_FILE_TYPE_MASK = 0o170000+const UNIX_REGULAR_FILE = 0o100000++interface ArchiveEntry {+ compressionMethod: number+ content: Buffer+ mode: number+ path: string+}++describe(createZip.name, () => {+ let tmpDir: string+ let sourceDir: string+ let archivePath: string++ beforeEach(async () => {+ tmpDir = await mkdtemp(path.join(os.tmpdir(), 'create-zip-'))+ sourceDir = path.join(tmpDir, 'source')+ archivePath = path.join(tmpDir, 'archive.zip')+ await mkdir(sourceDir)+ })++ afterEach(async () => {+ await rm(tmpDir, { recursive: true, force: true })+ })++ it('archives files and empty directories with the requested compression', async () => {+ const directory = path.join(sourceDir, 'docs')+ await mkdir(path.join(directory, 'empty'), { recursive: true })+ await writeFile(path.join(directory, 'file.txt'), 'content')++ await createZip(archivePath, [{ path: directory, name: 'docs' }], true)++ const archiveEntries = await readArchiveEntries()+ expect(archiveEntries.map(({ path }) => path)).toEqual(expect.arrayContaining(['empty/', 'file.txt']))+ expect(archiveEntries.find(({ path }) => path === 'file.txt')).toMatchObject({+ compressionMethod: 8,+ content: Buffer.from('content')+ })++ await createZip(archivePath, [{ path: path.join(directory, 'file.txt'), name: 'file.txt' }], false)++ expect(await readArchiveEntries()).toEqual([expect.objectContaining({ compressionMethod: 0, path: 'file.txt' })])+ })++ it('rejects symbolic links', async () => {+ const linkPath = path.join(sourceDir, 'link')+ await symlink('target.txt', linkPath)++ await expect(createZip(archivePath, [{ path: linkPath, name: 'link' }], true)).rejects.toThrow(+ `ZIP symbolic links are not supported: ${linkPath}`+ )+ })++ it('uses public root names in a multiple selection and reports progress', async () => {+ const anchoredDirectory = path.join(sourceDir, 'internal-root')+ const otherFile = path.join(sourceDir, 'other.txt')+ const onProgress = vi.fn()+ await mkdir(anchoredDirectory)+ await writeFile(path.join(anchoredDirectory, 'file.txt'), 'content')+ await writeFile(otherFile, 'other')++ await createZip(+ archivePath,+ [+ { path: anchoredDirectory, name: 'documents', rootAlias: 'shared' },+ { path: otherFile, name: 'other.txt' }+ ],+ true,+ undefined,+ onProgress+ )++ expect((await readArchiveEntries()).map(({ path }) => path)).toEqual(['documents/', 'documents/file.txt', 'other.txt'])+ expect(onProgress).toHaveBeenCalled()+ })++ it('filters entries already included in a selected directory', async () => {+ const directory = path.join(sourceDir, 'docs')+ const nestedFile = path.join(directory, 'file.txt')+ await mkdir(directory)+ await writeFile(nestedFile, 'content')++ await createZip(+ archivePath,+ [+ { path: directory, name: 'docs' },+ { path: nestedFile, name: 'renamed.txt', rootAlias: 'personal' }+ ],+ true+ )++ expect((await readArchiveEntries()).map(({ path }) => path)).toEqual(['./', 'file.txt'])+ })++ it('archives hard links as independent files', async () => {+ const sourceFile = path.join(sourceDir, 'source.txt')+ const linkedFile = path.join(sourceDir, 'linked.txt')+ await writeFile(sourceFile, 'content')+ await link(sourceFile, linkedFile)++ await createZip(+ archivePath,+ [+ { path: sourceFile, name: 'source.txt' },+ { path: linkedFile, name: 'linked.txt' }+ ],+ true+ )++ expect(await readArchiveEntries()).toEqual([+ expect.objectContaining({ content: Buffer.from('content'), mode: UNIX_REGULAR_FILE, path: 'source.txt' }),+ expect.objectContaining({ content: Buffer.from('content'), mode: UNIX_REGULAR_FILE, path: 'linked.txt' })+ ])+ })++ it('cancels an active file stream with the original reason', async () => {+ const largeFile = path.join(sourceDir, 'large.bin')+ const controller = new AbortController()+ const reason = new Error('Cancelled')+ await writeFile(largeFile, '')+ await truncate(largeFile, DEFAULT_TEST_FILE_SIZE)++ const zipPromise = createZip(archivePath, [{ path: largeFile, name: 'large.bin' }], true, controller.signal, () => {+ controller.abort(reason)+ })++ await expect(zipPromise).rejects.toBe(reason)+ })++ it('rejects empty selections and archives exceeding the storage quota', async () => {+ await expect(createZip(archivePath, [], true)).rejects.toThrow('Cannot create a ZIP archive without entries')+ const sourceFile = path.join(sourceDir, 'file.txt')+ await writeFile(sourceFile, 'content')++ await expect(createZip(archivePath, [{ path: sourceFile, name: 'file.txt' }], true, undefined, undefined, 1)).rejects.toThrow(+ 'Storage quota will be exceeded'+ )+ })++ async function readArchiveEntries(): Promise<ArchiveEntry[]> {+ const zipReader = new ZipReader(new BlobReader(await openAsBlob(archivePath)))+ const archiveEntries: ArchiveEntry[] = []++ try {+ for await (const entry of zipReader.getEntriesGenerator()) {+ const content = entry.directory ? Buffer.alloc(0) : Buffer.from(await (entry as FileEntry).getData(new Uint8ArrayWriter()))+ archiveEntries.push({+ compressionMethod: entry.compressionMethod,+ content,+ mode: (entry.externalFileAttributes >>> 16) & UNIX_FILE_TYPE_MASK,+ path: entry.filename+ })+ }+ return archiveEntries+ } finally {+ await zipReader.close()+ }+ }+})diff --git a/backend/src/applications/files/utils/zip-file.ts b/backend/src/applications/files/utils/zip-file.tsnew file mode 100644index 00000000..f08beeb7--- /dev/null+++ b/backend/src/applications/files/utils/zip-file.ts@@ -0,0 +1,116 @@+import { BlobReader, ZipWriter } from '@zip.js/zip.js'+import { createWriteStream, openAsBlob, type Stats } from 'node:fs'+import { lstat, opendir } from 'node:fs/promises'+import path from 'node:path'+import { Writable } from 'node:stream'+import { pipeline } from 'node:stream/promises'+import { DEFAULT_HIGH_WATER_MARK } from '../constants/files'+import { storageQuotaExceededError } from './errors'+import { createProgressTransform, fileName, isPathInside } from './files'++export interface ZipFileEntry {+ name: string+ path: string+ rootAlias?: string | null+}++interface ZipRoot {+ archivePath: string+ realPath: string+ stats: Stats+}++function archiveRoots(entries: { entry: ZipFileEntry; realPath: string; stats: Stats }[]): ZipRoot[] {+ return entries.map(({ entry, realPath, stats }) => {+ const archivePath = stats.isDirectory() && entries.length === 1 ? '' : entry.rootAlias ? entry.name : fileName(realPath)+ return { archivePath, realPath, stats }+ })+}++function archiveEntryPath(realPath: string, root: ZipRoot): string {+ const relativePath = path.relative(root.realPath, realPath)+ return path.posix.join(root.archivePath, relativePath.split(path.sep).join('/'))+}++function abortReason(signal?: AbortSignal): Error {+ return signal?.reason instanceof Error ? signal.reason : new Error('Cancelled')+}++async function addPath(archive: ZipWriter<unknown>, root: ZipRoot, realPath: string, stats: Stats, signal?: AbortSignal): Promise<void> {+ signal?.throwIfAborted()+ const archivePath = archiveEntryPath(realPath, root)+ const entryOptions = {+ lastModDate: stats.mtime,+ signal,+ unixMode: stats.mode+ }++ if (stats.isDirectory()) {+ await archive.add(archivePath, undefined, { ...entryOptions, directory: true })+ const directory = await opendir(realPath)+ for await (const entry of directory) {+ signal?.throwIfAborted()+ const entryPath = path.join(realPath, entry.name)+ await addPath(archive, root, entryPath, await lstat(entryPath), signal)+ }+ return+ }++ if (stats.isSymbolicLink()) {+ throw new Error(`ZIP symbolic links are not supported: ${realPath}`)+ }++ if (!stats.isFile()) {+ throw new Error(`Unsupported ZIP entry type: ${realPath}`)+ }++ await archive.add(archivePath, new BlobReader(await openAsBlob(realPath)), entryOptions)+}++export async function createZip(+ outputPath: string,+ entries: ZipFileEntry[],+ compress: boolean,+ signal?: AbortSignal,+ onProgress?: (bytes: number) => void,+ maxArchiveSize?: number+): Promise<void> {+ signal?.throwIfAborted()+ if (entries.length === 0) {+ throw new Error('Cannot create a ZIP archive without entries')+ }++ const resolvedPaths = entries.map(({ path: entryPath }) => path.resolve(entryPath))+ const stats = await Promise.all(resolvedPaths.map((entryPath) => lstat(entryPath)))+ signal?.throwIfAborted()+ const selectedDirectoryPaths = resolvedPaths.filter((_entryPath, index) => stats[index].isDirectory())+ const selectedEntries = entries+ .map((entry, index) => ({ entry, realPath: resolvedPaths[index], stats: stats[index] }))+ .filter(({ realPath }) => !selectedDirectoryPaths.some((parentPath) => isPathInside(parentPath, realPath)))+ const roots = archiveRoots(selectedEntries)++ const output = createWriteStream(outputPath, { highWaterMark: DEFAULT_HIGH_WATER_MARK })+ const progressTransform =+ onProgress || maxArchiveSize !== undefined ? createProgressTransform(onProgress, maxArchiveSize, storageQuotaExceededError) : undefined+ const archiveOutput = progressTransform ?? output+ const outputPromise = progressTransform ? pipeline(progressTransform, output) : undefined+ void outputPromise?.catch(() => undefined)+ const archive = new ZipWriter(Writable.toWeb(archiveOutput), { level: compress ? 6 : 0, signal, useWebWorkers: false })++ try {+ for (const root of roots) {+ await addPath(archive, root, root.realPath, root.stats, signal)+ }+ signal?.throwIfAborted()+ await archive.close()+ await outputPromise+ signal?.throwIfAborted()+ } catch (error) {+ const reason = error instanceof Error ? error : new Error(String(error))+ archiveOutput.destroy(reason)+ if (progressTransform) output.destroy(reason)+ await outputPromise?.catch(() => undefined)+ if (signal?.aborted) throw abortReason(signal)+ throw error+ }+}diff --git a/package-lock.json b/package-lock.jsonindex ddfb7910..450f8a87 100644--- a/package-lock.json+++ b/package-lock.json@@ -62,7 +62,7 @@"@nestjs/websockets": "^11.1.24","@socket.io/cluster-adapter": "^0.3.0","@socket.io/redis-adapter": "^8.3.0",- "archiver": "^7.0.1",+ "@zip.js/zip.js": "^2.8.26","bcryptjs": "^3.0.3","class-transformer": "^0.5.1","class-validator": "^0.15.1",@@ -93,19 +93,17 @@"tesseract.js": "^7.0.0","text-to-svg": "^3.1.5","time2fa": "^1.4.2",- "unpdf": "^1.6.2",- "yauzl": "^3.3.2"+ "unpdf": "^1.6.2"},"devDependencies": {"@eslint/js": "^9.18.0","@faker-js/faker": "^10.4.0","@golevelup/ts-vitest": "^4.0.0",- "@nestjs/cli": "^11.0.21",+ "@nestjs/cli": "11.0.21","@nestjs/schematics": "^11.1.0","@nestjs/testing": "^11.1.24","@swc/cli": "^0.8.1","@swc/core": "^1.15.40",- "@types/archiver": "^7.0.0","@types/bcryptjs": "^2.4.6","@types/cookie-parser": "^1.4.10","@types/fs-extra": "^11.0.4",@@ -124,7 +122,6 @@"@types/supertest": "^7.2.0","@types/tar": "^6.1.13","@types/text-to-svg": "^3.1.4",- "@types/yauzl": "^2.10.3","@vitest/coverage-v8": "^4.1.8","chokidar": "^5.0.0","eslint": "^9.39.4",@@ -2437,22 +2434,22 @@"license": "Apache-2.0"},"node_modules/@emnapi/core": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",- "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.0.tgz",+ "integrity": "sha512-l9Oo58x0HOP5znGzVhYW9U3e5wVuA4LAZU2AGezTmkhO1CgQRFDhDg4nneHsu/t3WniXg9QrG2nIXL/ZS8ln8Q==","dev": true,"license": "MIT","optional": true,"peer": true,"dependencies": {- "@emnapi/wasi-threads": "1.2.1",+ "@emnapi/wasi-threads": "1.2.2","tslib": "^2.4.0"}},"node_modules/@emnapi/runtime": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",- "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.0.tgz",+ "integrity": "sha512-55coeOFKHv1ywEcUXJtWU5f+Jr/W5tZDvZig8DLKSwUN1JpROQ4rk/SNOQiFWmaR/VKF4zuFyW1B8JduOSv6Pg==","license": "MIT","optional": true,"dependencies": {@@ -2460,9 +2457,9 @@}},"node_modules/@emnapi/wasi-threads": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",+ "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==","dev": true,"license": "MIT","optional": true,@@ -4953,102 +4950,6 @@}}},- "node_modules/@isaacs/cliui": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",- "license": "ISC",- "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"- },- "engines": {- "node": ">=12"- }- },- "node_modules/@isaacs/cliui/node_modules/ansi-regex": {- "version": "6.2.2",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",- "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",- "license": "MIT",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/chalk/ansi-regex?sponsor=1"- }- },- "node_modules/@isaacs/cliui/node_modules/ansi-styles": {- "version": "6.2.3",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",- "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",- "license": "MIT",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/chalk/ansi-styles?sponsor=1"- }- },- "node_modules/@isaacs/cliui/node_modules/emoji-regex": {- "version": "9.2.2",- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",- "license": "MIT"- },- "node_modules/@isaacs/cliui/node_modules/string-width": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",- "license": "MIT",- "dependencies": {- "eastasianwidth": "^0.2.0",- "emoji-regex": "^9.2.2",- "strip-ansi": "^7.0.1"- },- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/@isaacs/cliui/node_modules/strip-ansi": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",- "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",- "license": "MIT",- "dependencies": {- "ansi-regex": "^6.2.2"- },- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/chalk/strip-ansi?sponsor=1"- }- },- "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",- "license": "MIT",- "dependencies": {- "ansi-styles": "^6.1.0",- "string-width": "^5.0.1",- "strip-ansi": "^7.0.1"- },- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"- }- },"node_modules/@isaacs/fs-minipass": {"version": "4.0.1","resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",@@ -6729,9 +6630,9 @@}},"node_modules/@nestjs/common": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.24.tgz",- "integrity": "sha512-9zHxaDDM+oXW9As6UsP5yYB+UqczBmpeSCIFWdPEtEukMnZhxODG1BBjaUcdBB8Sc1uzojSJSJlp3yFp853t1g==",+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.26.tgz",+ "integrity": "sha512-0VARQyzuGbprvjO+slWq9Jtj1P0jYCSKAUSv9LWFNWD39ZbDzXXM1pMs35kReVXwchra0urMfTQxw4uAOfdSzA==","license": "MIT","dependencies": {"file-type": "21.3.4",@@ -6775,13 +6676,11 @@}},"node_modules/@nestjs/core": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.24.tgz",- "integrity": "sha512-K4bzT+lEdd0Hhcsw3jtk56QAW6s6skK3ViN7hIROSN0kUf4ROwWEAKopJID6yhPQxB45kDtP2wEcjzE8171J3g==",- "hasInstallScript": true,+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.26.tgz",+ "integrity": "sha512-K45zUwYpowEsVqm8qNIzsMcl4LJev0MK9zVhDnmym7YRTJ2/caslqVeKYhPRd5+Fh81IkvWUVu6vEo46uZ5mgQ==","license": "MIT","dependencies": {- "@nuxt/opencollective": "0.4.1","fast-safe-stringify": "2.1.1","iterare": "1.2.1","path-to-regexp": "8.4.2",@@ -6839,9 +6738,9 @@}},"node_modules/@nestjs/platform-fastify": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/platform-fastify/-/platform-fastify-11.1.24.tgz",- "integrity": "sha512-AJAVZZKCLQcDkQipD+NfrmV69DoQRNnrE+EB0VBS7FEZRjsnNmkmZFDFnhl/JWgzm6rjxsI3Qdaj/0+VlgbfSg==",+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/platform-fastify/-/platform-fastify-11.1.26.tgz",+ "integrity": "sha512-x7O39mdfgTzq43YRB1H+CkZX34q3joahnmpHmobmYSiQeRjsEa3beBDMsT1IAz/aH91N33p+nUvjxiD3FH6mOQ==","license": "MIT","dependencies": {"@fastify/cors": "11.2.0",@@ -6875,9 +6774,9 @@}},"node_modules/@nestjs/platform-socket.io": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/platform-socket.io/-/platform-socket.io-11.1.24.tgz",- "integrity": "sha512-ImdR9G8W5Y2Hhcptdci+tNaG6JV/dzDguFTgtXOL5ie/gD9O9ARw8Cd9RzF2+oteyzQ+1sPK/+wgVOPOyYGVCA==",+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/platform-socket.io/-/platform-socket.io-11.1.26.tgz",+ "integrity": "sha512-uuBZI+65OcG0K+lTv8CCuvaQi5/tb2EBhbObnVeSjb7oIxiynwULhdJiynbFfotUKv4PebDPDIhByePCjOnfAQ==","license": "MIT","dependencies": {"socket.io": "4.8.3",@@ -7210,9 +7109,9 @@}},"node_modules/@nestjs/testing": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-11.1.24.tgz",- "integrity": "sha512-+4M4UAnhtprBQN0J2uI6IP0wDqhy9aH8XCMu5SO8oCi0oB04YXA4a4PAEkxmsPn7gHW4dj1u4GFteNQOWgvTJw==",+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-11.1.26.tgz",+ "integrity": "sha512-PNf/TSIoF525pb3O9bu06S5QFWl4gArngbjI6yRFKZrF7d85vGjleVkgVVbw879Y95EYDzIS3eel6YlaY4TGFw==","dev": true,"license": "MIT","dependencies": {@@ -7238,9 +7137,9 @@}},"node_modules/@nestjs/websockets": {- "version": "11.1.24",- "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-11.1.24.tgz",- "integrity": "sha512-37Z/QYzZ4nPHcGyGGjhjoKVOcpSPMhmRQj5DS1l0RKlRYgq8S0cmgaZ6kQ8PI3259PdchLx41oQibXh22iEUiA==",+ "version": "11.1.26",+ "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-11.1.26.tgz",+ "integrity": "sha512-7ZZrVsaYVptAVL5J6eYIg3UMwlVwE1Yh/OpS6ieVv7DtFHKNNufHdktfysRavsHWCdIYNg6+ty0SGI7doJUwog==","license": "MIT","dependencies": {"iterare": "1.2.1",@@ -7527,22 +7426,6 @@"node": "^20.17.0 || >=22.9.0"}},- "node_modules/@nuxt/opencollective": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.4.1.tgz",- "integrity": "sha512-GXD3wy50qYbxCJ652bDrDzgMr3NFEkIS374+IgFQKkCvk9yiYcLvX2XDYr7UyQxf4wK0e+yqDYRubZ0DtOxnmQ==",- "license": "MIT",- "dependencies": {- "consola": "^3.2.3"- },- "bin": {- "opencollective": "bin/opencollective.js"- },- "engines": {- "node": "^14.18.0 || >=16.10.0",- "npm": ">=5.10.0"- }- },"node_modules/@oxc-project/types": {"version": "0.113.0","resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.113.0.tgz",@@ -7919,16 +7802,6 @@"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==","license": "MIT"},- "node_modules/@pkgjs/parseargs": {- "version": "0.11.0",- "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",- "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",- "license": "MIT",- "optional": true,- "engines": {- "node": ">=14"- }- },"node_modules/@pkgr/core": {"version": "0.3.6","resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz",@@ -9272,48 +9145,48 @@"link": true},"node_modules/@tiptap/core": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-3.25.0.tgz",- "integrity": "sha512-I9edH6vUXgbjUl5GPICYYYQeql8hC77VZnHLvWg8wc7FwaOw242Uy4Y89c/eX7LGmKwVxz28JFvAsZ8tIdDVvg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-3.26.0.tgz",+ "integrity": "sha512-7jTed/RirIVsp+lLdLvGzGqF3EBGpnGHGYKOwz6t28V2BIJLAFdUhfEVdWie7xPxQNWK0TP+fPlsqZS0vxfHBg==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/pm": "3.25.0"+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-blockquote": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-3.25.0.tgz",- "integrity": "sha512-nSWhYtAKVFAZluRTew+BZUMHo5+87uQqTBOnbyy9ZFBp3gjHjCgGqhboJg5ksMHLCEz1XVoHnS5iXcu9d6Bm6Q==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-3.26.0.tgz",+ "integrity": "sha512-57accpka9affjiJRjP2LMNCDJDTMjTvO23RJCxtP43sp9cTIZ7YZnyDfRxCINTRBNK0X4o4w2+emOLyRwsk3CA==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-bold": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-3.25.0.tgz",- "integrity": "sha512-owygVm6XMtk8VVclm2CCCz3Q1HfNpkjeoRTIbeM5r/R1cDrPQAVOuAd3w+mdXlC3iDsvCkfYzSTSphZcDpwThQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-3.26.0.tgz",+ "integrity": "sha512-j6CzTMofcGJ5iMoUgDRQpM0FkG00jBID3aKqs+UBbgtzLgtG/CI/91tMFv0XPC30LeFA895qYgvGZtHdejZhiQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-bubble-menu": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-3.25.0.tgz",- "integrity": "sha512-IL6WRTMS0X6szJ1F9qrAbslbet8awUcQ4cJEJLL2lxDgcxpxDHcKxIQRsX5A7qmrWnHxo0tCIpsXKvJ6toaSCQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-3.26.0.tgz",+ "integrity": "sha512-H2E3Hp0lV79jQV8YGtdDJkXkUalXZeYzKCx+vCZlDpb2ChS7/rNT9YY7poRA1NlJLUO0DH1wbAnFhx9KZMUx5g==","license": "MIT","peer": true,"dependencies": {@@ -9324,80 +9197,80 @@"url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-bullet-list": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-3.25.0.tgz",- "integrity": "sha512-v0+0kvg0CddW4bz05YVssnMhfe+4x32Tg9qNzYMYK4jGtSm5GDLYG7JaOqAUwiXj5jhKmoOTfXzV6cB5Tk4OEA==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-3.26.0.tgz",+ "integrity": "sha512-Jv7BX+kBB2wUIvO/NhuUjv+T3kAed2Tjr664fgQ2zKT6X69jKIkYuCCedrIHuOyaOQ+SBDuH9h51wYv/E97QgQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extension-list": "3.25.0"+ "@tiptap/extension-list": "3.26.0"}},"node_modules/@tiptap/extension-code": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-3.25.0.tgz",- "integrity": "sha512-1Lcwwny7JwQ6m2wEqytKWmSfQzV0ONhZqUmMaAAAFvDCCG7dRPOVKT+3s0UqFlGePP1xbYl0Yy0YOVv3M6sedg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-3.26.0.tgz",+ "integrity": "sha512-VJYcV6rvjnENRTroOi9tDcHWW6G0pmCoRETwatlbgfDzuCmkTOwVwQjeJCXOVMMLNPzNiXZzibsRCUt+Azq/jw==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-code-block": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-3.25.0.tgz",- "integrity": "sha512-bMKhg+Qcve1O3L5k6dzNCbCI/QsWPK1ez+1k9CQEd5rO0mwCpqLGb5tyFztI6umdFr5dulI3FZVt8IOtUptuxQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-3.26.0.tgz",+ "integrity": "sha512-WPN9iZ3UjeDD2ckDzSs9tleibXv0cLj7j575NxuvjhwZTehYGNeYDSUTi+6DQUG6bKbhGg9Wcei5H0131vvJHg==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-document": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-3.25.0.tgz",- "integrity": "sha512-YEENTItTHdOiIAemTDej2HsbMvq4IlrgQ7obR89Kyaxs2oE4gYw0GPA3gjHfuJnv2VHMQqFn7K37nlyuiABhHw==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-3.26.0.tgz",+ "integrity": "sha512-Xhd6DCjaxCN4otQNvV6qra+XuoIjk6Vyjm87E5xn5Y/BMw7UGAG7LTkk3C2IEvxKrVZwJjalfxEqdHOgXQzVfw==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-dropcursor": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-3.25.0.tgz",- "integrity": "sha512-4SyWreaR82Gx1vMp5fYTM+acijNNWXQyrx7yKQPFSjh1I9cPNz3wvQEY6gEpBQ6WDwS/WdUIZq9nw99JQx7XRQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-3.26.0.tgz",+ "integrity": "sha512-rhAtp5J/YVDUCUIc5T7b0XY9dLeuI72JgOr53w0QQc0VA0uwbfTn7sx0LI9PDCE9uwmDH8H3snVRZRnAvlM8oA==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extensions": "3.25.0"+ "@tiptap/extensions": "3.26.0"}},"node_modules/@tiptap/extension-floating-menu": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-3.25.0.tgz",- "integrity": "sha512-ZUC+89Kggg4zxRcb8NxyMwErnGxwp5GDVqjxrqo7DReYiOuKeKF/tqvxxa/x+ADJ0Hsy36hVUJqd6gzoi02njA==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-3.26.0.tgz",+ "integrity": "sha512-reQ77NRYAOP7iPudsNbzLBuBTdL2aGxZzjccUFmE2lNdmwP23n9A/JhkuUhshVBs/6IozvahI+smG3Bnea0TCQ==","license": "MIT","peer": true,"funding": {@@ -9406,93 +9279,93 @@},"peerDependencies": {"@floating-ui/dom": "^1.0.0",- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-gapcursor": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-3.25.0.tgz",- "integrity": "sha512-XLXfYLtP744b88qLEWcUUAMB0yD3TFGUtfiFh5eYw3ybOW/BA0f6SIJQWk6l0Uk8TZ1x/YQURWNo07/csJcwew==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-3.26.0.tgz",+ "integrity": "sha512-SIe68SDwx2fozt/XKG0FhCwzz/yRN6Bvo4D5TqvfDg6NK3PQb1DS4GN9PilmJqbY+kXryuiWEEJOWi7HpO8SuQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extensions": "3.25.0"+ "@tiptap/extensions": "3.26.0"}},"node_modules/@tiptap/extension-hard-break": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-3.25.0.tgz",- "integrity": "sha512-86JdgqwBUSPhLH5l5TaOA1JbdaE1nCEv/INdPykVCC0Tlf1sdoF356rmFNLo8cLxmDLp9bTVo85EZx7HWl+d+w==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-3.26.0.tgz",+ "integrity": "sha512-baXvv/rtOTVd2Axjb7Zbb41Y9Qmy3U2fP7EHqLuhViqGxVX8LwQtP0PHUXEZkPokbBpRez10+dmOlvvsYFKAZQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-heading": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-3.25.0.tgz",- "integrity": "sha512-3SJGZgV3cNQiUi98dWQQ3SFQAKaZg+O8PTdQmA4XC4JJn3NgDpBHiRz+bSE4NYjaRXk8DOq3+zxgGGiaGsC1Ww==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-3.26.0.tgz",+ "integrity": "sha512-qenEQEgzE5FjQay/H6iKOnwIt6DPO27cS+v0mGhXmrL1MjrNER4X0ZkATJbVd0WA6ffsAGaP44NKYDworGeidw==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-horizontal-rule": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-3.25.0.tgz",- "integrity": "sha512-Ku1PQxiBoprEwf7O2uzJSYvfpkQ26UhZ4tptXqCUdsG9IXYn/Gg9qAtJrm8UFnPwsxm0CrkMsAlAG3JmBrtXKQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-3.26.0.tgz",+ "integrity": "sha512-a+N/C4wkQV+/8x4ShdoiC2JdTW3Tw84C5cAloYLFMeaWmRa2me9ACSI+zo0SO9bbH9RJwsoRp7eaxBbk27eF1Q==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-image": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-3.25.0.tgz",- "integrity": "sha512-LO1W36UovZzs7CqqHo1Fo3/nQDz9UJaV26D+YolqnbMBC2UDxozBPuxxvwkfl7965E3Q/gM8HjdDVM2DcH0VoQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-3.26.0.tgz",+ "integrity": "sha512-vinrbKa9Awmlb/UPpnes1pezL+ZeUC2v7XczZyNbggvcHKhlVkuXZIKytFQDXEYOTaKYzYE8B/Gz098PiJ9NYQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-italic": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-3.25.0.tgz",- "integrity": "sha512-eZw+q8mtap8n0B5LtvPSgpyqkSIL7FzT7syD5ut++29FoXNl3fhJO6ct0hspWKFB4ihbvo3NG2gIwHi2ESXQow==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-3.26.0.tgz",+ "integrity": "sha512-s8oFpH+0xmhvY19f452/2dExO3p1tjxh761g6cg4irwEUNUEAJKF2VLcjiaeOhNJ+pmnQYxb+VSkwkXvO+7vHQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-link": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-3.25.0.tgz",- "integrity": "sha512-DauqQS55xZACzPb0+KxXDiDw1GVDszltMUikHSLZSCp1+EjPSVt86X8CxJNc83rC/ZrqJMM/iUK74DHRUg2XSA==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-3.26.0.tgz",+ "integrity": "sha512-FA/d157aBxyvZFvsdc5eSu46tmHWXebAsqOQSvivOMyw+deBb00VlMsf+iD2J8+sekjbMYwx/hvbsu+xUoX43Q==","license": "MIT","dependencies": {"linkifyjs": "^4.3.3"@@ -9502,160 +9375,160 @@"url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-list": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list/-/extension-list-3.25.0.tgz",- "integrity": "sha512-bYw4o2YiTdj/tdgktgbMRUfqAJgsnRkwUQTTKElycPdIwlNNs6EQiXku+E2ACftLaFxd3Ek+P50H0AQ5fA/hPw==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-list/-/extension-list-3.26.0.tgz",+ "integrity": "sha512-EM8woyHDNKLEQ+lWUEoDtA4KrwP6fei/mYX1NxseMzKHHo7LFecx7wk6sovAXZrUvdML/yFBihgiMiO5VIsfkg==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-list-item": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-3.25.0.tgz",- "integrity": "sha512-RfxDdLXUggC4tKB9V8Vhfxqjn4ZFbL2suFpl3ct0RY7ynrv9tE66ukYQ2SPg6rAYZK+WxVND0VSeLFB5QclO2A==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-3.26.0.tgz",+ "integrity": "sha512-MccGyj9HY4fkl04eIiFoTCkr8067Jku/VVdJNtRWW104Spx43C/7V2zpbxPvpcDhq3dW384fDxYXfpnb186xLg==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extension-list": "3.25.0"+ "@tiptap/extension-list": "3.26.0"}},"node_modules/@tiptap/extension-list-keymap": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list-keymap/-/extension-list-keymap-3.25.0.tgz",- "integrity": "sha512-8JOWSQc4mpXNmQWn52THIEpcGdVgBz51J/pz/KcbJBMDZIPvB7nDwFsLkkURrcWDX0DO7G9uepjvAEb8LfBFXg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-list-keymap/-/extension-list-keymap-3.26.0.tgz",+ "integrity": "sha512-oBcj6qaNrRHQ+N0+pDuOVAQa4Nx9r8Cm5ANvyM2lTpoy60sOLOizuVvcvw1andVxbSrsZ1N/Sk+RZWyv1uoWyQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extension-list": "3.25.0"+ "@tiptap/extension-list": "3.26.0"}},"node_modules/@tiptap/extension-ordered-list": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-3.25.0.tgz",- "integrity": "sha512-3qs1Q7HgJWlgI0VDXGMiTKTOQdNKN6omAgaq5i+jITCbKn+OKC95E9tbkTq9fPWPgH0svJRUfvvACRem4rhJew==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-3.26.0.tgz",+ "integrity": "sha512-ItLdFlcMsJz2vhbs1PcUfcN7nzVqGBOwPeCrrWxjrgscp+K3JoOGD+HhVVpBACOMwivUrlh8Ry5Ohvues2nOeA==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extension-list": "3.25.0"+ "@tiptap/extension-list": "3.26.0"}},"node_modules/@tiptap/extension-paragraph": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-3.25.0.tgz",- "integrity": "sha512-yETzkQFjcRA7JeaAw927qaT5xTweAMr1rznN5fRxJdHdURPjvm+8gz76W/8DuloN4EF/fzAjpVBXZwwcJ+61yg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-3.26.0.tgz",+ "integrity": "sha512-h8fYLikg4qN39IghQ1y9g+zzUsgxBpDi5YS3IZbWoxWYYx1YqLL8nAvOiPr7Us14aQ0TjA2/xY7zqmyf29rX1A==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-strike": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-3.25.0.tgz",- "integrity": "sha512-rtM9tkqH8XWay7TplUcXPjlBiNg/dbEOuaCvZGvNxTw8xbH+cmEGPxojWVW6oVMsQodBlUoNveATE2yzhiUB1A==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-3.26.0.tgz",+ "integrity": "sha512-jUll3Pqhq7u1JKvO0B6USW/bmVmUsO6sRcxo/d5tXqLhS0tWAobOGoGU2IgwXnQDSjf+vF73RYD5tRGDLkRC9Q==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-table": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-table/-/extension-table-3.25.0.tgz",- "integrity": "sha512-at1XYnO0b3OyZjx7ZaIKYRvkjTjHtI/xb+LstN51TrHInf+cc8b10EGWHbQztBPaEmg9t3JC/tNYjzCYy+874g==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-table/-/extension-table-3.26.0.tgz",+ "integrity": "sha512-pLL1+tKeUWSF/w4se84tjWUnuraKVELQtIHwi1XKoq6vkevotwwMb99xY6cJ752FaUFVDbViFe/JUYWBoU+bIw==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/extension-task-list": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-3.25.0.tgz",- "integrity": "sha512-9cP0G7MjmFkoqkmPNRre0CklkMreNfYdm63NQJ/ZB7L+27qXuqar0MmFL38EGU+FtbMqNu9DNWvooEL5Q3UL/A==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-3.26.0.tgz",+ "integrity": "sha512-Zi94LADPSmYk0SGqLpR9zc9u/hyn0+EXY5IvYS/3q+p5usBXHG3noz/t6TbiIm5fkZZ+G0L15HsRR+YuoCbArw==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/extension-list": "3.25.0"+ "@tiptap/extension-list": "3.26.0"}},"node_modules/@tiptap/extension-text": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-3.25.0.tgz",- "integrity": "sha512-qXAYiIIOX7F6wVftN7FeHTAg9lDLzgqrscrT4BJxTL3Vk38EP1R3w1sDDfSCTQ53ui8SzoaKe0iyzkTa6V/1LQ==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-3.26.0.tgz",+ "integrity": "sha512-yZXdevp3/8omGbb40Z52VfvID+tsRNhPQ1GNUToD56XSr2BjdJyAzAb9rWGgDKgVMUPLgJ26yT0O278RFqOKhA==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extension-underline": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-3.25.0.tgz",- "integrity": "sha512-GTCjXnOhjQ8ipiOrdskMdBqQ8nUnczFWWNJ5IoCkMcEDWviOS14Mr2n6zewjlKjtPoRTzwOpFDQUevSK1SHpJg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-3.26.0.tgz",+ "integrity": "sha512-LlVkivH5cBwov/EMD8BL7ZRcU6YcadiSVIffLW1hyalw9YfhaFzoLxjtWhL7jiU/n2Kg+9dXSZxmV2hTeTwyrQ==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0"+ "@tiptap/core": "3.26.0"}},"node_modules/@tiptap/extensions": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/extensions/-/extensions-3.25.0.tgz",- "integrity": "sha512-aRXZwOPLdIRey28uctNT/Nbh3EaiNYnKt5qBhBbxs5aTtwoExzYAEtR7D8KjpUVBJAZNeLwFxvD2Ub+F94uAAw==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extensions/-/extensions-3.26.0.tgz",+ "integrity": "sha512-4wajuqnO2X0+LVvsBjW/xk3/tmdb16bNL939QhicAay4YYqXITeV2v3XJsryzmG4L5GkK1yLxvRGk4aLoxWrnA==","license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/markdown": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/markdown/-/markdown-3.25.0.tgz",- "integrity": "sha512-7LG/R3bW+RJZOWWE/t80aZ4rQ4HYR9rA9anEBUSqoar4A+KFRt0mlbCqN3DVxQXai0SS2ke59NKZP1E3vCV6NA==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/markdown/-/markdown-3.26.0.tgz",+ "integrity": "sha512-jg5xrwl1gTXUl5JA3+g8YYfhOzplM9CVecwKZeFtlYtPLyxLCmIDvqV/vULoGu57HwtY4819nNpMZwY6jBNtrw==","license": "MIT","dependencies": {"marked": "^17.0.1"@@ -9665,14 +9538,14 @@"url": "https://github.com/sponsors/ueberdosis"},"peerDependencies": {- "@tiptap/core": "3.25.0",- "@tiptap/pm": "3.25.0"+ "@tiptap/core": "3.26.0",+ "@tiptap/pm": "3.26.0"}},"node_modules/@tiptap/pm": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.25.0.tgz",- "integrity": "sha512-JeaVgyLj0gQZ1gVxDI73QkP+/Ozcjyp37HyL1pXLCRVjY8nnsDrdMzuKsP1SWN2fOhC+JBGW8/88g0rPmwZQFg==",+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.26.0.tgz",+ "integrity": "sha512-q4RDeWwVrhOL0jJCGRgGxLSdjOYwzQ4h2InURZVhC66433ipcHd6f3bqSOhcXZ4r0sFmMNsuF7aZmUntjWLc7w==","license": "MIT","dependencies": {"prosemirror-changeset": "^2.3.0",@@ -9695,35 +9568,35 @@}},"node_modules/@tiptap/starter-kit": {- "version": "3.25.0",- "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-3.25.0.tgz",- "integrity": "sha512-bKe1BhA8YXX7DHC6dsvkkedeQM7r2Iif36i9meTY4szNd9limlnP0ZlFBrBcktl7D/XFy1rkDfD+diWfYeG9BQ==",- "license": "MIT",- "dependencies": {- "@tiptap/core": "^3.25.0",- "@tiptap/extension-blockquote": "^3.25.0",- "@tiptap/extension-bold": "^3.25.0",- "@tiptap/extension-bullet-list": "^3.25.0",- "@tiptap/extension-code": "^3.25.0",- "@tiptap/extension-code-block": "^3.25.0",- "@tiptap/extension-document": "^3.25.0",- "@tiptap/extension-dropcursor": "^3.25.0",- "@tiptap/extension-gapcursor": "^3.25.0",- "@tiptap/extension-hard-break": "^3.25.0",- "@tiptap/extension-heading": "^3.25.0",- "@tiptap/extension-horizontal-rule": "^3.25.0",- "@tiptap/extension-italic": "^3.25.0",- "@tiptap/extension-link": "^3.25.0",- "@tiptap/extension-list": "^3.25.0",- "@tiptap/extension-list-item": "^3.25.0",- "@tiptap/extension-list-keymap": "^3.25.0",- "@tiptap/extension-ordered-list": "^3.25.0",- "@tiptap/extension-paragraph": "^3.25.0",- "@tiptap/extension-strike": "^3.25.0",- "@tiptap/extension-text": "^3.25.0",- "@tiptap/extension-underline": "^3.25.0",- "@tiptap/extensions": "^3.25.0",- "@tiptap/pm": "^3.25.0"+ "version": "3.26.0",+ "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-3.26.0.tgz",+ "integrity": "sha512-o34EtMfqtBaljdmeElZsRG/067oGx9Zcq+j2GWo71KlZe22ga/ALexeTf1c+ETsjCxSTKR6eyQ4RZvz/2JpYfg==",+ "license": "MIT",+ "dependencies": {+ "@tiptap/core": "^3.26.0",+ "@tiptap/extension-blockquote": "^3.26.0",+ "@tiptap/extension-bold": "^3.26.0",+ "@tiptap/extension-bullet-list": "^3.26.0",+ "@tiptap/extension-code": "^3.26.0",+ "@tiptap/extension-code-block": "^3.26.0",+ "@tiptap/extension-document": "^3.26.0",+ "@tiptap/extension-dropcursor": "^3.26.0",+ "@tiptap/extension-gapcursor": "^3.26.0",+ "@tiptap/extension-hard-break": "^3.26.0",+ "@tiptap/extension-heading": "^3.26.0",+ "@tiptap/extension-horizontal-rule": "^3.26.0",+ "@tiptap/extension-italic": "^3.26.0",+ "@tiptap/extension-link": "^3.26.0",+ "@tiptap/extension-list": "^3.26.0",+ "@tiptap/extension-list-item": "^3.26.0",+ "@tiptap/extension-list-keymap": "^3.26.0",+ "@tiptap/extension-ordered-list": "^3.26.0",+ "@tiptap/extension-paragraph": "^3.26.0",+ "@tiptap/extension-strike": "^3.26.0",+ "@tiptap/extension-text": "^3.26.0",+ "@tiptap/extension-underline": "^3.26.0",+ "@tiptap/extensions": "^3.26.0",+ "@tiptap/pm": "^3.26.0"},"funding": {"type": "github",@@ -9945,16 +9818,6 @@"tslib": "^2.4.0"}},- "node_modules/@types/archiver": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-7.0.0.tgz",- "integrity": "sha512-/3vwGwx9n+mCQdYZ2IKGGHEFL30I96UgBlk8EtRDDFQ9uxM1l4O5Ci6r00EMAkiDaTqD9DQ6nVrWRICnBPtzzg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@types/readdir-glob": "*"- }- },"node_modules/@types/bcryptjs": {"version": "2.4.6","resolved": "https://registry.npmjs.org/@types/bcryptjs/-/bcryptjs-2.4.6.tgz",@@ -10198,9 +10061,9 @@"license": "MIT"},"node_modules/@types/node": {- "version": "24.13.0",- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.0.tgz",- "integrity": "sha512-5vtOqGQr4NJKeEzV441FcOi2MeG9UTWq9LqVLGneDdu4vlX17H8kQ2PA2UmNwCUGPVDj4oBjNhS7ReVEIWJJrg==",+ "version": "24.13.1",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.1.tgz",+ "integrity": "sha512-RSpUJGmvsJ1ZeBehQZFhIdpsz+bIpES0nIQXko4Ybq+N+kX6XvOq3Jo+iJ82FWLdblFq85AsMikd3m35jgezYg==","license": "MIT","dependencies": {"undici-types": "~7.18.0"@@ -10319,16 +10182,6 @@"dev": true,"license": "MIT"},- "node_modules/@types/readdir-glob": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/@types/readdir-glob/-/readdir-glob-1.1.5.tgz",- "integrity": "sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@types/node": "*"- }- },"node_modules/@types/sax": {"version": "1.2.7","resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.7.tgz",@@ -10436,22 +10289,23 @@"integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==","dev": true,"license": "MIT",+ "optional": true,"dependencies": {"@types/node": "*"}},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.60.1.tgz",- "integrity": "sha512-JQ4S5GB0tfjO8BuJ4fcX+HodkzJjYBV+7OJ+wLygaX7OGQ7FudyHL4NSCA6ob+w3Yn+5MkKIozOwQhXeM7opVg==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.61.0.tgz",+ "integrity": "sha512-bFNvl9ZczlVb+wR2Akszf3gHfKVj/8WanXaGJ3UstTA7brNKg0cNdk6X1Psu5V7MZ2oQtzZKOEzIUehaoxbDGw==","dev": true,"license": "MIT","dependencies": {"@eslint-community/regexpp": "^4.12.2",- "@typescript-eslint/scope-manager": "8.60.1",- "@typescript-eslint/type-utils": "8.60.1",- "@typescript-eslint/utils": "8.60.1",- "@typescript-eslint/visitor-keys": "8.60.1",+ "@typescript-eslint/scope-manager": "8.61.0",+ "@typescript-eslint/type-utils": "8.61.0",+ "@typescript-eslint/utils": "8.61.0",+ "@typescript-eslint/visitor-keys": "8.61.0","ignore": "^7.0.5","natural-compare": "^1.4.0","ts-api-utils": "^2.5.0"@@ -10464,22 +10318,22 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.60.1",+ "@typescript-eslint/parser": "^8.61.0","eslint": "^8.57.0 || ^9.0.0 || ^10.0.0","typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/parser": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.60.1.tgz",- "integrity": "sha512-A0M6ua6H252bVjPvvtSgl2QA4+ET9S5Mtkb2GDyTxIhH/C4qDItT7RQNO5PhMC6NXGYXOR9dIalcDDgBKT7oFA==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.61.0.tgz",+ "integrity": "sha512-5B7PfA2e1NQGCnDHd/0lW7W3gvp3d59Ryw54FYO8Uswxo9f6ikw3AZV+Xj/TvpImmpsiYyUqAfhC6kJID1jF6w==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.60.1",- "@typescript-eslint/types": "8.60.1",- "@typescript-eslint/typescript-estree": "8.60.1",- "@typescript-eslint/visitor-keys": "8.60.1",+ "@typescript-eslint/scope-manager": "8.61.0",+ "@typescript-eslint/types": "8.61.0",+ "@typescript-eslint/typescript-estree": "8.61.0",+ "@typescript-eslint/visitor-keys": "8.61.0","debug": "^4.4.3"},"engines": {@@ -10495,14 +10349,14 @@}},"node_modules/@typescript-eslint/project-service": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.60.1.tgz",- "integrity": "sha512-eXkTH2bxmXlqD1RnOPmLZ9ZM9D3VwSx04JOwBnP9RQ+yUA5a2Mu7SfW8uaV2Aon53NJzZlZYuX7tn91Izf+xaw==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.61.0.tgz",+ "integrity": "sha512-DV42F7MLJO6Rax7SK1yg43tcnEfGUrurSpSxKuVX+a3RCTzBlH3fuxprrOJXKCJGAaw82xXocikJ0uQaqwXgGA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.60.1",- "@typescript-eslint/types": "^8.60.1",+ "@typescript-eslint/tsconfig-utils": "^8.61.0",+ "@typescript-eslint/types": "^8.61.0","debug": "^4.4.3"},"engines": {@@ -10517,14 +10371,14 @@}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.60.1.tgz",- "integrity": "sha512-gvI5OQoptnxQnchOirukCuQ55svJSTuD/4k5+pC267xyBtYry748R9/c3tYUzb/iE6RZfllRz2lVulLCHkTm4w==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.61.0.tgz",+ "integrity": "sha512-IWdXFHFSb6mlC3HPc7QsLDm5zYEbUla6trDEHf32D3/dnuUyXd87plScSNXSbm0/RxMvObpI17sv/EDTGrGZkA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.60.1",- "@typescript-eslint/visitor-keys": "8.60.1"+ "@typescript-eslint/types": "8.61.0",+ "@typescript-eslint/visitor-keys": "8.61.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -10535,9 +10389,9 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.60.1.tgz",- "integrity": "sha512-nh8w4qAteiKuZu3pSSzG/yGKpw0OlkrKnzFmbVRenKaD4qc+7i1GrmZaLVkr8rk4uipiPGMOW4YsM6WmKZ5CvA==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.61.0.tgz",+ "integrity": "sha512-O5Amvdv9ztMpxpf+vmFULGG78IE6Qwdr3bCGvqwG4nwc9H2qXkOYJJnRbRHyMkQTjv1d03olqwwwzHLMqpFePQ==","dev": true,"license": "MIT","engines": {@@ -10552,15 +10406,15 @@}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.60.1.tgz",- "integrity": "sha512-sdwTrpjosW7ANQYJ39ZBF1ZyEMEGVB2UsikrserVM/30a/F1dTLnu9bGxEdosugyu5caigjLrR2qiD11asjI1A==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.61.0.tgz",+ "integrity": "sha512-TuBiQYIkd97yBfInHCTKVYMbX4kvEmpOEuixIuzCU9p8BGT1SfyyO0d0IfDMbPIHcjn/hWnusUX5e8v5Xg+X8A==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.60.1",- "@typescript-eslint/typescript-estree": "8.60.1",- "@typescript-eslint/utils": "8.60.1",+ "@typescript-eslint/types": "8.61.0",+ "@typescript-eslint/typescript-estree": "8.61.0",+ "@typescript-eslint/utils": "8.61.0","debug": "^4.4.3","ts-api-utils": "^2.5.0"},@@ -10577,9 +10431,9 @@}},"node_modules/@typescript-eslint/types": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.60.1.tgz",- "integrity": "sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.61.0.tgz",+ "integrity": "sha512-9QTQpZ5Iin4CdIodfbDQFSeiSJKidgYJYug1P9CC2xWgUTvlmixViqDZNciMjwLBZyJnG4tGmPl97rVAFb1AJg==","dev": true,"license": "MIT","engines": {@@ -10591,16 +10445,16 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.60.1.tgz",- "integrity": "sha512-alpRkfG8hlVE5kdJW2GkfgDgXxold3e8e4l6EnmhRmRLbekgAPCCGDVD++sABy9FcgPFroq+uFcCSM1vR57Cew==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.61.0.tgz",+ "integrity": "sha512-42zatd5qSvvcV1JdDBCLxYRznvP4eIHpPoZXdkPFnAmanA4FuZ5dibSnCBggY8hQnqajPpoGjXFdZ7fIJKQnlA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.60.1",- "@typescript-eslint/tsconfig-utils": "8.60.1",- "@typescript-eslint/types": "8.60.1",- "@typescript-eslint/visitor-keys": "8.60.1",+ "@typescript-eslint/project-service": "8.61.0",+ "@typescript-eslint/tsconfig-utils": "8.61.0",+ "@typescript-eslint/types": "8.61.0",+ "@typescript-eslint/visitor-keys": "8.61.0","debug": "^4.4.3","minimatch": "^10.2.2","semver": "^7.7.3",@@ -10658,16 +10512,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.60.1.tgz",- "integrity": "sha512-h2MPBLoNtjc3qZWfY3Tl51yPorQ2McHn8pJfcMNTcIvrrZrr90Ykffit0yjrPFWQcRcUxzH20+6OcVdW4yHtUg==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.61.0.tgz",+ "integrity": "sha512-3bzFt7ImFMW/jVYwJamDoe/dMOdFLSC6pom6rRjdh4SZJEYupyMzem8e7vKZLclLfpHjlwSAXOUxtKxGXUiLqA==","dev": true,"license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.9.1",- "@typescript-eslint/scope-manager": "8.60.1",- "@typescript-eslint/types": "8.60.1",- "@typescript-eslint/typescript-estree": "8.60.1"+ "@typescript-eslint/scope-manager": "8.61.0",+ "@typescript-eslint/types": "8.61.0",+ "@typescript-eslint/typescript-estree": "8.61.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -10682,13 +10536,13 @@}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.60.1.tgz",- "integrity": "sha512-EbGRQg4FhrmwLodl+t3JNAnXHWVr9Vp+Zl1QBZVPY4ByfkzIT8cX3K6QWODHtkIZqqJVEWvhHSx3v5PDHsaQag==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.61.0.tgz",+ "integrity": "sha512-QVLZu3ZPQEE+HICQyAMZ2yLQhxf0meY/wx6Hx14YcTNj13JB3qHlX3lJ02L3fLGHgERRH71kvYDwiXIguT3AjQ==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.60.1",+ "@typescript-eslint/types": "8.61.0","eslint-visitor-keys": "^5.0.0"},"engines": {@@ -11153,9 +11007,9 @@}},"node_modules/@xhmikosr/bin-wrapper": {- "version": "14.2.5",- "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-14.2.5.tgz",- "integrity": "sha512-MXfD5mNdc9xQM4/I4O7uWSdQqeZPTYRQSfddUtfH9oUeVkDUTnX4HI2udTsvDEs7ptv2ywHE9UfxlMUs+79wFw==",+ "version": "14.3.0",+ "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-14.3.0.tgz",+ "integrity": "sha512-rDYWjJ/xmH2vhcGUj6ZdUBmJghKPAlQNhzQY2LxI/6CTE2W/TMhnnrTlpET3TfYql6koTYD2sUiO/t9ew1JaCQ==","dev": true,"license": "MIT","dependencies": {@@ -11234,24 +11088,23 @@}},"node_modules/@xhmikosr/decompress-unzip": {- "version": "8.1.1",- "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-unzip/-/decompress-unzip-8.1.1.tgz",- "integrity": "sha512-/B+Z0qJflGn5UEtmMZ2qeKeXwexOycxaibYhMOyLcRPJriXs4IkoSngVUVZXLYViu9TdHyFWynC6NB4EWBg8cg==",+ "version": "8.2.0",+ "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-unzip/-/decompress-unzip-8.2.0.tgz",+ "integrity": "sha512-ciiD6OsxR053GE6Bs72NBVGkm1oZoES06gTfMnm4xRtZUbN1IKDE/EbuBL4tYrMrzX1ZgjNlxcQ1WgL+/CGZcQ==","dev": true,"license": "MIT","dependencies": {"file-type": "^21.3.4",- "get-stream": "^9.0.1",- "yauzl": "^3.3.0"+ "yauzl": "^3.4.0"},"engines": {"node": ">=20"}},"node_modules/@xhmikosr/downloader": {- "version": "16.1.3",- "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-16.1.3.tgz",- "integrity": "sha512-jtQZZbO3xsRmDDeEz7m23ydgbW9YpVnOALNygmKNvjjuTuQwtcXGVJ9xWv4x7niElvziJrak+WUBmWYcFosolA==",+ "version": "16.2.0",+ "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-16.2.0.tgz",+ "integrity": "sha512-5vFLFTOFdDyuPJ6DDaqFPviMnMLrjWvpvbTp+go+JDoyzUBLd4dTjb+1PXIRiUMvJSvlxjpC8GIVN8mYVhQfhg==","dev": true,"license": "MIT","dependencies": {@@ -11261,7 +11114,6 @@"ext-name": "^5.0.0","file-type": "^21.3.4","filenamify": "^7.0.1",- "get-stream": "^9.0.1","got": "^14.6.6"},"engines": {@@ -11316,6 +11168,17 @@"dev": true,"license": "BSD-2-Clause"},+ "node_modules/@zip.js/zip.js": {+ "version": "2.8.26",+ "resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.8.26.tgz",+ "integrity": "sha512-RQ4h9F6DOiHxpdocUDrOl6xBM+yOtz+LkUol47AVWcfebGBDpZ7w7Xvz9PS24JgXvLGiXXzSAfdCdVy1tPlaFA==",+ "license": "BSD-3-Clause",+ "engines": {+ "bun": ">=0.7.0",+ "deno": ">=1.0.0",+ "node": ">=18.0.0"+ }+ },"node_modules/abbrev": {"version": "4.0.0","resolved": "https://registry.npmjs.org/abbrev/-/abbrev-4.0.0.tgz",@@ -11326,18 +11189,6 @@"node": "^20.17.0 || >=22.9.0"}},- "node_modules/abort-controller": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",- "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",- "license": "MIT",- "dependencies": {- "event-target-shim": "^5.0.0"- },- "engines": {- "node": ">=6.5"- }- },"node_modules/abstract-logging": {"version": "2.0.1","resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.1.tgz",@@ -11565,6 +11416,7 @@"version": "5.0.1","resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz","integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,"license": "MIT","engines": {"node": ">=8"@@ -11607,210 +11459,6 @@"dev": true,"license": "BSD-2-Clause"},- "node_modules/archiver": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/archiver/-/archiver-7.0.1.tgz",- "integrity": "sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==",- "license": "MIT",- "dependencies": {- "archiver-utils": "^5.0.2",- "async": "^3.2.4",- "buffer-crc32": "^1.0.0",- "readable-stream": "^4.0.0",- "readdir-glob": "^1.1.2",- "tar-stream": "^3.0.0",- "zip-stream": "^6.0.1"- },- "engines": {- "node": ">= 14"- }- },- "node_modules/archiver-utils": {- "version": "5.0.2",- "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-5.0.2.tgz",- "integrity": "sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==",- "license": "MIT",- "dependencies": {- "glob": "^10.0.0",- "graceful-fs": "^4.2.0",- "is-stream": "^2.0.1",- "lazystream": "^1.0.0",- "lodash": "^4.17.15",- "normalize-path": "^3.0.0",- "readable-stream": "^4.0.0"- },- "engines": {- "node": ">= 14"- }- },- "node_modules/archiver-utils/node_modules/brace-expansion": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.1.tgz",- "integrity": "sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==",- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0"- }- },- "node_modules/archiver-utils/node_modules/buffer": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "base64-js": "^1.3.1",- "ieee754": "^1.2.1"- }- },- "node_modules/archiver-utils/node_modules/glob": {- "version": "10.5.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",- "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",- "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",- "license": "ISC",- "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"- },- "bin": {- "glob": "dist/esm/bin.mjs"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/archiver-utils/node_modules/is-stream": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",- "license": "MIT",- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/archiver-utils/node_modules/lru-cache": {- "version": "10.4.3",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",- "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",- "license": "ISC"- },- "node_modules/archiver-utils/node_modules/minimatch": {- "version": "9.0.9",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",- "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",- "license": "ISC",- "dependencies": {- "brace-expansion": "^2.0.2"- },- "engines": {- "node": ">=16 || 14 >=14.17"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/archiver-utils/node_modules/minipass": {- "version": "7.1.3",- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",- "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",- "license": "BlueOak-1.0.0",- "engines": {- "node": ">=16 || 14 >=14.17"- }- },- "node_modules/archiver-utils/node_modules/path-scurry": {- "version": "1.11.1",- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",- "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",- "license": "BlueOak-1.0.0",- "dependencies": {- "lru-cache": "^10.2.0",- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"- },- "engines": {- "node": ">=16 || 14 >=14.18"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/archiver-utils/node_modules/readable-stream": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",- "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",- "license": "MIT",- "dependencies": {- "abort-controller": "^3.0.0",- "buffer": "^6.0.3",- "events": "^3.3.0",- "process": "^0.11.10",- "string_decoder": "^1.3.0"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- }- },- "node_modules/archiver/node_modules/buffer": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "base64-js": "^1.3.1",- "ieee754": "^1.2.1"- }- },- "node_modules/archiver/node_modules/readable-stream": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",- "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",- "license": "MIT",- "dependencies": {- "abort-controller": "^3.0.0",- "buffer": "^6.0.3",- "events": "^3.3.0",- "process": "^0.11.10",- "string_decoder": "^1.3.0"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- }- },"node_modules/arg": {"version": "4.1.3","resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",@@ -11904,12 +11552,6 @@"dev": true,"license": "MIT"},- "node_modules/async": {- "version": "3.2.6",- "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",- "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",- "license": "MIT"- },"node_modules/asynckit": {"version": "0.4.0","resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",@@ -12008,6 +11650,7 @@"version": "1.8.1","resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.1.tgz","integrity": "sha512-aiqre1Nr0B/6DgE2N5vwTc+2/oQZ4Wh1t4NznYY4E00y8LCt6NqdRv81so00oo27D8MVKTpUa/MwUUtBLXCoDw==",+ "dev": true,"license": "Apache-2.0","peerDependencies": {"react-native-b4a": "*"@@ -12022,12 +11665,14 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz","integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",+ "dev": true,"license": "MIT"},"node_modules/bare-events": {"version": "2.9.1","resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.9.1.tgz","integrity": "sha512-Z0oHEHAFDZkffN8Qc39zNZjQlMDkPJRyyyZieU1VH7u8c5S+qHZ2S8ixdKIAxEjfHO7FJxXmJWgteOghVanIsg==",+ "dev": true,"license": "Apache-2.0","peerDependencies": {"bare-abort-controller": "*"@@ -12042,6 +11687,7 @@"version": "1.5.1","resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz","integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",+ "dev": true,"funding": [{"type": "github",@@ -12068,9 +11714,9 @@}},"node_modules/baseline-browser-mapping": {- "version": "2.10.33",- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.33.tgz",- "integrity": "sha512-bA6+tcSLpz2tIEdDXZPpPTIuxBcC4+w6SieaYyfigIa4h8GlFxbA17v22Vx3JUtuZQj9SgOsnbK+aTBzyDyEuw==",+ "version": "2.10.34",+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.34.tgz",+ "integrity": "sha512-IMDedajPifLnHNY0X9n8hKxRTQ6/eTHwr5bDo04WnuqxyKw6LYtQywCuuqPZwhl3aBXMvQpJov42GLCwRRdQzw==","dev": true,"license": "Apache-2.0","bin": {@@ -12430,12 +12076,13 @@}},"node_modules/buffer-crc32": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-1.0.0.tgz",- "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==",+ "version": "0.2.13",+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",+ "dev": true,"license": "MIT","engines": {- "node": ">=8.0.0"+ "node": "*"}},"node_modules/buffer-equal-constant-time": {@@ -12623,9 +12270,9 @@}},"node_modules/caniuse-lite": {- "version": "1.0.30001793",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001793.tgz",- "integrity": "sha512-iwSsYWaCOoh26cV8NwNRViHlrfUvYsHDfRVcbtmw0Kg6PJIZZXwMkj1442FYLBGkeUf1juAsU3DTfxW579mrPA==",+ "version": "1.0.30001797",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz",+ "integrity": "sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==","dev": true,"funding": [{@@ -13011,74 +12658,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/compress-commons": {- "version": "6.0.2",- "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-6.0.2.tgz",- "integrity": "sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==",- "license": "MIT",- "dependencies": {- "crc-32": "^1.2.0",- "crc32-stream": "^6.0.0",- "is-stream": "^2.0.1",- "normalize-path": "^3.0.0",- "readable-stream": "^4.0.0"- },- "engines": {- "node": ">= 14"- }- },- "node_modules/compress-commons/node_modules/buffer": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "base64-js": "^1.3.1",- "ieee754": "^1.2.1"- }- },- "node_modules/compress-commons/node_modules/is-stream": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",- "license": "MIT",- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/compress-commons/node_modules/readable-stream": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",- "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",- "license": "MIT",- "dependencies": {- "abort-controller": "^3.0.0",- "buffer": "^6.0.3",- "events": "^3.3.0",- "process": "^0.11.10",- "string_decoder": "^1.3.0"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- }- },"node_modules/concat-map": {"version": "0.0.1","resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",@@ -13102,15 +12681,6 @@"typedarray": "^0.0.6"}},- "node_modules/consola": {- "version": "3.4.2",- "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",- "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",- "license": "MIT",- "engines": {- "node": "^14.18.0 || >=16.10.0"- }- },"node_modules/content-disposition": {"version": "1.1.0","resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz",@@ -13438,6 +13008,7 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz","integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",+ "dev": true,"license": "MIT"},"node_modules/cors": {@@ -13496,86 +13067,21 @@"json-parse-even-better-errors": "^2.3.0","lines-and-columns": "^1.1.6"},- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/cosmiconfig/node_modules/path-type": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "node_modules/crc-32": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",- "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==",- "license": "Apache-2.0",- "bin": {- "crc32": "bin/crc32.njs"- },- "engines": {- "node": ">=0.8"- }- },- "node_modules/crc32-stream": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-6.0.0.tgz",- "integrity": "sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==",- "license": "MIT",- "dependencies": {- "crc-32": "^1.2.0",- "readable-stream": "^4.0.0"- },- "engines": {- "node": ">= 14"- }- },- "node_modules/crc32-stream/node_modules/buffer": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "base64-js": "^1.3.1",- "ieee754": "^1.2.1"+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/crc32-stream/node_modules/readable-stream": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",- "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",+ "node_modules/cosmiconfig/node_modules/path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",+ "dev": true,"license": "MIT",- "dependencies": {- "abort-controller": "^3.0.0",- "buffer": "^6.0.3",- "events": "^3.3.0",- "process": "^0.11.10",- "string_decoder": "^1.3.0"- },"engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": ">=8"}},"node_modules/create-require": {@@ -13612,6 +13118,7 @@"version": "7.0.6","resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz","integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",+ "dev": true,"license": "MIT","dependencies": {"path-key": "^3.1.0",@@ -14857,12 +14364,6 @@"node": ">= 0.4"}},- "node_modules/eastasianwidth": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",- "license": "MIT"- },"node_modules/ecdsa-sig-formatter": {"version": "1.0.11","resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",@@ -14880,9 +14381,9 @@"license": "MIT"},"node_modules/electron-to-chromium": {- "version": "1.5.367",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.367.tgz",- "integrity": "sha512-4Mk/mrynCNQ+atY40D3UpmhLWB6AHMbYMlIrPhHcMF6x0L7O0b052FCAsxw1LlaR++UFuNg3D/A6XCuGDa0guQ==",+ "version": "1.5.368",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.368.tgz",+ "integrity": "sha512-7RckJJK4uESJF9PxvfMWd3TGqIiieUTG4HxnKaKuIpGbcr+r2ZEB3g2gAhCP3Fqm42vJSzLfgab9eva/C4/XVw==","dev": true,"license": "ISC"},@@ -14890,6 +14391,7 @@"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz","integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,"license": "MIT"},"node_modules/encodeurl": {@@ -15007,9 +14509,9 @@}},"node_modules/enhanced-resolve": {- "version": "5.22.2",- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.22.2.tgz",- "integrity": "sha512-0rxICaFZ7NQho/sHely2bvOPRP0Eu2B0NZ9zM54YvRvWMn7jfz3DmnOZDR9LlXDdDcqntAVc6Hfy4gr/tdH/Ag==",+ "version": "5.23.0",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.23.0.tgz",+ "integrity": "sha512-yJN/BOOLxcOW2aQgeif9mSnaUB8KtvmMMp56oA1kx1CRfBKbhZm2pJ+NBY+3eOboHxix8lfjWpHE0Ei5U8RbSA==","dev": true,"license": "MIT","dependencies": {@@ -15617,15 +15119,6 @@"node": ">= 0.6"}},- "node_modules/event-target-shim": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",- "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",- "license": "MIT",- "engines": {- "node": ">=6"- }- },"node_modules/eventemitter3": {"version": "5.0.4","resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",@@ -15637,6 +15130,7 @@"version": "3.3.0","resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz","integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",+ "dev": true,"license": "MIT","engines": {"node": ">=0.8.x"@@ -15646,6 +15140,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz","integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==",+ "dev": true,"license": "Apache-2.0","dependencies": {"bare-events": "^2.7.0"@@ -15868,16 +15363,6 @@"@types/yauzl": "^2.9.1"}},- "node_modules/extract-zip/node_modules/buffer-crc32": {- "version": "0.2.13",- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",- "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": "*"- }- },"node_modules/extract-zip/node_modules/get-stream": {"version": "5.2.0","resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",@@ -15934,6 +15419,7 @@"version": "1.3.2","resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz","integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",+ "dev": true,"license": "MIT"},"node_modules/fast-json-stable-stringify": {@@ -16366,22 +15852,6 @@}}},- "node_modules/foreground-child": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",- "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",- "license": "ISC",- "dependencies": {- "cross-spawn": "^7.0.6",- "signal-exit": "^4.0.1"- },- "engines": {- "node": ">=14"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },"node_modules/fork-ts-checker-webpack-plugin": {"version": "9.1.0","resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.1.0.tgz",@@ -17214,9 +16684,9 @@"license": "MIT"},"node_modules/hono": {- "version": "4.12.23",- "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.23.tgz",- "integrity": "sha512-eIaZ9qDgu7XV0pxOCrg7/WhnQ6Ivm22UcxhXx/A3dcbqbbYgBEkc6e/J/s7j2tS96zoB0S9VBdLwQNCWwUo4LA==",+ "version": "4.12.24",+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.24.tgz",+ "integrity": "sha512-I36D1s+HgQc55KbhEr4iybfxv/9o1zdpw+XEM6dJa91LqQD0HCoSGdxpRJCZE+aavs87j4V3Ls2OJzq8C/U4iw==","dev": true,"license": "MIT","engines": {@@ -17628,6 +17098,7 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz","integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "dev": true,"license": "MIT","engines": {"node": ">=8"@@ -17774,6 +17245,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz","integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",+ "dev": true,"license": "MIT"},"node_modules/isexe": {@@ -17874,21 +17346,6 @@"node": ">=6"}},- "node_modules/jackspeak": {- "version": "3.4.3",- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",- "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",- "license": "BlueOak-1.0.0",- "dependencies": {- "@isaacs/cliui": "^8.0.2"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- },- "optionalDependencies": {- "@pkgjs/parseargs": "^0.11.0"- }- },"node_modules/jest-worker": {"version": "27.5.1","resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",@@ -18179,48 +17636,6 @@"node": ">=0.10.0"}},- "node_modules/lazystream": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz",- "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",- "license": "MIT",- "dependencies": {- "readable-stream": "^2.0.5"- },- "engines": {- "node": ">= 0.6.3"- }- },- "node_modules/lazystream/node_modules/readable-stream": {- "version": "2.3.8",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",- "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",- "license": "MIT",- "dependencies": {- "core-util-is": "~1.0.0",- "inherits": "~2.0.3",- "isarray": "~1.0.0",- "process-nextick-args": "~2.0.0",- "safe-buffer": "~5.1.1",- "string_decoder": "~1.1.1",- "util-deprecate": "~1.0.1"- }- },- "node_modules/lazystream/node_modules/safe-buffer": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "license": "MIT"- },- "node_modules/lazystream/node_modules/string_decoder": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "license": "MIT",- "dependencies": {- "safe-buffer": "~5.1.0"- }- },"node_modules/ldapts": {"version": "8.1.8","resolved": "https://registry.npmjs.org/ldapts/-/ldapts-8.1.8.tgz",@@ -18257,9 +17672,9 @@}},"node_modules/libphonenumber-js": {- "version": "1.13.5",- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.13.5.tgz",- "integrity": "sha512-7/kRezHmQlMfO6pmvt34orO/g3j1C47k8FCBXFgj/mklTLwQdBca1LkhDK6RM8UyM6JqHFAIikMdkKkyfQy39A==",+ "version": "1.13.6",+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.13.6.tgz",+ "integrity": "sha512-NdB6O6QvlGMCoG003m0YIKG2+Xw7DjmCZhmc1RH+K6HncADUbRf8TZeLegxBBN1VFyPHcNpPTKpIhYLXzJVy1Q==","license": "MIT"},"node_modules/light-my-request": {@@ -19844,9 +19259,9 @@"license": "MIT"},"node_modules/msgpackr": {- "version": "1.11.12",- "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.12.tgz",- "integrity": "sha512-RBdJ1Un7yGlXWajrkxcSa93nvQ0w4zBf60c0yYv7YtBelP8H2FA7XsfBbMHtXKXUMUxH7zV3Zuozh+kUQWhHvg==",+ "version": "1.12.0",+ "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.12.0.tgz",+ "integrity": "sha512-ShViuAPS67t4m33mZtSokhAtfzTTZPxN7L6JwkhpTfCadm8NcMGBAZMakg1b7cZqFnJLqhh5b+lHJ2ejcM3qlw==","dev": true,"license": "MIT","optional": true,@@ -19888,9 +19303,9 @@}},"node_modules/mysql2": {- "version": "3.22.4",- "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.22.4.tgz",- "integrity": "sha512-CtXYlmL7ZamiYKbmqkamQHWJROUHSfm+f3kByzGfknw7kW51mcB2ouMUqYq1XfYxbXmnWo6RhPydx6OCqdgcmQ==",+ "version": "3.22.5",+ "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.22.5.tgz",+ "integrity": "sha512-95uZ2TrPWAZdwpB3vvvDbmEMcNG8yIeNCyu6GUcr/QnWEE/wXm7+mhOCsdQfWQDTV7qYT/PDUZ4U4UPP4AsXqQ==","license": "MIT","dependencies": {"aws-ssl-profiles": "^1.1.2",@@ -20128,9 +19543,9 @@}},"node_modules/node-gyp": {- "version": "12.3.0",- "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-12.3.0.tgz",- "integrity": "sha512-QNcUWM+HgJplcPzBvFBZ9VXacyGZ4+VTOb80PwWR+TlVzoHbRKULNEzpRsnaoxG3Wzr7Qh7BYxGDU3CbKib2Yg==",+ "version": "12.4.0",+ "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-12.4.0.tgz",+ "integrity": "sha512-OMcPNvqTCFUnNaBlmdgq+lfNqY7gTiSmNRDjY3uAXRyudeKZEZxu3CLtjMQrx4zZxCX2b/mpNqTtwuCJgXhHkw==","dev": true,"license": "MIT","dependencies": {@@ -20268,15 +19683,6 @@"node": ">=10"}},- "node_modules/normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },"node_modules/normalize-url": {"version": "8.1.1","resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.1.1.tgz",@@ -20818,12 +20224,6 @@"node": ">=6"}},- "node_modules/package-json-from-dist": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",- "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",- "license": "BlueOak-1.0.0"- },"node_modules/pacote": {"version": "21.3.1","resolved": "https://registry.npmjs.org/pacote/-/pacote-21.3.1.tgz",@@ -21070,6 +20470,7 @@"version": "3.1.1","resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz","integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",+ "dev": true,"license": "MIT","engines": {"node": ">=8"@@ -21187,6 +20588,7 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz","integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",+ "dev": true,"license": "MIT"},"node_modules/picocolors": {@@ -21562,19 +20964,11 @@"node": "^20.17.0 || >=22.9.0"}},- "node_modules/process": {- "version": "0.11.10",- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",- "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==",- "license": "MIT",- "engines": {- "node": ">= 0.6.0"- }- },"node_modules/process-nextick-args": {"version": "2.0.1","resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz","integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",+ "dev": true,"license": "MIT"},"node_modules/process-warning": {@@ -22050,36 +21444,6 @@"node": ">= 6"}},- "node_modules/readdir-glob": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz",- "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==",- "license": "Apache-2.0",- "dependencies": {- "minimatch": "^5.1.0"- }- },- "node_modules/readdir-glob/node_modules/brace-expansion": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.1.tgz",- "integrity": "sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==",- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0"- }- },- "node_modules/readdir-glob/node_modules/minimatch": {- "version": "5.1.9",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.9.tgz",- "integrity": "sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==",- "license": "ISC",- "dependencies": {- "brace-expansion": "^2.0.1"- },- "engines": {- "node": ">=10"- }- },"node_modules/readdirp": {"version": "5.0.0","resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz",@@ -22677,9 +22041,9 @@}},"node_modules/semver": {- "version": "7.8.2",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.3.tgz",+ "integrity": "sha512-wnilbGyMxzbY7dNOl7jpKbLSjcfeweJWU5j4+u5qW+6/wuGD9KzIGOyZnQVSBM9E7DtWaaH3CyHkppYrKYoxwg==","license": "ISC","bin": {"semver": "bin/semver.js"@@ -22824,6 +22188,7 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz","integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",+ "dev": true,"license": "MIT","dependencies": {"shebang-regex": "^3.0.0"@@ -22836,21 +22201,22 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz","integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",+ "dev": true,"license": "MIT","engines": {"node": ">=8"}},"node_modules/side-channel": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==","dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",- "object-inspect": "^1.13.3",- "side-channel-list": "^1.0.0",+ "object-inspect": "^1.13.4",+ "side-channel-list": "^1.0.1","side-channel-map": "^1.0.1","side-channel-weakmap": "^1.0.2"},@@ -22928,6 +22294,7 @@"version": "4.1.0","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz","integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",+ "dev": true,"license": "ISC","engines": {"node": ">=14"@@ -23361,6 +22728,7 @@"version": "2.27.0","resolved": "https://registry.npmjs.org/streamx/-/streamx-2.27.0.tgz","integrity": "sha512-WZ189TKnHoAokYHvwzaAQMpd55cgUmFIcJFzBSgGcb886jau5DL+XdDhTWV4ps3FLvk+OORp0dLRTPsLZ21CSA==",+ "dev": true,"license": "MIT","dependencies": {"events-universal": "^1.0.0",@@ -23378,6 +22746,7 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz","integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",+ "dev": true,"license": "MIT","dependencies": {"safe-buffer": "~5.2.0"@@ -23387,21 +22756,7 @@"version": "4.2.3","resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz","integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",- "license": "MIT",- "dependencies": {- "emoji-regex": "^8.0.0",- "is-fullwidth-code-point": "^3.0.0",- "strip-ansi": "^6.0.1"- },- "engines": {- "node": ">=8"- }- },- "node_modules/string-width-cjs": {- "name": "string-width",- "version": "4.2.3",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dev": true,"license": "MIT","dependencies": {"emoji-regex": "^8.0.0",@@ -23447,19 +22802,7 @@"version": "6.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz","integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",- "license": "MIT",- "dependencies": {- "ansi-regex": "^5.0.1"- },- "engines": {- "node": ">=8"- }- },- "node_modules/strip-ansi-cjs": {- "name": "strip-ansi",- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,"license": "MIT","dependencies": {"ansi-regex": "^5.0.1"@@ -23754,6 +23097,7 @@"version": "3.1.7","resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz","integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",+ "dev": true,"license": "MIT","dependencies": {"b4a": "^1.6.4",@@ -23932,6 +23276,7 @@"version": "1.2.7","resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.7.tgz","integrity": "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==",+ "dev": true,"license": "Apache-2.0","dependencies": {"b4a": "^1.6.4"@@ -25052,16 +24397,16 @@}},"node_modules/typescript-eslint": {- "version": "8.60.1",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.60.1.tgz",- "integrity": "sha512-6m5hkkRAp8lKvhVpcprAIn5KkehQEh+47oHH2VGnExEh7dhNxXlg6GPAOIu6TxbVQxhebrJDvjl3020ooiWCMA==",+ "version": "8.61.0",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.61.0.tgz",+ "integrity": "sha512-8y31Rd0eGTrDKqhy6vT0HtzhN+YLjQizwX3aA3hPXP/ynSfnrBXcQY5IzsP9/DM7+klX4IUncZZjkchP0z+rUw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/eslint-plugin": "8.60.1",- "@typescript-eslint/parser": "8.60.1",- "@typescript-eslint/typescript-estree": "8.60.1",- "@typescript-eslint/utils": "8.60.1"+ "@typescript-eslint/eslint-plugin": "8.61.0",+ "@typescript-eslint/parser": "8.61.0",+ "@typescript-eslint/typescript-estree": "8.61.0",+ "@typescript-eslint/utils": "8.61.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -25277,6 +24622,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz","integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",+ "dev": true,"license": "MIT"},"node_modules/utils-merge": {@@ -25721,6 +25067,7 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz","integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",+ "dev": true,"license": "ISC","dependencies": {"isexe": "^2.0.0"@@ -25736,6 +25083,7 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz","integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",+ "dev": true,"license": "ISC"},"node_modules/why-is-node-running": {@@ -25790,57 +25138,6 @@"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},- "node_modules/wrap-ansi-cjs": {- "name": "wrap-ansi",- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",- "license": "MIT",- "dependencies": {- "ansi-styles": "^4.0.0",- "string-width": "^4.1.0",- "strip-ansi": "^6.0.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"- }- },- "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",- "license": "MIT",- "dependencies": {- "color-convert": "^2.0.1"- },- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/chalk/ansi-styles?sponsor=1"- }- },- "node_modules/wrap-ansi-cjs/node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",- "license": "MIT",- "dependencies": {- "color-name": "~1.1.4"- },- "engines": {- "node": ">=7.0.0"- }- },- "node_modules/wrap-ansi-cjs/node_modules/color-name": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",- "license": "MIT"- },"node_modules/wrap-ansi/node_modules/ansi-styles": {"version": "4.3.0","resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",@@ -26010,9 +25307,10 @@}},"node_modules/yauzl": {- "version": "3.3.2",- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.3.2.tgz",- "integrity": "sha512-Md9ankxxN23wncAN8s7+Tn3Co52zLUPMtnrLAbVCnfG5d2tKBFfmygYSgXlqFgXObtzIgqkx7aNgDBpso9+4qA==",+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.4.0.tgz",+ "integrity": "sha512-jIH9yLR9wqr0wOS0TpBvo/g/2UgZH5qePVbjgRliiF0BYvOZyaBknKsF+x9Iht0O6sqgnB93rCICdOZFecJuDw==",+ "dev": true,"license": "MIT","dependencies": {"pend": "~1.2.0"@@ -26070,60 +25368,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/zip-stream": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.1.tgz",- "integrity": "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==",- "license": "MIT",- "dependencies": {- "archiver-utils": "^5.0.0",- "compress-commons": "^6.0.2",- "readable-stream": "^4.0.0"- },- "engines": {- "node": ">= 14"- }- },- "node_modules/zip-stream/node_modules/buffer": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "base64-js": "^1.3.1",- "ieee754": "^1.2.1"- }- },- "node_modules/zip-stream/node_modules/readable-stream": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz",- "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==",- "license": "MIT",- "dependencies": {- "abort-controller": "^3.0.0",- "buffer": "^6.0.3",- "events": "^3.3.0",- "process": "^0.11.10",- "string_decoder": "^1.3.0"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- }- },"node_modules/zlibjs": {"version": "0.3.1","resolved": "https://registry.npmjs.org/zlibjs/-/zlibjs-0.3.1.tgz",