diff --git a/.nvmrc b/.nvmrc index 63f87c2..1dda03d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -26.12.1 +26.13.0 diff --git a/README.md b/README.md index 0b4767b..049af9a 100644 --- a/README.md +++ b/README.md @@ -105,9 +105,9 @@ The licence is MIT-0, so you can copy any of it without keeping a notice. anything is downloaded, and a later version that asks for more is refused until the board consents again. `processing` says why the plugin handles personal data: its purpose, legal basis, retention and whose data it is, in - Swedish and English. It comes with ADR 0035: an instance that predates it, - and `@openbrf/plugin-sdk` 1.0.0, ignore the field, so `pnpm check:package` - does not check it yet. + Swedish and English. It comes with ADR 0035: an instance that predates it + ignores the field, and `pnpm check:package` checks it with the + `@openbrf/plugin-sdk` version this repository is built against. 4. Keep the server in one file, or bundle it into one. Keep `@nestjs/common` and `zod` as peer dependencies and never bundle them, and import `@openbrf/plugin-sdk` for types only. The package check refuses any @@ -144,8 +144,9 @@ tarball cannot be attached. To have a version listed, open a pull request in [`openbrf/catalog`](https://github.com/openbrf/catalog) that adds its entry with the release's tarball URL, `sha512` and `bytes`. Copy the fields the -catalog checks from the manifest exactly: the catalog's check compares them. It -does not compare `processing` yet. +catalog checks from the manifest exactly: the catalog's check compares them. +That includes `processing`, which the entry repeats whole; only the order of +its data subjects may differ. ## Licence diff --git a/package.json b/package.json index 6918432..4e54b46 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/openbrf/example-plugin/issues" }, - "packageManager": "pnpm@12.14.0", + "packageManager": "pnpm@12.16.1", "engines": { "node": ">=26" }, @@ -128,26 +128,26 @@ "zod": "^4.6.2" }, "devDependencies": { - "@module-federation/vite": "1.23.5", - "@nestjs/common": "12.2.0", - "@nestjs/core": "12.2.0", - "@nestjs/testing": "12.2.0", - "@openbrf/plugin-sdk": "1.0.0", - "@openbrf/theme-tools": "1.0.0", + "@module-federation/vite": "1.23.7", + "@nestjs/common": "12.3.2", + "@nestjs/core": "12.3.2", + "@nestjs/testing": "12.3.2", + "@openbrf/plugin-sdk": "1.6.0", + "@openbrf/theme-tools": "1.1.0", "@testing-library/react": "16.3.3", - "@types/node": "26.6.5", + "@types/node": "26.6.6", "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.1.2", - "i18next": "26.5.2", + "i18next": "26.6.0", "jsdom": "30.1.3", "react": "19.3.1", "react-dom": "19.3.1", - "react-i18next": "17.1.0", + "react-i18next": "17.1.9", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", "typescript": "7.0.2", - "vite": "8.3.4", + "vite": "8.3.5", "vitest": "5.0.5", "yaml": "2.9.1", "zod": "4.6.7" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3af337..1fb05ff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,153 +7,153 @@ importers: configDependencies: {} packageManagerDependencies: pnpm: - specifier: 12.14.0 - version: 12.14.0 + specifier: 12.16.1 + version: 12.16.1 packages: - '@pnpm/exe.android-arm64@12.14.0': - resolution: {integrity: sha512-+iSh7x21C3A2hqc+Z0ZmbKTcn6YNlzrXM142PsnQH/dLj0DYxFzoBvc6XAnL/yfQ5nnH2ebBiRj/zVxr61fZbQ==} + '@pnpm/exe.android-arm64@12.16.1': + resolution: {integrity: sha512-PKf78Ew+i0CBYf0Xc+eMcqQiqyBT+u8XCVg1F5roc98/6wWfdYlWhrUMmEBiKWaJ3JqHxrtt8l1NwZ7qfJt2/Q==} cpu: [arm64] os: [android] - '@pnpm/exe.android-x64@12.14.0': - resolution: {integrity: sha512-qT+0LqEr2wBVaxcG2T8cX/R8SSRz2Rvpp8nRR4fh8tnGUZRch87gFmsHUAoSQh7w6j1h0qTjrA384j4xi8frvw==} + '@pnpm/exe.android-x64@12.16.1': + resolution: {integrity: sha512-xdu7gMbB98pdvhwMeA6612Of515FDlRUtfA/1f7nWPZfPLnEdSRBO2u+1N0XBtQ/ennhPH/lrxB1gC6gnR/cdg==} cpu: [x64] os: [android] - '@pnpm/exe.darwin-arm64@12.14.0': - resolution: {integrity: sha512-tnrdUB8ecJoehuKKqi1YHCBVl61xtJ9XVGcx5EviC6fWO4DeGI8GtXrjvJxDBM3nuVjJeWistgsUp/N142x4sw==} + '@pnpm/exe.darwin-arm64@12.16.1': + resolution: {integrity: sha512-pVbmIIbhixiLvADLu1WA3TaW8FZy/D72R1De27WbbFx8/2mxvnsTyFVm4fO9kjpjMY7RzJd48CiQ96p8fO3ebQ==} cpu: [arm64] os: [darwin] - '@pnpm/exe.darwin-x64@12.14.0': - resolution: {integrity: sha512-vlBfGkruqQRsEHTW43cPwpYd7QlbIJ//cvpAdb3bVXkI8SgTPoXhCnc05m+ZNiPrrEkBsX/t7KHw9aXpkzPm3Q==} + '@pnpm/exe.darwin-x64@12.16.1': + resolution: {integrity: sha512-xZvQBFqcZjO7vFKTK3XsJpqY6lnBL9EWSLCzVUPq3kZ94+D96gwJCa76xxGNK8Cj32f4eeM91Qg+yNRR4sRpDw==} cpu: [x64] os: [darwin] - '@pnpm/exe.freebsd-x64@12.14.0': - resolution: {integrity: sha512-Qg5rxBrGYl6Tfso+EyygPf84fY1Fzy55E/0or+iuYKtnf0vc0MlHJfVIlT7pBukMRntQHRik7hUi0Z4s7AlJsw==} + '@pnpm/exe.freebsd-x64@12.16.1': + resolution: {integrity: sha512-zTtunfi9mBhRXiXEJYfwiJj0tk7MgTSfqDSRh+Az9FZ9THazVIiQiVNS8jpcsftDOqu7LKNffQdjmgwHDThfUg==} cpu: [x64] os: [freebsd] - '@pnpm/exe.linux-arm64-musl@12.14.0': - resolution: {integrity: sha512-DRIe4yQkXBGA/PhVJdzlbnllxBdAtnMMvTVLLcGpsK5FvJz9kxD2Hyxtn68ovmNkVX06f6p45cQwfm3wx2jn1A==} + '@pnpm/exe.linux-arm64-musl@12.16.1': + resolution: {integrity: sha512-BJ3mOmcmQgcUo92Ee/WfEOt1pRiv3y2MMAkhEiYHd85UiPpHTfFhv+SpCbALmfExzXk3UlaRtMYwHlkQymc4VA==} cpu: [arm64] os: [linux] libc: [musl] - '@pnpm/exe.linux-arm64@12.14.0': - resolution: {integrity: sha512-7joGShZ44Nk3WpNU+60JoOPjCXlgxhJAq11S2UiVtwCUDgTer1yTPPfxGW8pxaD6046actYLIYDbZNlubHWs0A==} + '@pnpm/exe.linux-arm64@12.16.1': + resolution: {integrity: sha512-JaRd5gNxwdNGBBkrZFt8bknrK4YmHVJBW0JMhUQ0fJ0dEYp6C2GT9ExaCqOO8EwYEyqM+jpKgJIK+8WFaJy3ew==} cpu: [arm64] os: [linux] libc: [glibc] - '@pnpm/exe.linux-ppc64@12.14.0': - resolution: {integrity: sha512-gSoryn7ySdXd//gjgf3MvvA8ZerJayaSbuMZMtAWq4vb2/wlVEgpl0Kvqt54y58TRj533Qjq2txKgnxd4JyoAQ==} + '@pnpm/exe.linux-ppc64@12.16.1': + resolution: {integrity: sha512-FnSV0Jv40S1cMv7vFNWwvu0X567Lec4L4HCRead3CFcD6zQDNbGw81s8N5bcKPahtPD9ApVuhsbmFCx4rw6RMw==} cpu: [ppc64] os: [linux] libc: [glibc] - '@pnpm/exe.linux-riscv64@12.14.0': - resolution: {integrity: sha512-EMjew1H9WqQ7pL+tYqCPwiuB+0PeCiJRV7fyWeuFw0wwYUajFBjcaPO3IGAVu9sdmJDU+e+HYv/Zey6aKae0Vw==} + '@pnpm/exe.linux-riscv64@12.16.1': + resolution: {integrity: sha512-C1Sww4FN5IttD4atRRhAKmQtSGWVp04ZAKNxO8pfu2bkRPwOW+7v+2DH1Xs1W+kZYYpO86BYDvUcadefF+AgaQ==} cpu: [riscv64] os: [linux] libc: [glibc] - '@pnpm/exe.linux-s390x@12.14.0': - resolution: {integrity: sha512-shYOj/SFoXD35fHe0pWr2JofwSXulC0BnEIXLj2QokDi0EF//AfKsui35yKIkTEl+s2VJybc3PO4iJNhKIj5Qw==} + '@pnpm/exe.linux-s390x@12.16.1': + resolution: {integrity: sha512-kn2fautsTcxIMODoovQVqZyfpDRdNgGkoeVqNdrKqbeBBvrEl+fXLkmZiq5xDht1LMr4sYiCNcsMfNMT6JPFmg==} cpu: [s390x] os: [linux] libc: [glibc] - '@pnpm/exe.linux-x64-musl@12.14.0': - resolution: {integrity: sha512-btZiZ2Ot0llKK1ndSfA5i3IRX7/S0VrmzseNH/BJ4c+Cady+S81H6vvU1zByggHMyqQhC8OgxO5PiIY7D9bH0Q==} + '@pnpm/exe.linux-x64-musl@12.16.1': + resolution: {integrity: sha512-PM6ccHCOe/O9SsTflTJTYWfwogJZa6EmUvpnwZgiPguJBddh20wDQKgxUPXf48rDsPm9vMsIij0uHswwwbXL8g==} cpu: [x64] os: [linux] libc: [musl] - '@pnpm/exe.linux-x64@12.14.0': - resolution: {integrity: sha512-F6K8e/jWxiuEYJaQtRRUG9ynBSTEHa+t7Lf86MKuOO5UA7WVVMbi+oB8nY6iKW++ncWS2yG6T9faXZGxqNsfoQ==} + '@pnpm/exe.linux-x64@12.16.1': + resolution: {integrity: sha512-RK//8ZLcXGW8A2k8bQOXZDBN1Qu92zN4dYnG1bzj1zoQ1fkZ6jNzZ1AvXtsfGVma795CJtvoaF5bLXf4l/FIUw==} cpu: [x64] os: [linux] libc: [glibc] - '@pnpm/exe.win32-arm64@12.14.0': - resolution: {integrity: sha512-DOjlkVB6TtTKeAAe0hNZXn5S7YqESmo1Z6SGbR4BZNQ4isRg31XVHjX2RFTbY8gnZq68IwzyLmPqlEjMmYxofg==} + '@pnpm/exe.win32-arm64@12.16.1': + resolution: {integrity: sha512-Ox3kNNVxtGw6pK7SVejmeOUgHhUTZgAM7NQQ6cU7frPw3ix9+j7d2MGbRg3fyEFAaKWq8ZAZLTQGcDyLnAu+qA==} cpu: [arm64] os: [win32] - '@pnpm/exe.win32-x64@12.14.0': - resolution: {integrity: sha512-/LSX6mew/sLf08XqcjemuklNKf1K/Ftpgj4//hK/HKzI2dKbmxDB27a/2OaQ5a0O3/3OFzlssXDziZsi+yVBwQ==} + '@pnpm/exe.win32-x64@12.16.1': + resolution: {integrity: sha512-k+FhRJ0ttphFoFIVB1Sk4v76YJAulafmA/Ly57cysesUhhIzVlApeOShUz0jXubKx317TThlEfpQrukldnqORA==} cpu: [x64] os: [win32] - pnpm@12.14.0: - resolution: {integrity: sha512-wYum2HmT09Fky16JSPMrLAbuhUSH4GzY2GeBNC+z5btGNDZwNHEehoArqpw3vqkGzhkprQjXCITJfYAd8TOJpg==} - engines: {node: '>=18.*'} + pnpm@12.16.1: + resolution: {integrity: sha512-CR0d7nknV1Zhsl2rPCrjHK/BxU1rce1qZgDPDByxBDSkR+rhQBXxsj4ua+3u1535SpMuIWTSgyKA3OP7MvZW0Q==} + engines: {node: '>=18'} hasBin: true snapshots: - '@pnpm/exe.android-arm64@12.14.0': + '@pnpm/exe.android-arm64@12.16.1': optional: true - '@pnpm/exe.android-x64@12.14.0': + '@pnpm/exe.android-x64@12.16.1': optional: true - '@pnpm/exe.darwin-arm64@12.14.0': + '@pnpm/exe.darwin-arm64@12.16.1': optional: true - '@pnpm/exe.darwin-x64@12.14.0': + '@pnpm/exe.darwin-x64@12.16.1': optional: true - '@pnpm/exe.freebsd-x64@12.14.0': + '@pnpm/exe.freebsd-x64@12.16.1': optional: true - '@pnpm/exe.linux-arm64-musl@12.14.0': + '@pnpm/exe.linux-arm64-musl@12.16.1': optional: true - '@pnpm/exe.linux-arm64@12.14.0': + '@pnpm/exe.linux-arm64@12.16.1': optional: true - '@pnpm/exe.linux-ppc64@12.14.0': + '@pnpm/exe.linux-ppc64@12.16.1': optional: true - '@pnpm/exe.linux-riscv64@12.14.0': + '@pnpm/exe.linux-riscv64@12.16.1': optional: true - '@pnpm/exe.linux-s390x@12.14.0': + '@pnpm/exe.linux-s390x@12.16.1': optional: true - '@pnpm/exe.linux-x64-musl@12.14.0': + '@pnpm/exe.linux-x64-musl@12.16.1': optional: true - '@pnpm/exe.linux-x64@12.14.0': + '@pnpm/exe.linux-x64@12.16.1': optional: true - '@pnpm/exe.win32-arm64@12.14.0': + '@pnpm/exe.win32-arm64@12.16.1': optional: true - '@pnpm/exe.win32-x64@12.14.0': + '@pnpm/exe.win32-x64@12.16.1': optional: true - pnpm@12.14.0: + pnpm@12.16.1: optionalDependencies: - '@pnpm/exe.android-arm64': 12.14.0 - '@pnpm/exe.android-x64': 12.14.0 - '@pnpm/exe.darwin-arm64': 12.14.0 - '@pnpm/exe.darwin-x64': 12.14.0 - '@pnpm/exe.freebsd-x64': 12.14.0 - '@pnpm/exe.linux-arm64': 12.14.0 - '@pnpm/exe.linux-arm64-musl': 12.14.0 - '@pnpm/exe.linux-ppc64': 12.14.0 - '@pnpm/exe.linux-riscv64': 12.14.0 - '@pnpm/exe.linux-s390x': 12.14.0 - '@pnpm/exe.linux-x64': 12.14.0 - '@pnpm/exe.linux-x64-musl': 12.14.0 - '@pnpm/exe.win32-arm64': 12.14.0 - '@pnpm/exe.win32-x64': 12.14.0 + '@pnpm/exe.android-arm64': 12.16.1 + '@pnpm/exe.android-x64': 12.16.1 + '@pnpm/exe.darwin-arm64': 12.16.1 + '@pnpm/exe.darwin-x64': 12.16.1 + '@pnpm/exe.freebsd-x64': 12.16.1 + '@pnpm/exe.linux-arm64': 12.16.1 + '@pnpm/exe.linux-arm64-musl': 12.16.1 + '@pnpm/exe.linux-ppc64': 12.16.1 + '@pnpm/exe.linux-riscv64': 12.16.1 + '@pnpm/exe.linux-s390x': 12.16.1 + '@pnpm/exe.linux-x64': 12.16.1 + '@pnpm/exe.linux-x64-musl': 12.16.1 + '@pnpm/exe.win32-arm64': 12.16.1 + '@pnpm/exe.win32-x64': 12.16.1 --- lockfileVersion: '9.0' @@ -162,34 +162,37 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + '@module-federation/dts-plugin>undici': 7.30.1 + importers: .: devDependencies: '@module-federation/vite': - specifier: 1.23.5 - version: 1.23.5(typescript@7.0.2)(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1)) + specifier: 1.23.7 + version: 1.23.7(typescript@7.0.2)(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1)) '@nestjs/common': - specifier: 12.2.0 - version: 12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2) + specifier: 12.3.2 + version: 12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2) '@nestjs/core': - specifier: 12.2.0 - version: 12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2) + specifier: 12.3.2 + version: 12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2) '@nestjs/testing': - specifier: 12.2.0 - version: 12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2)) + specifier: 12.3.2 + version: 12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2)) '@openbrf/plugin-sdk': - specifier: 1.0.0 - version: 1.0.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2)) + specifier: 1.6.0 + version: 1.6.0(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2)) '@openbrf/theme-tools': - specifier: 1.0.0 - version: 1.0.0 + specifier: 1.1.0 + version: 1.1.0 '@testing-library/react': specifier: 16.3.3 version: 16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) '@types/node': - specifier: 26.6.5 - version: 26.6.5 + specifier: 26.6.6 + version: 26.6.6 '@types/react': specifier: 19.3.0 version: 19.3.0 @@ -198,10 +201,10 @@ importers: version: 19.3.0(@types/react@19.3.0) '@vitejs/plugin-react': specifier: 6.1.2 - version: 6.1.2(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1)) + version: 6.1.2(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1)) i18next: - specifier: 26.5.2 - version: 26.5.2(typescript@7.0.2) + specifier: 26.6.0 + version: 26.6.0(typescript@7.0.2) jsdom: specifier: 30.1.3 version: 30.1.3 @@ -212,8 +215,8 @@ importers: specifier: 19.3.1 version: 19.3.1(react@19.3.1) react-i18next: - specifier: 17.1.0 - version: 17.1.0(i18next@26.5.2(typescript@7.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(typescript@7.0.2) + specifier: 17.1.9 + version: 17.1.9(i18next@26.6.0(typescript@7.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(typescript@7.0.2) reflect-metadata: specifier: 0.2.2 version: 0.2.2 @@ -224,11 +227,11 @@ importers: specifier: 7.0.2 version: 7.0.2 vite: - specifier: 8.3.4 - version: 8.3.4(@types/node@26.6.5)(yaml@2.9.1) + specifier: 8.3.5 + version: 8.3.5(@types/node@26.6.6)(yaml@2.9.1) vitest: specifier: 5.0.5 - version: 5.0.5(@types/node@26.6.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1)) + version: 5.0.5(@types/node@26.6.6)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1)) yaml: specifier: 2.9.1 version: 2.9.1 @@ -351,14 +354,14 @@ packages: '@module-federation/third-party-dts-extractor@2.9.2': resolution: {integrity: sha512-FKJVGx+/jIe16RfmwoyIDVMPAttIFJv6AJCLkKf05IRNvI3RJFqQ1tLP1YjcfGuumCbYuWGa4QKnMla7YjVpqg==} - '@module-federation/vite@1.23.5': - resolution: {integrity: sha512-pZ4gwP3SyuNG9JnYAWFIOJyFz1Kl37hnJyKjajMpPqQwTQkCjY7gn58qEmVwTyBv8VqOA5XxEXe1ZMF3AsOmnw==} + '@module-federation/vite@1.23.7': + resolution: {integrity: sha512-b60aujpV0uleW7uOqtx+jXxZk1cdydidb7ixPof/PwaL0r17mQCA1V11p48vyiP+FB94azOZRNu+LiflPpAy8w==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: - vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 + vite: ^5.1.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - '@nestjs/common@12.2.0': - resolution: {integrity: sha512-xC4tUL31tQ2eoZcHheHIjnCrhnqyAEDRMGGHMUrYsOdh0Kg1DvDlLn7zelisErMcpaNanSIApJH6m9AcnK3fQQ==} + '@nestjs/common@12.3.2': + resolution: {integrity: sha512-XPNu75rXiDBuQ/EECiA0urFJ7bAycA1/xTrKnKct5vEF7A5FE0LyOem/EhRZI0Cq1xAGPDuTB89sFMqeSPWjzQ==} peerDependencies: class-transformer: '>=0.4.1' class-validator: '>=0.13.2' @@ -370,8 +373,8 @@ packages: class-validator: optional: true - '@nestjs/core@12.2.0': - resolution: {integrity: sha512-OTNlRALw/xlSJ/cXeIo7HzY/TqE9RSyv6uFS+OY41dDelDwMqnAjpRFiN5RVGOI/R4wAhaD0TJVjsfOrpZJCjA==} + '@nestjs/core@12.3.2': + resolution: {integrity: sha512-lCDN5iC4BoG9k5Sk/tG2EF4VAtoZABFjN4e0nk9xKK3ytD4eSMc9ma1Y092t/navenlf3roTtCDUZ/RIHzYjCw==} engines: {node: '>= 20'} peerDependencies: '@nestjs/common': ^12.0.0 @@ -388,8 +391,8 @@ packages: '@nestjs/websockets': optional: true - '@nestjs/testing@12.2.0': - resolution: {integrity: sha512-zrgqUxTjLTWn09mZGtrFdallwZTEjJKzMp7oxoYtcpIoWryt8FpivE9EvjtlgFJsDHqMugDahCAiepPM2LVWcA==} + '@nestjs/testing@12.3.2': + resolution: {integrity: sha512-l1m+uHTp4hJ1K+Gw8ENrLSj2TxZlKVre7aoluUdxMHCodK2kZnpjvD8H8Oh460hj/Z6PDJ/m9r6t8NIK6OyDxA==} peerDependencies: '@nestjs/common': ^12.0.0 '@nestjs/core': ^12.0.0 @@ -401,19 +404,19 @@ packages: '@nestjs/platform-express': optional: true - '@openbrf/plugin-sdk@1.0.0': - resolution: {integrity: sha512-Q1WCVzMDo8avia0zaH9/AurAKZkqN3uxUrsOLjpoLRjrjp9w8a64JsC/x02n2lSlthdVByIuIs1r5Zjs2/wP1A==} + '@openbrf/plugin-sdk@1.6.0': + resolution: {integrity: sha512-krYy8XfKIEZ1aziV2v5h27TIBOl5Ne29YbFsrjgKQJXmx7Dmxd/SvsfEn39G2Ml6DkYnMCpGbsKXhjwqkSOWSQ==} peerDependencies: '@nestjs/common': ^12.0.0 peerDependenciesMeta: '@nestjs/common': optional: true - '@openbrf/theme-tools@1.0.0': - resolution: {integrity: sha512-BHFmJvCKPy2iN1drVWyFC0VzXT/+Wy9fBq7XJjmwPOcf0OxpwUalP+LsYv7SfH95L4NzMOO2vcgObR/1D85/Ww==} + '@openbrf/theme-tools@1.1.0': + resolution: {integrity: sha512-KPteSDosA7T3TgbSiwOJCqETN3acBCSlg+58iauHXWeCzhqkHsbsUAjrNlW9F//MJIWyIzmMGCAAUTUQWruXXw==} - '@openbrf/tokens@1.0.0': - resolution: {integrity: sha512-0K/M/TpiBHQXGkFScaqE0MKr9byaiP8jng8NY2J+EmF3BgbOwb+W41YXv96vyWWlWr9/Eckd6J5GlRxlHUTDrg==} + '@openbrf/tokens@1.1.0': + resolution: {integrity: sha512-dTL21adbcslxuSGedaydKMvMcPUBJ2Q0EmhG6XeMWrovtQR5IHBzlNHIvzqFIzezqGu0IW2JwjN69Hgdi7qySA==} '@oxc-project/types@0.154.0': resolution: {integrity: sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==} @@ -539,8 +542,8 @@ packages: '@types/react-dom': optional: true - '@tokenizer/inflate@0.4.1': - resolution: {integrity: sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==} + '@tokenizer/inflate@0.5.2': + resolution: {integrity: sha512-3AZIuReWQ7i916s/UWAzy4V4k2wrkAZLW2sTi448W3w7Hz5uoc+Y7h+cnwzr0cwrwf3PsC5xKsH8MOl0NRltlg==} engines: {node: '>=18'} '@tokenizer/token@0.3.0': @@ -558,8 +561,8 @@ packages: '@types/estree@1.0.9': resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} - '@types/node@26.6.5': - resolution: {integrity: sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==} + '@types/node@26.6.6': + resolution: {integrity: sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==} '@types/react-dom@19.3.0': resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==} @@ -805,8 +808,8 @@ packages: picomatch: optional: true - file-type@22.1.1: - resolution: {integrity: sha512-sEB0oStmeLGtpmSAD88RDNuLsvhv4iC3u0lE25CUvfCULvj49xoQ3l3K525Vn+ZzsZ6DOLajQCV6RmhwwhqiJg==} + file-type@22.2.0: + resolution: {integrity: sha512-XmEVJsRpQMVYC+sWFW+FKAVo2P7/lPctDdWH4UQ1r6oxhdrTobnowdM3z+ZJ93a4J8D3yDpxX0bEvRuFev0vUQ==} engines: {node: '>=22'} fsevents@2.3.3: @@ -821,8 +824,8 @@ packages: html-parse-stringify@4.0.1: resolution: {integrity: sha512-0zHsZJrK7S3K2aucXWL6ycoYJ/iNtIcFHC/nYQgFklPtrv5LpJctIiSCroWZWeuoXvuyFdzp6KzjJQ+OT5MfFw==} - i18next@26.5.2: - resolution: {integrity: sha512-6fIXt//2MZNok3tULyjnypxe3vbsy3pV1bVg8p2x3yKrzZvp7z3T+wXx/88LQsATRdhyJeAUAvUxEtxsHdJ29w==} + i18next@26.6.0: + resolution: {integrity: sha512-jpb1n5386s9mbBLNF6tSNIVhbBUUNiNeDyjWte+uxHP/Wr+CEy7WBM8q29TkfQ46VbwKeJFYdQJK3pSUhLp4CQ==} peerDependencies: typescript: ^5 || ^6 || ^7 peerDependenciesMeta: @@ -990,8 +993,8 @@ packages: peerDependencies: react: ^19.3.1 - react-i18next@17.1.0: - resolution: {integrity: sha512-4VouOnTDyvhvqXx6WZ+s3/cgSiaLutILdYkO3P1Ms+4qcKR7At+JP4Vi7IeHkVLyVV+DmN1l23Pn73UcwSGGPA==} + react-i18next@17.1.9: + resolution: {integrity: sha512-OgYqIH13XHPlWTaaI795Dz+k2AdKnXcOxNQVnf750T8Ij0TYWp1nYvXRpoJBulPqlyk2OAbn1PM4tFKiIj/byA==} peerDependencies: i18next: '>= 26.2.0' react: '>= 16.8.0' @@ -1096,8 +1099,8 @@ packages: undici-types@8.9.0: resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} - undici@7.29.1: - resolution: {integrity: sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==} + undici@7.30.1: + resolution: {integrity: sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==} engines: {node: '>=20.18.1'} undici@8.12.2: @@ -1109,13 +1112,13 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - vite@8.3.4: - resolution: {integrity: sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==} + vite@8.3.5: + resolution: {integrity: sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 + '@vitejs/devtools': ^0.7.1 || ^0.8.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -1320,7 +1323,7 @@ snapshots: adm-zip: 0.6.1 isomorphic-ws: 5.0.0(ws@8.21.3) typescript: 7.0.2 - undici: 7.29.1 + undici: 7.30.1 ws: 8.21.3 transitivePeerDependencies: - bufferutil @@ -1347,22 +1350,22 @@ snapshots: '@module-federation/third-party-dts-extractor@2.9.2': {} - '@module-federation/vite@1.23.5(typescript@7.0.2)(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1))': + '@module-federation/vite@1.23.7(typescript@7.0.2)(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1))': dependencies: '@module-federation/dts-plugin': 2.9.2(typescript@7.0.2) '@module-federation/runtime': 2.9.2 '@module-federation/sdk': 2.9.2 - vite: 8.3.4(@types/node@26.6.5)(yaml@2.9.1) + vite: 8.3.5(@types/node@26.6.6)(yaml@2.9.1) transitivePeerDependencies: - bufferutil - typescript - utf-8-validate - vue-tsc - '@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2)': + '@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2)': dependencies: '@standard-schema/spec': 1.1.0 - file-type: 22.1.1 + file-type: 22.2.0 iterare: 1.2.1 load-esm: 1.0.3 reflect-metadata: 0.2.2 @@ -1372,9 +1375,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@nestjs/core@12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2)': + '@nestjs/core@12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2)': dependencies: - '@nestjs/common': 12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2) + '@nestjs/common': 12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2) fast-safe-stringify: 2.1.1 iterare: 1.2.1 path-to-regexp: 8.4.2 @@ -1383,24 +1386,24 @@ snapshots: tslib: 2.8.1 uid: 2.0.2 - '@nestjs/testing@12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2))': + '@nestjs/testing@12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2))': dependencies: - '@nestjs/common': 12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2) - '@nestjs/core': 12.2.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2) + '@nestjs/common': 12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2) + '@nestjs/core': 12.3.2(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)(rxjs@7.8.2) tslib: 2.8.1 - '@openbrf/plugin-sdk@1.0.0(@nestjs/common@12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2))': + '@openbrf/plugin-sdk@1.6.0(@nestjs/common@12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2))': dependencies: zod: 4.6.7 optionalDependencies: - '@nestjs/common': 12.2.0(reflect-metadata@0.2.2)(rxjs@7.8.2) + '@nestjs/common': 12.3.2(reflect-metadata@0.2.2)(rxjs@7.8.2) - '@openbrf/theme-tools@1.0.0': + '@openbrf/theme-tools@1.1.0': dependencies: - '@openbrf/tokens': 1.0.0 + '@openbrf/tokens': 1.1.0 zod: 4.6.7 - '@openbrf/tokens@1.0.0': {} + '@openbrf/tokens@1.1.0': {} '@oxc-project/types@0.154.0': {} @@ -1474,9 +1477,10 @@ snapshots: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@tokenizer/inflate@0.4.1': + '@tokenizer/inflate@0.5.2': dependencies: debug: 4.4.3 + strtok3: 10.6.2 token-types: 6.1.2 transitivePeerDependencies: - supports-color @@ -1494,7 +1498,7 @@ snapshots: '@types/estree@1.0.9': {} - '@types/node@26.6.5': + '@types/node@26.6.6': dependencies: undici-types: 8.9.0 @@ -1566,19 +1570,19 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@vitejs/plugin-react@6.1.2(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1))': + '@vitejs/plugin-react@6.1.2(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1))': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: 8.3.4(@types/node@26.6.5)(yaml@2.9.1) + vite: 8.3.5(@types/node@26.6.6)(yaml@2.9.1) - '@vitest/mocker@5.0.5(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1))': + '@vitest/mocker@5.0.5(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1))': dependencies: '@jridgewell/trace-mapping': 0.3.31 '@vitest/spy': 5.0.5 estree-walker: 3.0.3 magic-string: 1.4.3 optionalDependencies: - vite: 8.3.4(@types/node@26.6.5)(yaml@2.9.1) + vite: 8.3.5(@types/node@26.6.6)(yaml@2.9.1) '@vitest/spy@5.0.5': {} @@ -1642,9 +1646,9 @@ snapshots: optionalDependencies: picomatch: 4.0.7 - file-type@22.1.1: + file-type@22.2.0: dependencies: - '@tokenizer/inflate': 0.4.1 + '@tokenizer/inflate': 0.5.2 strtok3: 10.6.2 token-types: 6.1.2 uint8array-extras: 1.6.0 @@ -1662,7 +1666,7 @@ snapshots: html-parse-stringify@4.0.1: {} - i18next@26.5.2(typescript@7.0.2): + i18next@26.6.0(typescript@7.0.2): optionalDependencies: typescript: 7.0.2 @@ -1799,11 +1803,11 @@ snapshots: react: 19.3.1 scheduler: 0.28.0 - react-i18next@17.1.0(i18next@26.5.2(typescript@7.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(typescript@7.0.2): + react-i18next@17.1.9(i18next@26.6.0(typescript@7.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(typescript@7.0.2): dependencies: '@babel/runtime': 7.29.10 html-parse-stringify: 4.0.1 - i18next: 26.5.2(typescript@7.0.2) + i18next: 26.6.0(typescript@7.0.2) react: 19.3.1 use-sync-external-store: 1.7.0(react@19.3.1) optionalDependencies: @@ -1919,7 +1923,7 @@ snapshots: undici-types@8.9.0: {} - undici@7.29.1: {} + undici@7.30.1: {} undici@8.12.2: {} @@ -1927,7 +1931,7 @@ snapshots: dependencies: react: 19.3.1 - vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1): + vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 @@ -1935,14 +1939,14 @@ snapshots: rolldown: 1.2.14 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 26.6.5 + '@types/node': 26.6.6 fsevents: 2.3.3 yaml: 2.9.1 - vitest@5.0.5(@types/node@26.6.5)(jsdom@30.1.3)(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1)): + vitest@5.0.5(@types/node@26.6.6)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1)): dependencies: '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.5(vite@8.3.4(@types/node@26.6.5)(yaml@2.9.1)) + '@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@26.6.6)(yaml@2.9.1)) chai: 6.3.0 es-module-lexer: 2.3.2 expect-type: 1.4.0 @@ -1953,10 +1957,10 @@ snapshots: tinybench: 6.2.2 tinyexec: 1.3.1 tinyglobby: 0.2.17 - vite: 8.3.4(@types/node@26.6.5)(yaml@2.9.1) + vite: 8.3.5(@types/node@26.6.6)(yaml@2.9.1) why-is-node-running: 3.2.1 optionalDependencies: - '@types/node': 26.6.5 + '@types/node': 26.6.6 jsdom: 30.1.3 transitivePeerDependencies: - msw diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 1bdf866..5cfe3b0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,10 +2,9 @@ # file's settings and nothing above it. None of it is part of the plugin: an # instance installs the packed tarball, which declares no dependencies. -# Versions this package asked for while pnpm still held them back as freshly -# published. pnpm records each exemption itself on the install that took it, -# naming an exact version. -minimumReleaseAgeExclude: - - '@nestjs/common@12.2.0' - - '@nestjs/core@12.2.0' - - '@nestjs/testing@12.2.0' +# `@module-federation/dts-plugin` pins undici 7.29.1 exactly, which has eight +# published advisories (GHSA-2m5v-pch6-74hx and seven more), fixed in 7.30.1. +# Scoped to that parent, so nothing else is overridden. Drop this once the +# plugin's own pin is 7.30.1 or newer. +overrides: + '@module-federation/dts-plugin>undici': 7.30.1 diff --git a/test/fake-host.ts b/test/fake-host.ts index 748fea3..7ec470c 100644 --- a/test/fake-host.ts +++ b/test/fake-host.ts @@ -31,10 +31,12 @@ function resident( return { personId, name: `Person ${personId}`, + lastName: `Person ${personId}`, role, apartment, movedInOn: "2020-01-01", movedOutOn: null, + nameInBuilding: false, }; } @@ -59,6 +61,19 @@ function refused(name: string): never { throw new Error(`The test host does not provide ${name}.`); } +/** + * A service the plugin does not use: every member refuses, the way an + * instance's do for a service the manifest did not ask for. + */ +function unused(name: string): Service { + return new Proxy( + {}, + { + get: (_target, member) => () => refused(`${name}.${String(member)}`), + }, + ) as Service; +} + export function fakeHost( options: { settings?: PluginSettingsValues; withActions?: boolean } = {}, ): FakeHost { @@ -85,7 +100,10 @@ export function fakeHost( warn: (message) => logged.push(message), error: (message) => logged.push(message), }, - settings: { read: async () => settings }, + settings: { + read: async () => settings, + writeSecret: async () => refused("settings.writeSecret"), + }, mail: { send: async () => refused("mail") }, sms: { send: async () => refused("sms") }, jobs: { @@ -98,6 +116,7 @@ export function fakeHost( apartments: async () => APARTMENTS, residents: async () => RESIDENTS, summary: async () => ({ apartments: 4, residents: 4, members: 3 }), + caller: async () => refused("addressBook.caller"), }, actions: { register: (registration) => { @@ -105,7 +124,24 @@ export function fakeHost( }, list: async () => refused("actions.list"), invoke: async () => refused("actions.invoke"), + propose: async () => refused("actions.propose"), + client: () => refused("actions.client"), } as PluginHost["actions"], + finances: unused("finances"), + blocks: unused("blocks"), + audit: unused("audit"), + extensions: unused("extensions"), + news: unused("news"), + calendar: unused("calendar"), + bookings: unused("bookings"), + media: unused("media"), + addresses: unused("addresses"), + recipients: unused("recipients"), + records: unused("records"), + personRecords: unused("personRecords"), + devices: unused("devices"), + themes: unused("themes"), + imports: unused("imports"), }; if (options.withActions === false) {