diff --git a/.changeset/seven-horses-buy.md b/.changeset/seven-horses-buy.md deleted file mode 100644 index 0ce0641c..00000000 --- a/.changeset/seven-horses-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-base": patch ---- - -Allow for never relying on stack trace diff --git a/.changeset/shiny-badgers-obey.md b/.changeset/shiny-badgers-obey.md deleted file mode 100644 index f3604fef..00000000 --- a/.changeset/shiny-badgers-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"proxy": patch ---- - -Ensure that `socket.remoteAddress` is a string diff --git a/.changeset/tidy-jobs-refuse.md b/.changeset/tidy-jobs-refuse.md deleted file mode 100644 index b64ef874..00000000 --- a/.changeset/tidy-jobs-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'https-proxy-agent': minor ---- - -"headers" option can now be a function diff --git a/.changeset/unlucky-cows-listen.md b/.changeset/unlucky-cows-listen.md deleted file mode 100644 index bcaa546d..00000000 --- a/.changeset/unlucky-cows-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'http-proxy-agent': minor ---- - -Added "headers" option diff --git a/packages/agent-base/CHANGELOG.md b/packages/agent-base/CHANGELOG.md index 4b727e40..e8a95a3e 100644 --- a/packages/agent-base/CHANGELOG.md +++ b/packages/agent-base/CHANGELOG.md @@ -1,5 +1,11 @@ # agent-base +## 7.0.2 + +### Patch Changes + +- 66b4c63: Allow for never relying on stack trace + ## 7.0.1 ### Patch Changes diff --git a/packages/agent-base/package.json b/packages/agent-base/package.json index 60c31734..68f0594a 100644 --- a/packages/agent-base/package.json +++ b/packages/agent-base/package.json @@ -1,6 +1,6 @@ { "name": "agent-base", - "version": "7.0.1", + "version": "7.0.2", "description": "Turn a function into an `http.Agent` instance", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/http-proxy-agent/CHANGELOG.md b/packages/http-proxy-agent/CHANGELOG.md index 4f7518a6..cd415800 100644 --- a/packages/http-proxy-agent/CHANGELOG.md +++ b/packages/http-proxy-agent/CHANGELOG.md @@ -1,5 +1,16 @@ # http-proxy-agent +## 6.1.0 + +### Minor Changes + +- 1069932: Added "headers" option + +### Patch Changes + +- Updated dependencies [66b4c63] + - agent-base@7.0.2 + ## 6.0.1 ### Patch Changes @@ -20,11 +31,11 @@ In version 5.x, the `HttpProxyAgent` constructor took a single argument of either (A) a `string`, or (B) an object matching the output of the [deprecated `url.parse()` method](https://nodejs.org/docs/latest-v14.x/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost) _and_ various extra options. - + Now the constructor takes two _separate_ arguments: -* Argument 1: Either (A) a `string`, or (B) a [WHATWG `URL` object](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api) -* Argument 2 (optional): An object with standard [`http.Agent`](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api), +- Argument 1: Either (A) a `string`, or (B) a [WHATWG `URL` object](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api) +- Argument 2 (optional): An object with standard [`http.Agent`](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api), `net.TcpNetConnectOpts`, and `tls.ConnectionOptions` properties. If you were using an object argument in 5.x, you'll need to change the first argument to match the structure of the `URL` class, and move diff --git a/packages/http-proxy-agent/package.json b/packages/http-proxy-agent/package.json index 62ea724b..c76784c7 100644 --- a/packages/http-proxy-agent/package.json +++ b/packages/http-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "http-proxy-agent", - "version": "6.0.1", + "version": "6.1.0", "description": "An HTTP(s) proxy `http.Agent` implementation for HTTP", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -27,7 +27,7 @@ "author": "Nathan Rajlich (http://n8.io/)", "license": "MIT", "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4" }, "devDependencies": { diff --git a/packages/https-proxy-agent/CHANGELOG.md b/packages/https-proxy-agent/CHANGELOG.md index 81f6827a..8dffeb09 100644 --- a/packages/https-proxy-agent/CHANGELOG.md +++ b/packages/https-proxy-agent/CHANGELOG.md @@ -1,5 +1,16 @@ # https-proxy-agent +## 6.2.0 + +### Minor Changes + +- 8ff9faa: "headers" option can now be a function + +### Patch Changes + +- Updated dependencies [66b4c63] + - agent-base@7.0.2 + ## 6.1.0 ### Minor Changes @@ -25,11 +36,11 @@ In version 5.x, the `HttpsProxyAgent` constructor took a single argument of either (A) a `string`, or (B) an object matching the output of the [deprecated `url.parse()` method](https://nodejs.org/docs/latest-v14.x/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost) _and_ various extra options. - + Now the constructor takes two _separate_ arguments: -* Argument 1: Either (A) a `string`, or (B) a [WHATWG `URL` object](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api) -* Argument 2 (optional): An object with standard [`http.Agent`](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api), +- Argument 1: Either (A) a `string`, or (B) a [WHATWG `URL` object](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api) +- Argument 2 (optional): An object with standard [`http.Agent`](https://nodejs.org/docs/latest-v14.x/api/url.html#url_the_whatwg_url_api), `net.TcpNetConnectOpts`, and `tls.ConnectionOptions` properties and/or custom options supported by this package. If you were using an object argument in 5.x, you'll need to change the first argument to match the structure of the `URL` class, and move diff --git a/packages/https-proxy-agent/package.json b/packages/https-proxy-agent/package.json index 1ce9f03a..c724d5ef 100644 --- a/packages/https-proxy-agent/package.json +++ b/packages/https-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "https-proxy-agent", - "version": "6.1.0", + "version": "6.2.0", "description": "An HTTP(s) proxy `http.Agent` implementation for HTTPS", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -28,7 +28,7 @@ "author": "Nathan Rajlich (http://n8.io/)", "license": "MIT", "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "4" }, "devDependencies": { diff --git a/packages/pac-proxy-agent/package.json b/packages/pac-proxy-agent/package.json index 1c297723..b1cc7eb3 100644 --- a/packages/pac-proxy-agent/package.json +++ b/packages/pac-proxy-agent/package.json @@ -31,11 +31,11 @@ "author": "Nathan Rajlich (http://n8.io/)", "license": "MIT", "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4", "get-uri": "^6.0.1", - "http-proxy-agent": "^6.0.1", - "https-proxy-agent": "^6.1.0", + "http-proxy-agent": "^6.1.0", + "https-proxy-agent": "^6.2.0", "pac-resolver": "^6.0.1", "socks-proxy-agent": "^8.0.1" }, diff --git a/packages/proxy-agent/package.json b/packages/proxy-agent/package.json index 6c6096cc..c6567bdd 100644 --- a/packages/proxy-agent/package.json +++ b/packages/proxy-agent/package.json @@ -32,10 +32,10 @@ "author": "Nathan Rajlich (http://n8.io/)", "license": "MIT", "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4", - "http-proxy-agent": "^6.0.1", - "https-proxy-agent": "^6.1.0", + "http-proxy-agent": "^6.1.0", + "https-proxy-agent": "^6.2.0", "lru-cache": "^7.14.1", "pac-proxy-agent": "^6.0.2", "proxy-from-env": "^1.1.0", diff --git a/packages/proxy/CHANGELOG.md b/packages/proxy/CHANGELOG.md index 511c6ba5..b64e0fab 100644 --- a/packages/proxy/CHANGELOG.md +++ b/packages/proxy/CHANGELOG.md @@ -1,5 +1,11 @@ # proxy +## 2.1.1 + +### Patch Changes + +- 25e0c93: Ensure that `socket.remoteAddress` is a string + ## 2.1.0 ### Minor Changes diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 7d2f7478..aeebb287 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -1,6 +1,6 @@ { "name": "proxy", - "version": "2.1.0", + "version": "2.1.1", "description": "An HTTP proxy written with Node.js (think Squid)", "main": "./dist/proxy.js", "types": "./dist/proxy.d.ts", diff --git a/packages/socks-proxy-agent/package.json b/packages/socks-proxy-agent/package.json index 53e3581b..bf62c9b7 100644 --- a/packages/socks-proxy-agent/package.json +++ b/packages/socks-proxy-agent/package.json @@ -107,7 +107,7 @@ "socks5h" ], "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4", "socks": "^2.7.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a04384b..bbea783a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: version: 2.8.8 turbo: specifier: latest - version: 1.9.3 + version: 1.9.8 packages/agent-base: dependencies: @@ -185,7 +185,7 @@ importers: packages/http-proxy-agent: dependencies: agent-base: - specifier: ^7.0.1 + specifier: ^7.0.2 version: link:../agent-base debug: specifier: ^4.3.4 @@ -222,7 +222,7 @@ importers: packages/https-proxy-agent: dependencies: agent-base: - specifier: ^7.0.1 + specifier: ^7.0.2 version: link:../agent-base debug: specifier: '4' @@ -265,7 +265,7 @@ importers: packages/pac-proxy-agent: dependencies: agent-base: - specifier: ^7.0.1 + specifier: ^7.0.2 version: link:../agent-base debug: specifier: ^4.3.4 @@ -274,10 +274,10 @@ importers: specifier: ^6.0.1 version: link:../get-uri http-proxy-agent: - specifier: ^6.0.1 + specifier: ^6.1.0 version: link:../http-proxy-agent https-proxy-agent: - specifier: ^6.1.0 + specifier: ^6.2.0 version: link:../https-proxy-agent pac-resolver: specifier: ^6.0.1 @@ -397,16 +397,16 @@ importers: packages/proxy-agent: dependencies: agent-base: - specifier: ^7.0.1 + specifier: ^7.0.2 version: link:../agent-base debug: specifier: ^4.3.4 version: 4.3.4 http-proxy-agent: - specifier: ^6.0.1 + specifier: ^6.1.0 version: link:../http-proxy-agent https-proxy-agent: - specifier: ^6.1.0 + specifier: ^6.2.0 version: link:../https-proxy-agent lru-cache: specifier: ^7.14.1 @@ -461,7 +461,7 @@ importers: packages/socks-proxy-agent: dependencies: agent-base: - specifier: ^7.0.1 + specifier: ^7.0.2 version: link:../agent-base debug: specifier: ^4.3.4 @@ -4992,65 +4992,65 @@ packages: yargs: 17.7.1 dev: true - /turbo-darwin-64@1.9.3: - resolution: {integrity: sha512-0dFc2cWXl82kRE4Z+QqPHhbEFEpUZho1msHXHWbz5+PqLxn8FY0lEVOHkq5tgKNNEd5KnGyj33gC/bHhpZOk5g==} + /turbo-darwin-64@1.9.8: + resolution: {integrity: sha512-PkTdBjPfgpj/Dob/6SjkzP0BBP80/KmFjLEocXVEECCLJE6tHKbWLRdvc79B0N6SufdYdZ1uvvoU3KPtBokSPw==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.9.3: - resolution: {integrity: sha512-1cYbjqLBA2zYE1nbf/qVnEkrHa4PkJJbLo7hnuMuGM0bPzh4+AnTNe98gELhqI1mkTWBu/XAEeF5u6dgz0jLNA==} + /turbo-darwin-arm64@1.9.8: + resolution: {integrity: sha512-sLwqOx3XV57QCEoJM9GnDDnnqidG8wf29ytxssBaWHBdeJTjupyrmzTUrX+tyKo3Q+CjWvbPLyqVqxT4g5NuXQ==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.9.3: - resolution: {integrity: sha512-UuBPFefawEwpuxh5pM9Jqq3q4C8M0vYxVYlB3qea/nHQ80pxYq7ZcaLGEpb10SGnr3oMUUs1zZvkXWDNKCJb8Q==} + /turbo-linux-64@1.9.8: + resolution: {integrity: sha512-AMg6VT6sW7aOD1uOs5suxglXfTYz9T0uVyKGKokDweGOYTWmuTMGU5afUT1tYRUwQ+kVPJI+83Atl5Ob0oBsgw==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.9.3: - resolution: {integrity: sha512-vUrNGa3hyDtRh9W0MkO+l1dzP8Co2gKnOVmlJQW0hdpOlWlIh22nHNGGlICg+xFa2f9j4PbQlWTsc22c019s8Q==} + /turbo-linux-arm64@1.9.8: + resolution: {integrity: sha512-tLnxFv+OIklwTjiOZ8XMeEeRDAf150Ry4BCivNwgTVFAqQGEqkFP6KGBy56hb5RRF1frPQpoPGipJNVm7c8m1w==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.9.3: - resolution: {integrity: sha512-0BZ7YaHs6r+K4ksqWus1GKK3W45DuDqlmfjm/yuUbTEVc8szmMCs12vugU2Zi5GdrdJSYfoKfEJ/PeegSLIQGQ==} + /turbo-windows-64@1.9.8: + resolution: {integrity: sha512-r3pCjvXTMR7kq2E3iqwFlN1R7pFO/TOsuUjMhOSPP7HwuuUIinAckU4I9foM3q7ZCQd1XXScBUt3niDyHijAqQ==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.9.3: - resolution: {integrity: sha512-QJUYLSsxdXOsR1TquiOmLdAgtYcQ/RuSRpScGvnZb1hY0oLc7JWU0llkYB81wVtWs469y8H9O0cxbKwCZGR4RQ==} + /turbo-windows-arm64@1.9.8: + resolution: {integrity: sha512-CWzRbX2TM5IfHBC6uWM659qUOEDC4h0nn16ocG8yIq1IF3uZMzKRBHgGOT5m1BHom+R08V0NcjTmPRoqpiI0dg==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.9.3: - resolution: {integrity: sha512-ID7mxmaLUPKG/hVkp+h0VuucB1U99RPCJD9cEuSEOdIPoSIuomcIClEJtKamUsdPLhLCud+BvapBNnhgh58Nzw==} + /turbo@1.9.8: + resolution: {integrity: sha512-dTouGZBm4a2fE0OPafcTQERCp4i3ZOow0Pr0JlOyxKmzJy0JRwXypH013kbZoK6k1ET5tS/g9rwUXIM/AmWXXQ==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.9.3 - turbo-darwin-arm64: 1.9.3 - turbo-linux-64: 1.9.3 - turbo-linux-arm64: 1.9.3 - turbo-windows-64: 1.9.3 - turbo-windows-arm64: 1.9.3 + turbo-darwin-64: 1.9.8 + turbo-darwin-arm64: 1.9.8 + turbo-linux-64: 1.9.8 + turbo-linux-arm64: 1.9.8 + turbo-windows-64: 1.9.8 + turbo-windows-arm64: 1.9.8 dev: true /type-check@0.3.2: