Giter VIP home page Giter VIP logo

https-proxy-cli's Issues

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of standard is breaking the build 🚨

The devDependency standard was updated from 14.0.2 to 14.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

standard is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 8 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Support standard X-Forwarded-Proto, X-Forwarded-For Headers, X-Forwarded-Host headers

While developing and testing https it can be useful to be able to simulate a proxy server that sets those headers. In particular, the X-Forwarded-Proto would be helpful to debug/work with secure cookies in nodejs as a target.

https://www.npmjs.com/package/http-proxy#setup-a-stand-alone-proxy-server-with-proxy-request-header-re-writing

Would it make sense to have a flag to enable injecting of these headers?

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto

Allow insecure incoming connections

When using the https-proxy the server shuts down with something like this:

Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1042:34)
at TLSSocket.emit (events.js:159:13)
at TLSSocket._finishInit (_tls_wrap.js:639:8)

For development reasons this feature would be useful.

Solution

httpProxy.createServer({
  target: argv.target,
  ssl: {
    key: keys.serviceKey,
    cert: keys.certificate
  },
  secure: !argv.insecure
})

An in-range update of http-proxy is breaking the build 🚨

The dependency http-proxy was updated from 1.17.0 to 1.18.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

http-proxy is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 30 commits.

  • 9bbe486 [dist] Version bump. 1.18.0
  • 6e4bef4 Added in auto-changelog module set to keepachangelog format (#1373)
  • d056241 fix 'Modify Response' readme section to avoid unnecessary array copying (#1300)
  • 244303b Fix incorrect target name for reverse proxy example (#1135)
  • b4028ba Fix modify response middleware example (#1139)
  • 77a9815 [dist] Update dependency async to v3 (#1359)
  • c662f9e Fix path to local http-proxy in examples. (#1072)
  • 806e492 fix reverse-proxy example require path (#1067)
  • c8fa599 Update README.md (#970)
  • 0d9ed36 [dist] Update dependency request to ~2.88.0 [SECURITY] (#1357)
  • 9d75b98 [dist] Update dependency eventemitter3 to v4 (#1365)
  • 192b2b9 [dist] Update dependency colors to v1 (#1360)
  • 4a657a7 [dist] Update all non-major dependencies (#1356)
  • 7a154f8 [dist] Update dependency agentkeepalive to v4 (#1358)
  • 749eec6 [dist] Update dependency nyc to v14 (#1367)

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of pem is breaking the build 🚨

The dependency pem was updated from 1.14.2 to 1.14.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

pem is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v1.14.3

1.14.3 (2019-09-17)

Bug Fixes

  • package: fix #264 & remove package-lock.josn (53f1356)
Commits

The new version differs by 25 commits.

  • 97643fa chore(release): 1.14.3 [skip ci]
  • 7b99a62 Create FUNDING.yml
  • 53f1356 fix(package): fix #264 & remove package-lock.josn
  • 5cf40a8 disable cache for npm
  • 7014b81 chore(package): update lockfile package-lock.json
  • de0f354 chore(package): update eslint-plugin-import to version 2.18.1
  • ac71be2 Chore(deps): Bump eslint-utils from 1.3.1 to 1.4.2
  • c4e8f62 Chore(deps): Bump mixin-deep from 1.3.1 to 1.3.2
  • 6dd09b0 fix readCertificateInfo for the case when cert subject is empty (#264)
  • 179d2cc Greenkeeper/mocha 6.1.4 (#252)
  • bfa7926 Merge pull request #253 from Dexus/dependabot/npm_and_yarn/lodash-4.17.14
  • 093cc99 Chore(deps): Bump lodash from 4.17.11 to 4.17.14
  • 8d01cf0 Merge pull request #249 from Dexus/greenkeeper/marked-0.7.0
  • a19f23c Merge pull request #250 from Dexus/greenkeeper/eslint-plugin-import-2.18.0
  • 3453e5f chore(package): update lockfile package-lock.json

There are 25 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.