From: 
Subject: Debian changes

The Debian packaging of node-normalize-diacritics is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/node-normalize-diacritics
    % cd node-normalize-diacritics
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone node-normalize-diacritics`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/package.json b/package.json
index 5e035a9..ef713c7 100644
--- a/package.json
+++ b/package.json
@@ -67,7 +67,7 @@
     "lint-commit": "sh $(npm root)/@reallyland/tools/lint-commit.sh",
     "lint:build": "sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/.build.eslintrc.json",
     "pre-commit": "sh $(npm root)/@reallyland/tools/pre-commit.sh",
-    "test": "vitest --coverage",
+    "test": "tsc --project tsconfig.test.json && node --test .test-build/*.test.js",
     "version": "sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md"
   },
   "nano-staged": {
diff --git a/src/tests/error.test.ts b/src/tests/error.test.ts
index 60c4b84..73176d0 100644
--- a/src/tests/error.test.ts
+++ b/src/tests/error.test.ts
@@ -1,19 +1,16 @@
-import { describe, expect, it } from 'vitest';
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
 
-import { normalize } from '..';
+import { normalize } from 'normalize-diacritics';
 
 describe(normalize.name, () => {
-  it.each<null | undefined>([
-    null,
-    undefined,
-  ])('throws error when calling normalize(%s)', async (testInput) => {
-    try {
-      // @ts-expect-error - Intentionally passing invalid input
-      await normalize(testInput);
-    } catch (error) {
-      expect(error).toEqual(
-        new TypeError(`Expected 'input' to be of type string, but received '${testInput}'`)
+  for (const input of [null, undefined]) {
+    it(`throws error when calling normalize(${input})`, async () => {
+      await assert.rejects(
+        // @ts-expect-error - Intentionally passing invalid input
+        normalize(input),
+        new TypeError(`Expected 'input' to be of type string, but received '${input}'`)
       );
-    }
-  });
+    });
+  }
 });
diff --git a/src/tests/normalize-sync.test.ts b/src/tests/normalize-sync.test.ts
index d5b62ce..60ca9c5 100644
--- a/src/tests/normalize-sync.test.ts
+++ b/src/tests/normalize-sync.test.ts
@@ -1,10 +1,11 @@
-import { describe, expect, it } from 'vitest';
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
 
-import { normalizeSync } from '..';
+import { normalizeSync } from 'normalize-diacritics';
 import type { TestCase } from './types.js';
 
 describe(normalizeSync.name, () => {
-  it.each<TestCase<string, string>>([
+  const cases: TestCase<string, string>[] = [
     { input: '', output: '' },
     { input: 'Åland Islands', output: 'Aland Islands' },
     { input: 'Saint Barthélemy', output: 'Saint Barthelemy' },
@@ -23,9 +24,13 @@ describe(normalizeSync.name, () => {
     { input: `åååå`, output: 'aaaa' },
     { input: `éåéåéåéå`, output: 'eaeaeaea' },
     { input: `åéåéåéåé`, output: 'aeaeaeae' },
-  ])('normalize $input', ({ input, output }) => {
-    const result = normalizeSync(input);
+  ];
 
-    expect(result).toBe(output);
-  });
+  for (const { input, output } of cases) {
+    it(`normalize ${input}`, () => {
+      const result = normalizeSync(input);
+
+      assert.equal(result, output);
+    });
+  }
 });
diff --git a/src/tests/normalize.test.ts b/src/tests/normalize.test.ts
index 1f56c2c..331e0c1 100644
--- a/src/tests/normalize.test.ts
+++ b/src/tests/normalize.test.ts
@@ -1,10 +1,11 @@
-import { describe, expect, it } from 'vitest';
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
 
-import { normalize } from '..';
+import { normalize } from 'normalize-diacritics';
 import type { TestCase } from './types.js';
 
 describe(normalize.name, () => {
-  it.each<TestCase<string, string>>([
+  const cases: TestCase<string, string>[] = [
     { input: '', output: '' },
     { input: 'Åland Islands', output: 'Aland Islands' },
     { input: 'Saint Barthélemy', output: 'Saint Barthelemy' },
@@ -23,9 +24,13 @@ describe(normalize.name, () => {
     { input: `åååå`, output: 'aaaa' },
     { input: `éåéåéåéå`, output: 'eaeaeaea' },
     { input: `åéåéåéåé`, output: 'aeaeaeae' },
-  ])('normalize $input', async ({ input, output }) => {
-    const result = await normalize(input);
+  ];
 
-    expect(result).toBe(output);
-  });
+  for (const { input, output } of cases) {
+    it(`normalize ${input}`, async () => {
+      const result = await normalize(input);
+
+      assert.equal(result, output);
+    });
+  }
 });
diff --git a/tsconfig.json b/tsconfig.json
index 10f8f36..f693081 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,16 +1,15 @@
 {
-  "extends": "./node_modules/@reallyland/tools/browser/tsconfig.json",
   "compilerOptions": {
+    "target": "ES2022",
+    "module": "NodeNext",
+    "strict": true,
+    "declaration": true,
+    "declarationMap": true,
+    "sourceMap": true,
+    "types": [],
     "declarationDir": "dist",
-    "ignoreDeprecations": "5.0",
     "outDir": "dist",
     "rootDir": "src"
   },
-  "include": [
-    "src/**/*.ts"
-  ],
-  "exclude": [
-    "dist",
-    "node_modules"
-  ]
-}
\ No newline at end of file
+  "include": ["src/*.ts"]
+}
diff --git a/tsconfig.test.json b/tsconfig.test.json
new file mode 100644
index 0000000..bf4359a
--- /dev/null
+++ b/tsconfig.test.json
@@ -0,0 +1,11 @@
+{
+  "compilerOptions": {
+    "target": "ES2022",
+    "module": "NodeNext",
+    "strict": true,
+    "types": ["node"],
+    "rootDir": "src/tests",
+    "outDir": ".test-build"
+  },
+  "include": ["src/tests/*.ts"]
+}
