@pokepc/dataset 6.5.0 → 6.5.1

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.
Files changed (35) hide show
  1. package/build/lib/fs.d.mts +5 -5
  2. package/build/lib/schemas.d.mts +1 -1
  3. package/build/lib/types.d.mts +1 -1
  4. package/build/lib-next/schemas.d.mts +8 -8
  5. package/build/{schemas-DpUlSCk0.d.mts → schemas-BCuqOH_X.d.mts} +11 -11
  6. package/build/{schemas-DpUlSCk0.d.mts.map → schemas-BCuqOH_X.d.mts.map} +1 -1
  7. package/build/utils-internal-Czgdbnkv.mjs.map +1 -1
  8. package/data/pokemon/annihilape.json +1 -1
  9. package/data/pokemon/barbaracle.json +2 -1
  10. package/data/pokemon/blaziken-f.json +7 -2
  11. package/data/pokemon/blaziken.json +2 -1
  12. package/data/pokemon/dragalge.json +2 -1
  13. package/data/pokemon/eelektross.json +2 -1
  14. package/data/pokemon/falinks.json +1 -1
  15. package/data/pokemon/gholdengo.json +1 -1
  16. package/data/pokemon/grimmsnarl.json +1 -1
  17. package/data/pokemon/houndstone.json +1 -1
  18. package/data/pokemon/malamar.json +2 -1
  19. package/data/pokemon/mareanie.json +1 -2
  20. package/data/pokemon/mawile.json +2 -1
  21. package/data/pokemon/metagross.json +2 -1
  22. package/data/pokemon/musharna.json +2 -1
  23. package/data/pokemon/overqwil.json +1 -1
  24. package/data/pokemon/pangoro.json +2 -1
  25. package/data/pokemon/qwilfish.json +2 -1
  26. package/data/pokemon/sceptile.json +2 -1
  27. package/data/pokemon/scolipede.json +2 -1
  28. package/data/pokemon/scrafty.json +2 -1
  29. package/data/pokemon/staraptor-f.json +2 -1
  30. package/data/pokemon/staraptor.json +2 -1
  31. package/data/pokemon/swampert.json +2 -1
  32. package/data/pokemon/toxapex.json +2 -1
  33. package/data/pokemon/vileplume-f.json +7 -2
  34. package/data/pokemon/vileplume.json +2 -1
  35. package/package.json +1 -1
@@ -9,7 +9,7 @@ declare const itemsFs: import("yolodb").YoloDbTable<{
9
9
  gen: number;
10
10
  shortDesc: string;
11
11
  desc: string | null;
12
- category: "ball" | "medicine" | "battle" | "berry" | "machine" | "megastone" | "zcrystal" | "treasure" | "ingredient" | "material" | "key" | "other";
12
+ category: "berry" | "other" | "ball" | "medicine" | "battle" | "machine" | "treasure" | "ingredient" | "material" | "key" | "megastone" | "zcrystal";
13
13
  unholdable?: boolean | undefined;
14
14
  }>;
