mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Compare commits
21 Commits
varlamore-
...
v2.23.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
20a1709dc7 | ||
![]() |
880242330b | ||
![]() |
465b0a1eb5 | ||
![]() |
0311d1c35c | ||
![]() |
25888bbe57 | ||
![]() |
7afa9a1902 | ||
![]() |
5070dc9da1 | ||
![]() |
6d000df717 | ||
![]() |
5575a83039 | ||
![]() |
86d9bcb2e7 | ||
![]() |
79c067152c | ||
![]() |
e51e7bc32e | ||
![]() |
7d7c7f9b08 | ||
![]() |
fd24890f67 | ||
![]() |
3ba434978a | ||
![]() |
44ecdf5434 | ||
![]() |
99fc97f05e | ||
![]() |
b3fc5846f3 | ||
![]() |
1deed9f450 | ||
![]() |
0be3f0b636 | ||
![]() |
ec1ed53669 |
28
README.md
28
README.md
@@ -92,17 +92,18 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
||||
|
||||
### Minigames
|
||||
|
||||
| Minigame | Param |
|
||||
| ------------------------------- | :---------------: |
|
||||
| Bounty Hunter (Legacy - Rogue) | `rogueBH` |
|
||||
| Bounty Hunter (Legacy - Hunter) | `hunterBH` |
|
||||
| Bounty Hunter (Rogue) | `rogueBHV2` |
|
||||
| Bounty Hunter (Hunter) | `hunterBHV2` |
|
||||
| LMS - Rank | `lastManStanding` |
|
||||
| PvP Arena - Rank | `pvpArena` |
|
||||
| Soul Wars Zeal | `soulWarsZeal` |
|
||||
| Rifts closed | `riftsClosed` |
|
||||
| Colosseum Glory | `colosseumGlory` |
|
||||
| Minigame | Param |
|
||||
| ------------------------------- | :-----------------: |
|
||||
| Bounty Hunter (Legacy - Rogue) | `rogueBH` |
|
||||
| Bounty Hunter (Legacy - Hunter) | `hunterBH` |
|
||||
| Bounty Hunter (Rogue) | `rogueBHV2` |
|
||||
| Bounty Hunter (Hunter) | `hunterBHV2` |
|
||||
| LMS - Rank | `lastManStanding` |
|
||||
| PvP Arena - Rank | `pvpArena` |
|
||||
| Soul Wars Zeal | `soulWarsZeal` |
|
||||
| Rifts closed | `riftsClosed` |
|
||||
| Colosseum Glory | `colosseumGlory` |
|
||||
| Collections Logged | `collectionsLogged` |
|
||||
|
||||
### Points
|
||||
|
||||
@@ -136,6 +137,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
||||
| Dagannoth Rex | `dagannothRex` |
|
||||
| Dagannoth Supreme | `dagannothSupreme` |
|
||||
| Deranged Archaeologist | `derangedArchaeologist` |
|
||||
| Doom of Mokhaiotl | `doomOfMokhaiotl` |
|
||||
| Duke Sucellus | `dukeSucellus` |
|
||||
| General Graardor | `generalGraardor` |
|
||||
| Giant Mole | `giantMole` |
|
||||
@@ -164,6 +166,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
||||
| The Corrupted Gauntlet | `corruptedGauntlet` |
|
||||
| The Hueycoatl | `hueycoatl` |
|
||||
| The Leviathan | `leviathan` |
|
||||
| The Royal Titans | `royalTitans` |
|
||||
| The Whisperer | `whisperer` |
|
||||
| Theatre Of Blood | `theatreOfBlood` |
|
||||
| Theatre Of Blood: Hard Mode | `theatreOfBloodHardMode` |
|
||||
@@ -177,6 +180,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
||||
| Vetion | `vetion` |
|
||||
| Vorkath | `vorkath` |
|
||||
| Wintertodt | `wintertodt` |
|
||||
| Yama | `yama` |
|
||||
| Zalcano | `zalcano` |
|
||||
| Zulrah | `zulrah` |
|
||||
|
||||
@@ -205,6 +209,8 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
||||
pvpArena: {},
|
||||
soulWarsZeal: {},
|
||||
riftsClosed: {},
|
||||
colosseumGlory: {},
|
||||
collectionsLogged: {},
|
||||
bosses: {}
|
||||
}
|
||||
}
|
||||
|
@@ -1,106 +1,110 @@
|
||||
2130,2277,1102428578
|
||||
22624,99,32956104
|
||||
3574,99,47147957
|
||||
1226,99,200000000
|
||||
1454,99,180249986
|
||||
3112,99,155438899
|
||||
2533,99,17520811
|
||||
2078,99,84629930
|
||||
150276,99,13378420
|
||||
23833,99,19182079
|
||||
61715,99,13456926
|
||||
24604,99,16672148
|
||||
19900,99,19161337
|
||||
53450,99,14082613
|
||||
12063,99,16553015
|
||||
32871,99,14985851
|
||||
39747,99,13346314
|
||||
8390,99,15771711
|
||||
55848,99,14322777
|
||||
1723,99,52832158
|
||||
2107,99,101923913
|
||||
5301,99,22739376
|
||||
20087,99,18044758
|
||||
1301,99,18031495
|
||||
2210,2277,1150073045
|
||||
23988,99,33320012
|
||||
3114,99,51215128
|
||||
1203,99,200000000
|
||||
1372,99,196290925
|
||||
3458,99,159426771
|
||||
2746,99,17744970
|
||||
2031,99,91566360
|
||||
161852,99,13386665
|
||||
25801,99,19461878
|
||||
64826,99,13473417
|
||||
26528,99,16672481
|
||||
20829,99,19483653
|
||||
58378,99,14103220
|
||||
13188,99,16573909
|
||||
36283,99,15061037
|
||||
17137,99,14670565
|
||||
8751,99,16169665
|
||||
60803,99,14390315
|
||||
1718,99,57850681
|
||||
2117,99,110369178
|
||||
5540,99,22739567
|
||||
22326,99,18052465
|
||||
1467,99,18050183
|
||||
-1,-1
|
||||
-1,-1
|
||||
32847,10
|
||||
16567,3
|
||||
147262,8
|
||||
101823,7
|
||||
382,9739
|
||||
1265,825
|
||||
131,6000
|
||||
2401,1606
|
||||
43386,311
|
||||
799,460
|
||||
945,537
|
||||
5531,5516
|
||||
38135,10
|
||||
19368,3
|
||||
146220,8
|
||||
100923,7
|
||||
433,9802
|
||||
1542,825
|
||||
158,6000
|
||||
2572,1606
|
||||
47979,311
|
||||
1081,460
|
||||
880,600
|
||||
4258,6785
|
||||
-1,-1
|
||||
7538,14780
|
||||
6781,1060
|
||||
6880,43487
|
||||
3193,2192
|
||||
2932,4796
|
||||
123,6789
|
||||
37,111
|
||||
44605,143
|
||||
4023,1830
|
||||
238149,5
|
||||
47139,293
|
||||
98811,58
|
||||
10766,2657
|
||||
200557,34
|
||||
1735,692
|
||||
23548,215
|
||||
43337,116
|
||||
61439,287
|
||||
2859,2000
|
||||
53841,106
|
||||
18420,1078
|
||||
23824,1062
|
||||
18418,1088
|
||||
85908,25
|
||||
6077,1320
|
||||
21980,1228
|
||||
76561,477
|
||||
774,3642
|
||||
7917,281
|
||||
2313,2046
|
||||
52832,580
|
||||
64296,2899
|
||||
4205,1740
|
||||
2681,1444
|
||||
3424,324
|
||||
523,48
|
||||
35420,626
|
||||
4162,749
|
||||
5046,500
|
||||
1218,217
|
||||
21243,379
|
||||
40733,249
|
||||
53931,91
|
||||
4870,1245
|
||||
174877,29
|
||||
2122,49
|
||||
3471,1569
|
||||
50947,273
|
||||
236110,7
|
||||
102423,201
|
||||
2344,21039
|
||||
10174,666
|
||||
665,2072
|
||||
23177,310
|
||||
1967,419
|
||||
8495,3066
|
||||
122123,37
|
||||
240,1537
|
||||
7756,7
|
||||
140561,8
|
||||
4736,2113
|
||||
249,7096
|
||||
89194,51
|
||||
15067,2780
|
||||
975929,62
|
||||
196393,25
|
||||
227062,340
|
||||
7596,14780
|
||||
8124,1060
|
||||
10438,43487
|
||||
1114,1155
|
||||
3497,2192
|
||||
3204,4796
|
||||
1087,984
|
||||
2230,2328
|
||||
51533,143
|
||||
4243,1830
|
||||
256985,5
|
||||
54424,293
|
||||
114691,58
|
||||
11700,2657
|
||||
211708,34
|
||||
1779,736
|
||||
24958,215
|
||||
46504,116
|
||||
66096,287
|
||||
3133,2000
|
||||
26682,198
|
||||
19337,1078
|
||||
25021,1062
|
||||
19290,1088
|
||||
89474,25
|
||||
1140,8
|
||||
7535,1320
|
||||
23251,1228
|
||||
82016,477
|
||||
876,3642
|
||||
7073,310
|
||||
2476,2046
|
||||
55411,580
|
||||
68801,2899
|
||||
4608,1740
|
||||
3079,1444
|
||||
8344,324
|
||||
540,53
|
||||
38395,626
|
||||
4176,749
|
||||
5519,500
|
||||
1394,217
|
||||
26127,379
|
||||
49730,249
|
||||
57206,91
|
||||
6106,1245
|
||||
185920,29
|
||||
3232,49
|
||||
4276,1569
|
||||
57314,273
|
||||
256794,7
|
||||
113862,201
|
||||
1969,538
|
||||
12346,671
|
||||
5606,149
|
||||
550,2450
|
||||
25557,310
|
||||
1391,538
|
||||
9325,3066
|
||||
131996,37
|
||||
214,1720
|
||||
8902,7
|
||||
148385,8
|
||||
6120,2113
|
||||
287,7096
|
||||
97368,51
|
||||
15591,2780
|
||||
1000405,67
|
||||
19722,173
|
||||
213696,25
|
||||
240082,340
|
Can't render this file because it has a wrong number of fields in line 25.
|
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,10 @@ import {
|
||||
InvalidFormatError,
|
||||
BH_MODES,
|
||||
parseJsonStats,
|
||||
HiscoresResponse
|
||||
HiscoresResponse,
|
||||
InvalidRSNError,
|
||||
PlayerNotFoundError,
|
||||
HiScoresError
|
||||
} from '../src/index';
|
||||
|
||||
const B0ATY_NAME = 'B0ATY';
|
||||
@@ -24,6 +27,8 @@ const LYNX_TITAN_SPACE_NAME = 'lYnX tiTaN';
|
||||
const LYNX_TITAN_UNDERSCORE_NAME = 'lYnX_tiTaN';
|
||||
const LYNX_TITAN_HYPHEN_NAME = 'lYnX-tiTaN';
|
||||
const LYNX_TITAN_FORMATTED_NAME = 'Lynx Titan';
|
||||
const NON_EXISTENT_NAME = 'nonExistent';
|
||||
const ERROR_NAME = 'errorName';
|
||||
|
||||
const attackTopPage = readFileSync(`${__dirname}/attackTopPage.html`, 'utf8');
|
||||
const b0atyNamePage = readFileSync(`${__dirname}/b0atyNamePage.html`, 'utf8');
|
||||
@@ -57,6 +62,12 @@ jest.spyOn(axios, 'get').mockImplementation((url) => {
|
||||
if (getStatsURL('main', LYNX_TITAN_FORMATTED_NAME, true) === url) {
|
||||
return Promise.resolve({ status: 200, data: lynxTitanStats });
|
||||
}
|
||||
if (getPlayerTableURL('main', NON_EXISTENT_NAME) === url) {
|
||||
return Promise.resolve({ data: '<html></html>' });
|
||||
}
|
||||
if (getPlayerTableURL('main', ERROR_NAME)) {
|
||||
return Promise.reject();
|
||||
}
|
||||
throw new Error(`No mock response for URL: ${url}`);
|
||||
});
|
||||
|
||||
@@ -103,6 +114,7 @@ test('Parse CSV to json', () => {
|
||||
37,225
|
||||
25,1110
|
||||
7827,43249
|
||||
1114,1155
|
||||
382,2780
|
||||
944,3000
|
||||
561,398429
|
||||
@@ -124,6 +136,7 @@ test('Parse CSV to json', () => {
|
||||
4342,1655
|
||||
966,2951
|
||||
10151,1
|
||||
100,735
|
||||
1289,2477
|
||||
1288,2407
|
||||
377,4669
|
||||
@@ -152,6 +165,7 @@ test('Parse CSV to json', () => {
|
||||
2870,6
|
||||
891,9102
|
||||
2871,7
|
||||
5606,149
|
||||
2872,8
|
||||
6984,138
|
||||
23,923141
|
||||
@@ -165,6 +179,7 @@ test('Parse CSV to json', () => {
|
||||
1940,272
|
||||
8623,1340
|
||||
605,1694
|
||||
15233,245
|
||||
-1,-1
|
||||
3867,4583`;
|
||||
|
||||
@@ -208,6 +223,7 @@ test('Parse CSV to json', () => {
|
||||
soulWarsZeal: { rank: 37, score: 225 },
|
||||
riftsClosed: { rank: 25, score: 1110 },
|
||||
colosseumGlory: { rank: 7827, score: 43249 },
|
||||
collectionsLogged: { rank: 1114, score: 1155 },
|
||||
clues: {
|
||||
all: { rank: 32, score: 12148 },
|
||||
beginner: { rank: 3105, score: 76 },
|
||||
@@ -239,6 +255,7 @@ test('Parse CSV to json', () => {
|
||||
dagannothRex: { rank: 4342, score: 1655 },
|
||||
dagannothSupreme: { rank: 966, score: 2951 },
|
||||
derangedArchaeologist: { rank: 10151, score: 1 },
|
||||
doomOfMokhaiotl: { rank: 100, score: 735 },
|
||||
dukeSucellus: { rank: 1289, score: 2477 },
|
||||
generalGraardor: { rank: 1288, score: 2407 },
|
||||
giantMole: { rank: 377, score: 4669 },
|
||||
@@ -267,6 +284,7 @@ test('Parse CSV to json', () => {
|
||||
corruptedGauntlet: { rank: 2870, score: 6 },
|
||||
hueycoatl: { rank: 891, score: 9102 },
|
||||
leviathan: { rank: 2871, score: 7 },
|
||||
royalTitans: { rank: 5606, score: 149 },
|
||||
whisperer: { rank: 2872, score: 8 },
|
||||
theatreOfBlood: { rank: 6984, score: 138 },
|
||||
theatreOfBloodHardMode: { rank: 23, score: 923141 },
|
||||
@@ -280,6 +298,7 @@ test('Parse CSV to json', () => {
|
||||
vetion: { rank: 1940, score: 272 },
|
||||
vorkath: { rank: 8623, score: 1340 },
|
||||
wintertodt: { rank: 605, score: 1694 },
|
||||
yama: { rank: 15233, score: 245 },
|
||||
zalcano: { rank: -1, score: -1 },
|
||||
zulrah: { rank: 3867, score: 4583 }
|
||||
}
|
||||
@@ -318,7 +337,15 @@ describe('Get name format', () => {
|
||||
expect(data).toBe(B0ATY_FORMATTED_NAME);
|
||||
});
|
||||
it('throws an error for a name with invalid characters', async () => {
|
||||
await expect(getRSNFormat('b&aty')).rejects.toBeTruthy();
|
||||
await expect(getRSNFormat('b&aty')).rejects.toThrow(InvalidRSNError);
|
||||
});
|
||||
it('throws an error for a non-existent player', async () => {
|
||||
await expect(getRSNFormat(NON_EXISTENT_NAME)).rejects.toThrow(
|
||||
PlayerNotFoundError
|
||||
);
|
||||
});
|
||||
it('throws an error for a hiscores issue', async () => {
|
||||
await expect(getRSNFormat(ERROR_NAME)).rejects.toThrow(HiScoresError);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -505,7 +532,7 @@ test('Get attack top page', async () => {
|
||||
|
||||
test('Get non-existent player', async () => {
|
||||
getStats('fishy').catch((err) => {
|
||||
if (err.response) {
|
||||
if (err?.response) {
|
||||
expect(err.response.status).toBe(404);
|
||||
}
|
||||
});
|
||||
|
@@ -59,7 +59,7 @@
|
||||
{
|
||||
"id": 8,
|
||||
"name": "Cooking",
|
||||
"rank": 154,
|
||||
"rank": 149,
|
||||
"level": 99,
|
||||
"xp": 200000000
|
||||
},
|
||||
@@ -108,7 +108,7 @@
|
||||
{
|
||||
"id": 15,
|
||||
"name": "Mining",
|
||||
"rank": 24,
|
||||
"rank": 23,
|
||||
"level": 99,
|
||||
"xp": 200000000
|
||||
},
|
||||
@@ -157,7 +157,7 @@
|
||||
{
|
||||
"id": 22,
|
||||
"name": "Hunter",
|
||||
"rank": 4,
|
||||
"rank": 3,
|
||||
"level": 99,
|
||||
"xp": 200000000
|
||||
},
|
||||
@@ -209,7 +209,7 @@
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Clue Scrolls (all)",
|
||||
"rank": 832420,
|
||||
"rank": 937868,
|
||||
"score": 22
|
||||
},
|
||||
{
|
||||
@@ -233,7 +233,7 @@
|
||||
{
|
||||
"id": 10,
|
||||
"name": "Clue Scrolls (hard)",
|
||||
"rank": 517091,
|
||||
"rank": 578038,
|
||||
"score": 22
|
||||
},
|
||||
{
|
||||
@@ -280,384 +280,396 @@
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"name": "Abyssal Sire",
|
||||
"name": "Collections Logged",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"name": "Alchemical Hydra",
|
||||
"name": "Abyssal Sire",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"name": "Amoxliatl",
|
||||
"name": "Alchemical Hydra",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"name": "Araxxor",
|
||||
"name": "Amoxliatl",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"name": "Artio",
|
||||
"name": "Araxxor",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"name": "Barrows Chests",
|
||||
"name": "Artio",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"name": "Bryophyta",
|
||||
"name": "Barrows Chests",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"name": "Callisto",
|
||||
"name": "Bryophyta",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"name": "Calvar'ion",
|
||||
"name": "Callisto",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"name": "Cerberus",
|
||||
"name": "Calvar'ion",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"name": "Chambers of Xeric",
|
||||
"name": "Cerberus",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"name": "Chambers of Xeric: Challenge Mode",
|
||||
"name": "Chambers of Xeric",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"name": "Chaos Elemental",
|
||||
"name": "Chambers of Xeric: Challenge Mode",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"name": "Chaos Fanatic",
|
||||
"name": "Chaos Elemental",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"name": "Commander Zilyana",
|
||||
"name": "Chaos Fanatic",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"name": "Corporeal Beast",
|
||||
"name": "Commander Zilyana",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"name": "Crazy Archaeologist",
|
||||
"name": "Corporeal Beast",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"name": "Dagannoth Prime",
|
||||
"name": "Crazy Archaeologist",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"name": "Dagannoth Rex",
|
||||
"name": "Dagannoth Prime",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"name": "Dagannoth Supreme",
|
||||
"name": "Dagannoth Rex",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"name": "Deranged Archaeologist",
|
||||
"name": "Dagannoth Supreme",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"name": "Duke Sucellus",
|
||||
"name": "Deranged Archaeologist",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"name": "General Graardor",
|
||||
"name": "Duke Sucellus",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"name": "Giant Mole",
|
||||
"name": "General Graardor",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"name": "Grotesque Guardians",
|
||||
"name": "Giant Mole",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"name": "Hespori",
|
||||
"name": "Grotesque Guardians",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"name": "Kalphite Queen",
|
||||
"name": "Hespori",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"name": "King Black Dragon",
|
||||
"name": "Kalphite Queen",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"name": "Kraken",
|
||||
"name": "King Black Dragon",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"name": "Kree'Arra",
|
||||
"name": "Kraken",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"name": "K'ril Tsutsaroth",
|
||||
"name": "Kree'Arra",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"name": "Lunar Chests",
|
||||
"name": "K'ril Tsutsaroth",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"name": "Mimic",
|
||||
"name": "Lunar Chests",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"name": "Nex",
|
||||
"name": "Mimic",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"name": "Nightmare",
|
||||
"name": "Nex",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"name": "Phosani's Nightmare",
|
||||
"name": "Nightmare",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"name": "Obor",
|
||||
"name": "Phosani's Nightmare",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"name": "Phantom Muspah",
|
||||
"name": "Obor",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"name": "Sarachnis",
|
||||
"name": "Phantom Muspah",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"name": "Scorpia",
|
||||
"name": "Sarachnis",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"name": "Scurrius",
|
||||
"name": "Scorpia",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"name": "Skotizo",
|
||||
"name": "Scurrius",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"name": "Sol Heredit",
|
||||
"name": "Skotizo",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"name": "Spindel",
|
||||
"name": "Sol Heredit",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"name": "Tempoross",
|
||||
"name": "Spindel",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"name": "The Gauntlet",
|
||||
"name": "Tempoross",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"name": "The Corrupted Gauntlet",
|
||||
"name": "The Gauntlet",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"name": "The Hueycoatl",
|
||||
"name": "The Corrupted Gauntlet",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"name": "The Leviathan",
|
||||
"name": "The Hueycoatl",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"name": "The Whisperer",
|
||||
"name": "The Leviathan",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 68,
|
||||
"name": "Theatre of Blood",
|
||||
"name": "The Royal Titans",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"name": "Theatre of Blood: Hard Mode",
|
||||
"name": "The Whisperer",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"name": "Thermonuclear Smoke Devil",
|
||||
"name": "Theatre of Blood",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"name": "Tombs of Amascut",
|
||||
"name": "Theatre of Blood: Hard Mode",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 72,
|
||||
"name": "Tombs of Amascut: Expert Mode",
|
||||
"name": "Thermonuclear Smoke Devil",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 73,
|
||||
"name": "TzKal-Zuk",
|
||||
"name": "Tombs of Amascut",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 74,
|
||||
"name": "TzTok-Jad",
|
||||
"rank": 251,
|
||||
"score": 186
|
||||
"name": "Tombs of Amascut: Expert Mode",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 75,
|
||||
"name": "Vardorvis",
|
||||
"name": "TzKal-Zuk",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 76,
|
||||
"name": "Venenatis",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
"name": "TzTok-Jad",
|
||||
"rank": 317,
|
||||
"score": 186
|
||||
},
|
||||
{
|
||||
"id": 77,
|
||||
"name": "Vet'ion",
|
||||
"name": "Vardorvis",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"name": "Vorkath",
|
||||
"name": "Venenatis",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 79,
|
||||
"name": "Wintertodt",
|
||||
"name": "Vet'ion",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"name": "Zalcano",
|
||||
"name": "Vorkath",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 81,
|
||||
"name": "Wintertodt",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"name": "Zalcano",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"name": "Zulrah",
|
||||
"rank": -1,
|
||||
"score": -1
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "osrs-json-hiscores",
|
||||
"version": "2.19.0",
|
||||
"version": "2.23.0",
|
||||
"description": "The Old School Runescape API wrapper that does more!",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@@ -45,7 +45,8 @@ import {
|
||||
FORMATTED_SOUL_WARS,
|
||||
FORMATTED_RIFTS_CLOSED,
|
||||
FORMATTED_DEADMAN_POINTS,
|
||||
FORMATTED_COLOSSEUM_GLORY
|
||||
FORMATTED_COLOSSEUM_GLORY,
|
||||
FORMATTED_COLLECTIONS_LOGGED
|
||||
} from './utils';
|
||||
|
||||
/**
|
||||
@@ -85,11 +86,12 @@ export async function getOfficialStats(
|
||||
*/
|
||||
export async function getRSNFormat(
|
||||
rsn: string,
|
||||
config?: AxiosRequestConfig
|
||||
config?: AxiosRequestConfig,
|
||||
mode: Gamemode = 'main'
|
||||
): Promise<string> {
|
||||
validateRSN(rsn);
|
||||
|
||||
const url = getPlayerTableURL('main', rsn);
|
||||
const url = getPlayerTableURL(mode, rsn);
|
||||
try {
|
||||
const response = await httpGet<string | Buffer | BinaryData | undefined>(
|
||||
url,
|
||||
@@ -102,10 +104,10 @@ export async function getRSNFormat(
|
||||
if (anchor) {
|
||||
return rsnFromElement(anchor);
|
||||
}
|
||||
throw new PlayerNotFoundError();
|
||||
} catch {
|
||||
throw new HiScoresError();
|
||||
}
|
||||
throw new PlayerNotFoundError();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -164,6 +166,7 @@ export function parseJsonStats(json: HiscoresResponse): Stats {
|
||||
const soulWarsZeal = getActivity(FORMATTED_SOUL_WARS);
|
||||
const riftsClosed = getActivity(FORMATTED_RIFTS_CLOSED);
|
||||
const colosseumGlory = getActivity(FORMATTED_COLOSSEUM_GLORY);
|
||||
const collectionsLogged = getActivity(FORMATTED_COLLECTIONS_LOGGED);
|
||||
|
||||
const stats: Stats = {
|
||||
skills,
|
||||
@@ -175,6 +178,7 @@ export function parseJsonStats(json: HiscoresResponse): Stats {
|
||||
soulWarsZeal,
|
||||
riftsClosed,
|
||||
colosseumGlory,
|
||||
collectionsLogged,
|
||||
clues,
|
||||
bosses
|
||||
};
|
||||
@@ -224,8 +228,14 @@ export function parseStats(csv: string): Stats {
|
||||
const [leaguePoints, deadmanPoints] = activityObjects.splice(0, 2);
|
||||
const bhObjects = activityObjects.splice(0, BH_MODES.length);
|
||||
const clueObjects = activityObjects.splice(0, CLUES.length);
|
||||
const [lastManStanding, pvpArena, soulWarsZeal, riftsClosed, colosseumGlory] =
|
||||
activityObjects.splice(0, 5);
|
||||
const [
|
||||
lastManStanding,
|
||||
pvpArena,
|
||||
soulWarsZeal,
|
||||
riftsClosed,
|
||||
colosseumGlory,
|
||||
collectionsLogged
|
||||
] = activityObjects.splice(0, 6);
|
||||
const bossObjects = activityObjects.splice(0, BOSSES.length);
|
||||
|
||||
const skills: Skills = skillObjects.reduce<Skills>((prev, curr, index) => {
|
||||
@@ -262,6 +272,7 @@ export function parseStats(csv: string): Stats {
|
||||
soulWarsZeal,
|
||||
riftsClosed,
|
||||
colosseumGlory,
|
||||
collectionsLogged,
|
||||
clues,
|
||||
bosses
|
||||
};
|
||||
|
@@ -88,6 +88,7 @@ export type Boss =
|
||||
| 'dagannothRex'
|
||||
| 'dagannothSupreme'
|
||||
| 'derangedArchaeologist'
|
||||
| 'doomOfMokhaiotl'
|
||||
| 'dukeSucellus'
|
||||
| 'generalGraardor'
|
||||
| 'giantMole'
|
||||
@@ -116,6 +117,7 @@ export type Boss =
|
||||
| 'corruptedGauntlet'
|
||||
| 'hueycoatl'
|
||||
| 'leviathan'
|
||||
| 'royalTitans'
|
||||
| 'whisperer'
|
||||
| 'theatreOfBlood'
|
||||
| 'theatreOfBloodHardMode'
|
||||
@@ -129,6 +131,7 @@ export type Boss =
|
||||
| 'vetion'
|
||||
| 'vorkath'
|
||||
| 'wintertodt'
|
||||
| 'yama'
|
||||
| 'zalcano'
|
||||
| 'zulrah';
|
||||
|
||||
@@ -153,6 +156,7 @@ export type ActivityName =
|
||||
| 'eliteClues'
|
||||
| 'masterClues'
|
||||
| 'colosseumGlory'
|
||||
| 'collectionsLogged'
|
||||
| Boss;
|
||||
|
||||
export interface Stats {
|
||||
@@ -172,6 +176,7 @@ export interface Stats {
|
||||
soulWarsZeal: Activity;
|
||||
riftsClosed: Activity;
|
||||
colosseumGlory: Activity;
|
||||
collectionsLogged: Activity;
|
||||
bosses: Bosses;
|
||||
}
|
||||
export type Modes = { [M in Gamemode]?: Stats };
|
||||
|
@@ -95,6 +95,7 @@ export const BOSSES: Boss[] = [
|
||||
'dagannothRex',
|
||||
'dagannothSupreme',
|
||||
'derangedArchaeologist',
|
||||
'doomOfMokhaiotl',
|
||||
'dukeSucellus',
|
||||
'generalGraardor',
|
||||
'giantMole',
|
||||
@@ -123,6 +124,7 @@ export const BOSSES: Boss[] = [
|
||||
'corruptedGauntlet',
|
||||
'hueycoatl',
|
||||
'leviathan',
|
||||
'royalTitans',
|
||||
'whisperer',
|
||||
'theatreOfBlood',
|
||||
'theatreOfBloodHardMode',
|
||||
@@ -136,6 +138,7 @@ export const BOSSES: Boss[] = [
|
||||
'vetion',
|
||||
'vorkath',
|
||||
'wintertodt',
|
||||
'yama',
|
||||
'zalcano',
|
||||
'zulrah'
|
||||
];
|
||||
@@ -158,6 +161,7 @@ export const ACTIVITIES: ActivityName[] = [
|
||||
'soulWarsZeal',
|
||||
'riftsClosed',
|
||||
'colosseumGlory',
|
||||
'collectionsLogged',
|
||||
...BOSSES
|
||||
];
|
||||
|
||||
@@ -187,6 +191,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
|
||||
dagannothRex: 'Dagannoth Rex',
|
||||
dagannothSupreme: 'Dagannoth Supreme',
|
||||
derangedArchaeologist: 'Deranged Archaeologist',
|
||||
doomOfMokhaiotl: 'Doom of Mokhaiotl',
|
||||
dukeSucellus: 'Duke Sucellus',
|
||||
generalGraardor: 'General Graardor',
|
||||
giantMole: 'Giant Mole',
|
||||
@@ -215,6 +220,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
|
||||
corruptedGauntlet: 'The Corrupted Gauntlet',
|
||||
hueycoatl: 'The Hueycoatl',
|
||||
leviathan: 'The Leviathan',
|
||||
royalTitans: 'The Royal Titans',
|
||||
whisperer: 'The Whisperer',
|
||||
theatreOfBlood: 'Theatre of Blood',
|
||||
theatreOfBloodHardMode: 'Theatre of Blood: Hard Mode',
|
||||
@@ -228,6 +234,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
|
||||
vetion: "Vet'ion",
|
||||
vorkath: 'Vorkath',
|
||||
wintertodt: 'Wintertodt',
|
||||
yama: 'Yama',
|
||||
zalcano: 'Zalcano',
|
||||
zulrah: 'Zulrah'
|
||||
};
|
||||
@@ -295,6 +302,7 @@ export const FORMATTED_LEAGUE_POINTS = 'League Points';
|
||||
export const FORMATTED_DEADMAN_POINTS = 'Deadman Points';
|
||||
export const FORMATTED_RIFTS_CLOSED = 'Rifts closed';
|
||||
export const FORMATTED_COLOSSEUM_GLORY = 'Colosseum Glory';
|
||||
export const FORMATTED_COLLECTIONS_LOGGED = 'Collections Logged';
|
||||
|
||||
export const INVALID_FORMAT_ERROR = 'Invalid hiscores format';
|
||||
export const PLAYER_NOT_FOUND_ERROR = 'Player not found';
|
||||
|
122
yarn.lock
122
yarn.lock
@@ -1288,9 +1288,9 @@ available-typed-arrays@^1.0.5:
|
||||
integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==
|
||||
|
||||
axios@^1.6.2:
|
||||
version "1.7.4"
|
||||
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.4.tgz#4c8ded1b43683c8dd362973c393f3ede24052aa2"
|
||||
integrity sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==
|
||||
version "1.8.2"
|
||||
resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.2.tgz#fabe06e241dfe83071d4edfbcaa7b1c3a40f7979"
|
||||
integrity sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==
|
||||
dependencies:
|
||||
follow-redirects "^1.15.6"
|
||||
form-data "^4.0.0"
|
||||
@@ -1458,6 +1458,14 @@ cacheable-request@^7.0.1:
|
||||
normalize-url "^4.1.0"
|
||||
responselike "^2.0.0"
|
||||
|
||||
call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6"
|
||||
integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==
|
||||
dependencies:
|
||||
es-errors "^1.3.0"
|
||||
function-bind "^1.1.2"
|
||||
|
||||
call-bind@^1.0.0, call-bind@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
|
||||
@@ -1729,9 +1737,9 @@ cosmiconfig@^7.0.0:
|
||||
yaml "^1.10.0"
|
||||
|
||||
cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
|
||||
version "7.0.6"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
|
||||
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
|
||||
dependencies:
|
||||
path-key "^3.1.0"
|
||||
shebang-command "^2.0.0"
|
||||
@@ -1932,6 +1940,15 @@ dot-prop@^6.0.1:
|
||||
dependencies:
|
||||
is-obj "^2.0.0"
|
||||
|
||||
dunder-proto@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a"
|
||||
integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==
|
||||
dependencies:
|
||||
call-bind-apply-helpers "^1.0.1"
|
||||
es-errors "^1.3.0"
|
||||
gopd "^1.2.0"
|
||||
|
||||
duplexer3@^0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
|
||||
@@ -2032,6 +2049,23 @@ es-abstract@^1.19.0, es-abstract@^1.20.4:
|
||||
unbox-primitive "^1.0.2"
|
||||
which-typed-array "^1.1.10"
|
||||
|
||||
es-define-property@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa"
|
||||
integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==
|
||||
|
||||
es-errors@^1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f"
|
||||
integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==
|
||||
|
||||
es-object-atoms@^1.0.0, es-object-atoms@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1"
|
||||
integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==
|
||||
dependencies:
|
||||
es-errors "^1.3.0"
|
||||
|
||||
es-set-tostringtag@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8"
|
||||
@@ -2041,6 +2075,16 @@ es-set-tostringtag@^2.0.1:
|
||||
has "^1.0.3"
|
||||
has-tostringtag "^1.0.0"
|
||||
|
||||
es-set-tostringtag@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d"
|
||||
integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==
|
||||
dependencies:
|
||||
es-errors "^1.3.0"
|
||||
get-intrinsic "^1.2.6"
|
||||
has-tostringtag "^1.0.2"
|
||||
hasown "^2.0.2"
|
||||
|
||||
es-shim-unscopables@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241"
|
||||
@@ -2441,12 +2485,14 @@ for-each@^0.3.3:
|
||||
is-callable "^1.1.3"
|
||||
|
||||
form-data@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
|
||||
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
|
||||
version "4.0.4"
|
||||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
|
||||
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
|
||||
dependencies:
|
||||
asynckit "^0.4.0"
|
||||
combined-stream "^1.0.8"
|
||||
es-set-tostringtag "^2.1.0"
|
||||
hasown "^2.0.2"
|
||||
mime-types "^2.1.12"
|
||||
|
||||
fs.realpath@^1.0.0:
|
||||
@@ -2464,6 +2510,11 @@ function-bind@^1.1.1:
|
||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
||||
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
|
||||
|
||||
function-bind@^1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c"
|
||||
integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
|
||||
|
||||
function.prototype.name@^1.1.5:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621"
|
||||
@@ -2508,11 +2559,35 @@ get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1:
|
||||
has-proto "^1.0.1"
|
||||
has-symbols "^1.0.3"
|
||||
|
||||
get-intrinsic@^1.2.6:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01"
|
||||
integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==
|
||||
dependencies:
|
||||
call-bind-apply-helpers "^1.0.2"
|
||||
es-define-property "^1.0.1"
|
||||
es-errors "^1.3.0"
|
||||
es-object-atoms "^1.1.1"
|
||||
function-bind "^1.1.2"
|
||||
get-proto "^1.0.1"
|
||||
gopd "^1.2.0"
|
||||
has-symbols "^1.1.0"
|
||||
hasown "^2.0.2"
|
||||
math-intrinsics "^1.1.0"
|
||||
|
||||
get-package-type@^0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
|
||||
integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
|
||||
|
||||
get-proto@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1"
|
||||
integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==
|
||||
dependencies:
|
||||
dunder-proto "^1.0.1"
|
||||
es-object-atoms "^1.0.0"
|
||||
|
||||
get-stream@^4.1.0:
|
||||
version "4.1.0"
|
||||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
|
||||
@@ -2635,6 +2710,11 @@ gopd@^1.0.1:
|
||||
dependencies:
|
||||
get-intrinsic "^1.1.3"
|
||||
|
||||
gopd@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1"
|
||||
integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==
|
||||
|
||||
got@^10.6.0:
|
||||
version "10.7.0"
|
||||
resolved "https://registry.yarnpkg.com/got/-/got-10.7.0.tgz#62889dbcd6cca32cd6a154cc2d0c6895121d091f"
|
||||
@@ -2742,6 +2822,11 @@ has-symbols@^1.0.3:
|
||||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"
|
||||
integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==
|
||||
|
||||
has-symbols@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338"
|
||||
integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==
|
||||
|
||||
has-tostringtag@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
|
||||
@@ -2749,6 +2834,13 @@ has-tostringtag@^1.0.0:
|
||||
dependencies:
|
||||
has-symbols "^1.0.2"
|
||||
|
||||
has-tostringtag@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc"
|
||||
integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==
|
||||
dependencies:
|
||||
has-symbols "^1.0.3"
|
||||
|
||||
has-yarn@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77"
|
||||
@@ -2761,6 +2853,13 @@ has@^1.0.3:
|
||||
dependencies:
|
||||
function-bind "^1.1.1"
|
||||
|
||||
hasown@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003"
|
||||
integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
|
||||
dependencies:
|
||||
function-bind "^1.1.2"
|
||||
|
||||
hosted-git-info@^2.1.4:
|
||||
version "2.8.9"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
||||
@@ -4065,6 +4164,11 @@ map-obj@^4.0.0:
|
||||
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.1.0.tgz#b91221b542734b9f14256c0132c897c5d7256fd5"
|
||||
integrity sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==
|
||||
|
||||
math-intrinsics@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9"
|
||||
integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==
|
||||
|
||||
meow@^8.1.0:
|
||||
version "8.1.2"
|
||||
resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897"
|
||||
|
Reference in New Issue
Block a user