pokenode-ts 1.11.0 → 1.13.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 +7 -2
- package/README.md +11 -21
- package/dist/clients/berry.client.js +6 -6
- package/dist/clients/contest.client.js +7 -7
- package/dist/clients/encounter.client.js +9 -9
- package/dist/clients/evolution.client.js +5 -5
- package/dist/clients/game.client.js +12 -12
- package/dist/clients/index.js +12 -12
- package/dist/clients/item.client.js +15 -15
- package/dist/clients/location.client.js +12 -12
- package/dist/clients/machine.client.js +2 -2
- package/dist/clients/move.client.js +21 -21
- package/dist/clients/pokemon.client.js +45 -45
- package/dist/clients/utility.client.js +3 -3
- package/dist/config/logger.js +1 -1
- package/dist/constants/index.js +12 -12
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -5
- package/dist/models/Berry/index.js +1 -1
- package/dist/models/Common/index.js +11 -11
- package/dist/models/Contest/index.js +1 -1
- package/dist/models/Encounter/index.js +1 -1
- package/dist/models/Evolution/index.js +1 -1
- package/dist/models/Game/index.js +4 -4
- package/dist/models/Item/index.js +1 -1
- package/dist/models/Location/index.js +4 -4
- package/dist/models/Machine/index.js +1 -1
- package/dist/models/Moves/index.js +1 -1
- package/dist/models/Pokemon/index.js +10 -10
- package/dist/models/index.js +11 -11
- package/dist/structures/index.js +1 -1
- package/package.json +29 -28
package/dist/models/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./Berry"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Common"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Contest"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./Encounter"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./Evolution"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./Game"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./Item"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./Location"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./Machine"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./Moves"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./Pokemon"), exports);
|
package/dist/structures/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pokenode-ts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
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.26.1",
|
|
54
54
|
"axios-cache-adapter": "^2.7.3",
|
|
55
|
-
"pino": "^7.
|
|
56
|
-
"pino-pretty": "^7.
|
|
55
|
+
"pino": "^7.9.2",
|
|
56
|
+
"pino-pretty": "^7.6.0",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@babel/cli": "^7.
|
|
61
|
-
"@babel/core": "^7.
|
|
60
|
+
"@babel/cli": "^7.17.6",
|
|
61
|
+
"@babel/core": "^7.17.8",
|
|
62
62
|
"@babel/node": "^7.16.8",
|
|
63
|
-
"@babel/preset-env": "^7.16.
|
|
63
|
+
"@babel/preset-env": "^7.16.11",
|
|
64
64
|
"@babel/preset-typescript": "^7.16.7",
|
|
65
|
-
"@commitlint/cli": "^16.
|
|
66
|
-
"@commitlint/config-conventional": "^16.
|
|
65
|
+
"@commitlint/cli": "^16.2.3",
|
|
66
|
+
"@commitlint/config-conventional": "^16.2.1",
|
|
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
70
|
"@semantic-release/github": "^8.0.2",
|
|
71
|
-
"@semantic-release/npm": "^
|
|
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.161",
|
|
74
|
+
"@swc/jest": "^0.2.20",
|
|
75
|
+
"@types/jest": "^27.4.1",
|
|
76
|
+
"@types/node": "^17.0.23",
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
78
|
+
"@typescript-eslint/parser": "^5.17.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.5.0",
|
|
82
|
+
"eslint": "^8.12.0",
|
|
81
83
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
82
|
-
"eslint-config-airbnb-typescript": "^16.1.
|
|
84
|
+
"eslint-config-airbnb-typescript": "^16.1.4",
|
|
83
85
|
"eslint-config-node": "^4.1.0",
|
|
84
|
-
"eslint-config-prettier": "^8.
|
|
86
|
+
"eslint-config-prettier": "^8.5.0",
|
|
85
87
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
86
88
|
"eslint-plugin-import": "^2.25.4",
|
|
87
|
-
"eslint-plugin-jest": "^
|
|
89
|
+
"eslint-plugin-jest": "^26.1.3",
|
|
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": "^41.0.1",
|
|
92
94
|
"http-status-codes": "^2.2.0",
|
|
93
95
|
"husky": "^7.0.4",
|
|
94
96
|
"is-ci": "^3.0.1",
|
|
95
|
-
"jest": "^27.
|
|
96
|
-
"lint-staged": "^12.
|
|
97
|
-
"lockfile-lint": "^4.
|
|
98
|
-
"prettier": "^2.
|
|
99
|
-
"semantic-release": "^
|
|
100
|
-
"sort-package-json": "^1.
|
|
101
|
-
"ts-jest": "^27.1.3",
|
|
97
|
+
"jest": "^27.5.1",
|
|
98
|
+
"lint-staged": "^12.3.7",
|
|
99
|
+
"lockfile-lint": "^4.7.4",
|
|
100
|
+
"prettier": "^2.6.1",
|
|
101
|
+
"semantic-release": "^19.0.2",
|
|
102
|
+
"sort-package-json": "^1.55.0",
|
|
102
103
|
"ts-node-dev": "^1.1.8",
|
|
103
|
-
"typescript": "^4.
|
|
104
|
+
"typescript": "^4.6.3"
|
|
104
105
|
},
|
|
105
106
|
"engines": {
|
|
106
107
|
"node": ">=14"
|