pokenode-ts 1.8.1 → 1.9.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 CHANGED
@@ -1,18 +1,8 @@
1
- ## [1.8.1](https://github.com/Gabb-c/pokenode-ts/compare/v1.8.0...v1.8.1) (2021-10-14)
1
+ ## [1.9.2](https://github.com/Gabb-c/pokenode-ts/compare/v1.9.1...v1.9.2) (2021-11-29)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **base:** update logger and base client to pino 7.0.1 ([a46c5c5](https://github.com/Gabb-c/pokenode-ts/commit/a46c5c59eaf0bcbca7f4982364474ed810c8a8ae))
7
- * **ci:** remove build 15.x node ([75892d1](https://github.com/Gabb-c/pokenode-ts/commit/75892d12b789d8f3b5a4028d3013b30f99989366))
8
- * **clients:** update item client to axios 0.23.0 ([a0f2561](https://github.com/Gabb-c/pokenode-ts/commit/a0f25611988d6b9ae83878b4ce6960ad94faddeb))
9
- * **clients:** update location client to axios 0.23.0 ([92b8b76](https://github.com/Gabb-c/pokenode-ts/commit/92b8b764dac61267414f7157a14fe884d4e13df7))
10
- * **clients:** update move and machine client to axios 0.23.0 ([ea3d1f7](https://github.com/Gabb-c/pokenode-ts/commit/ea3d1f772b08b8f3e8bb5fcf82a03c0247993e89))
11
- * **clients:** update pokemon and utility client to axios 0.23.0 ([904de21](https://github.com/Gabb-c/pokenode-ts/commit/904de212b3ab8f97fdb0ef7addb6b9ac762dae95))
12
- * sync lockfile ([a63286a](https://github.com/Gabb-c/pokenode-ts/commit/a63286ae17d01cad95c34bd83f333a2853d1307c))
13
- * sync lockfile ([403f842](https://github.com/Gabb-c/pokenode-ts/commit/403f8429c63f202fef8d7966fccd9f4f18d49037))
14
- * update berry client to axios 0.23.0 ([11a37ac](https://github.com/Gabb-c/pokenode-ts/commit/11a37acee5799a1a8e8183b8b7d1b99b3c8ed854))
15
- * update contest client to axios 0.23.0 ([a70201f](https://github.com/Gabb-c/pokenode-ts/commit/a70201ffca80248cc321f181e6cf5164df785961))
16
- * update encounter client to axios 0.23.0 ([55fe15f](https://github.com/Gabb-c/pokenode-ts/commit/55fe15f4ec8c808717cae20bfaa287d5e1cd652b))
17
- * update evolution client to axios 0.23.0 ([b402c65](https://github.com/Gabb-c/pokenode-ts/commit/b402c6534bb1f5340f75c8ea5bccdae16ab4b567))
18
- * update game client to axios 0.23.0 ([583b110](https://github.com/Gabb-c/pokenode-ts/commit/583b11055a69c33daba926dde0f78b2b23419636))
6
+ * **logger:** update logger option type ([d51e521](https://github.com/Gabb-c/pokenode-ts/commit/d51e52177ace670d3a291bea72a8548ba9bff8ac))
7
+ * sync lockfile ([7ffae1d](https://github.com/Gabb-c/pokenode-ts/commit/7ffae1d77106969f2340c9c50488baa442795502))
8
+ * **typing:** changed envolves to evolves to match api ([f423a42](https://github.com/Gabb-c/pokenode-ts/commit/f423a4281414d3581ecfc25253ebe1ba7f104332))
package/README.md CHANGED
@@ -84,9 +84,9 @@ Open Pokenode-ts in your Code, either using the [Remote Repositories extension](
84
84
 
85
85
  ## Leave your feedback
86
86
 
87
- - Did you like pokenode-ts? Give us a star ⭐
88
- - Found a problem? Let us know by [creating an issue 🔎📑](https://github.com/Gabb-c/pokenode-ts/issues)
89
- - Want to contribute? [Submit a PR](https://github.com/Gabb-c/pokenode-ts/pulls)
87
+ - Did you like pokenode-ts? [Give us a star ⭐](https://github.com/Gabb-c/pokenode-ts)
88
+ - Found a problem? Let us know by [creating an issue 🔎](https://github.com/Gabb-c/pokenode-ts/issues)
89
+ - Want to contribute? [Submit a PR 📑](https://github.com/Gabb-c/pokenode-ts/pulls)
90
90
 
91
91
  ## Donate
92
92
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v5.9.0
1
+ // Generated by dts-bundle-generator v6.1.0
2
2
 
3
3
  import { AxiosInstance } from 'axios';
4
4
  import { IAxiosCacheAdapterOptions } from 'axios-cache-adapter';
@@ -412,7 +412,7 @@ export interface ChainLink {
412
412
  /** All details regarding the specific details of the referenced Pokémon species evolution */
413
413
  evolution_detail: EvolutionDetail[];
414
414
  /** A List of chain objects */
415
- envolves_to: ChainLink[];
415
+ evolves_to: ChainLink[];
416
416
  }
417
417
  /**
418
418
  * ## Evolution Chain
@@ -1352,7 +1352,7 @@ export interface OtherPokemonSprites {
1352
1352
  /** Dream World Sprites of this Pokémon */
1353
1353
  dream_world: PokemonVersionSprites;
1354
1354
  /** Official Artwork Sprites of this Pokémon */
1355
- official_artwork: PokemonVersionSprites;
1355
+ "official-artwork": PokemonVersionSprites;
1356
1356
  }
1357
1357
  /** Generation-I Srites */
1358
1358
  export interface GenerationISprites {
@@ -1579,7 +1579,7 @@ export interface PokemonSpecies {
1579
1579
  /** The shape of this Pokémon for Pokédex search */
1580
1580
  shape: NamedAPIResource;
1581
1581
  /** The Pokémon species that evolves into this Pokemon_species */
1582
- envolves_from_species: NamedAPIResource;
1582
+ evolves_from_species: NamedAPIResource;
1583
1583
  /** The evolution chain this Pokémon species is a member of */
1584
1584
  evolution_chain: APIResource;
1585
1585
  /** The habitat this Pokémon species can be encountered in */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokenode-ts",
3
- "version": "1.8.1",
3
+ "version": "1.9.2",
4
4
  "private": false,
5
5
  "description": "A lightweight Node.js wrapper for the PokéAPI with built-in types.",
6
6
  "keywords": [
@@ -51,59 +51,60 @@
51
51
  }
52
52
  },
53
53
  "dependencies": {
54
- "axios": "^0.23.0",
54
+ "axios": "^0.24.0",
55
55
  "axios-cache-adapter": "^2.7.3",
56
- "pino": "^7.0.1",
57
- "pino-pretty": "^7.1.0",
56
+ "pino": "^7.4.1",
57
+ "pino-pretty": "^7.2.0",
58
58
  "tslib": "^2.3.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@babel/cli": "^7.15.7",
62
- "@babel/core": "^7.15.8",
63
- "@babel/node": "^7.15.8",
64
- "@babel/preset-env": "^7.15.8",
65
- "@babel/preset-typescript": "^7.15.0",
66
- "@commitlint/cli": "^13.2.1",
67
- "@commitlint/config-conventional": "^13.2.0",
68
- "@commitlint/cz-commitlint": "^13.2.1",
69
- "@semantic-release/changelog": "^6.0.0",
70
- "@semantic-release/commit-analyzer": "^9.0.1",
71
- "@semantic-release/git": "^10.0.0",
72
- "@semantic-release/github": "^8.0.1",
73
- "@semantic-release/npm": "^8.0.0",
74
- "@semantic-release/release-notes-generator": "^10.0.2",
75
- "@types/jest": "^27.0.2",
76
- "@types/node": "^16.10.9",
77
- "@typescript-eslint/eslint-plugin": "^5.0.0",
78
- "@typescript-eslint/parser": "^5.0.0",
61
+ "@babel/cli": "^7.16.0",
62
+ "@babel/core": "^7.16.0",
63
+ "@babel/node": "^7.16.0",
64
+ "@babel/preset-env": "^7.16.4",
65
+ "@babel/preset-typescript": "^7.16.0",
66
+ "@commitlint/cli": "^15.0.0",
67
+ "@commitlint/config-conventional": "^15.0.0",
68
+ "@commitlint/cz-commitlint": "^15.0.0",
69
+ "@semantic-release/changelog": "^6.0.1",
70
+ "@semantic-release/commit-analyzer": "^9.0.2",
71
+ "@semantic-release/git": "^10.0.1",
72
+ "@semantic-release/github": "^8.0.2",
73
+ "@semantic-release/npm": "^8.0.3",
74
+ "@semantic-release/release-notes-generator": "^10.0.3",
75
+ "@types/jest": "^27.0.3",
76
+ "@types/node": "^16.11.10",
77
+ "@typescript-eslint/eslint-plugin": "^5.4.0",
78
+ "@typescript-eslint/parser": "^5.4.0",
79
79
  "babel-plugin-module-resolver": "^4.1.0",
80
80
  "commitizen": "^4.2.4",
81
81
  "conventional-changelog-conventionalcommits": "^4.6.1",
82
82
  "cz-conventional-changelog": "3.3.0",
83
- "dts-bundle-generator": "^5.9.0",
84
- "eslint": "^8.0.1",
85
- "eslint-config-airbnb-base": "^14.2.1",
86
- "eslint-config-airbnb-typescript": "^14.0.1",
83
+ "dts-bundle-generator": "^6.1.0",
84
+ "eslint": "^8.3.0",
85
+ "eslint-config-airbnb-base": "^15.0.0",
86
+ "eslint-config-airbnb-typescript": "^16.0.0",
87
87
  "eslint-config-node": "^4.1.0",
88
88
  "eslint-config-prettier": "^8.3.0",
89
89
  "eslint-plugin-eslint-comments": "^3.2.0",
90
- "eslint-plugin-import": "^2.25.2",
91
- "eslint-plugin-jest": "^25.0.6",
90
+ "eslint-plugin-import": "^2.25.3",
91
+ "eslint-plugin-jest": "^25.3.0",
92
92
  "eslint-plugin-node": "^11.1.0",
93
93
  "eslint-plugin-prettier": "^4.0.0",
94
- "eslint-plugin-promise": "^5.1.0",
95
- "eslint-plugin-unicorn": "^37.0.1",
94
+ "eslint-plugin-promise": "^5.1.1",
95
+ "eslint-plugin-unicorn": "^39.0.0",
96
96
  "http-status-codes": "^2.1.4",
97
- "husky": "^7.0.2",
98
- "jest": "^27.2.5",
99
- "lint-staged": "^11.2.3",
97
+ "husky": "^7.0.4",
98
+ "is-ci": "^3.0.1",
99
+ "jest": "^27.3.1",
100
+ "lint-staged": "^12.1.2",
100
101
  "lockfile-lint": "^4.6.2",
101
- "prettier": "^2.4.1",
102
- "semantic-release": "^18.0.0",
103
- "sort-package-json": "^1.52.0",
104
- "ts-jest": "^27.0.5",
102
+ "prettier": "^2.5.0",
103
+ "semantic-release": "^18.0.1",
104
+ "sort-package-json": "^1.53.1",
105
+ "ts-jest": "^27.0.7",
105
106
  "ts-node-dev": "^1.1.8",
106
- "typescript": "^4.4.4"
107
+ "typescript": "^4.5.2"
107
108
  },
108
109
  "engines": {
109
110
  "node": ">=14"