feat(headerspec): add UTF-8 encoding/decoding support

* Implement round-trip encoding/decoding for UTF-8 values in header functions.
* Update encodeHeaderValue and decodeHeaderValue to use base64 utility functions.
* Add tests for UTF-8 header value handling.
* Update Vite config to externalize base64 utility.
This commit is contained in:
2026-09-23 20:57:50 +02:00
parent b587cbd3c4
commit 7f8982fa35
10 changed files with 1753 additions and 2160 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export default defineConfig({
fileName: (format) => `index.${format === 'es' ? 'js' : 'cjs'}`,
},
rollupOptions: {
external: ['uuid', 'semver'],
external: ['uuid', 'semver', '@warkypublic/artemis-kit/base64'],
},
},
});