aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-06-16 09:43:05 +0200
committerGitHub <[email protected]>2024-06-16 09:43:05 +0200
commit25a1ab40a768fd738719f43ffcfeaeea2887750f (patch)
tree9a38d148c9f970438a2e8b98da5b37a057ece08f
parentb4e7d21440ceb830438e8a03c7148bb1553a787c (diff)
downloadfaker-25a1ab40a768fd738719f43ffcfeaeea2887750f.tar.xz
faker-25a1ab40a768fd738719f43ffcfeaeea2887750f.zip
docs: document unstable icu sort order (#2948)
-rw-r--r--scripts/generate-locales.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts
index 2d6c252e..b8103ee3 100644
--- a/scripts/generate-locales.ts
+++ b/scripts/generate-locales.ts
@@ -298,6 +298,7 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {
// limit entries to 1k
.slice(0, 1000)
// sort entries alphabetically
+ // We cannot sort the entries locale aware as the sort order is not stable within node versions #2905
.sort() as T
);
}