pokenode-ts 1.12.0 → 1.13.2
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/CHANGELOG.md +2 -9
- package/dist/index.d.ts +8 -6
- package/package.json +32 -31
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.13.2](https://github.com/Gabb-c/pokenode-ts/compare/v1.13.1...v1.13.2) (2022-05-20)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
7
|
-
* **model:** remove duplicate type ([65285ff](https://github.com/Gabb-c/pokenode-ts/commit/65285ff2935d51e19de6777c29c8ee6d342ca84a))
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
### Features
|
|
11
|
-
|
|
12
|
-
* add sonarcloud metrics ([3a9b84b](https://github.com/Gabb-c/pokenode-ts/commit/3a9b84b4b275fc0aae4e8f56a2404db2e250afd8))
|
|
13
|
-
* **ci:** add sonarcloud action ([5f117a5](https://github.com/Gabb-c/pokenode-ts/commit/5f117a516ea6807e74bd43365f9b9fa6e608c5ff))
|
|
6
|
+
* **models:** typo in chainlink [#463](https://github.com/Gabb-c/pokenode-ts/issues/463) ([61f98d0](https://github.com/Gabb-c/pokenode-ts/commit/61f98d0ea416ac153cbfbacba8de5b915e2d6b55))
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v6.
|
|
1
|
+
// Generated by dts-bundle-generator v6.9.0
|
|
2
2
|
|
|
3
3
|
import { AxiosInstance } from 'axios';
|
|
4
4
|
import { IAxiosCacheAdapterOptions } from 'axios-cache-adapter';
|
|
@@ -26,7 +26,7 @@ export interface NamedAPIResourceList {
|
|
|
26
26
|
/** The URL for the previous page in the list */
|
|
27
27
|
previous: string | null;
|
|
28
28
|
/** A list of named API resources */
|
|
29
|
-
results: NamedAPIResource[]
|
|
29
|
+
results: NamedAPIResource[];
|
|
30
30
|
}
|
|
31
31
|
/** An URL for another resource in the API */
|
|
32
32
|
export interface APIResource {
|
|
@@ -408,7 +408,7 @@ export interface ChainLink {
|
|
|
408
408
|
/** The Pokémon species at this point in the evolution chain */
|
|
409
409
|
species: NamedAPIResource;
|
|
410
410
|
/** All details regarding the specific details of the referenced Pokémon species evolution */
|
|
411
|
-
|
|
411
|
+
evolution_details: EvolutionDetail[];
|
|
412
412
|
/** A List of chain objects */
|
|
413
413
|
evolves_to: ChainLink[];
|
|
414
414
|
}
|
|
@@ -1270,7 +1270,7 @@ export interface PokemonStat {
|
|
|
1270
1270
|
/** The stat the Pokémon has */
|
|
1271
1271
|
stat: NamedAPIResource;
|
|
1272
1272
|
/** The effort points (EV) the Pokémon has in the stat */
|
|
1273
|
-
effort:
|
|
1273
|
+
effort: number;
|
|
1274
1274
|
/** The base value of the stat */
|
|
1275
1275
|
base_stat: number;
|
|
1276
1276
|
}
|
|
@@ -1454,6 +1454,8 @@ export interface GenerationIIISprites {
|
|
|
1454
1454
|
export interface Emerald {
|
|
1455
1455
|
/** The default depiction of this Pokémon from the front in battle */
|
|
1456
1456
|
front_default: string | null;
|
|
1457
|
+
/** The shiny depiction of this Pokémon from the front in battle */
|
|
1458
|
+
front_shiny: string | null;
|
|
1457
1459
|
}
|
|
1458
1460
|
/** FireRead LeafGreen sprites */
|
|
1459
1461
|
export interface FireredLeafgreen {
|
|
@@ -1480,7 +1482,7 @@ export interface RubySapphire {
|
|
|
1480
1482
|
/** Generation-IV Sprites */
|
|
1481
1483
|
export interface GenerationIVSprites {
|
|
1482
1484
|
/** Diamond-pearl Generation sprites of this Pokémon */
|
|
1483
|
-
"diamond-
|
|
1485
|
+
"diamond-pearl": DiamondPearl;
|
|
1484
1486
|
/** Heartgold-Soulsilver sprites of this Pokémon */
|
|
1485
1487
|
"heartgold-soulsilver": HeartgoldSoulsilver;
|
|
1486
1488
|
/** Platinum sprites of this Pokémon */
|
|
@@ -2084,7 +2086,7 @@ export interface Move {
|
|
|
2084
2086
|
/** The flavor text of this move listed in different languages */
|
|
2085
2087
|
flavor_text_entries: MoveFlavorText[];
|
|
2086
2088
|
/** The generation in which this move was introduced */
|
|
2087
|
-
|
|
2089
|
+
generation: NamedAPIResource;
|
|
2088
2090
|
/** A list of the machines that teach this move */
|
|
2089
2091
|
machines: MachineVersionDetail[];
|
|
2090
2092
|
/** Metadata about this move */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pokenode-ts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A lightweight Node.js wrapper for the PokéAPI with built-in types.",
|
|
6
6
|
"keywords": [
|
|
@@ -50,57 +50,58 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"axios": "^0.
|
|
53
|
+
"axios": "^0.27.2",
|
|
54
54
|
"axios-cache-adapter": "^2.7.3",
|
|
55
|
-
"pino": "^7.
|
|
56
|
-
"pino-pretty": "^7.
|
|
57
|
-
"tslib": "^2.
|
|
55
|
+
"pino": "^7.11.0",
|
|
56
|
+
"pino-pretty": "^7.6.1",
|
|
57
|
+
"tslib": "^2.4.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@babel/cli": "^7.17.
|
|
61
|
-
"@babel/core": "^7.
|
|
62
|
-
"@babel/node": "^7.
|
|
63
|
-
"@babel/preset-env": "^7.
|
|
64
|
-
"@babel/preset-typescript": "^7.
|
|
65
|
-
"@commitlint/cli": "^
|
|
66
|
-
"@commitlint/config-conventional": "^
|
|
60
|
+
"@babel/cli": "^7.17.10",
|
|
61
|
+
"@babel/core": "^7.18.0",
|
|
62
|
+
"@babel/node": "^7.17.10",
|
|
63
|
+
"@babel/preset-env": "^7.18.0",
|
|
64
|
+
"@babel/preset-typescript": "^7.17.12",
|
|
65
|
+
"@commitlint/cli": "^17.0.0",
|
|
66
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
67
67
|
"@semantic-release/changelog": "^6.0.1",
|
|
68
68
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
69
69
|
"@semantic-release/git": "^10.0.1",
|
|
70
|
-
"@semantic-release/github": "^8.0.
|
|
70
|
+
"@semantic-release/github": "^8.0.4",
|
|
71
71
|
"@semantic-release/npm": "^9.0.1",
|
|
72
72
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
73
|
+
"@swc/core": "^1.2.187",
|
|
74
|
+
"@swc/jest": "^0.2.21",
|
|
75
|
+
"@types/jest": "^27.5.1",
|
|
76
|
+
"@types/node": "^17.0.35",
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
78
|
+
"@typescript-eslint/parser": "^5.25.0",
|
|
77
79
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
78
80
|
"conventional-changelog-conventionalcommits": "^4.6.3",
|
|
79
|
-
"dts-bundle-generator": "^6.
|
|
80
|
-
"eslint": "^8.
|
|
81
|
+
"dts-bundle-generator": "^6.9.0",
|
|
82
|
+
"eslint": "^8.15.0",
|
|
81
83
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
82
|
-
"eslint-config-airbnb-typescript": "^
|
|
84
|
+
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
83
85
|
"eslint-config-node": "^4.1.0",
|
|
84
86
|
"eslint-config-prettier": "^8.5.0",
|
|
85
87
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
86
|
-
"eslint-plugin-import": "^2.
|
|
87
|
-
"eslint-plugin-jest": "^26.
|
|
88
|
+
"eslint-plugin-import": "^2.26.0",
|
|
89
|
+
"eslint-plugin-jest": "^26.2.2",
|
|
88
90
|
"eslint-plugin-node": "^11.1.0",
|
|
89
91
|
"eslint-plugin-prettier": "^4.0.0",
|
|
90
92
|
"eslint-plugin-promise": "^6.0.0",
|
|
91
|
-
"eslint-plugin-unicorn": "^
|
|
93
|
+
"eslint-plugin-unicorn": "^42.0.0",
|
|
92
94
|
"http-status-codes": "^2.2.0",
|
|
93
|
-
"husky": "^
|
|
95
|
+
"husky": "^8.0.1",
|
|
94
96
|
"is-ci": "^3.0.1",
|
|
95
|
-
"jest": "^
|
|
96
|
-
"lint-staged": "^12.
|
|
97
|
-
"lockfile-lint": "^4.
|
|
98
|
-
"prettier": "^2.
|
|
97
|
+
"jest": "^28.1.0",
|
|
98
|
+
"lint-staged": "^12.4.1",
|
|
99
|
+
"lockfile-lint": "^4.7.4",
|
|
100
|
+
"prettier": "^2.6.2",
|
|
99
101
|
"semantic-release": "^19.0.2",
|
|
100
|
-
"sort-package-json": "^1.
|
|
101
|
-
"ts-jest": "^27.1.3",
|
|
102
|
+
"sort-package-json": "^1.57.0",
|
|
102
103
|
"ts-node-dev": "^1.1.8",
|
|
103
|
-
"typescript": "^4.6.
|
|
104
|
+
"typescript": "^4.6.4"
|
|
104
105
|
},
|
|
105
106
|
"engines": {
|
|
106
107
|
"node": ">=14"
|