pokenode-ts 1.14.0 → 1.15.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/CHANGELOG.md +4 -2
- package/dist/constants/locations.js +1 -0
- package/dist/constants/moves.js +1 -0
- package/dist/index.d.ts +5 -3
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.15.0](https://github.com/Gabb-c/pokenode-ts/compare/v1.14.0...v1.15.0) (2022-07-11)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **
|
|
6
|
+
* **constants:** update MoveAilments enum ([d48fa43](https://github.com/Gabb-c/pokenode-ts/commit/d48fa43dcb01ccf2c426f7af78cc98161f90de67))
|
|
7
|
+
* **constants:** update Regions enum ([5e75912](https://github.com/Gabb-c/pokenode-ts/commit/5e759120d6d6de0efcbd5e9a71cd27df37bf189c))
|
|
8
|
+
* **deps:** update pino and pino-pretty ([99e92b5](https://github.com/Gabb-c/pokenode-ts/commit/99e92b5f7a21bdc15d57ac476e4ff527033186e0))
|
|
@@ -11,6 +11,7 @@ var Regions;
|
|
|
11
11
|
Regions[Regions["KALOS"] = 6] = "KALOS";
|
|
12
12
|
Regions[Regions["ALOLA"] = 7] = "ALOLA";
|
|
13
13
|
Regions[Regions["GALAR"] = 8] = "GALAR";
|
|
14
|
+
Regions[Regions["HISUI"] = 9] = "HISUI";
|
|
14
15
|
})(Regions = exports.Regions || (exports.Regions = {}));
|
|
15
16
|
var PalParkAreas;
|
|
16
17
|
(function (PalParkAreas) {
|
package/dist/constants/moves.js
CHANGED
|
@@ -24,6 +24,7 @@ var MoveAilmtents;
|
|
|
24
24
|
MoveAilmtents[MoveAilmtents["PERISH_SONG"] = 20] = "PERISH_SONG";
|
|
25
25
|
MoveAilmtents[MoveAilmtents["INGRAIN"] = 21] = "INGRAIN";
|
|
26
26
|
MoveAilmtents[MoveAilmtents["SILENCE"] = 24] = "SILENCE";
|
|
27
|
+
MoveAilmtents[MoveAilmtents["TAR_SHOT"] = 42] = "TAR_SHOT";
|
|
27
28
|
})(MoveAilmtents = exports.MoveAilmtents || (exports.MoveAilmtents = {}));
|
|
28
29
|
var MoveBattleStyles;
|
|
29
30
|
(function (MoveBattleStyles) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v6.
|
|
1
|
+
// Generated by dts-bundle-generator v6.12.0
|
|
2
2
|
|
|
3
3
|
import { AxiosInstance } from 'axios';
|
|
4
4
|
import { IAxiosCacheAdapterOptions } from 'axios-cache-adapter';
|
|
@@ -3595,7 +3595,8 @@ export declare enum Regions {
|
|
|
3595
3595
|
UNOVA = 5,
|
|
3596
3596
|
KALOS = 6,
|
|
3597
3597
|
ALOLA = 7,
|
|
3598
|
-
GALAR = 8
|
|
3598
|
+
GALAR = 8,
|
|
3599
|
+
HISUI = 9
|
|
3599
3600
|
}
|
|
3600
3601
|
export declare enum PalParkAreas {
|
|
3601
3602
|
FOREST = 1,
|
|
@@ -3625,7 +3626,8 @@ export declare enum MoveAilmtents {
|
|
|
3625
3626
|
EMBARGO = 19,
|
|
3626
3627
|
PERISH_SONG = 20,
|
|
3627
3628
|
INGRAIN = 21,
|
|
3628
|
-
SILENCE = 24
|
|
3629
|
+
SILENCE = 24,
|
|
3630
|
+
TAR_SHOT = 42
|
|
3629
3631
|
}
|
|
3630
3632
|
export declare enum MoveBattleStyles {
|
|
3631
3633
|
ATTACK = 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pokenode-ts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A lightweight Node.js wrapper for the PokéAPI with built-in types.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"axios": "^0.27.2",
|
|
49
49
|
"axios-cache-adapter": "^2.7.3",
|
|
50
|
-
"pino": "^8.
|
|
51
|
-
"pino-pretty": "^8.
|
|
50
|
+
"pino": "^8.1.0",
|
|
51
|
+
"pino-pretty": "^8.1.0",
|
|
52
52
|
"tslib": "^2.4.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@babel/cli": "^7.
|
|
56
|
-
"@babel/core": "^7.18.
|
|
57
|
-
"@babel/node": "^7.
|
|
58
|
-
"@babel/preset-env": "^7.18.
|
|
59
|
-
"@babel/preset-typescript": "^7.
|
|
60
|
-
"@commitlint/cli": "^17.0.
|
|
61
|
-
"@commitlint/config-conventional": "^17.0.
|
|
55
|
+
"@babel/cli": "^7.18.6",
|
|
56
|
+
"@babel/core": "^7.18.6",
|
|
57
|
+
"@babel/node": "^7.18.6",
|
|
58
|
+
"@babel/preset-env": "^7.18.6",
|
|
59
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
60
|
+
"@commitlint/cli": "^17.0.3",
|
|
61
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
62
62
|
"@semantic-release/changelog": "^6.0.1",
|
|
63
63
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
64
64
|
"@semantic-release/git": "^10.0.1",
|
|
65
|
-
"@semantic-release/github": "^8.0.
|
|
65
|
+
"@semantic-release/github": "^8.0.5",
|
|
66
66
|
"@semantic-release/npm": "^9.0.1",
|
|
67
67
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
68
|
-
"@swc/core": "^1.2.
|
|
68
|
+
"@swc/core": "^1.2.211",
|
|
69
69
|
"@swc/jest": "^0.2.21",
|
|
70
|
-
"@types/jest": "^28.1.
|
|
71
|
-
"@types/node": "^
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
73
|
-
"@typescript-eslint/parser": "^5.
|
|
70
|
+
"@types/jest": "^28.1.4",
|
|
71
|
+
"@types/node": "^18.0.3",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
73
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
74
74
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
75
|
-
"dts-bundle-generator": "^6.
|
|
76
|
-
"eslint": "^8.
|
|
75
|
+
"dts-bundle-generator": "^6.12.0",
|
|
76
|
+
"eslint": "^8.19.0",
|
|
77
77
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
78
78
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
79
79
|
"eslint-config-node": "^4.1.0",
|
|
@@ -82,20 +82,20 @@
|
|
|
82
82
|
"eslint-plugin-import": "^2.26.0",
|
|
83
83
|
"eslint-plugin-jest": "^26.5.3",
|
|
84
84
|
"eslint-plugin-node": "^11.1.0",
|
|
85
|
-
"eslint-plugin-prettier": "^4.
|
|
85
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
86
86
|
"eslint-plugin-promise": "^6.0.0",
|
|
87
|
-
"eslint-plugin-unicorn": "^
|
|
87
|
+
"eslint-plugin-unicorn": "^43.0.1",
|
|
88
88
|
"http-status-codes": "^2.2.0",
|
|
89
89
|
"husky": "^8.0.1",
|
|
90
90
|
"is-ci": "^3.0.1",
|
|
91
|
-
"jest": "^28.1.
|
|
92
|
-
"lint-staged": "^13.0.
|
|
93
|
-
"lockfile-lint": "^4.7.
|
|
94
|
-
"prettier": "^2.
|
|
91
|
+
"jest": "^28.1.2",
|
|
92
|
+
"lint-staged": "^13.0.3",
|
|
93
|
+
"lockfile-lint": "^4.7.6",
|
|
94
|
+
"prettier": "^2.7.1",
|
|
95
95
|
"semantic-release": "^19.0.3",
|
|
96
96
|
"sort-package-json": "^1.57.0",
|
|
97
97
|
"ts-node-dev": "^2.0.0",
|
|
98
|
-
"typescript": "^4.7.
|
|
98
|
+
"typescript": "^4.7.4"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|
|
101
101
|
"node": ">=14"
|