15
15
  declare const pokeballsFs: import("yolodb").YoloDbTable<{
@@ -18,7 +18,7 @@ declare const pokeballsFs: import("yolodb").YoloDbTable<{
18
18
  gen: number;
19
19
  shortDesc: string;
20
20
  desc: string | null;
21
- category: "other" | "regular" | "special" | "hisuian";
21
+ category: "special" | "other" | "regular" | "hisuian";
22
22
  unusable?: boolean | undefined;
23
23
  }>;
24
24
  declare const abilitiesFs: import("yolodb").YoloDbTable<{
@@ -28,7 +28,7 @@ declare const abilitiesFs: import("yolodb").YoloDbTable<{
28
28
  gen: number;
29
29
  shortDesc: string;
30
30
  desc: string | null;
31
- tags: ("other" | "alert" | "ally-helper" | "stat-boost" | "move-boost" | "bypass" | "defense" | "handicap" | "heal" | "items" | "priority-control" | "damage" | "target-weaken" | "status-trigger" | "status-immunity" | "steal" | "weather" | "terrain" | "trap" | "ability-change" | "type-change" | "species-specific")[];
31
+ tags: ("defense" | "other" | "alert" | "ally-helper" | "stat-boost" | "move-boost" | "bypass" | "handicap" | "heal" | "items" | "priority-control" | "damage" | "target-weaken" | "status-trigger" | "status-immunity" | "steal" | "weather" | "terrain" | "trap" | "ability-change" | "type-change" | "species-specific")[];
32
32
  immunities?: ("normal" | "fire" | "water" | "electric" | "grass" | "ice" | "fighting" | "poison" | "ground" | "flying" | "psychic" | "bug" | "rock" | "ghost" | "dragon" | "dark" | "steel" | "fairy" | "stellar")[] | undefined;
33
33
  weaknesses?: ("normal" | "fire" | "water" | "electric" | "grass" | "ice" | "fighting" | "poison" | "ground" | "flying" | "psychic" | "bug" | "rock" | "ghost" | "dragon" | "dark" | "steel" | "fairy" | "stellar")[] | undefined;
34
34
  }>;
@@ -43,7 +43,7 @@ declare const movesFs: import("yolodb").YoloDbTable<{
43
43
  power: number;
44
44
  accuracy: number;
45
45
  pp: number;
46
- category: "special" | "physical" | "status";
46
+ category: "physical" | "special" | "status";
47
47
  priority: number;
48
48
  isZ: boolean;
49
49
  isGmax: boolean;
@@ -102,7 +102,7 @@ declare const colorsFs: import("yolodb").YoloDbTable<{
102
102
  color: string;
103
103
  }>;
104
104
  declare const languagesFs: import("yolodb").YoloDbTable<{
105
- id: "en" | "es" | "esla" | "fr" | "de" | "it" | "ja" | "ko" | "chs" | "cht" | "pt";
105
+ id: "en" | "es" | "de" | "it" | "fr" | "ko" | "ja" | "esla" | "chs" | "cht" | "pt";
106
106
  name: string;
107
107
  nameEng: string;
108
108
  alpha3: "esla" | "chs" | "cht" | "eng" | "esp" | "fra" | "deu" | "ita" | "jap" | "kor" | "por";
@@ -1,2 +1,2 @@
1
- import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-DpUlSCk0.mjs";
1
+ import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-BCuqOH_X.mjs";
2
2
  export { abilitySchema, boxPresetBoxPokemonSchema, boxPresetBoxSchema, boxPresetIndexItemSchema, boxPresetMapSchema, boxPresetSchema, characterSchema, colorSchema, gameFeaturesSchema, gameSchema, generationSchema, i18nTextSchema, itemSchema, languageSchema, markSchema, modernBoxPresetBoxSchema, modernBoxPresetIndexSchema, modernBoxPresetSchema, modernBoxPresetSlotSchema, modernBoxPresetTags, moveSchema, natureSchema, onlineFeaturesSchema, originMarkSchema, personalitySchema, pokeballSchema, pokedexEntrySchema, pokedexSchema, pokemonRefsSchema, pokemonSchema, pokemonSearchFilterSchema, regionSchema, ribbonSchema, typeSchema };
@@ -1,5 +1,5 @@
1
1
  import { _ as statIds, a as gameType, c as ivJudgeValues, d as languageInGameCodes, f as moveCategory, g as ribbonCategory, h as raidStyles, i as gameSeries, l as languageAlpha3Codes, m as pokemonSizes, n as battleStyles, o as genders, p as pokeballCategory, r as gamePlatforms, s as itemCategory, t as abilityTagIds, u as languageIds, v as titleTypes, y as typeIds } from "../enums-CCbmORM6.mjs";
2
- import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-DpUlSCk0.mjs";
2
+ import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-BCuqOH_X.mjs";
3
3
  import z$1 from "zod";
4
4
 
5
5
  //#region src/lib/types.d.ts
@@ -78,8 +78,8 @@ declare const moveSchema: z.ZodObject<{
78
78
  fairy: "fairy";
79
79
  }>;
80
80
  category: z.ZodEnum<{
81
- special: "special";
82
81
  physical: "physical";
82
+ special: "special";
83
83
  status: "status";
84
84
  }>;
85
85
  power: z.ZodNumber;
@@ -145,8 +145,8 @@ declare const movesSchema: z.ZodArray<z.ZodObject<{
145
145
  fairy: "fairy";
146
146
  }>;
147
147
  category: z.ZodEnum<{
148
- special: "special";
149
148
  physical: "physical";
149
+ special: "special";
150
150
  status: "status";
151
151
  }>;
152
152
  power: z.ZodNumber;
@@ -211,13 +211,13 @@ declare const itemSchema: z.ZodObject<{
211
211
  description: z.ZodString;
212
212
  pluralName: z.ZodString;
213
213
  categories: z.ZodArray<z.ZodEnum<{
214
- berry: "berry";
215
- other: "other";
216
- defense: "defense";
217
214
  power_boost: "power_boost";
218
215
  recovery: "recovery";
216
+ defense: "defense";
219
217
  stat_boost: "stat_boost";
220
218
  effect_extend: "effect_extend";
219
+ berry: "berry";
220
+ other: "other";
221
221
  mega_stone: "mega_stone";
222
222
  }>>;
223
223
  }, z.core.$strip>;
@@ -231,13 +231,13 @@ declare const itemsSchema: z.ZodArray<z.ZodObject<{
231
231
  description: z.ZodString;
232
232
  pluralName: z.ZodString;
233
233
  categories: z.ZodArray<z.ZodEnum<{
234
- berry: "berry";
235
- other: "other";
236
- defense: "defense";
237
234
  power_boost: "power_boost";
238
235
  recovery: "recovery";
236
+ defense: "defense";
239
237
  stat_boost: "stat_boost";
240
238
  effect_extend: "effect_extend";
239
+ berry: "berry";
240
+ other: "other";
241
241
  mega_stone: "mega_stone";
242
242
  }>>;
243
243
  }, z.core.$strip>>;
@@ -22,13 +22,13 @@ declare const abilitySchema: z.ZodObject<{
22
22
  shortDesc: z.ZodString;
23
23
  desc: z.ZodNullable<z.ZodString>;
24
24
  tags: z.ZodArray<z.ZodEnum<{
25
+ defense: "defense";
25
26
  other: "other";
26
27
  alert: "alert";
27
28
  "ally-helper": "ally-helper";
28
29
  "stat-boost": "stat-boost";
29
30
  "move-boost": "move-boost";
30
31
  bypass: "bypass";
31
- defense: "defense";
32
32
  handicap: "handicap";
33
33
  heal: "heal";
34
34
  items: "items";
@@ -237,18 +237,18 @@ declare const itemSchema: z.ZodObject<{
237
237
  shortDesc: z.ZodString;
238
238
  desc: z.ZodNullable<z.ZodString>;
239
239
  category: z.ZodEnum<{
240
+ berry: "berry";
241
+ other: "other";
240
242
  ball: "ball";
241
243
  medicine: "medicine";
242
244
  battle: "battle";
243
- berry: "berry";
244
245
  machine: "machine";
245
- megastone: "megastone";
246
- zcrystal: "zcrystal";
247
246
  treasure: "treasure";
248
247
  ingredient: "ingredient";
249
248
  material: "material";
250
249
  key: "key";
251
- other: "other";
250
+ megastone: "megastone";
251
+ zcrystal: "zcrystal";
252
252
  }>;
253
253
  unholdable: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
254
254
  }, z.core.$strip>;
@@ -259,9 +259,9 @@ declare const pokeballSchema: z.ZodObject<{
259
259
  shortDesc: z.ZodString;
260
260
  desc: z.ZodNullable<z.ZodString>;
261
261
  category: z.ZodEnum<{
262
+ special: "special";
262
263
  other: "other";
263
264
  regular: "regular";
264
- special: "special";
265
265
  hisuian: "hisuian";
266
266
  }>;
267
267
  unusable: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
@@ -270,12 +270,12 @@ declare const languageSchema: z.ZodObject<{
270
270
  id: z.ZodEnum<{
271
271
  en: "en";
272
272
  es: "es";
273
- esla: "esla";
274
- fr: "fr";
275
273
  de: "de";
276
274
  it: "it";
277
- ja: "ja";
275
+ fr: "fr";
278
276
  ko: "ko";
277
+ ja: "ja";
278
+ esla: "esla";
279
279
  chs: "chs";
280
280
  cht: "cht";
281
281
  pt: "pt";
@@ -408,8 +408,8 @@ declare const moveSchema: z.ZodObject<{
408
408
  accuracy: z.ZodCoercedNumber<unknown>;
409
409
  pp: z.ZodCoercedNumber<unknown>;
410
410
  category: z.ZodEnum<{
411
- special: "special";
412
411
  physical: "physical";
412
+ special: "special";
413
413
  status: "status";
414
414
  }>;
415
415
  priority: z.ZodCoercedNumber<unknown>;
@@ -802,4 +802,4 @@ declare const pokemonSearchFilterSchema: z.ZodObject<{
802
802
  }, z.core.$strip>;
803
803
  //#endregion
804
804
  export { pokemonSchema as A, onlineFeaturesSchema as C, pokedexEntrySchema as D, pokeballSchema as E, regionSchema as M, ribbonSchema as N, pokedexSchema as O, typeSchema as P, natureSchema as S, personalitySchema as T, modernBoxPresetIndexSchema as _, boxPresetMapSchema as a, modernBoxPresetTags as b, colorSchema as c, generationSchema as d, i18nTextSchema as f, modernBoxPresetBoxSchema as g, markSchema as h, boxPresetIndexItemSchema as i, pokemonSearchFilterSchema as j, pokemonRefsSchema as k, gameFeaturesSchema as l, languageSchema as m, boxPresetBoxPokemonSchema as n, boxPresetSchema as o, itemSchema as p, boxPresetBoxSchema as r, characterSchema as s, abilitySchema as t, gameSchema as u, modernBoxPresetSchema as v, originMarkSchema as w, moveSchema as x, modernBoxPresetSlotSchema as y };
805
- //# sourceMappingURL=schemas-DpUlSCk0.d.mts.map
805
+ //# sourceMappingURL=schemas-BCuqOH_X.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas-DpUlSCk0.d.mts","names":[],"sources":["../src/lib/schemas.ts"],"mappings":";;;cAkEa,cAAA,EAAc,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,OAAA;;;;;;;;;;;;;cAEd,aAAA,EAAa,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKb,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;cAKjB,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAGf,WAAA,EAAW,CAAA,CAAA,SAAA;;;;;cAGX,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAwBlB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQpB,UAAA,EAAU,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBV,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;cAKhB,UAAA,EAAU,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKV,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAId,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUd,UAAA,EAAU,CAAA,CAAA,SAAA;;;;;;;;;;;cAOV,YAA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AA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAElB,mBAAA;AAAA,cAUA,0BAAA,EAA0B,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,SAAA;AAAA,cAE1B,yBAAA,EAAyB,CAAA,CAAA,QAAA,EAAA,CAAA,CAAA,WAAA,CAAA,CAAA,CAAA,SAAA,GAAA,CAAA,CAAA,SAAA;;;;;;cAWzB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cAOxB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBrB,yBAAA,EAAyB,CAAA,CAAA,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils-internal-Czgdbnkv.mjs","names":[],"sources":["../src/utils/utils-internal.ts"],"sourcesContent":["export function capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n\nexport function arrayUnique<T>(array: T[]): T[] {\n return Array.from(new Set(array))\n}\n\nexport function sanitizeSearchQuery(query?: string | null) {\n if (query === undefined || query === null) {\n return ''\n }\n return query\n .toLowerCase()\n .replace(/\\s{2,}/, ' ')\n .replace(/,/g, ' ')\n .replace(/\\s{2,}/, ' ')\n}\n\nexport function sanitizeFormStringSpaces(str: string | FormDataEntryValue | null | undefined) {\n if (!str) {\n return ''\n }\n return str.toString().replace(/\\s+/g, ' ').trim()\n}\n\nexport function splitSearchQueryTokens(query?: string | null): {\n positive: string[]\n negative: string[]\n} {\n const tokens = sanitizeSearchQuery(query).trim().split(/\\s+/).filter(Boolean)\n\n return tokens.reduce(\n (result, token) => {\n if (token.startsWith('!')) {\n const negatedToken = token.slice(1).trim()\n if (negatedToken) {\n result.negative.push(negatedToken)\n }\n } else {\n result.positive.push(token)\n }\n\n return result\n },\n { positive: [] as string[], negative: [] as string[] },\n )\n}\n\nexport function matchesSearchQuery(haystack: string, query?: string | null): boolean {\n const { positive, negative } = splitSearchQueryTokens(query)\n if (positive.length === 0 && negative.length === 0) {\n return true\n }\n\n const normalizedHaystack = sanitizeSearchQuery(haystack)\n\n return (\n positive.every((token) => normalizedHaystack.includes(token)) &&\n negative.every((token) => !normalizedHaystack.includes(token))\n )\n}\n"],"mappings":";AAAA,SAAgB,sBAAsB,QAAwB;CAC5D,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;AAEA,SAAgB,YAAe,OAAiB;CAC9C,OAAO,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC;AAClC;AAEA,SAAgB,oBAAoB,OAAuB;CACzD,IAAI,UAAU,KAAA,KAAa,UAAU,MACnC,OAAO;CAET,OAAO,MACJ,YAAY,CAAC,CACb,QAAQ,UAAU,GAAG,CAAC,CACtB,QAAQ,MAAM,GAAG,CAAC,CAClB,QAAQ,UAAU,GAAG;AAC1B;AASA,SAAgB,uBAAuB,OAGrC;CAGA,OAFe,oBAAoB,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,OAAO,OAEzD,CAAC,CAAC,QACX,QAAQ,UAAU;EACjB,IAAI,MAAM,WAAW,GAAG,GAAG;GACzB,MAAM,eAAe,MAAM,MAAM,CAAC,CAAC,CAAC,KAAK;GACzC,IAAI,cACF,OAAO,SAAS,KAAK,YAAY;EAErC,OACE,OAAO,SAAS,KAAK,KAAK;EAG5B,OAAO;CACT,GACA;EAAE,UAAU,CAAC;EAAe,UAAU,CAAC;CAAc,CACvD;AACF;AAEA,SAAgB,mBAAmB,UAAkB,OAAgC;CACnF,MAAM,EAAE,UAAU,aAAa,uBAAuB,KAAK;CAC3D,IAAI,SAAS,WAAW,KAAK,SAAS,WAAW,GAC/C,OAAO;CAGT,MAAM,qBAAqB,oBAAoB,QAAQ;CAEvD,OACE,SAAS,OAAO,UAAU,mBAAmB,SAAS,KAAK,CAAC,KAC5D,SAAS,OAAO,UAAU,CAAC,mBAAmB,SAAS,KAAK,CAAC;AAEjE"}
1
+ {"version":3,"file":"utils-internal-Czgdbnkv.mjs","names":[],"sources":["../src/utils/utils-internal.ts"],"sourcesContent":["export function capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n\nexport function arrayUnique<T>(array: T[]): T[] {\n return Array.from(new Set(array))\n}\n\nexport function sortStringsInGivenOrder(strs: string[] | undefined, rightOrder: string[]) {\n return [...(strs ?? [])].sort((a, b) => {\n const aIndex = rightOrder.indexOf(a)\n const bIndex = rightOrder.indexOf(b)\n return aIndex - bIndex\n })\n}\n\nexport function sanitizeSearchQuery(query?: string | null) {\n if (query === undefined || query === null) {\n return ''\n }\n return query\n .toLowerCase()\n .replace(/\\s{2,}/, ' ')\n .replace(/,/g, ' ')\n .replace(/\\s{2,}/, ' ')\n}\n\nexport function sanitizeFormStringSpaces(str: string | FormDataEntryValue | null | undefined) {\n if (!str) {\n return ''\n }\n return str.toString().replace(/\\s+/g, ' ').trim()\n}\n\nexport function splitSearchQueryTokens(query?: string | null): {\n positive: string[]\n negative: string[]\n} {\n const tokens = sanitizeSearchQuery(query).trim().split(/\\s+/).filter(Boolean)\n\n return tokens.reduce(\n (result, token) => {\n if (token.startsWith('!')) {\n const negatedToken = token.slice(1).trim()\n if (negatedToken) {\n result.negative.push(negatedToken)\n }\n } else {\n result.positive.push(token)\n }\n\n return result\n },\n { positive: [] as string[], negative: [] as string[] },\n )\n}\n\nexport function matchesSearchQuery(haystack: string, query?: string | null): boolean {\n const { positive, negative } = splitSearchQueryTokens(query)\n if (positive.length === 0 && negative.length === 0) {\n return true\n }\n\n const normalizedHaystack = sanitizeSearchQuery(haystack)\n\n return (\n positive.every((token) => normalizedHaystack.includes(token)) &&\n negative.every((token) => !normalizedHaystack.includes(token))\n )\n}\n"],"mappings":";AAAA,SAAgB,sBAAsB,QAAwB;CAC5D,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;AAEA,SAAgB,YAAe,OAAiB;CAC9C,OAAO,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC;AAClC;AAUA,SAAgB,oBAAoB,OAAuB;CACzD,IAAI,UAAU,KAAA,KAAa,UAAU,MACnC,OAAO;CAET,OAAO,MACJ,YAAY,CAAC,CACb,QAAQ,UAAU,GAAG,CAAC,CACtB,QAAQ,MAAM,GAAG,CAAC,CAClB,QAAQ,UAAU,GAAG;AAC1B;AASA,SAAgB,uBAAuB,OAGrC;CAGA,OAFe,oBAAoB,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,OAAO,OAEzD,CAAC,CAAC,QACX,QAAQ,UAAU;EACjB,IAAI,MAAM,WAAW,GAAG,GAAG;GACzB,MAAM,eAAe,MAAM,MAAM,CAAC,CAAC,CAAC,KAAK;GACzC,IAAI,cACF,OAAO,SAAS,KAAK,YAAY;EAErC,OACE,OAAO,SAAS,KAAK,KAAK;EAG5B,OAAO;CACT,GACA;EAAE,UAAU,CAAC;EAAe,UAAU,CAAC;CAAc,CACvD;AACF;AAEA,SAAgB,mBAAmB,UAAkB,OAAgC;CACnF,MAAM,EAAE,UAAU,aAAa,uBAAuB,KAAK;CAC3D,IAAI,SAAS,WAAW,KAAK,SAAS,WAAW,GAC/C,OAAO;CAGT,MAAM,qBAAqB,oBAAoB,QAAQ;CAEvD,OACE,SAAS,OAAO,UAAU,mBAAmB,SAAS,KAAK,CAAC,KAC5D,SAAS,OAAO,UAAU,CAAC,mBAAmB,SAAS,KAAK,CAAC;AAEjE"}
@@ -36,7 +36,7 @@
36
36
  "debutIn": "sv",
37
37
  "obtainableIn": ["go", "sv-s", "sv-v", "lza"],
38
38
  "eventOnlyIn": [],
39
- "storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
39
+ "storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
40
40
  "shinyReleased": true,
41
41
  "baseHp": 110,
42
42
  "baseAtk": 115,
@@ -49,7 +49,8 @@
49
49
  "swsh-sw",
50
50
  "swsh-sh",
51
51
  "home",
52
- "lza"
52
+ "lza",
53
+ "champions"
53
54
  ],
54
55
  "shinyReleased": true,
55
56
  "baseHp": 72,
@@ -85,7 +85,8 @@
85
85
  "bdsp-sp",
86
86
  "sv-s",
87
87
  "sv-v",
88
- "lza"
88
+ "lza",
89
+ "champions"
89
90
  ],
90
91
  "shinyReleased": true,
91
92
  "baseHp": 80,
@@ -113,7 +114,11 @@
113
114
  },
114
115
  "evolvesFrom": "combusken",
115
116
  "evoFromLevel": 36,
116
- "names": { "eng": "Blaziken (Female)", "fra": "Braségali (Female)", "deu": "Lohgock (Female)" },
117
+ "names": {
118
+ "eng": "Blaziken (Female)",
119
+ "fra": "Braségali (Female)",
120
+ "deu": "Lohgock (Female)"
121
+ },
117
122
  "genus": {
118
123
  "eng": "Blaze Pokémon",
119
124
  "esp": "Pokémon Llameante",
@@ -84,7 +84,8 @@
84
84
  "bdsp-sp",
85
85
  "sv-s",
86
86
  "sv-v",
87
- "lza"
87
+ "lza",
88
+ "champions"
88
89
  ],
89
90
  "shinyReleased": true,
90
91
  "baseHp": 80,
@@ -61,7 +61,8 @@
61
61
  "home",
62
62
  "sv-s",
63
63
  "sv-v",
64
- "lza"
64
+ "lza",
65
+ "champions"
65
66
  ],
66
67
  "shinyReleased": true,
67
68
  "baseHp": 65,
@@ -61,7 +61,8 @@
61
61
  "home",
62
62
  "sv-s",
63
63
  "sv-v",
64
- "lza"
64
+ "lza",
65
+ "champions"
65
66
  ],
66
67
  "shinyReleased": true,
67
68
  "baseHp": 85,
@@ -34,7 +34,7 @@
34
34
  "debutIn": "swsh",
35
35
  "obtainableIn": ["go", "swsh-sw", "swsh-sh", "sv-s", "sv-v", "lza"],
36
36
  "eventOnlyIn": [],
37
- "storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "lza"],
37
+ "storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "lza", "champions"],
38
38
  "shinyReleased": true,
39
39
  "baseHp": 65,
40
40
  "baseAtk": 100,
@@ -34,7 +34,7 @@
34
34
  "debutIn": "sv",
35
35
  "obtainableIn": ["go", "sv-s", "sv-v", "lza"],
36
36
  "eventOnlyIn": [],
37
- "storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
37
+ "storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
38
38
  "shinyReleased": true,
39
39
  "shinyLockedIn": ["sv-s", "sv-v"],
40
40
  "baseHp": 87,
@@ -36,7 +36,7 @@
36
36
  "debutIn": "swsh",
37
37
  "obtainableIn": ["go", "swsh-sw", "swsh-sh", "sv-s", "sv-v"],
38
38
  "eventOnlyIn": [],
39
- "storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v"],
39
+ "storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "champions"],
40
40
  "shinyReleased": true,
41
41
  "baseHp": 95,
42
42
  "baseAtk": 120,
@@ -34,7 +34,7 @@
34
34
  "debutIn": "sv",
35
35
  "obtainableIn": ["go", "sv-s", "sv-v", "lza"],
36
36
  "eventOnlyIn": [],
37
- "storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
37
+ "storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
38
38
  "shinyReleased": true,
39
39
  "baseHp": 72,
40
40
  "baseAtk": 101,
@@ -62,7 +62,8 @@
62
62
  "home",
63
63
  "sv-s",
64
64
  "sv-v",
65
- "lza"
65
+ "lza",
66
+ "champions"
66
67
  ],
67
68
  "shinyReleased": true,
68
69
  "baseHp": 86,
@@ -56,8 +56,7 @@
56
56
  "swsh-sh",
57
57
  "home",
58
58
  "sv-s",
59
- "sv-v",
60
- "champions"
59
+ "sv-v"
61
60
  ],
62
61
  "shinyReleased": true,
63
62
  "baseHp": 50,
@@ -91,7 +91,8 @@
91
91
  "home",
92
92
  "bdsp-bd",
93
93
  "bdsp-sp",
94
- "lza"
94
+ "lza",
95
+ "champions"
95
96
  ],
96
97
  "shinyReleased": true,
97
98
  "baseHp": 50,
@@ -98,7 +98,8 @@
98
98
  "bdsp-sp",
99
99
  "sv-s",
100
100
  "sv-v",
101
- "lza"
101
+ "lza",
102
+ "champions"
102
103
  ],
