Skip to content

Commit

Permalink
feat(engine): exporting ES2019
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Requires NodeJS 12
  • Loading branch information
grantila committed May 15, 2021
1 parent 41c3706 commit 1e03178
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
node-version:
- 10.x
- 12.x
- 13.x
- 14.x
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
node-version:
- 10.x
- 12.x
- 13.x
- 14.x
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
- run: npm i
- run: npm run build
- run: npm run test --coverage
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Since 2.0.0, `fetch-h2` requires Node.js 10.4.

Since 2.4.0, `fetch-h2` has full TLS SAN (Subject Alternative Name) support.

Since 3.0.0, `fetch-h2` requires Node.js 12.


# API

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"types": "./dist/index.d.ts",
"directories": {},
"engines": {
"node": ">=10.4"
"node": ">=12"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"declaration": true,
"lib": [ "es2015", "es2017" ],
"lib": [ "ES2019" ],
"outDir": "dist",
"sourceMap": true,
"module": "CommonJS",
"target": "es2018",
"target": "ES2019",
"noUnusedParameters": true,
"noUnusedLocals": true,
"strict": true
Expand Down

0 comments on commit 1e03178

Please sign in to comment.