Skip to content
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =============================
# Base Node image
# =============================
FROM node:24.11.1-alpine3.22 AS base
FROM node:24.20.0-alpine3.24 AS base

WORKDIR /app
ENV NODE_ENV=production
Expand Down
6 changes: 3 additions & 3 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"#utils/*": "./src/misc/utils/*"
},
"devDependencies": {
"@data-fair/types-catalogs": "^0.6.0",
"@data-fair/types-catalogs": "^0.7.1",
"@types/express": "^5.0.3",
"@types/resolve-path": "^1.4.3"
},
Expand All @@ -24,12 +24,12 @@
"@data-fair/lib-node": "^2.12.1",
"@data-fair/lib-node-registry": "^0.7.0",
"@data-fair/lib-utils": "^1.10.1",
"config": "^4.4.1",
"config": "^5.0.1",
"express": "^5.2.0",
"fs-extra": "^11.3.0",
"http-terminator": "^3.2.0",
"mongodb": "^6.17.0",
"nanoid": "^3.3.11",
"nanoid": "^6.0.1",
"prom-client": "^15.1.3",
"resolve-path": "^1.4.0",
"ws": "^8.18.2"
Expand Down
3,433 changes: 1,895 additions & 1,538 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/fixtures/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ async function performLogin (page: any, context: any, url: string, user: string)
const password = user === 'test_superadmin' ? 'superpasswd' : 'passwd'
const loginUrl = `${baseUrl}/simple-directory/login?redirect=${encodeURIComponent(fullUrl)}`
await page.goto(loginUrl)
await page.getByLabel('Adresse mail').fill(`${user}@test.com`)
await page.getByLabel('Mot de passe').fill(password)
await page.fill('input[name="email"]', `${user}@test.com`)
await page.fill('input[name="password"]', password)
await page.getByRole('button', { name: 'Se connecter' }).click()
await page.waitForURL(fullUrl, { timeout: 10000 })
cookieCache.set(user, await context.cookies())
Expand Down
11 changes: 5 additions & 6 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,20 @@
"@data-fair/lib-utils": "^1.8.0",
"@data-fair/lib-vue": "^1.27.1",
"@data-fair/lib-vuetify": "^2.3.0",
"@data-fair/types-catalogs": "^0.6.0",
"@data-fair/types-catalogs": "^0.7.1",
"@intlify/unplugin-vue-i18n": "^11.0.7",
"@koumoul/vjsf": "^4.5.3",
"@mdi/js": "^7.4.47",
"@types/semver": "^7.7.0",
"@vitejs/plugin-vue": "^6.0.0",
"@vueuse/core": "^13.0.0",
"@vueuse/core": "^14.4.0",
"cronstrue": "^3.14.0",
"dayjs": "^1.11.13",
"ofetch": "^1.5.1",
"reconnecting-websocket": "^4.4.0",
"sass-embedded": "^1.89.2",
"semver": "^7.7.2",
"timezones.json": "^1.7.2",
"unplugin-auto-import": "^19.3.0",
"unplugin-vue-components": "^28.8.0",
"unplugin-auto-import": "^21.1.0",
"unplugin-vue-components": "^32.1.0",
"vite": "^8.0.2",
"vite-plugin-vuetify": "^2.1.3",
"vue": "^3.5.30",
Expand Down
2 changes: 1 addition & 1 deletion ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { commonjsDeps } from '@koumoul/vjsf/utils/build.js'
// https://vitejs.dev/config/
export default defineConfig({
base: '/catalogs',
optimizeDeps: { include: ['debug', 'easymde', ...commonjsDeps] },
optimizeDeps: { include: ['debug', ...commonjsDeps] },
resolve: {
alias: {
'~': path.resolve(__dirname, 'src/')
Expand Down
4 changes: 2 additions & 2 deletions upgrade/0.11.0/01-publish-plugins-to-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ async function packPluginDir (pluginDir: string, tarballPath: string): Promise<v
const pack = tarStream.pack()
const writeDone = pipeline(pack, createGzip(), createWriteStream(tarballPath))

const addEntry = (header: tarStream.Headers, body?: string): Promise<void> =>
const addEntry = (header: Parameters<tarStream.Pack['entry']>[0], body?: string): Promise<void> =>
new Promise<void>((resolve, reject) => {
const cb = (err?: Error | null) => err ? reject(err) : resolve()
if (body !== undefined) { pack.entry(header, body, cb); return }
// Non-file entries (symlinks) carry no body — the linkname is in the header.
if (header.type && header.type !== 'file') { pack.entry(header, cb).end(); return }
if (header.type && header.type !== 'file') { pack.entry(header, cb).end(undefined); return }
const entry = pack.entry(header, cb)
entry.on('error', reject)
createReadStream(path.join(pluginDir, header.name.replace(/^package\//, '')))
Expand Down
5 changes: 2 additions & 3 deletions worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
},
"devDependencies": {
"@data-fair/types-catalogs": "^0.7.1",
"@types/resolve-path": "^1.4.3",
"@types/tar-stream": "^3.1.4"
"@types/resolve-path": "^1.4.3"
},
"dependencies": {
"@data-fair/catalogs-shared": "*",
"@data-fair/lib-node": "^2.12.1",
"@data-fair/lib-node-registry": "^0.7.0",
"config": "^4.4.1",
"config": "^5.0.1",
"debug": "^4.4.1",
"form-data": "^4.0.4",
"fs-extra": "^11.3.0",
Expand Down
Loading