Skip to content

Commit 6429b64

Browse files
authored
chore(package): drop node 10 [BREAKING CHANGE] (chimurai#577)
1 parent ab944a8 commit 6429b64

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [v2.0.0](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.0)
4+
5+
- chore(package): drop node 10 [BREAKING CHANGE] ([#577](https://github.com/chimurai/http-proxy-middleware/pull/577))
6+
37
## [v1.3.1](https://github.com/chimurai/http-proxy-middleware/releases/tag/v1.3.1)
48

59
- fix(fix-request-body): make sure the content-type exists ([#578](https://github.com/chimurai/http-proxy-middleware/pull/578)) ([oufeng](https://github.com/oufeng))

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-proxy-middleware",
3-
"version": "1.3.1",
3+
"version": "2.0.0",
44
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -88,7 +88,7 @@
8888
"micromatch": "^4.0.2"
8989
},
9090
"engines": {
91-
"node": ">=8.0.0"
91+
"node": ">=12.0.0"
9292
},
9393
"husky": {
9494
"hooks": {

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"compilerOptions": {
33
"outDir": "./dist",
4-
"lib": ["es2015"],
4+
"lib": ["es2019", "es2020.bigint", "es2020.string", "es2020.symbol.wellknown"],
55
"module": "commonjs",
66
"moduleResolution": "node",
7-
"target": "es2015",
7+
"target": "es2019",
88
"incremental": true,
99
"declaration": true
1010
},

0 commit comments

Comments
 (0)