summaryrefslogtreecommitdiff
path: root/node_modules/lower-case/dist.es2015/index.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:10:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:41:44 +0800
commitfc87c009806dcc98867f6b58efe29b042aa01dee (patch)
tree8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/lower-case/dist.es2015/index.js
parent3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff)
node: updatemain
Diffstat (limited to 'node_modules/lower-case/dist.es2015/index.js')
-rw-r--r--node_modules/lower-case/dist.es2015/index.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/node_modules/lower-case/dist.es2015/index.js b/node_modules/lower-case/dist.es2015/index.js
deleted file mode 100644
index 2be99779..00000000
--- a/node_modules/lower-case/dist.es2015/index.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
- */
-var SUPPORTED_LOCALE = {
- tr: {
- regexp: /\u0130|\u0049|\u0049\u0307/g,
- map: {
- İ: "\u0069",
- I: "\u0131",
- İ: "\u0069",
- },
- },
- az: {
- regexp: /\u0130/g,
- map: {
- İ: "\u0069",
- I: "\u0131",
- İ: "\u0069",
- },
- },
- lt: {
- regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
- map: {
- I: "\u0069\u0307",
- J: "\u006A\u0307",
- Į: "\u012F\u0307",
- Ì: "\u0069\u0307\u0300",
- Í: "\u0069\u0307\u0301",
- Ĩ: "\u0069\u0307\u0303",
- },
- },
-};
-/**
- * Localized lower case.
- */
-export function localeLowerCase(str, locale) {
- var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
- if (lang)
- return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));
- return lowerCase(str);
-}
-/**
- * Lower case as a function.
- */
-export function lowerCase(str) {
- return str.toLowerCase();
-}
-//# sourceMappingURL=index.js.map \ No newline at end of file