103
104
  "shinyReleased": true,
104
105
  "baseHp": 80,
@@ -65,7 +65,8 @@
65
65
  "swsh-sw",
66
66
  "swsh-sh",
67
67
  "home",
68
- "lza"
68
+ "lza",
69
+ "champions"
69
70
  ],
70
71
  "shinyReleased": true,
71
72
  "baseHp": 116,
@@ -36,7 +36,7 @@
36
36
  "debutIn": "la",
37
37
  "obtainableIn": ["go", "la", "sv-s", "sv-v", "lza"],
38
38
  "eventOnlyIn": [],
39
- "storableIn": ["go", "home", "la", "sv-s", "sv-v", "lza"],
39
+ "storableIn": ["go", "home", "la", "sv-s", "sv-v", "lza", "champions"],
40
40
  "shinyReleased": true,
41
41
  "baseHp": 85,
42
42
  "baseAtk": 115,
@@ -60,7 +60,8 @@
60
60
  "swsh-sw",
61
61
  "swsh-sh",
62
62
  "home",
63
- "lza"
63
+ "lza",
64
+ "champions"
64
65
  ],
65
66
  "shinyReleased": true,
66
67
  "baseHp": 95,
@@ -97,7 +97,8 @@
97
97
  "bdsp-sp",
98
98
  "sv-s",
