Skip to content

Tags: akashefrath/corshe

Tags

0.4.3

Toggle 0.4.3's commit message
Version 0.4.3

- Reject invalid URLs in redirects (fixes regression from 0.4.2) (#234)
- Update memory tests for recent Node versions.

0.4.2

Toggle 0.4.2's commit message
Version 0.4.2

- Reject invalid URLs earlier instead of trying to continue with the
  request (and failing anyway).
- Explicitly close the response when an error occurs for Node 13+.
- Update tests to cover up to Node 14 (was up to 9).

0.4.1

Toggle 0.4.1's commit message
Version 0.4.1

- Add ability to rate-limit/block requests by origin (#45).
- Avoid crashing on invalid HTTP status codes (#95).
- Support and test coverage for latest Node.js versions (up to 9).
- Support `Access-Control-Max-Age` via `corsMaxAge` option.
- Listen on `0.0.0.0:8080` by default instead of `127.0.0.1:8080`.
  (use `HOST` and `PORT` environment variables to override this).
- Update gTLD list.

0.4.0

Toggle 0.4.0's commit message
Version 0.4.0

- CI & 100% test coverage
- Do not crash when a malformed HTTP response is received.
- Remove getHandler (its documented form was broken anyway).
- Allow custom help file to be set.
- Add option to redirect same-origin requests instead of proxying them.

0.3.0

Toggle 0.3.0's commit message
Version 0.3.0

- Support proxying through proxy (`getProxyForUrl` option, defaulting to
  proxy configuration from the environment variables, see
  https://github.com/Rob--W/proxy-from-env) (#37).
- Update gTLD list.

0.2.5

Toggle 0.2.5's commit message
Version 0.2.5

- Add setHeaders to replace request headers with a fixed value (#33).

0.2.4

Toggle 0.2.4's commit message
Version 0.2.4

- Add originBlacklist (#32) and originWhitelist (#24) options.
- Update gTLD list.

0.2.3

Toggle 0.2.3's commit message
Version 0.2.3

Changes:
- Updated to node-http-proxy 1.11.1 from 1.3.0
- Add httpsOptions configuration to listen as a https server.
- Update gTLD list, and allow requests to unlisted TLDs if the
  scheme is explicitly set (#14).
- Added loads of unit tests and automatic memory leak tests.

0.2.2

Toggle 0.2.2's commit message
0.2.2 - Expose every response header #12

0.2.1

Toggle 0.2.1's commit message
Fix regression: Enable CORS request to https