Skip to content

Commit

Permalink
chore: bump deps and add support for Typescript 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed May 10, 2023
1 parent 0a946e6 commit 927fcf4
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 50 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## Next Release

- Bumps and modernizes all dependencies which no longer requires a force install/update
- Adds support for Typescript 5
- Typescript definitions graduated from beta to GA

## v6.5.0 (2023-05-09)

- Adds missing typescript definitions for `Utility` class
Expand Down
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,22 +219,16 @@ git submodule init
git submodule update --remote
```

### Typescript Definitions (Beta)
### Typescript Definitions

Starting with v5.3.0, this project has bundled Typescript definitions included. These definitions are in their infancy and are **not yet recommended for production applications**. We welcome the community's help in maintaining these definitions and contributing improvements as we add missing types or make small corrections.
Starting with `v5.3.0`, this project has Typescript definitions included.

#### Typescript Exclusions

- We do not provide a DefinitelyTyped version of these definitions at this time
- Predefined packages (due to maintenance cost)
- Carrier service levels (due to maintenance cost)
- Carrier list (due to maintenance cost)

#### Typescript TODOs

- Nullability for every field may need additional work
- Error codes may not be comprehensive
- Add missing definitions
- Predefined packages (see [Carrier Metadata](https://www.easypost.com/docs/api#carrier-metadata) in our docs for more details)
- Carrier service levels (see [Carrier Metadata](https://www.easypost.com/docs/api#carrier-metadata) in our docs for more details)
- Carrier list (see [Carrier Types](https://www.easypost.com/docs/api#carrier-types) in our docs for more details)

### Testing

Expand Down
58 changes: 26 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
"watch": "webpack --config webpack.config.babel.js --watch"
},
"dependencies": {
"core-js": "~3.27.2",
"core-js": "~3.30.2",
"nodent-runtime": "~3.2.1",
"proptypes": "~1.1.0",
"regenerator-runtime": "~0.13.11",
"source-map-support": "~0.5.21",
"superagent": "~8.0.8",
"yargs": "~17.6.2",
"superagent": "~8.0.9",
"yargs": "~17.7.2",
"yargs-parser": "~21.1.1"
},
"devDependencies": {
Expand Down Expand Up @@ -74,11 +73,11 @@
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.1",
"jsdoc": "^4.0.0",
"jsdoc": "^4.0.2",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.3",
"typescript": "4.9.4",
"prettier": "^2.8.8",
"typescript": "^4.9.5 || ^5.0.0",
"vows": "^0.8.3",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1",
Expand Down

0 comments on commit 927fcf4

Please sign in to comment.