Skip to content

Commit

Permalink
upgrade http-proxy-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Jul 24, 2024
1 parent 05c5718 commit 4411faf
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
node-version: [12, 14, 16, 18, 20, 22]

steps:
Expand All @@ -26,4 +26,4 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
run: npm test
- run: npm test
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { EventEmitter } from 'events'
import util from './lib/util.js'
import url from 'url'
import _ from 'koa-route'
import HttpsProxyAgent from 'https-proxy-agent'
import HttpProxyAgent from 'http-proxy-agent'
import { HttpsProxyAgent } from 'https-proxy-agent'
import { HttpProxyAgent } from 'http-proxy-agent'
import http from 'http'
import https from 'https'

Expand Down
46 changes: 18 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
},
"dependencies": {
"array-back": "^6.2.2",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.5",
"koa-route": "^3.2.0",
"path-to-regexp": "^6.2.0"
},
Expand Down

0 comments on commit 4411faf

Please sign in to comment.