We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7961d6 commit 3b7e22cCopy full SHA for 3b7e22c
json-schema-validator/src/wasmJsMain/kotlin/io/github/optimumcode/json/schema/internal/hostname/Normalizer.wasmJs.kt
@@ -1,6 +1,3 @@
1
package io.github.optimumcode.json.schema.internal.hostname
2
3
-internal actual fun isNormalized(label: String): Boolean {
4
- // depending library does not yet support wasm: https://github.com/OptimumCode/json-schema-validator/issues/177#issuecomment-2268482409
5
- return true
6
-}
+internal actual fun isNormalized(label: String): Boolean = js("label.normalize('NFC') === label")
0 commit comments