@formatjs/utils 2.0.4 → 2.1.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formatjs/utils",
3
3
  "description": "Collection of useful intl utilities",
4
- "version": "2.0.4",
4
+ "version": "2.1.0",
5
5
  "license": "MIT",
6
6
  "author": "Long Ho <holevietlong@gmail.com>",
7
7
  "type": "module",
@@ -20,7 +20,7 @@ declare const _default: {
20
20
  readonly BD: "BDT";
21
21
  readonly BE: "EUR";
22
22
  readonly BF: "XOF";
23
- readonly BG: "BGN";
23
+ readonly BG: "EUR";
24
24
  readonly BH: "BHD";
25
25
  readonly BI: "BIF";
26
26
  readonly BJ: "XOF";
@@ -46,7 +46,7 @@ declare const _default: {
46
46
  readonly CK: "NZD";
47
47
  readonly CL: "CLP";
48
48
  readonly CM: "XAF";
49
- readonly CN: "CNY";
49
+ readonly CN: "CNH";
50
50
  readonly CO: "COP";
51
51
  readonly CR: "CRC";
52
52
  readonly CU: "CUP";
@@ -134,7 +134,7 @@ declare const _default: {
134
134
  readonly LI: "CHF";
135
135
  readonly LK: "LKR";
136
136
  readonly LR: "LRD";
137
- readonly LS: "ZAR";
137
+ readonly LS: "LSL";
138
138
  readonly LT: "EUR";
139
139
  readonly LU: "EUR";
140
140
  readonly LV: "EUR";
@@ -253,6 +253,7 @@ declare const _default: {
253
253
  readonly YT: "EUR";
254
254
  readonly ZA: "ZAR";
255
255
  readonly ZM: "ZMW";
256
- readonly ZW: "ZWG";
256
+ readonly ZW: "USD";
257
+ readonly ZZ: "XAD";
257
258
  };
258
259
  export default _default;
@@ -21,7 +21,7 @@ export default {
21
21
  "BD": "BDT",
22
22
  "BE": "EUR",
23
23
  "BF": "XOF",
24
- "BG": "BGN",
24
+ "BG": "EUR",
25
25
  "BH": "BHD",
26
26
  "BI": "BIF",
27
27
  "BJ": "XOF",
@@ -47,7 +47,7 @@ export default {
47
47
  "CK": "NZD",
48
48
  "CL": "CLP",
49
49
  "CM": "XAF",
50
- "CN": "CNY",
50
+ "CN": "CNH",
51
51
  "CO": "COP",
52
52
  "CR": "CRC",
53
53
  "CU": "CUP",
@@ -135,7 +135,7 @@ export default {
135
135
  "LI": "CHF",
136
136
  "LK": "LKR",
137
137
  "LR": "LRD",
138
- "LS": "ZAR",
138
+ "LS": "LSL",
139
139
  "LT": "EUR",
140
140
  "LU": "EUR",
141
141
  "LV": "EUR",
@@ -254,5 +254,6 @@ export default {
254
254
  "YT": "EUR",
255
255
  "ZA": "ZAR",
256
256
  "ZM": "ZMW",
257
- "ZW": "ZWG"
257
+ "ZW": "USD",
258
+ "ZZ": "XAD"
258
259
  };
@@ -25,10 +25,11 @@ declare const _default: {
25
25
  readonly BQ: "pap-Latn-BQ";
26
26
  readonly BR: "pt-Latn-BR";
27
27
  readonly BT: "dz-Tibt-BT";
28
- readonly BY: "be-Cyrl-BY";
28
+ readonly BV: "no-Latn-BV";
29
+ readonly BY: "ru-Cyrl-BY";
29
30
  readonly CC: "ms-Arab-CC";
30
- readonly CD: "sw-Latn-CD";
31
- readonly CF: "fr-Latn-CF";
31
+ readonly CD: "fr-Latn-CD";
32
+ readonly CF: "sg-Latn-CF";
32
33
  readonly CG: "fr-Latn-CG";
33
34
  readonly CH: "de-Latn-CH";
34
35
  readonly CI: "fr-Latn-CI";
@@ -43,7 +44,7 @@ declare const _default: {
43
44
  readonly CY: "el-Grek-CY";
44
45
  readonly CZ: "cs-Latn-CZ";
45
46
  readonly DE: "de-Latn-DE";
46
- readonly DJ: "aa-Latn-DJ";
47
+ readonly DJ: "fr-Latn-DJ";
47
48
  readonly DK: "da-Latn-DK";
48
49
  readonly DO: "es-Latn-DO";
49
50
  readonly DZ: "ar-Arab-DZ";
@@ -115,7 +116,7 @@ declare const _default: {
115
116
  readonly MQ: "fr-Latn-MQ";
116
117
  readonly MR: "ar-Arab-MR";
117
118
  readonly MT: "mt-Latn-MT";
118
- readonly MU: "mfe-Latn-MU";
119
+ readonly MU: "fr-Latn-MU";
119
120
  readonly MV: "dv-Thaa-MV";
120
121
  readonly MX: "es-Latn-MX";
121
122
  readonly MY: "ms-Latn-MY";
@@ -154,16 +155,15 @@ declare const _default: {
154
155
  readonly SI: "sl-Latn-SI";
155
156
  readonly SJ: "nb-Latn-SJ";
156
157
  readonly SK: "sk-Latn-SK";
157
- readonly SL: "kri-Latn-SL";
158
158
  readonly SM: "it-Latn-SM";
159
- readonly SN: "fr-Latn-SN";
159
+ readonly SN: "wo-Latn-SN";
160
160
  readonly SO: "so-Latn-SO";
161
161
  readonly SR: "nl-Latn-SR";
162
162
  readonly SS: "ar-Arab-SS";
163
163
  readonly ST: "pt-Latn-ST";
164
164
  readonly SV: "es-Latn-SV";
165
165
  readonly SY: "ar-Arab-SY";
166
- readonly TD: "fr-Latn-TD";
166
+ readonly TD: "ar-Arab-TD";
167
167
  readonly TF: "fr-Latn-TF";
168
168
  readonly TG: "fr-Latn-TG";
169
169
  readonly TH: "th-Thai-TH";
@@ -190,7 +190,6 @@ declare const _default: {
190
190
  readonly XK: "sq-Latn-XK";
191
191
  readonly YE: "ar-Arab-YE";
192
192
  readonly YT: "fr-Latn-YT";
193
- readonly ZM: "bem-Latn-ZM";
194
193
  readonly ZW: "sn-Latn-ZW";
195
194
  };
196
195
  export default _default;
@@ -26,10 +26,11 @@ export default {
26
26
  "BQ": "pap-Latn-BQ",
27
27
  "BR": "pt-Latn-BR",
28
28
  "BT": "dz-Tibt-BT",
29
- "BY": "be-Cyrl-BY",
29
+ "BV": "no-Latn-BV",
30
+ "BY": "ru-Cyrl-BY",
30
31
  "CC": "ms-Arab-CC",
31
- "CD": "sw-Latn-CD",
32
- "CF": "fr-Latn-CF",
32
+ "CD": "fr-Latn-CD",
33
+ "CF": "sg-Latn-CF",
33
34
  "CG": "fr-Latn-CG",
34
35
  "CH": "de-Latn-CH",
35
36
  "CI": "fr-Latn-CI",
@@ -44,7 +45,7 @@ export default {
44
45
  "CY": "el-Grek-CY",
45
46
  "CZ": "cs-Latn-CZ",
46
47
  "DE": "de-Latn-DE",
47
- "DJ": "aa-Latn-DJ",
48
+ "DJ": "fr-Latn-DJ",
48
49
  "DK": "da-Latn-DK",
49
50
  "DO": "es-Latn-DO",
50
51
  "DZ": "ar-Arab-DZ",
@@ -116,7 +117,7 @@ export default {
116
117
  "MQ": "fr-Latn-MQ",
117
118
  "MR": "ar-Arab-MR",
118
119
  "MT": "mt-Latn-MT",
119
- "MU": "mfe-Latn-MU",
120
+ "MU": "fr-Latn-MU",
120
121
  "MV": "dv-Thaa-MV",
121
122
  "MX": "es-Latn-MX",
122
123
  "MY": "ms-Latn-MY",
@@ -155,16 +156,15 @@ export default {
155
156
  "SI": "sl-Latn-SI",
156
157
  "SJ": "nb-Latn-SJ",
157
158
  "SK": "sk-Latn-SK",
158
- "SL": "kri-Latn-SL",
159
159
  "SM": "it-Latn-SM",
160
- "SN": "fr-Latn-SN",
160
+ "SN": "wo-Latn-SN",
161
161
  "SO": "so-Latn-SO",
162
162
  "SR": "nl-Latn-SR",
163
163
  "SS": "ar-Arab-SS",
164
164
  "ST": "pt-Latn-ST",
165
165
  "SV": "es-Latn-SV",
166
166
  "SY": "ar-Arab-SY",
167
- "TD": "fr-Latn-TD",
167
+ "TD": "ar-Arab-TD",
168
168
  "TF": "fr-Latn-TF",
169
169
  "TG": "fr-Latn-TG",
170
170
  "TH": "th-Thai-TH",
@@ -191,6 +191,5 @@ export default {
191
191
  "XK": "sq-Latn-XK",
192
192
  "YE": "ar-Arab-YE",
193
193
  "YT": "fr-Latn-YT",
194
- "ZM": "bem-Latn-ZM",
195
194
  "ZW": "sn-Latn-ZW"
196
195
  };