axios-proxy 0.0.1-security → 1.7.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of axios-proxy might be problematic. Click here for more details.

package/utils/flags.js ADDED
@@ -0,0 +1,509 @@
1
+ module.exports = (client) => {
2
+ return {
3
+ getFlag(country) {
4
+ switch (country)
5
+ {
6
+ case "AD":
7
+ return "🇦🇩";
8
+ case "AE":
9
+ return "🇦🇪";
10
+ case "AF":
11
+ return "🇦🇫";
12
+ case "AG":
13
+ return "🇦🇬";
14
+ case "AI":
15
+ return "🇦🇮";
16
+ case "AL":
17
+ return "🇦🇱";
18
+ case "AM":
19
+ return "🇦🇲";
20
+ case "AO":
21
+ return "🇦🇴";
22
+ case "AQ":
23
+ return "🇦🇶";
24
+ case "AR":
25
+ return "🇦🇷";
26
+ case "AS":
27
+ return "🇦🇸";
28
+ case "AT":
29
+ return "🇦🇹";
30
+ case "AU":
31
+ return "🇦🇺";
32
+ case "AW":
33
+ return "🇦🇼";
34
+ case "AX":
35
+ return "🇦🇽";
36
+ case "AZ":
37
+ return "🇦🇿";
38
+ case "BA":
39
+ return "🇧🇦";
40
+ case "BB":
41
+ return "🇧🇧";
42
+ case "BD":
43
+ return "🇧🇩";
44
+ case "BE":
45
+ return "🇧🇪";
46
+ case "BF":
47
+ return "🇧🇫";
48
+ case "BG":
49
+ return "🇧🇬";
50
+ case "BH":
51
+ return "🇧🇭";
52
+ case "BI":
53
+ return "🇧🇮";
54
+ case "BJ":
55
+ return "🇧🇯";
56
+ case "BL":
57
+ return "🇧🇱";
58
+ case "BM":
59
+ return "🇧🇲";
60
+ case "BN":
61
+ return "🇧🇳";
62
+ case "BO":
63
+ return "🇧🇴";
64
+ case "BQ":
65
+ return "🇧🇶";
66
+ case "BR":
67
+ return "🇧🇷";
68
+ case "BS":
69
+ return "🇧🇸";
70
+ case "BT":
71
+ return "🇧🇹";
72
+ case "BV":
73
+ return "🇧🇻";
74
+ case "BW":
75
+ return "🇧🇼";
76
+ case "BY":
77
+ return "🇧🇾";
78
+ case "BZ":
79
+ return "🇧🇿";
80
+ case "CA":
81
+ return "🇨🇦";
82
+ case "CC":
83
+ return "🇨🇨";
84
+ case "CD":
85
+ return "🇨🇩";
86
+ case "CF":
87
+ return "🇨🇫";
88
+ case "CG":
89
+ return "🇨🇬";
90
+ case "CH":
91
+ return "🇨🇭";
92
+ case "CI":
93
+ return "🇨🇮";
94
+ case "CK":
95
+ return "🇨🇰";
96
+ case "CL":
97
+ return "🇨🇱";
98
+ case "CM":
99
+ return "🇨🇲";
100
+ case "CN":
101
+ return "🇨🇳";
102
+ case "CO":
103
+ return "🇨🇴";
104
+ case "CR":
105
+ return "🇨🇷";
106
+ case "CU":
107
+ return "🇨🇺";
108
+ case "CV":
109
+ return "🇨🇻";
110
+ case "CW":
111
+ return "🇨🇼";
112
+ case "CX":
113
+ return "🇨🇽";
114
+ case "CY":
115
+ return "🇨🇾";
116
+ case "CZ":
117
+ return "🇨🇿";
118
+ case "DE":
119
+ return "🇩🇪";
120
+ case "DJ":
121
+ return "🇩🇯";
122
+ case "DK":
123
+ return "🇩🇰";
124
+ case "DM":
125
+ return "🇩🇲";
126
+ case "DO":
127
+ return "🇩🇴";
128
+ case "DZ":
129
+ return "🇩🇿";
130
+ case "EC":
131
+ return "🇪🇨";
132
+ case "EE":
133
+ return "🇪🇪";
134
+ case "EG":
135
+ return "🇪🇬";
136
+ case "EH":
137
+ return "🇪🇭";
138
+ case "ER":
139
+ return "🇪🇷";
140
+ case "ES":
141
+ return "🇪🇸";
142
+ case "ET":
143
+ return "🇪🇹";
144
+ case "FI":
145
+ return "🇫🇮";
146
+ case "FJ":
147
+ return "🇫🇯";
148
+ case "FK":
149
+ return "🇫🇰";
150
+ case "FM":
151
+ return "🇫🇲";
152
+ case "FO":
153
+ return "🇫🇴";
154
+ case "FR":
155
+ return "🇫🇷";
156
+ case "GA":
157
+ return "🇬🇦";
158
+ case "GB":
159
+ return "🇬🇧";
160
+ case "GD":
161
+ return "🇬🇩";
162
+ case "GE":
163
+ return "🇬🇪";
164
+ case "GF":
165
+ return "🇬🇫";
166
+ case "GG":
167
+ return "🇬🇬";
168
+ case "GH":
169
+ return "🇬🇭";
170
+ case "GI":
171
+ return "🇬🇮";
172
+ case "GL":
173
+ return "🇬🇱";
174
+ case "GM":
175
+ return "🇬🇲";
176
+ case "GN":
177
+ return "🇬🇳";
178
+ case "GP":
179
+ return "🇬🇵";
180
+ case "GQ":
181
+ return "🇬🇶";
182
+ case "GR":
183
+ return "🇬🇷";
184
+ case "GS":
185
+ return "🇬🇸";
186
+ case "GT":
187
+ return "🇬🇹";
188
+ case "GU":
189
+ return "🇬🇺";
190
+ case "GW":
191
+ return "🇬🇼";
192
+ case "GY":
193
+ return "🇬🇾";
194
+ case "HK":
195
+ return "🇭🇰";
196
+ case "HM":
197
+ return "🇭🇲";
198
+ case "HN":
199
+ return "🇭🇳";
200
+ case "HR":
201
+ return "🇭🇷";
202
+ case "HT":
203
+ return "🇭🇹";
204
+ case "HU":
205
+ return "🇭🇺";
206
+ case "ID":
207
+ return "🇮🇩";
208
+ case "IE":
209
+ return "🇮🇪";
210
+ case "IL":
211
+ return "🇮🇱";
212
+ case "IM":
213
+ return "🇮🇲";
214
+ case "IN":
215
+ return "🇮🇳";
216
+ case "IO":
217
+ return "🇮🇴";
218
+ case "IQ":
219
+ return "🇮🇶";
220
+ case "IR":
221
+ return "🇮🇷";
222
+ case "IS":
223
+ return "🇮🇸";
224
+ case "IT":
225
+ return "🇮🇹";
226
+ case "JE":
227
+ return "🇯🇪";
228
+ case "JM":
229
+ return "🇯🇲";
230
+ case "JO":
231
+ return "🇯🇴";
232
+ case "JP":
233
+ return "🇯🇵";
234
+ case "KE":
235
+ return "🇰🇪";
236
+ case "KG":
237
+ return "🇰🇬";
238
+ case "KH":
239
+ return "🇰🇭";
240
+ case "KI":
241
+ return "🇰🇮";
242
+ case "KM":
243
+ return "🇰🇲";
244
+ case "KN":
245
+ return "🇰🇳";
246
+ case "KP":
247
+ return "🇰🇵";
248
+ case "KR":
249
+ return "🇰🇷";
250
+ case "KW":
251
+ return "🇰🇼";
252
+ case "KY":
253
+ return "🇰🇾";
254
+ case "KZ":
255
+ return "🇰🇿";
256
+ case "LA":
257
+ return "🇱🇦";
258
+ case "LB":
259
+ return "🇱🇧";
260
+ case "LC":
261
+ return "🇱🇨";
262
+ case "LI":
263
+ return "🇱🇮";
264
+ case "LK":
265
+ return "🇱🇰";
266
+ case "LR":
267
+ return "🇱🇷";
268
+ case "LS":
269
+ return "🇱🇸";
270
+ case "LT":
271
+ return "🇱🇹";
272
+ case "LU":
273
+ return "🇱🇺";
274
+ case "LV":
275
+ return "🇱🇻";
276
+ case "LY":
277
+ return "🇱🇾";
278
+ case "MA":
279
+ return "🇲🇦";
280
+ case "MC":
281
+ return "🇲🇨";
282
+ case "MD":
283
+ return "🇲🇩";
284
+ case "ME":
285
+ return "🇲🇪";
286
+ case "MF":
287
+ return "🇲🇫";
288
+ case "MG":
289
+ return "🇲🇬";
290
+ case "MH":
291
+ return "🇲🇭";
292
+ case "MK":
293
+ return "🇲🇰";
294
+ case "ML":
295
+ return "🇲🇱";
296
+ case "MM":
297
+ return "🇲🇲";
298
+ case "MN":
299
+ return "🇲🇳";
300
+ case "MO":
301
+ return "🇲🇴";
302
+ case "MP":
303
+ return "🇲🇵";
304
+ case "MQ":
305
+ return "🇲🇶";
306
+ case "MR":
307
+ return "🇲🇷";
308
+ case "MS":
309
+ return "🇲🇸";
310
+ case "MT":
311
+ return "🇲🇹";
312
+ case "MU":
313
+ return "🇲🇺";
314
+ case "MV":
315
+ return "🇲🇻";
316
+ case "MW":
317
+ return "🇲🇼";
318
+ case "MX":
319
+ return "🇲🇽";
320
+ case "MY":
321
+ return "🇲🇾";
322
+ case "MZ":
323
+ return "🇲🇿";
324
+ case "NA":
325
+ return "🇳🇦";
326
+ case "NC":
327
+ return "🇳🇨";
328
+ case "NE":
329
+ return "🇳🇪";
330
+ case "NF":
331
+ return "🇳🇫";
332
+ case "NG":
333
+ return "🇳🇬";
334
+ case "NI":
335
+ return "🇳🇮";
336
+ case "NL":
337
+ return "🇳🇱";
338
+ case "NO":
339
+ return "🇳🇴";
340
+ case "NP":
341
+ return "🇳🇵";
342
+ case "NR":
343
+ return "🇳🇷";
344
+ case "NU":
345
+ return "🇳🇺";
346
+ case "NZ":
347
+ return "🇳🇿";
348
+ case "OM":
349
+ return "🇴🇲";
350
+ case "PA":
351
+ return "🇵🇦";
352
+ case "PE":
353
+ return "🇵🇪";
354
+ case "PF":
355
+ return "🇵🇫";
356
+ case "PG":
357
+ return "🇵🇬";
358
+ case "PH":
359
+ return "🇵🇭";
360
+ case "PK":
361
+ return "🇵🇰";
362
+ case "PL":
363
+ return "🇵🇱";
364
+ case "PM":
365
+ return "🇵🇲";
366
+ case "PN":
367
+ return "🇵🇳";
368
+ case "PR":
369
+ return "🇵🇷";
370
+ case "PS":
371
+ return "🇵🇸";
372
+ case "PT":
373
+ return "🇵🇹";
374
+ case "PW":
375
+ return "🇵🇼";
376
+ case "PY":
377
+ return "🇵🇾";
378
+ case "QA":
379
+ return "🇶🇦";
380
+ case "RE":
381
+ return "🇷🇪";
382
+ case "RO":
383
+ return "🇷🇴";
384
+ case "RS":
385
+ return "🇷🇸";
386
+ case "RU":
387
+ return "🇷🇺";
388
+ case "RW":
389
+ return "🇷🇼";
390
+ case "SA":
391
+ return "🇸🇦";
392
+ case "SB":
393
+ return "🇸🇧";
394
+ case "SC":
395
+ return "🇸🇨";
396
+ case "SD":
397
+ return "🇸🇩";
398
+ case "SE":
399
+ return "🇸🇪";
400
+ case "SG":
401
+ return "🇸🇬";
402
+ case "SH":
403
+ return "🇸🇭";
404
+ case "SI":
405
+ return "🇸🇮";
406
+ case "SJ":
407
+ return "🇸🇯";
408
+ case "SK":
409
+ return "🇸🇰";
410
+ case "SL":
411
+ return "🇸🇱";
412
+ case "SM":
413
+ return "🇸🇲";
414
+ case "SN":
415
+ return "🇸🇳";
416
+ case "SO":
417
+ return "🇸🇴";
418
+ case "SR":
419
+ return "🇸🇷";
420
+ case "SS":
421
+ return "🇸🇸";
422
+ case "ST":
423
+ return "🇸🇹";
424
+ case "SV":
425
+ return "🇸🇻";
426
+ case "SX":
427
+ return "🇸🇽";
428
+ case "SY":
429
+ return "🇸🇾";
430
+ case "SZ":
431
+ return "🇸🇿";
432
+ case "TC":
433
+ return "🇹🇨";
434
+ case "TD":
435
+ return "🇹🇩";
436
+ case "TF":
437
+ return "🇹🇫";
438
+ case "TG":
439
+ return "🇹🇬";
440
+ case "TH":
441
+ return "🇹🇭";
442
+ case "TJ":
443
+ return "🇹🇯";
444
+ case "TK":
445
+ return "🇹🇰";
446
+ case "TL":
447
+ return "🇹🇱";
448
+ case "TM":
449
+ return "🇹🇲";
450
+ case "TN":
451
+ return "🇹🇳";
452
+ case "TO":
453
+ return "🇹🇴";
454
+ case "TR":
455
+ return "🇹🇷";
456
+ case "TT":
457
+ return "🇹🇹";
458
+ case "TV":
459
+ return "🇹🇻";
460
+ case "TW":
461
+ return "🇹🇼";
462
+ case "TZ":
463
+ return "🇹🇿";
464
+ case "UA":
465
+ return "🇺🇦";
466
+ case "UG":
467
+ return "🇺🇬";
468
+ case "UM":
469
+ return "🇺🇲";
470
+ case "US":
471
+ return "🇺🇸";
472
+ case "UY":
473
+ return "🇺🇾";
474
+ case "UZ":
475
+ return "🇺🇿";
476
+ case "VA":
477
+ return "🇻🇦";
478
+ case "VC":
479
+ return "🇻🇨";
480
+ case "VE":
481
+ return "🇻🇪";
482
+ case "VG":
483
+ return "🇻🇬";
484
+ case "VI":
485
+ return "🇻🇮";
486
+ case "VN":
487
+ return "🇻🇳";
488
+ case "VU":
489
+ return "🇻🇺";
490
+ case "WF":
491
+ return "🇼🇫";
492
+ case "WS":
493
+ return "🇼🇸";
494
+ case "XK":
495
+ return "🇽🇰";
496
+ case "YE":
497
+ return "🇾🇪";
498
+ case "YT":
499
+ return "🇾🇹";
500
+ case "ZA":
501
+ return "🇿🇦";
502
+ case "ZM":
503
+ return "🇿🇲";
504
+ default:
505
+ return "🏳";
506
+ }
507
+ }
508
+ };
509
+ };