mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 03:26:07 +00:00
chore(deps): bump npm dependencies, jsdom 31, isomorphic-dompurify 4 and dotenv 18
The minor and patch group of #3108 without MikroORM: 7.2.9 refuses to set the OAuth client reference from its client_id (the Postgres probe fails on OauthTokens.insertToken and OauthConsents.upsertGrant), so MikroORM stays on 7.2.8 and with it better-sqlite3 and kysely, which it pins exactly. mapbox-gl 3.33 shapes right-to-left text itself and removed setRTLTextPlugin, so the engine registers nothing any more and @mapbox/mapbox-gl-rtl-text, its Vite alias and the registration guard go. The WebAssembly module it loads instead comes from api.mapbox.com, which the CSP already allows. jsdom 31 and isomorphic-dompurify 4 move together, since the sanitizer needs jsdom 31. jsdom is also a root devDependency now: listed only in the client, npm nests it under client/ where vitest's built-in jsdom environment does not find it. dotenv 18 is loaded through `import 'dotenv/config'` only, which stays quiet. Closes #3108, closes #3109, closes #3110, closes #3112
This commit is contained in:
+11
-12
@@ -53,15 +53,15 @@
|
||||
"format:check": "prettier --check \"src/**/*.tsx\" \"src/**/*.css\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@assistant-ui/react": "0.15.32",
|
||||
"@assistant-ui/react": "0.15.36",
|
||||
"@capacitor/action-sheet": "^8.1.1",
|
||||
"@capacitor/android": "^8.6.0",
|
||||
"@capacitor/android": "^8.6.2",
|
||||
"@capacitor/app": "^8.1.1",
|
||||
"@capacitor/core": "^8.5.0",
|
||||
"@capacitor/core": "^8.6.2",
|
||||
"@capacitor/dialog": "^8.0.1",
|
||||
"@capacitor/filesystem": "^8.1.3",
|
||||
"@capacitor/haptics": "^8.0.2",
|
||||
"@capacitor/ios": "^8.6.0",
|
||||
"@capacitor/ios": "^8.6.2",
|
||||
"@capacitor/keyboard": "^8.0.5",
|
||||
"@capacitor/share": "^8.0.1",
|
||||
"@capacitor/splash-screen": "^8.0.2",
|
||||
@@ -101,7 +101,6 @@
|
||||
"@fontsource/satisfy": "^5.3.0",
|
||||
"@fontsource/shrikhand": "^5.3.0",
|
||||
"@fontsource/yellowtail": "^5.3.0",
|
||||
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
|
||||
"@maplibre/maplibre-gl-leaflet": "0.1.4",
|
||||
"@noble/hashes": "^1.8.0",
|
||||
"@simplewebauthn/browser": "^13.3.0",
|
||||
@@ -113,8 +112,8 @@
|
||||
"iso-3166-2": "^1.0.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"lucide-react": "^0.577.0",
|
||||
"mapbox-gl": "^3.31.0",
|
||||
"maplibre-gl": "6.16.0",
|
||||
"mapbox-gl": "^3.35.0",
|
||||
"maplibre-gl": "6.18.0",
|
||||
"modern-screenshot": "4.7.0",
|
||||
"plyr": "^3.8.5",
|
||||
"react": "^19.3.1",
|
||||
@@ -132,14 +131,14 @@
|
||||
"zustand": "^5.0.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/cli": "^8.6.0",
|
||||
"@capacitor/cli": "^8.6.2",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@jscpd/core": "^4.2.5",
|
||||
"@jscpd/tokenizer": "^4.2.6",
|
||||
"@playwright/test": "^1.65.0",
|
||||
"@testing-library/jest-dom": "^6.10.0",
|
||||
"@testing-library/react": "^16.3.3",
|
||||
"@testing-library/user-event": "^14.6.8",
|
||||
"@testing-library/user-event": "^14.6.10",
|
||||
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
||||
"@types/leaflet": "^1.9.22",
|
||||
"@types/node": "^25.9.8",
|
||||
@@ -154,10 +153,10 @@
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"fake-indexeddb": "^6.2.7",
|
||||
"jsdom": "^29.1.1",
|
||||
"jsdom": "^31.0.1",
|
||||
"msw": "^2.15.0",
|
||||
"postcss": "^8.5.28",
|
||||
"prettier": "^3.9.10",
|
||||
"prettier": "^3.10.1",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"rollup-plugin-visualizer": "^7.1.2",
|
||||
@@ -165,7 +164,7 @@
|
||||
"tailwindcss": "^3.4.19",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.72.1",
|
||||
"vite": "8.3.6",
|
||||
"vite": "8.3.8",
|
||||
"vite-plugin-pwa": "^2.0.0",
|
||||
"vitest": "^4.1.12"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import { createRequire } from 'node:module';
|
||||
import path from 'node:path';
|
||||
|
||||
/**
|
||||
* Plyr's icon sprite. The package publishes its JS and CSS entries and nothing
|
||||
* else, so `plyr/dist/plyr.svg` is refused by the resolver although the file is
|
||||
* right there. Resolving the entry it does publish and stepping across keeps this
|
||||
* working wherever npm hoists the package.
|
||||
*
|
||||
* Shared by vite.config.js and vitest.config.ts: the build needs it to emit the
|
||||
* asset, and the test run needs it because a component reaches the same
|
||||
* specifier. The pattern is a regex so a `?url` suffix survives the rewrite. The player has to point at a copy on this origin
|
||||
* (#2341): its default is the sprite on cdn.plyr.io, which the CSP refuses.
|
||||
*/
|
||||
export const plyrSpriteAlias = {
|
||||
find: /^plyr\/dist\/plyr\.svg/,
|
||||
replacement: path.join(
|
||||
path.dirname(createRequire(import.meta.url).resolve('plyr')),
|
||||
'plyr.svg',
|
||||
),
|
||||
};
|
||||
@@ -1,39 +0,0 @@
|
||||
import { createRequire } from 'node:module';
|
||||
import path from 'node:path';
|
||||
|
||||
/**
|
||||
* setRTLTextPlugin() takes the URL of a classic script that the GL worker pulls in
|
||||
* with importScripts. mapbox-gl-rtl-text ships exactly that as
|
||||
* dist/mapbox-gl-rtl-text.js, but its "exports" field publishes only the ESM/WASM
|
||||
* entry, so the resolver refuses the subpath. Resolving the entry it does publish
|
||||
* and stepping across to dist keeps this working wherever npm hoists the package.
|
||||
*
|
||||
* Shared by vite.config.js and vitest.config.ts: the build needs it to emit the
|
||||
* asset, and the test run needs it because a lazily imported engine module reaches
|
||||
* the same specifier.
|
||||
*
|
||||
* The pattern is a regex, not a string key: the import carries a `?url` suffix,
|
||||
* which a string alias will not match. It is left unanchored on purpose so the
|
||||
* query survives the rewrite and Vite still emits an asset URL.
|
||||
*/
|
||||
export const rtlTextAlias = {
|
||||
find: /^@mapbox\/mapbox-gl-rtl-text\/dist\/mapbox-gl-rtl-text\.js/,
|
||||
replacement: path.join(
|
||||
path.dirname(createRequire(import.meta.url).resolve('@mapbox/mapbox-gl-rtl-text')),
|
||||
'../dist/mapbox-gl-rtl-text.js',
|
||||
),
|
||||
};
|
||||
|
||||
/**
|
||||
* Same shape for Plyr's icon sprite. The package publishes its JS and CSS entries
|
||||
* and nothing else, so `plyr/dist/plyr.svg` is refused by the resolver although
|
||||
* the file is right there. The player has to point at a copy on this origin
|
||||
* (#2341): its default is the sprite on cdn.plyr.io, which the CSP refuses.
|
||||
*/
|
||||
export const plyrSpriteAlias = {
|
||||
find: /^plyr\/dist\/plyr\.svg/,
|
||||
replacement: path.join(
|
||||
path.dirname(createRequire(import.meta.url).resolve('plyr')),
|
||||
'plyr.svg',
|
||||
),
|
||||
};
|
||||
@@ -519,8 +519,6 @@
|
||||
"src/components/Map/reservationsMapbox.ts",
|
||||
"src/components/Map/routeUsageCounter.test.ts",
|
||||
"src/components/Map/routeUsageCounter.ts",
|
||||
"src/components/Map/rtlText.test.ts",
|
||||
"src/components/Map/rtlText.ts",
|
||||
"src/components/Map/selectedPlaceTarget.test.ts",
|
||||
"src/components/Map/selectedPlaceTarget.ts",
|
||||
"src/components/Map/trackColors.ts",
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import mapboxgl from 'mapbox-gl'
|
||||
import 'mapbox-gl/dist/mapbox-gl.css'
|
||||
import rtlTextPluginUrl from '@mapbox/mapbox-gl-rtl-text/dist/mapbox-gl-rtl-text.js?url'
|
||||
import { registerRtlTextPlugin } from '../rtlText'
|
||||
|
||||
/**
|
||||
* The only module in the client that pulls mapbox-gl in at runtime.
|
||||
@@ -10,8 +8,8 @@ import { registerRtlTextPlugin } from '../rtlText'
|
||||
* a static import from anywhere in the tree drags 1.8 MB into the parent chunk and
|
||||
* quietly undoes the split. `npm run check:gl-split` fails on that.
|
||||
*/
|
||||
// Arabic/Hebrew/Persian labels come out unjoined and reversed without this.
|
||||
// Mapbox's signature is (url, callback, deferred) — see rtlText.ts.
|
||||
registerRtlTextPlugin(() => mapboxgl.setRTLTextPlugin(rtlTextPluginUrl, null, true))
|
||||
// No RTL text plugin to register: since 3.33 Mapbox GL shapes Arabic and orders
|
||||
// bidirectional text itself, loading a small WebAssembly module from
|
||||
// api.mapbox.com the first time such a label appears (#2235).
|
||||
|
||||
export default mapboxgl
|
||||
|
||||
@@ -25,7 +25,7 @@ import { installOfflineProtocol } from '../../../native/offlineTiles'
|
||||
// together with this module.
|
||||
maplibregl.setWorkerUrl(workerUrl)
|
||||
|
||||
// No RTL text plugin here, unlike mapbox. MapLibre 6.9 shapes Arabic and orders
|
||||
// No RTL text plugin here, as with mapbox. MapLibre 6.9 shapes Arabic and orders
|
||||
// bidirectional text itself; the old plugin would replace that implementation, and
|
||||
// a v6 worker can only load the plugin's UMD build through eval.
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
||||
|
||||
/**
|
||||
* What each engine module does on import. Everything else is a helper: the guard
|
||||
* in rtlText.ts has its own tests, but a guard nobody calls looks exactly like a
|
||||
* working fix from the outside. Deleting the mapbox registration, swapping an
|
||||
* argument or dropping the deferred flag left the whole suite green, and so would
|
||||
* a maplibre engine that forgot its worker URL.
|
||||
* What each engine module does on import. Both GL engines shape right-to-left
|
||||
* text themselves now (MapLibre since 6.9, Mapbox since 3.33), so neither may
|
||||
* register the old plugin, and a maplibre engine that forgot its worker URL
|
||||
* would draw no tile at all.
|
||||
*
|
||||
* The engines are mocked because importing them for real builds a worker pool
|
||||
* under jsdom, and the plugin URL is mocked so the 133 KB payload never loads.
|
||||
* under jsdom.
|
||||
*/
|
||||
const { mapboxSet, maplibreSet, maplibreWorker } = vi.hoisted(() => ({
|
||||
mapboxSet: vi.fn(),
|
||||
@@ -21,7 +20,6 @@ vi.mock('maplibre-gl', () => ({ setRTLTextPlugin: maplibreSet, setWorkerUrl: map
|
||||
vi.mock('mapbox-gl/dist/mapbox-gl.css', () => ({}));
|
||||
vi.mock('maplibre-gl/dist/maplibre-gl.css', () => ({}));
|
||||
vi.mock('maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url', () => ({ default: '/assets/maplibre-worker.js' }));
|
||||
vi.mock('@mapbox/mapbox-gl-rtl-text/dist/mapbox-gl-rtl-text.js?url', () => ({ default: '/assets/rtl-plugin.js' }));
|
||||
|
||||
beforeEach(() => {
|
||||
vi.resetModules();
|
||||
@@ -30,15 +28,14 @@ beforeEach(() => {
|
||||
maplibreWorker.mockReset();
|
||||
});
|
||||
|
||||
describe('the GL engines register the RTL text plugin (#2235)', () => {
|
||||
it('FE-MAP-RTL-001: importing the mapbox engine registers it deferred, with a null callback', async () => {
|
||||
await import('./mapbox');
|
||||
describe('the GL engines on import (#2235)', () => {
|
||||
it('FE-MAP-RTL-001: importing the mapbox engine registers no plugin', async () => {
|
||||
const engine = await import('./mapbox');
|
||||
|
||||
expect(mapboxSet).toHaveBeenCalledTimes(1);
|
||||
// Mapbox GL 3 takes (url, callback, deferred). The third argument is what
|
||||
// keeps the payload off the wire until a map paints RTL text; dropping it
|
||||
// would fetch 133 KB for every user on every map.
|
||||
expect(mapboxSet).toHaveBeenCalledWith(expect.stringContaining('rtl'), null, true);
|
||||
// Mapbox GL 3.33 shapes right-to-left text itself and dropped the plugin API;
|
||||
// calling it would throw on the real engine.
|
||||
expect(mapboxSet).not.toHaveBeenCalled();
|
||||
expect(engine.default).toBeDefined();
|
||||
});
|
||||
|
||||
it('FE-MAP-RTL-002: importing the maplibre engine registers no plugin', async () => {
|
||||
@@ -49,14 +46,6 @@ describe('the GL engines register the RTL text plugin (#2235)', () => {
|
||||
expect(maplibreSet).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('FE-MAP-RTL-003: an engine still loads when its registration throws', async () => {
|
||||
mapboxSet.mockImplementation(() => { throw new Error('already registered'); });
|
||||
|
||||
const engine = await import('./mapbox');
|
||||
|
||||
expect(engine.default).toBeDefined();
|
||||
});
|
||||
|
||||
it('FE-MAP-RTL-004: importing the maplibre engine points it at the bundled worker', async () => {
|
||||
const engine = await import('./maplibre');
|
||||
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
import { describe, expect, it, vi } from 'vitest'
|
||||
import { registerRtlTextPlugin } from './rtlText'
|
||||
|
||||
describe('registerRtlTextPlugin', () => {
|
||||
it('runs the engine-supplied registration', () => {
|
||||
const register = vi.fn()
|
||||
|
||||
expect(registerRtlTextPlugin(register)).toBe(true)
|
||||
expect(register).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
// Registering twice is how the engines report it: Mapbox throws.
|
||||
it('never lets a refused registration break map creation', () => {
|
||||
const register = vi.fn(() => {
|
||||
throw new Error('setRTLTextPlugin cannot be called multiple times.')
|
||||
})
|
||||
|
||||
expect(() => registerRtlTextPlugin(register)).not.toThrow()
|
||||
expect(registerRtlTextPlugin(register)).toBe(false)
|
||||
})
|
||||
|
||||
// MapLibre reports the same by rejecting, and an unhandled rejection would
|
||||
// reach the console for something the user cannot act on.
|
||||
it('swallows a rejected registration promise', async () => {
|
||||
const onUnhandled = vi.fn()
|
||||
process.on('unhandledRejection', onUnhandled)
|
||||
|
||||
expect(registerRtlTextPlugin(() => Promise.reject(new Error('404')))).toBe(true)
|
||||
await new Promise(resolve => setTimeout(resolve, 0))
|
||||
process.off('unhandledRejection', onUnhandled)
|
||||
|
||||
expect(onUnhandled).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('leaves a resolved promise alone', async () => {
|
||||
expect(registerRtlTextPlugin(() => Promise.resolve())).toBe(true)
|
||||
})
|
||||
})
|
||||
@@ -1,50 +0,0 @@
|
||||
/**
|
||||
* Arabic, Hebrew, Persian and Urdu labels need two things a GL engine does not do
|
||||
* on its own: the bidirectional algorithm, and Arabic contextual shaping (a letter
|
||||
* is drawn differently depending on its neighbours). Without them the engine lays
|
||||
* the codepoints out one by one, left to right, in isolated forms — so القاهرة
|
||||
* comes out as ة ر ه ا ق ل ا, unjoined and reversed. Raster basemaps never showed
|
||||
* this because their labels are drawn server-side, which is why it only surfaced
|
||||
* once the default basemap became a vector style.
|
||||
*
|
||||
* Mapbox GL exposes the fix as an optional plugin and does not load it by
|
||||
* default. Registering is global to the engine, so it happens once in the engine
|
||||
* module rather than at each map's construction site. MapLibre needed the same
|
||||
* plugin up to version 5; since 6.9 it shapes and reorders the text itself, and
|
||||
* its engine module registers nothing.
|
||||
*
|
||||
* The call itself stays with the caller: Mapbox GL 3 takes
|
||||
* `(url, callback, deferred)` and returns nothing, while MapLibre took
|
||||
* `(url, lazy)` and returned a promise, so the guard below accepts either rather
|
||||
* than guessing an arity.
|
||||
*
|
||||
* Deliberately no getRTLTextPluginStatus() pre-check: reading it made MapLibre
|
||||
* build its worker pool, which is an eager side effect for a module that is
|
||||
* imported for its default export, and throws outright under jsdom. Registering
|
||||
* twice is reported — by a throw or a rejected promise depending on the engine —
|
||||
* and both are handled below, so the probe bought nothing.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Runs a GL engine's RTL-plugin registration, swallowing the ways it can fail.
|
||||
*
|
||||
* Callers register lazily, so the payload is only fetched once a map actually
|
||||
* paints RTL text and a user who never leaves Latin script downloads nothing.
|
||||
*
|
||||
* @returns whether the registration call completed without throwing.
|
||||
*/
|
||||
export function registerRtlTextPlugin(register: () => void | Promise<unknown>): boolean {
|
||||
try {
|
||||
const pending = register()
|
||||
// MapLibre reports a failed or duplicate registration by rejecting; Mapbox
|
||||
// routes the same through its callback. Neither is worth surfacing: a map
|
||||
// with unshaped labels still renders, and an unhandled rejection would not
|
||||
// give the user anything to act on.
|
||||
if (pending instanceof Promise) pending.catch(() => {})
|
||||
return true
|
||||
} catch {
|
||||
// Already registered, or the engine refused outright. Registering the plugin
|
||||
// must never be able to break map creation.
|
||||
return false
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite';
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
import { visualizer } from 'rollup-plugin-visualizer';
|
||||
import { rtlTextAlias, plyrSpriteAlias } from './rtlTextAlias.js';
|
||||
import { plyrSpriteAlias } from './plyrSpriteAlias.js';
|
||||
import { withoutRuntimeFonts } from './bookFontPrecache.js';
|
||||
import { ICON_CHUNK } from './iconChunk.js';
|
||||
import { readFileSync } from 'node:fs';
|
||||
@@ -303,7 +303,7 @@ export default defineConfig(({ mode }) => ({
|
||||
},
|
||||
}),
|
||||
].filter(Boolean),
|
||||
resolve: { alias: [rtlTextAlias, plyrSpriteAlias] },
|
||||
resolve: { alias: [plyrSpriteAlias] },
|
||||
build: {
|
||||
// Pin the output level instead of inheriting whatever the current Vite default
|
||||
// is, so a toolchain bump can't silently change which browsers still work.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { rtlTextAlias, plyrSpriteAlias } from './rtlTextAlias.js';
|
||||
import { plyrSpriteAlias } from './plyrSpriteAlias.js';
|
||||
import { readFileSync } from 'node:fs';
|
||||
|
||||
const UI_VERSION = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8')).version;
|
||||
@@ -9,7 +9,7 @@ export default defineConfig({
|
||||
define: { __TREK_UI_VERSION__: JSON.stringify(UI_VERSION) },
|
||||
plugins: [react()],
|
||||
test: {
|
||||
alias: [rtlTextAlias, plyrSpriteAlias],
|
||||
alias: [plyrSpriteAlias],
|
||||
root: '.',
|
||||
globals: true,
|
||||
environment: './tests/environment/jsdom-native-abort.ts',
|
||||
|
||||
+4
-2
@@ -17,8 +17,10 @@
|
||||
// An optional peer of tsdown, which loads shared/tsdown.config.ts through
|
||||
// it; nothing imports it by name. eslint and prettier are the workspaces'
|
||||
// own copies: the shared scripts/lib takes them handed in, and its tests
|
||||
// import the hoisted ones the server and shared declare.
|
||||
"ignoreDependencies": ["unrun", "eslint", "prettier"]
|
||||
// import the hoisted ones the server and shared declare. jsdom is here
|
||||
// only to hold one copy at the root, where vitest's built-in jsdom
|
||||
// environment resolves it (see the comment in package.json).
|
||||
"ignoreDependencies": ["unrun", "eslint", "prettier", "jsdom"]
|
||||
},
|
||||
"client": {
|
||||
// The app, the native apps' address screen, its scripts, the Playwright specs and the server launcher
|
||||
|
||||
Generated
+902
-845
File diff suppressed because it is too large
Load Diff
+6
-4
@@ -31,9 +31,11 @@
|
||||
"format": "npm run format --workspace=shared && npm run format --workspace=server && npm run format --workspace=client",
|
||||
"format:check": "npm run format:check --workspace=shared && npm run format:check --workspace=server && npm run format:check --workspace=client"
|
||||
},
|
||||
"comment:devDependencies": "jsdom is the client's test DOM. It is listed here too so npm keeps one copy at the root: vitest's built-in jsdom environment resolves it from there, and with jsdom only in the client npm nested it under client/ where vitest cannot see it. Keep the two ranges equal.",
|
||||
"devDependencies": {
|
||||
"concurrently": "^10.0.6",
|
||||
"knip": "^6.44.1",
|
||||
"concurrently": "^10.0.7",
|
||||
"jsdom": "^31.0.1",
|
||||
"knip": "^6.45.1",
|
||||
"unrun": "^0.3.1"
|
||||
},
|
||||
"comment:scarfSettings": "swagger-ui-dist ships @scarf/scarf install-time analytics; TREK sends no telemetry, so it stays off.",
|
||||
@@ -66,7 +68,7 @@
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-linuxmusl-arm64": "0.35.5",
|
||||
"@img/sharp-linuxmusl-x64": "0.35.5",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.62.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.62.0"
|
||||
"@rollup/rollup-linux-arm64-musl": "4.68.3",
|
||||
"@rollup/rollup-linux-x64-musl": "4.68.3"
|
||||
}
|
||||
}
|
||||
|
||||
+7
-7
@@ -72,7 +72,7 @@
|
||||
"@nestjs/core": "^11.2.5",
|
||||
"@nestjs/platform-express": "^11.2.5",
|
||||
"@nestjs/platform-ws": "^11.2.5",
|
||||
"@nestjs/schedule": "^12.0.3",
|
||||
"@nestjs/schedule": "^12.0.4",
|
||||
"@nestjs/swagger": "^11.4.7",
|
||||
"@nestjs/websockets": "^11.2.5",
|
||||
"@simplewebauthn/server": "^13.3.3",
|
||||
@@ -84,10 +84,10 @@
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cors": "^2.8.6",
|
||||
"cron": "^4.4.0",
|
||||
"dotenv": "^16.6.1",
|
||||
"dotenv": "^18.0.10",
|
||||
"exifr": "7.1.3",
|
||||
"express": "^4.22.3",
|
||||
"fast-xml-parser": "^5.12.0",
|
||||
"fast-xml-parser": "^5.12.1",
|
||||
"helmet": "^8.3.0",
|
||||
"imapflow": "^1.0.0",
|
||||
"jimp": "^1.6.1",
|
||||
@@ -95,8 +95,8 @@
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"kysely": "^0.29.6",
|
||||
"multer": "^2.5.0",
|
||||
"nestjs-zod": "^5.5.0",
|
||||
"nodemailer": "^10.3.1",
|
||||
"nestjs-zod": "^5.6.0",
|
||||
"nodemailer": "^10.5.0",
|
||||
"otplib": "^12.0.1",
|
||||
"pdf-parse": "^2.4.5",
|
||||
"qrcode": "^1.5.4",
|
||||
@@ -110,7 +110,7 @@
|
||||
"undici": "^7.30.1",
|
||||
"unzipper": "^0.12.5",
|
||||
"uuid": "^14.0.3",
|
||||
"ws": "^8.22.1",
|
||||
"ws": "^8.23.0",
|
||||
"zod": "^4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -141,7 +141,7 @@
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-flat-gitignore": "^2.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"prettier": "^3.9.10",
|
||||
"prettier": "^3.10.1",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"supertest": "^7.3.1",
|
||||
"typescript-eslint": "^8.72.1",
|
||||
|
||||
+2
-2
@@ -101,7 +101,7 @@
|
||||
"i18n:untranslated:update": "node scripts/i18n-untranslated.mjs --update"
|
||||
},
|
||||
"dependencies": {
|
||||
"isomorphic-dompurify": "^3.23.0",
|
||||
"isomorphic-dompurify": "^4.7.0",
|
||||
"zod": "^4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -111,7 +111,7 @@
|
||||
"eslint": "^10.11.0",
|
||||
"eslint-config-flat-gitignore": "^2.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"prettier": "3.9.10",
|
||||
"prettier": "3.10.1",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"tsdown": "^0.23.7",
|
||||
"typescript": "^6.0.3",
|
||||
|
||||
Reference in New Issue
Block a user