Skip to content

Commit

Permalink
chore(package): v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Jan 23, 2022
1 parent 7cfb81e commit d762398
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [v2.0.2](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.2)

- chore(deps): update @types/http-proxy to 1.17.8 ([#701](https://github.com/chimurai/http-proxy-middleware/pull/701))
- fix(fixRequestBody): fix request body for empty JSON object requests ([#640](https://github.com/chimurai/http-proxy-middleware/pull/640)) ([mhassan1](https://github.com/mhassan1))
- fix(types): fix type regression ([#700](https://github.com/chimurai/http-proxy-middleware/pull/700))

## [v2.0.1](https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.1)

- fix(fixRequestBody): fix type error ([#615](https://github.com/chimurai/http-proxy-middleware/pull/615))
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ graingert
julbra
leonardobazico
Liran
mhassan1
midgleyc
mpth
oshri
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const express = require('express');
const { createProxyMiddleware } = require('http-proxy-middleware');

// proxy middleware options
/** @type {import('http-proxy-middleware/dist/types').Options} */
const options = {
target: 'http://www.example.org', // target host
changeOrigin: true, // needed for virtual hosted sites
Expand Down Expand Up @@ -598,4 +599,4 @@ $ yarn spellcheck
The MIT License (MIT)
Copyright (c) 2015-2021 Steven Chim
Copyright (c) 2015-2022 Steven Chim
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "http-proxy-middleware",
"version": "2.0.1",
"version": "2.0.2",
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d762398

Please sign in to comment.