@lokascript/i18n 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7150,10 +7150,14 @@ function isDigit(char) {
7150
7150
  return /\d/.test(char);
7151
7151
  }
7152
7152
  function isIdentifierStart(char) {
7153
- return /[a-zA-Z_$áéíóúñÑàèìòùÀÈÌÒÙ一-龯ㄱ-ㅎㅏ-ㅣ가-힣]/.test(char);
7153
+ return /[a-zA-Z_$\u00e1\u00e9\u00ed\u00f3\u00fa\u00f1\u00d1\u00e0\u00e8\u00ec\u00f2\u00f9\u00c0\u00c8\u00cc\u00d2\u00d9\u4e00-\u9faf\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/.test(
7154
+ char
7155
+ );
7154
7156
  }
7155
7157
  function isIdentifierPart(char) {
7156
- return /[a-zA-Z0-9_$áéíóúñÑàèìòùÀÈÌÒÙ一-龯ㄱ-ㅎㅏ-ㅣ가-힣-]/.test(char);
7158
+ return /[a-zA-Z0-9_$\u00e1\u00e9\u00ed\u00f3\u00fa\u00f1\u00d1\u00e0\u00e8\u00ec\u00f2\u00f9\u00c0\u00c8\u00cc\u00d2\u00d9\u4e00-\u9faf\u3131-\u314e\u314f-\u3163\uac00-\ud7a3-]/.test(
7159
+ char
7160
+ );
7157
7161
  }
7158
7162
  function consumeWhitespace(text, start) {
7159
7163
  let end = start;
@@ -9056,7 +9060,9 @@ var NumberFormatter = class {
9056
9060
  const mergedOptions = { ...this.defaultOptions, ...options };
9057
9061
  try {
9058
9062
  const result = new Intl.NumberFormat(this.locale, mergedOptions).format(value);
9059
- if (mergedOptions.style === "currency" && !/[$€£¥₹₩₽฿₪₴₱₫₵₦]/.test(result)) {
9063
+ if (mergedOptions.style === "currency" && !/[$\u20ac\u00a3\u00a5\u20b9\u20a9\u20bd\u0e3f\u20aa\u20b4\u20b1\u20ab\u20b5\u20a6]/.test(
9064
+ result
9065
+ )) {
9060
9066
  return this.fallbackFormat(value, mergedOptions);
9061
9067
  }
9062
9068
  if (mergedOptions.style === "percent" && !result.includes("%")) {