From 324a82cef4cc76621b9717736d22454a58d455a5 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Fri, 8 Nov 2024 13:59:02 +0100 Subject: [PATCH] fix: Reconciliation server build on Node 22 (#1460) --- packages/network-of-terms-reconciliation/src/server.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/network-of-terms-reconciliation/src/server.ts b/packages/network-of-terms-reconciliation/src/server.ts index 9e73f2e3..1b1c8f52 100644 --- a/packages/network-of-terms-reconciliation/src/server.ts +++ b/packages/network-of-terms-reconciliation/src/server.ts @@ -5,8 +5,8 @@ import {findManifest} from './manifest.js'; import formBodyPlugin from '@fastify/formbody'; import {reconciliationQuery, ReconciliationQueryBatch} from './query.js'; import {preview} from './preview.js'; -import en from './locales/en.json' assert {type: 'json'}; -import nl from './locales/nl.json' assert {type: 'json'}; +import en from './locales/en.json' with {type: 'json'}; +import nl from './locales/nl.json' with {type: 'json'}; import { Catalog, getHttpLogger, @@ -14,8 +14,8 @@ import { LookupService, QueryTermsService, } from '@netwerk-digitaal-erfgoed/network-of-terms-query'; -import jsonSchema from './json-schema/reconciliation-query.json' assert {type: 'json'}; -import dataExtensionQuery from './json-schema/data-extension-query.json' assert {type: 'json'}; +import jsonSchema from './json-schema/reconciliation-query.json' with {type: 'json'}; +import dataExtensionQuery from './json-schema/data-extension-query.json' with {type: 'json'}; import {parse} from 'querystring'; import { dataExtensionProperties,