Files
cypress/packages/https-proxy/package.json
Zach Bloomquist 7b85344b84 Fix proxying HTTPS requests to IP addresses (#4947)
* use own server-destroy implementation that supports secureConnect events

* stand up HTTPS server for requests over ssl to IPs

* don't need to resolve with

* fix tests

* stand up a server on 127.0.0.1 for test

* tighten up / cleanup code, consolidate + refactor

- lazily fs.outputfile’s
- move sslIpServers to be global
- add remove all CA utility

* Improve proxy_spec test

* Don't crash on server error events

* feedback

* derp


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-09-12 15:30:10 -04:00

45 lines
1.4 KiB
JSON

{
"name": "@packages/https-proxy",
"version": "0.0.0",
"private": true,
"main": "index.js",
"scripts": {
"check-deps": "node ../../scripts/check-deps.js --verbose",
"check-deps-pre": "npm run check-deps -- --prescript",
"clean-deps": "rm -rf node_modules",
"https": "node https.js",
"prestart": "npm run check-deps-pre",
"start": "node index.js",
"pretest": "npm run check-deps-pre",
"test": "cross-env NODE_ENV=test bin-up mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
"test-debug": "cross-env NODE_ENV=test bin-up mocha --inspect-brk --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
"pretest-watch": "npm run check-deps-pre",
"test-watch": "cross-env NODE_ENV=test bin-up mocha --watch"
},
"dependencies": {
"bluebird": "3.5.3",
"debug": "4.1.1",
"fs-extra": "8.1.0",
"lodash": "4.17.15",
"node-forge": "0.9.0",
"proxy-from-env": "1.0.0",
"semaphore": "1.1.0"
},
"devDependencies": {
"@cypress/debugging-proxy": "2.0.1",
"bin-up": "1.2.0",
"chai": "3.5.0",
"cross-env": "5.2.0",
"request": "2.88.0",
"request-promise": "4.2.4",
"sinon": "1.17.7",
"sinon-as-promised": "4.0.3",
"sinon-chai": "3.3.0",
"ssl-root-cas": "1.3.1",
"supertest": "4.0.2"
},
"files": [
"lib"
]
}