volleyballsimtypes 0.0.408 → 0.0.410

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.
@@ -1,4 +1,52 @@
1
1
  {
2
+ "XA": [
3
+ "ja_JP"
4
+ ],
5
+ "XB": [
6
+ "it_IT"
7
+ ],
8
+ "XC": [
9
+ "vi_VN"
10
+ ],
11
+ "XD": [
12
+ "id_ID"
13
+ ],
14
+ "XE": [
15
+ "en_GB"
16
+ ],
17
+ "XF": [
18
+ "pt_BR"
19
+ ],
20
+ "XG": [
21
+ "zh_CN"
22
+ ],
23
+ "XH": [
24
+ "ko_KR"
25
+ ],
26
+ "XI": [
27
+ "ru_RU"
28
+ ],
29
+ "XJ": [
30
+ "tr_TR"
31
+ ],
32
+ "XK": [
33
+ "de_DE"
34
+ ],
35
+ "XL": [
36
+ "es_MX"
37
+ ],
38
+ "XM": [
39
+ "en_US"
40
+ ],
41
+ "XN": [
42
+ "fr_FR"
43
+ ],
44
+ "XO": [
45
+ "sv_SE"
46
+ ],
47
+ "XP": [
48
+ "nl_NL"
49
+ ],
2
50
  "PK": [
3
51
  "bal_Arab_PK",
4
52
  "bal_Latn_PK",
@@ -16,7 +16,7 @@ function getFakerInstance(locales) {
16
16
  }
17
17
  }
18
18
  for (const locale of locales) {
19
- const l = locale.split('_')[0];
19
+ const l = locale.split(/[_-]/)[0];
20
20
  if (isFakerKey(l)) {
21
21
  return faker_1.allFakers[l];
22
22
  }
@@ -1,4 +1,52 @@
1
1
  {
2
+ "XA": [
3
+ "ja_JP"
4
+ ],
5
+ "XB": [
6
+ "it_IT"
7
+ ],
8
+ "XC": [
9
+ "vi_VN"
10
+ ],
11
+ "XD": [
12
+ "id_ID"
13
+ ],
14
+ "XE": [
15
+ "en_GB"
16
+ ],
17
+ "XF": [
18
+ "pt_BR"
19
+ ],
20
+ "XG": [
21
+ "zh_CN"
22
+ ],
23
+ "XH": [
24
+ "ko_KR"
25
+ ],
26
+ "XI": [
27
+ "ru_RU"
28
+ ],
29
+ "XJ": [
30
+ "tr_TR"
31
+ ],
32
+ "XK": [
33
+ "de_DE"
34
+ ],
35
+ "XL": [
36
+ "es_MX"
37
+ ],
38
+ "XM": [
39
+ "en_US"
40
+ ],
41
+ "XN": [
42
+ "fr_FR"
43
+ ],
44
+ "XO": [
45
+ "sv_SE"
46
+ ],
47
+ "XP": [
48
+ "nl_NL"
49
+ ],
2
50
  "PK": [
3
51
  "bal_Arab_PK",
4
52
  "bal_Latn_PK",
@@ -10,7 +10,7 @@ export function getFakerInstance(locales) {
10
10
  }
11
11
  }
12
12
  for (const locale of locales) {
13
- const l = locale.split('_')[0];
13
+ const l = locale.split(/[_-]/)[0];
14
14
  if (isFakerKey(l)) {
15
15
  return allFakers[l];
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.408",
3
+ "version": "0.0.410",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",