Skip to content

Commit

Permalink
Merge pull request #388 from EasyPost/v6.6.0
Browse files Browse the repository at this point in the history
chore: prepare v6.6.0 for release
  • Loading branch information
Justintime50 authored Jun 6, 2023
2 parents 3add62d + b74638a commit 929ba10
Show file tree
Hide file tree
Showing 7 changed files with 625 additions and 514 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
dist
examples
node_modules
types/demo
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CHANGELOG

## Next Release
## v6.6.0 (2023-06-06)

- Retrieving carrier metadata is now generally available via `client.carrierMetadata.retrieve`
- Bumps and modernizes all dependencies which no longer requires a force install/update
- Adds support for Typescript 5
- Retrieving carrier metadata is now generally available via `client.carrierMetadata.retrieve`
- Typescript definitions graduated from beta to GA

## v6.5.0 (2023-05-09)
Expand Down
1,114 changes: 615 additions & 499 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@easypost/api",
"description": "EasyPost Node Client Library",
"version": "6.5.0",
"version": "6.6.0",
"author": "Easypost Engineering <[email protected]>",
"homepage": "https://easypost.com",
"bin": {
Expand All @@ -23,10 +23,10 @@
"clean": "rm -rf ./dist ./nyc_output ./node_modules/.cache ./coverage",
"coverage": "cross-env NODE_ENV=test nyc npm run test",
"docs": "./node_modules/.bin/jsdoc src/models src/services src/errors src/utils -d docs",
"fix": "eslint src types test --ext .js,.ts --fix",
"fix": "eslint . --ext .js,.ts --fix",
"format": "prettier --write .",
"formatCheck": "prettier --check .",
"lint": "eslint src types test --ext .js,.ts",
"lint": "eslint . --ext .js,.ts",
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint && npm run check",
"repl": "./repl.js --local easypost.js",
"scan": "npx audit-ci -m",
Expand Down Expand Up @@ -77,7 +77,7 @@
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"typescript": "^4.9.5 || ^5.0.0",
"typescript": "^4.9.5 || ~5.0.0",
"vows": "^0.8.3",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1",
Expand Down
4 changes: 0 additions & 4 deletions repl.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#!/usr/bin/env node
/* eslint-disable import/no-dynamic-require */

/* eslint import/no-extraneous-dependencies: 0, global-require: 0, import/no-unresolved: 0, no-console: 0, max-len: 0 */

require('source-map-support').install();
require('core-js/stable');

Expand Down
5 changes: 1 addition & 4 deletions types/Carrier/CarrierMetadata/CarrierMetadata.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,5 @@ export declare class CarrierMetadata implements ICarrierMetadata {
*
* @returns {Promise<CarrierMetadata[]>} The {@link CarrierMetadata} object.
*/
static retrieveCarrierMetadata(
carriers: Array<string>,
types: Array<string>,
): Promise<CarrierMetadata>;
static retrieve(carriers: Array<string>, types: Array<string>): Promise<CarrierMetadata>;
}
1 change: 0 additions & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint import/no-extraneous-dependencies: 0 */
const path = require('path');
const nodeExternals = require('webpack-node-externals');

Expand Down

0 comments on commit 929ba10

Please sign in to comment.