Skip to content

Commit

Permalink
chore!: drop Node.js 14 support, require Node.js 16, bump got to 13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gomah committed May 31, 2023
1 parent b1a920a commit 540335c
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 308 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ In order to use this library, you need to have an account on <https://www.sendle

## Supported platforms

This SDK supports **Node.js** version 14+.
This SDK supports **Node.js** version 16+.

We test the library against a selection of Node.js versions which we update over time. Please refer to [main.yml](https://github.com/gomah/sendle-node/blob/main/.github/main.yml) for the set of versions that are currently tested with CI.

If you find any compatibility issues, please [raise an issue](https://github.com/gomah/sendle-node/issues/new) in the repository.

## Installation

You need to be running at least Node.js 14 to use this library.
You need to be running at least Node.js 16 to use this library.

```bash
$ yarn add sendle-node
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/content/en/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ In order to use this library, you need to have an account on <https://www.sendle

## Supported platforms

This SDK supports **Node.js** version 14+.
This SDK supports **Node.js** version 16+.

We test the library against a selection of Node.js versions which we update over time. Please refer to [main.yml](https://github.com/gomah/sendle-node/blob/main/.github/main.yml) for the set of versions that are currently tested with CI.

If you find any compatibility issues, please [raise an issue](https://github.com/gomah/sendle-node/issues/new) in the repository.

## Installation

You need to be running at least Node.js 14 to use this library.
You need to be running at least Node.js 16 to use this library.

<code-group>
<code-block label="Yarn" active>
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dist"
],
"engines": {
"node": ">=14.16"
"node": ">=16"
},
"prettier": {
"printWidth": 100,
Expand All @@ -46,30 +46,30 @@
},
"author": "Gomah",
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@swc/core": "1.3.51",
"@commitlint/cli": "17.6.5",
"@commitlint/config-conventional": "17.6.5",
"@swc/core": "1.3.61",
"@tsconfig/recommended": "1.0.2",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"@vitest/coverage-c8": "0.30.1",
"@vitest/ui": "0.30.1",
"c8": "7.13.0",
"dotenv": "16.0.3",
"eslint": "8.38.0",
"@types/node": "18.16.16",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"@vitest/coverage-c8": "0.31.2",
"@vitest/ui": "0.31.2",
"c8": "7.14.0",
"dotenv": "16.1.1",
"eslint": "8.41.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"prettier": "2.8.7",
"prettier": "2.8.8",
"standard-version": "9.5.0",
"tslib": "2.5.0",
"tslib": "2.5.2",
"tsup": "6.7.0",
"typescript": "5.0.4",
"vitest": "0.30.1"
"vitest": "0.31.2"
},
"dependencies": {
"got": "12.6.0",
"got": "13.0.0",
"hasha": "5.2.2",
"hyperid": "3.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/orders.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ exports[`Orders > should create a domestic order 1`] = `
},
"route": {
"description": "Sydney, Australia to Remote WA and NT, Australia",
"type": "national",
"type": "remote",
},
"scheduling": {
"delivered_on": null,
Expand Down
Loading

0 comments on commit 540335c

Please sign in to comment.