koffing 0.4.0 → 1.0.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/LICENSE +2 -2
- package/README.md +6 -131
- package/dist/index.d.ts +106 -0
- package/dist/index.js +431 -0
- package/dist/index.mjs +400 -0
- package/package.json +27 -32
- package/dist/koffing.js +0 -940
- package/dist/koffing.min.js +0 -1
- package/src/Pokemon.js +0 -174
- package/src/PokemonTeam.js +0 -80
- package/src/PokemonTeamSet.js +0 -54
- package/src/ShowdownParser.js +0 -281
- package/src/index.js +0 -76
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
// src/Pokemon.ts
|
|
2
|
+
var POKEMON_STAT_NAMES = ["HP", "Atk", "Def", "SpA", "SpD", "Spe"];
|
|
3
|
+
var Pokemon = class {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.moves = [];
|
|
6
|
+
}
|
|
7
|
+
static fromObject(obj) {
|
|
8
|
+
const p = new Pokemon();
|
|
9
|
+
p.name = obj.name;
|
|
10
|
+
p.nickname = obj.nickname;
|
|
11
|
+
p.gender = obj.gender;
|
|
12
|
+
p.item = obj.item;
|
|
13
|
+
p.ability = obj.ability;
|
|
14
|
+
p.level = obj.level;
|
|
15
|
+
p.shiny = obj.shiny;
|
|
16
|
+
p.happiness = obj.happiness;
|
|
17
|
+
p.nature = obj.nature;
|
|
18
|
+
p.evs = obj.evs;
|
|
19
|
+
p.ivs = obj.ivs;
|
|
20
|
+
p.teraType = obj.teraType;
|
|
21
|
+
p.dynamaxLevel = obj.dynamaxLevel;
|
|
22
|
+
p.gigantamax = obj.gigantamax;
|
|
23
|
+
p.pokeball = obj.pokeball;
|
|
24
|
+
p.moves = Array.isArray(obj.moves) ? obj.moves : [];
|
|
25
|
+
return p;
|
|
26
|
+
}
|
|
27
|
+
toJson(indentation = 2) {
|
|
28
|
+
return JSON.stringify(this, null, indentation);
|
|
29
|
+
}
|
|
30
|
+
toShowdown() {
|
|
31
|
+
let str = "";
|
|
32
|
+
if (this.nickname) {
|
|
33
|
+
str += `${this.nickname} (${this.name})`;
|
|
34
|
+
} else {
|
|
35
|
+
str += `${this.name}`;
|
|
36
|
+
}
|
|
37
|
+
if (this.gender && this.gender.match(/^[MF]$/i)) {
|
|
38
|
+
str += ` (${this.gender.toUpperCase()})`;
|
|
39
|
+
}
|
|
40
|
+
if (this.item) {
|
|
41
|
+
str += ` @ ${this.item}`;
|
|
42
|
+
}
|
|
43
|
+
str += "\n";
|
|
44
|
+
if (this.ability) {
|
|
45
|
+
str += `Ability: ${this.ability}
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
if (!Number.isNaN(this.level)) {
|
|
49
|
+
str += `Level: ${this.level}
|
|
50
|
+
`;
|
|
51
|
+
}
|
|
52
|
+
if (this.shiny === true) {
|
|
53
|
+
str += `Shiny: Yes
|
|
54
|
+
`;
|
|
55
|
+
}
|
|
56
|
+
if (!Number.isNaN(this.happiness)) {
|
|
57
|
+
str += `Happiness: ${this.happiness}
|
|
58
|
+
`;
|
|
59
|
+
}
|
|
60
|
+
if (this.pokeball) {
|
|
61
|
+
str += `Pokeball: ${this.pokeball}
|
|
62
|
+
`;
|
|
63
|
+
}
|
|
64
|
+
if (!Number.isNaN(this.dynamaxLevel)) {
|
|
65
|
+
str += `Dynamax Level: ${this.dynamaxLevel}
|
|
66
|
+
`;
|
|
67
|
+
}
|
|
68
|
+
if (this.gigantamax === true) {
|
|
69
|
+
str += `Gigantamax: Yes
|
|
70
|
+
`;
|
|
71
|
+
}
|
|
72
|
+
if (this.teraType) {
|
|
73
|
+
str += `Tera Type: ${this.teraType}
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
if (this.evs) {
|
|
77
|
+
const evs = this.evs;
|
|
78
|
+
str += `EVs: ` + POKEMON_STAT_NAMES.filter(function(prop) {
|
|
79
|
+
return !isNaN(evs[prop.toLowerCase()]);
|
|
80
|
+
}).map(function(prop) {
|
|
81
|
+
const val = evs[prop.toLowerCase()];
|
|
82
|
+
return `${val} ${prop}`;
|
|
83
|
+
}).join(" / ") + "\n";
|
|
84
|
+
}
|
|
85
|
+
if (this.nature) {
|
|
86
|
+
str += `${this.nature} Nature
|
|
87
|
+
`;
|
|
88
|
+
}
|
|
89
|
+
if (this.ivs) {
|
|
90
|
+
const ivs = this.ivs;
|
|
91
|
+
str += `IVs: ` + POKEMON_STAT_NAMES.filter(function(prop) {
|
|
92
|
+
return !isNaN(ivs[prop.toLowerCase()]);
|
|
93
|
+
}).map(function(prop) {
|
|
94
|
+
const val = ivs[prop.toLowerCase()];
|
|
95
|
+
return `${val} ${prop}`;
|
|
96
|
+
}).join(" / ") + "\n";
|
|
97
|
+
}
|
|
98
|
+
if (this.moves) {
|
|
99
|
+
str += this.moves.map(function(move) {
|
|
100
|
+
return `- ${move}`;
|
|
101
|
+
}).join("\n") + "\n";
|
|
102
|
+
}
|
|
103
|
+
return str.trim();
|
|
104
|
+
}
|
|
105
|
+
toString() {
|
|
106
|
+
return this.toShowdown();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
// src/PokemonTeam.ts
|
|
111
|
+
var PokemonTeam = class {
|
|
112
|
+
constructor(format = "gen9", name = "Untitled", folder = void 0) {
|
|
113
|
+
this.pokemon = [];
|
|
114
|
+
this.name = name;
|
|
115
|
+
this.format = format;
|
|
116
|
+
this.folder = folder;
|
|
117
|
+
}
|
|
118
|
+
static fromObject(obj) {
|
|
119
|
+
const team = new PokemonTeam();
|
|
120
|
+
team.name = obj.name;
|
|
121
|
+
team.format = obj.format;
|
|
122
|
+
team.folder = obj.folder;
|
|
123
|
+
team.pokemon = obj.pokemon ? obj.pokemon.map(function(pokemon) {
|
|
124
|
+
return Pokemon.fromObject(pokemon);
|
|
125
|
+
}) : [];
|
|
126
|
+
return team;
|
|
127
|
+
}
|
|
128
|
+
toJson(indentation = 2) {
|
|
129
|
+
return JSON.stringify(this, null, indentation);
|
|
130
|
+
}
|
|
131
|
+
toShowdown() {
|
|
132
|
+
const name = this.folder ? `${this.folder}/${this.name}` : this.name;
|
|
133
|
+
let str = `=== [${this.format}] ${name} ===
|
|
134
|
+
|
|
135
|
+
`;
|
|
136
|
+
str += this.pokemon.map(function(p) {
|
|
137
|
+
return p.toString();
|
|
138
|
+
}).join("\n\n");
|
|
139
|
+
return str.trim();
|
|
140
|
+
}
|
|
141
|
+
toString() {
|
|
142
|
+
return this.toShowdown();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// src/PokemonTeamSet.ts
|
|
147
|
+
var PokemonTeamSet = class {
|
|
148
|
+
constructor(teams = []) {
|
|
149
|
+
this.teams = teams;
|
|
150
|
+
}
|
|
151
|
+
static fromObject(obj) {
|
|
152
|
+
const teamSet = new PokemonTeamSet();
|
|
153
|
+
teamSet.teams = obj.teams ? obj.teams.map(function(team) {
|
|
154
|
+
return PokemonTeam.fromObject(team);
|
|
155
|
+
}) : [];
|
|
156
|
+
return teamSet;
|
|
157
|
+
}
|
|
158
|
+
toJson(indentation = 2) {
|
|
159
|
+
return JSON.stringify(this, null, indentation);
|
|
160
|
+
}
|
|
161
|
+
toShowdown() {
|
|
162
|
+
return this.teams.map(function(p) {
|
|
163
|
+
return p.toString();
|
|
164
|
+
}).join("\n\n").trim();
|
|
165
|
+
}
|
|
166
|
+
toString() {
|
|
167
|
+
return this.toShowdown();
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
// src/ShowdownParser.ts
|
|
172
|
+
var clamp = (num, min, max) => {
|
|
173
|
+
if (Number.isNaN(num)) {
|
|
174
|
+
return min;
|
|
175
|
+
}
|
|
176
|
+
return Math.min(Math.max(num, min), max);
|
|
177
|
+
};
|
|
178
|
+
var _ShowdownParser = class {
|
|
179
|
+
constructor(code) {
|
|
180
|
+
this.code = code.toString().trim();
|
|
181
|
+
}
|
|
182
|
+
parse() {
|
|
183
|
+
const regexes = _ShowdownParser.regexes;
|
|
184
|
+
const teams = [];
|
|
185
|
+
const current = {
|
|
186
|
+
team: null,
|
|
187
|
+
pokemon: null
|
|
188
|
+
};
|
|
189
|
+
const lines = this.code.trim().split("\n").map(function(line) {
|
|
190
|
+
return line.trim();
|
|
191
|
+
});
|
|
192
|
+
lines.forEach((line) => {
|
|
193
|
+
if (line.match(regexes.team)) {
|
|
194
|
+
current.team = new PokemonTeam();
|
|
195
|
+
this._parseTeam(line, current.team);
|
|
196
|
+
teams.push(current.team);
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
if (line === "" || line.match(/^[- ]+$/)) {
|
|
200
|
+
this._saveCurrent(teams, current);
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (!current.pokemon) {
|
|
204
|
+
current.pokemon = new Pokemon();
|
|
205
|
+
this._parseNameLine(line, current.pokemon);
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
if (this._parseKeyValuePairs(line, current.pokemon)) {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
if (this._parseEvsIvs(line, current.pokemon)) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
if (current.pokemon.moves.length < 4 && line.match(regexes.move)) {
|
|
215
|
+
const moveMatches = regexes.move.exec(line);
|
|
216
|
+
if (moveMatches !== null) {
|
|
217
|
+
current.pokemon.moves.push(moveMatches[1].trim());
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
this._saveCurrent(teams, current);
|
|
222
|
+
return new PokemonTeamSet(teams);
|
|
223
|
+
}
|
|
224
|
+
_parseTeam(line, team) {
|
|
225
|
+
const rg = _ShowdownParser.regexes;
|
|
226
|
+
const teamDataMatches = rg.team.exec(line);
|
|
227
|
+
if (teamDataMatches && teamDataMatches.length >= 2) {
|
|
228
|
+
const teamNames = teamDataMatches[2].split("/");
|
|
229
|
+
let teamName, teamFolder;
|
|
230
|
+
if (teamNames.length > 1) {
|
|
231
|
+
teamFolder = teamNames.shift();
|
|
232
|
+
teamName = teamNames.join("/");
|
|
233
|
+
} else {
|
|
234
|
+
teamName = teamDataMatches[2];
|
|
235
|
+
}
|
|
236
|
+
team.format = teamDataMatches[1].trim();
|
|
237
|
+
team.name = teamName.trim();
|
|
238
|
+
team.folder = teamFolder ? teamFolder.trim() : void 0;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
_parseNameLine(line, pokemon) {
|
|
242
|
+
const rg = _ShowdownParser.regexes;
|
|
243
|
+
if (line.match(rg.nickname_name)) {
|
|
244
|
+
const nameMatches = rg.nickname_name.exec(line);
|
|
245
|
+
if (nameMatches) {
|
|
246
|
+
pokemon.nickname = nameMatches[1].trim();
|
|
247
|
+
pokemon.name = nameMatches[2].trim();
|
|
248
|
+
}
|
|
249
|
+
} else if (line.match(rg.name)) {
|
|
250
|
+
const nameMatches = rg.name.exec(line);
|
|
251
|
+
if (nameMatches) {
|
|
252
|
+
pokemon.name = nameMatches[1].trim();
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
if (line.match(rg.gender)) {
|
|
256
|
+
const genderMatches = rg.gender.exec(line);
|
|
257
|
+
if (genderMatches) {
|
|
258
|
+
pokemon.gender = genderMatches[1].toUpperCase().trim();
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
if (line.match(rg.item)) {
|
|
262
|
+
const itemMatches = rg.item.exec(line);
|
|
263
|
+
if (itemMatches) {
|
|
264
|
+
pokemon.item = itemMatches[1].trim();
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
_parseEvsIvs(line, pokemon) {
|
|
269
|
+
const rg = _ShowdownParser.regexes;
|
|
270
|
+
if (line.match(rg.eivs)) {
|
|
271
|
+
const data = rg.eivs.exec(line);
|
|
272
|
+
if (data === null) {
|
|
273
|
+
return false;
|
|
274
|
+
}
|
|
275
|
+
const prop = data[1].toLowerCase();
|
|
276
|
+
const values = data[2].split("/");
|
|
277
|
+
const limit = prop === "evs" ? 255 : 31;
|
|
278
|
+
values.forEach(function(stat) {
|
|
279
|
+
const statData = rg.eivs_value.exec(stat.trim().toLowerCase());
|
|
280
|
+
if (!statData) {
|
|
281
|
+
console.error("Invalid syntax for " + prop + ": " + stat);
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
if (!pokemon[prop]) {
|
|
285
|
+
pokemon[prop] = {};
|
|
286
|
+
}
|
|
287
|
+
pokemon[prop][statData[2]] = clamp(parseInt(statData[1]), 0, limit);
|
|
288
|
+
});
|
|
289
|
+
return true;
|
|
290
|
+
}
|
|
291
|
+
return false;
|
|
292
|
+
}
|
|
293
|
+
_parseKeyValuePairs(line, pokemon) {
|
|
294
|
+
const propNames = [
|
|
295
|
+
"nature",
|
|
296
|
+
"ability",
|
|
297
|
+
"level",
|
|
298
|
+
"shiny",
|
|
299
|
+
"happiness",
|
|
300
|
+
"pokeball",
|
|
301
|
+
"dynamaxLevel",
|
|
302
|
+
"gigantamax",
|
|
303
|
+
"teraType"
|
|
304
|
+
];
|
|
305
|
+
return propNames.some(function(key) {
|
|
306
|
+
const matches = _ShowdownParser.regexes[key].exec(line);
|
|
307
|
+
if (matches === null) {
|
|
308
|
+
return false;
|
|
309
|
+
}
|
|
310
|
+
let value = matches[1].trim();
|
|
311
|
+
if (key === "happiness") {
|
|
312
|
+
value = clamp(parseInt(value), 0, 255);
|
|
313
|
+
} else if (key === "level") {
|
|
314
|
+
value = clamp(parseInt(value), 1, 100);
|
|
315
|
+
} else if (key === "dynamaxLevel") {
|
|
316
|
+
value = clamp(parseInt(value), 0, 10);
|
|
317
|
+
} else if (key.match(/^(shiny|gigantamax)$/i)) {
|
|
318
|
+
value = value.match(/yes/i) !== null ? true : void 0;
|
|
319
|
+
}
|
|
320
|
+
pokemon[key] = value;
|
|
321
|
+
return true;
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
_saveCurrent(teams, current) {
|
|
325
|
+
if (!current.team) {
|
|
326
|
+
current.team = new PokemonTeam();
|
|
327
|
+
teams.push(current.team);
|
|
328
|
+
}
|
|
329
|
+
if (current.pokemon) {
|
|
330
|
+
current.team.pokemon.push(current.pokemon);
|
|
331
|
+
current.pokemon = null;
|
|
332
|
+
}
|
|
333
|
+
return this;
|
|
334
|
+
}
|
|
335
|
+
format() {
|
|
336
|
+
this.code = this.parse().toString();
|
|
337
|
+
return this;
|
|
338
|
+
}
|
|
339
|
+
toString() {
|
|
340
|
+
return this.code;
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
var ShowdownParser = _ShowdownParser;
|
|
344
|
+
ShowdownParser.regexes = {
|
|
345
|
+
team: /^===\s+\[(.*)\]\s+(.*)\s+===$/,
|
|
346
|
+
nickname_name: /^([^()=@]*)\s+\(([^()=@]{2,})\)/i,
|
|
347
|
+
name: /^([^()=@]{2,})/i,
|
|
348
|
+
gender: /\((F|M)\)/i,
|
|
349
|
+
item: /@\s?(.*)$/i,
|
|
350
|
+
eivs: /^([EI]Vs):\s?(.*)$/i,
|
|
351
|
+
eivs_value: /^([0-9]+)\s+(hp|atk|def|spa|spd|spe)$/i,
|
|
352
|
+
move: /^[-~]\s?(.*)$/i,
|
|
353
|
+
nature: /^(.*)\s+Nature$/,
|
|
354
|
+
ability: /^(?:Ability|Trait):\s?(.*)$/i,
|
|
355
|
+
level: /^Level:\s?([0-9]{1,3})$/i,
|
|
356
|
+
shiny: /^Shiny:\s?(Yes|No)$/i,
|
|
357
|
+
happiness: /^(?:Happiness|Friendship):\s?([0-9]{1,3})$/i,
|
|
358
|
+
pokeball: /^(?:Pokeball|Ball):\s?(.*)$/i,
|
|
359
|
+
dynamaxLevel: /^Dynamax Level:\s?([0-9]{1,2})$/i,
|
|
360
|
+
gigantamax: /^Gigantamax:\s?(Yes|No)$/i,
|
|
361
|
+
teraType: /^Tera Type:\s?(.*)$/i
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
// src/Koffing.ts
|
|
365
|
+
var Koffing = class {
|
|
366
|
+
static parse(data) {
|
|
367
|
+
if (data instanceof PokemonTeamSet || data instanceof PokemonTeam || data instanceof Pokemon) {
|
|
368
|
+
return data;
|
|
369
|
+
}
|
|
370
|
+
if (data instanceof ShowdownParser) {
|
|
371
|
+
return data.parse();
|
|
372
|
+
}
|
|
373
|
+
return new ShowdownParser(data).parse();
|
|
374
|
+
}
|
|
375
|
+
static format(data) {
|
|
376
|
+
return this.parse(data).toShowdown();
|
|
377
|
+
}
|
|
378
|
+
static toJson(data) {
|
|
379
|
+
return this.parse(data).toJson();
|
|
380
|
+
}
|
|
381
|
+
static toShowdown(data) {
|
|
382
|
+
if (data instanceof PokemonTeamSet || data instanceof PokemonTeam || data instanceof Pokemon) {
|
|
383
|
+
return data.toShowdown();
|
|
384
|
+
}
|
|
385
|
+
if (data instanceof ShowdownParser) {
|
|
386
|
+
return data.parse().toShowdown();
|
|
387
|
+
}
|
|
388
|
+
if (typeof data === "string") {
|
|
389
|
+
data = JSON.parse(data);
|
|
390
|
+
}
|
|
391
|
+
return PokemonTeamSet.fromObject(data).toShowdown();
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
export {
|
|
395
|
+
Koffing,
|
|
396
|
+
Pokemon,
|
|
397
|
+
PokemonTeam,
|
|
398
|
+
PokemonTeamSet,
|
|
399
|
+
ShowdownParser
|
|
400
|
+
};
|
package/package.json
CHANGED
|
@@ -1,41 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koffing",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"description": "Pokemon Showdown Team parser that converts your strategies to machine-readable JSON code.",
|
|
6
|
-
"author": "Javi Aguilar (@itjsavi)",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"pokemon",
|
|
9
|
-
"smogon",
|
|
10
|
-
"showdown",
|
|
11
|
-
"pokemon-showdown"
|
|
12
|
-
],
|
|
3
|
+
"version": "1.0.0",
|
|
13
4
|
"repository": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
},
|
|
17
|
-
"bugs": {
|
|
18
|
-
"url": "https://github.com/capsulemonsters/koffing/issues"
|
|
5
|
+
"url": "https://github.com/itsjavi/koffing",
|
|
6
|
+
"type": "git"
|
|
19
7
|
},
|
|
20
|
-
"
|
|
21
|
-
"
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"module": "./dist/index.mjs",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"files": [
|
|
13
|
+
"./dist/*",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
22
17
|
"scripts": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"build
|
|
27
|
-
"
|
|
18
|
+
"dev": "tsup src/index.ts --format=esm,cjs --watch --dts --external react",
|
|
19
|
+
"lint": "TIMING=1 eslint \"**/*.ts*\"",
|
|
20
|
+
"lint:ci": "yarn run lint",
|
|
21
|
+
"build": "tsup src/index.ts --format=esm,cjs --dts --external react",
|
|
22
|
+
"build:ci": "yarn run build",
|
|
23
|
+
"test": "jest --verbose --coverage --coverageDirectory=.coverage",
|
|
24
|
+
"test:ci": "jest --runInBand --ci --coverage --coverageDirectory=.coverage"
|
|
28
25
|
},
|
|
29
26
|
"devDependencies": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"webpack-cli": "^2.0.13",
|
|
39
|
-
"webpack-dev-server": "^3.1.1"
|
|
27
|
+
"@packages/preset-eslint": "workspace:^",
|
|
28
|
+
"@packages/preset-prettier": "workspace:^",
|
|
29
|
+
"@packages/preset-ts": "workspace:^",
|
|
30
|
+
"@types/jest": "^29.2.3",
|
|
31
|
+
"jest": "^29.3.1",
|
|
32
|
+
"ts-jest": "^29.0.3",
|
|
33
|
+
"tsup": "^6.5.0",
|
|
34
|
+
"typescript": "^4.9.4"
|
|
40
35
|
}
|
|
41
36
|
}
|