Skip to content

Commit c042dae

Browse files
author
Shawn Zhu
committed
fix: supports node v14
1 parent 20c701b commit c042dae

File tree

4 files changed

+119
-167
lines changed

4 files changed

+119
-167
lines changed

.github/workflows/pr-branch-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Node.JS ${{ matrix.node-version }} Axios ${{ matrix.axios-version }}
1010
strategy:
1111
matrix:
12-
node-version: [16.x, 18.x]
12+
node-version: [14.x, 16.x, 18.x]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v3

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "LifeOmic <[email protected]>",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=16"
10+
"node": ">=14"
1111
},
1212
"files": [
1313
"src/**/*.d.ts",
@@ -29,15 +29,14 @@
2929
"clean": "yarn tsc --build --clean"
3030
},
3131
"devDependencies": {
32-
"@lifeomic/eslint-config-standards": "^3.2.3",
33-
"@lifeomic/jest-config": "^1.1.2",
32+
"@lifeomic/eslint-config-standards": "3.0.0",
3433
"@lifeomic/typescript-config": "^3.1.0",
3534
"@swc/core": "^1.2.207",
3635
"@swc/jest": "^0.2.21",
3736
"@types/jest": "^28.1.3",
3837
"@types/lodash": "^4.14.181",
3938
"@types/nearley": "^2.11.2",
40-
"@types/node": "^16.11.7",
39+
"@types/node": "^14.14.25",
4140
"@types/url-parse": "^1.4.8",
4241
"@types/uuid": "^8.3.4",
4342
"aws-sdk-client-mock": "^1.0.0",

test/retry.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Alpha } from '../src';
22
import nock from 'nock';
3-
import { AxiosError, AxiosHeaders } from 'axios';
3+
import { AxiosError } from 'axios';
44

55
beforeAll(() => {
66
nock.disableNetConnect();

0 commit comments

Comments
 (0)