99
99
  "sv-v",
100
- "lza"
100
+ "lza",
101
+ "champions"
101
102
  ],
102
103
  "shinyReleased": true,
103
104
  "baseHp": 65,
@@ -83,7 +83,8 @@
83
83
  "bdsp-sp",
84
84
  "sv-s",
85
85
  "sv-v",
86
- "lza"
86
+ "lza",
87
+ "champions"
87
88
  ],
88
89
  "shinyReleased": true,
89
90
  "baseHp": 70,
@@ -64,7 +64,8 @@
64
64
  "swsh-sw",
65
65
  "swsh-sh",
66
66
  "home",
67
- "lza"
67
+ "lza",
68
+ "champions"
68
69
  ],
69
70
  "shinyReleased": true,
70
71
  "baseHp": 60,
@@ -72,7 +72,8 @@
72
72
  "home",
73
73
  "sv-s",
74
74
  "sv-v",
75
- "lza"
75
+ "lza",
76
+ "champions"
76
77
  ],
77
78
  "shinyReleased": true,
78
79
  "baseHp": 65,
@@ -78,7 +78,8 @@
78
78
  "la",
79
79
  "sv-s",
80
80
  "sv-v",
81
- "lza"
81
+ "lza",
82
+ "champions"
82
83
  ],
83
84
  "shinyReleased": true,
84
85
  "baseHp": 85,
@@ -77,7 +77,8 @@
77
77
  "la",
78
78
  "sv-s",
79
79
  "sv-v",
80
- "lza"
80
+ "lza",
81
+ "champions"
81
82
  ],
82
83
  "shinyReleased": true,
83
84
  "baseHp": 85,
@@ -84,7 +84,8 @@
84
84
  "bdsp-sp",
85
85
  "sv-s",
86
86
  "sv-v",
87
- "lza"
87
+ "lza",
88
+ "champions"
88
89
  ],
89
90
  "shinyReleased": true,
90
91
  "baseHp": 100,
@@ -56,7 +56,8 @@
56
56
  "swsh-sh",
57
57
  "home",
58
58
  "sv-s",
59
- "sv-v"
59
+ "sv-v",
60
+ "champions"
60
61
  ],
61
62
  "shinyReleased": true,
62
63
  "baseHp": 50,
@@ -101,7 +101,8 @@
101
101
  "bdsp-bd",
102
102
  "bdsp-sp",
103
103
  "sv-s",
104
- "sv-v"
104
+ "sv-v",
105
+ "champions"
105
106
  ],
106
107
  "shinyReleased": true,
107
108
  "baseHp": 75,
@@ -129,7 +130,11 @@
129
130
  },
130
131
  "evolvesFrom": "gloom",
131
132
  "evoFromItem": "leafstone",
132
- "names": { "eng": "Vileplume (Female)", "fra": "Rafflesia (Female)", "deu": "Giflor (Female)" },
133
+ "names": {
134
+ "eng": "Vileplume (Female)",
135
+ "fra": "Rafflesia (Female)",
136
+ "deu": "Giflor (Female)"
137
+ },
133
138
  "genus": {
134
139
  "eng": "Flower Pokémon",
135
140
  "esp": "Pokémon Flor",
@@ -105,7 +105,8 @@
105
105
  "bdsp-bd",
106
106
  "bdsp-sp",
107
107
  "sv-s",
108
- "sv-v"
108
+ "sv-v",
109
+ "champions"
109
110
  ],
110
111
  "shinyReleased": true,
111
112
  "baseHp": 75,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pokepc/dataset",
3
- "version": "6.5.0",
3
+ "version": "6.5.1",
4
4
  "homepage": "https://pokepc.github.io/dataset",
5
5
  "license": "MIT",
6
6
  "repository": {