diff --git a/.changeset/eleven-bags-attend.md b/.changeset/eleven-bags-attend.md deleted file mode 100644 index 11ac1fed..00000000 --- a/.changeset/eleven-bags-attend.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'socks-proxy-agent': patch -'pac-proxy-agent': patch -'proxy-agent': patch ---- - -Fix Electron support by using Node.js native URL object diff --git a/.changeset/four-teachers-peel.md b/.changeset/four-teachers-peel.md deleted file mode 100644 index 08d1407b..00000000 --- a/.changeset/four-teachers-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"https-proxy-agent": patch ---- - -Support SNI for proxy servers diff --git a/packages/https-proxy-agent/CHANGELOG.md b/packages/https-proxy-agent/CHANGELOG.md index 91f0763c..d1e51c2f 100644 --- a/packages/https-proxy-agent/CHANGELOG.md +++ b/packages/https-proxy-agent/CHANGELOG.md @@ -1,5 +1,11 @@ # https-proxy-agent +## 7.0.2 + +### Patch Changes + +- e625d10: Support SNI for proxy servers + ## 7.0.1 ### Patch Changes diff --git a/packages/https-proxy-agent/package.json b/packages/https-proxy-agent/package.json index 5c5a2b27..947f0059 100644 --- a/packages/https-proxy-agent/package.json +++ b/packages/https-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "https-proxy-agent", - "version": "7.0.1", + "version": "7.0.2", "description": "An HTTP(s) proxy `http.Agent` implementation for HTTPS", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/pac-proxy-agent/CHANGELOG.md b/packages/pac-proxy-agent/CHANGELOG.md index b141e105..9009fa2a 100644 --- a/packages/pac-proxy-agent/CHANGELOG.md +++ b/packages/pac-proxy-agent/CHANGELOG.md @@ -1,5 +1,15 @@ # pac-proxy-agent +## 7.0.1 + +### Patch Changes + +- 1d39f6c: Fix Electron support by using Node.js native URL object +- Updated dependencies [1d39f6c] +- Updated dependencies [e625d10] + - socks-proxy-agent@8.0.2 + - https-proxy-agent@7.0.2 + ## 7.0.0 ### Major Changes diff --git a/packages/pac-proxy-agent/package.json b/packages/pac-proxy-agent/package.json index 762442d1..3f8a2f57 100644 --- a/packages/pac-proxy-agent/package.json +++ b/packages/pac-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "pac-proxy-agent", - "version": "7.0.0", + "version": "7.0.1", "description": "A PAC file proxy `http.Agent` implementation for HTTP", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -36,9 +36,9 @@ "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.2", "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.1" + "socks-proxy-agent": "^8.0.2" }, "devDependencies": { "@types/debug": "^4.1.7", diff --git a/packages/proxy-agent/CHANGELOG.md b/packages/proxy-agent/CHANGELOG.md index d04f5aa8..27ddf7aa 100644 --- a/packages/proxy-agent/CHANGELOG.md +++ b/packages/proxy-agent/CHANGELOG.md @@ -1,5 +1,16 @@ # proxy-agent +## 6.3.1 + +### Patch Changes + +- 1d39f6c: Fix Electron support by using Node.js native URL object +- Updated dependencies [1d39f6c] +- Updated dependencies [e625d10] + - socks-proxy-agent@8.0.2 + - pac-proxy-agent@7.0.1 + - https-proxy-agent@7.0.2 + ## 6.3.0 ### Minor Changes diff --git a/packages/proxy-agent/package.json b/packages/proxy-agent/package.json index 99ab0361..79f12f67 100644 --- a/packages/proxy-agent/package.json +++ b/packages/proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "proxy-agent", - "version": "6.3.0", + "version": "6.3.1", "description": "Maps proxy protocols to `http.Agent` implementations", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -35,11 +35,11 @@ "agent-base": "^7.0.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.2", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.0", + "pac-proxy-agent": "^7.0.1", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.1" + "socks-proxy-agent": "^8.0.2" }, "devDependencies": { "@types/agent-base": "^4.2.0", diff --git a/packages/socks-proxy-agent/CHANGELOG.md b/packages/socks-proxy-agent/CHANGELOG.md index f34c4f8f..fc2f11c2 100644 --- a/packages/socks-proxy-agent/CHANGELOG.md +++ b/packages/socks-proxy-agent/CHANGELOG.md @@ -1,5 +1,11 @@ # socks-proxy-agent +## 8.0.2 + +### Patch Changes + +- 1d39f6c: Fix Electron support by using Node.js native URL object + ## 8.0.1 ### Patch Changes @@ -19,11 +25,11 @@ In version 5.x, the `SocksProxyAgent` constructor took a single argument of either (A) a `string`, or (B) an object with specific connection properties. - + 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) properties. If you were using an object argument in 7.x, you'll need to change the first argument to match the structure of the `URL` class, and move diff --git a/packages/socks-proxy-agent/package.json b/packages/socks-proxy-agent/package.json index 76ab7c65..d01f1561 100644 --- a/packages/socks-proxy-agent/package.json +++ b/packages/socks-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "socks-proxy-agent", - "version": "8.0.1", + "version": "8.0.2", "description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c1afef79..fa1f2a85 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - importers: .: @@ -13,10 +9,10 @@ importers: version: 2.26.2 '@typescript-eslint/eslint-plugin': specifier: ^5.59.1 - version: 5.60.1(@typescript-eslint/parser@5.60.1)(eslint@7.32.0)(typescript@5.1.6) + version: 5.60.1(@typescript-eslint/parser@5.60.1)(eslint@7.32.0) '@typescript-eslint/parser': specifier: ^5.59.1 - version: 5.60.1(eslint@7.32.0)(typescript@5.1.6) + version: 5.60.1(eslint@7.32.0) eslint: specifier: ^7.32.0 version: 7.32.0 @@ -62,7 +58,7 @@ importers: version: 29.5.0(@types/node@14.18.45) ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.21.4)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -86,7 +82,7 @@ importers: version: 29.5.0(@types/node@14.18.45) ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -126,7 +122,7 @@ importers: version: 29.5.0(@types/node@14.18.52) ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.1.6) + version: 29.1.0(jest@29.5.0)(typescript@5.1.6) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -178,7 +174,7 @@ importers: version: 1.2.2 ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -215,7 +211,7 @@ importers: version: link:../proxy ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -258,7 +254,7 @@ importers: version: link:../proxy ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -284,13 +280,13 @@ importers: specifier: ^7.0.0 version: link:../http-proxy-agent https-proxy-agent: - specifier: ^7.0.0 + specifier: ^7.0.2 version: link:../https-proxy-agent pac-resolver: specifier: ^7.0.0 version: link:../pac-resolver socks-proxy-agent: - specifier: ^8.0.1 + specifier: ^8.0.2 version: link:../socks-proxy-agent devDependencies: '@types/debug': @@ -316,7 +312,7 @@ importers: version: 0.0.6 ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -356,7 +352,7 @@ importers: version: 29.5.0(@types/node@14.18.52) ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.1.6) + version: 29.1.0(jest@29.5.0)(typescript@5.1.6) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -396,7 +392,7 @@ importers: version: 29.5.0(@types/node@14.18.45) ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -416,19 +412,19 @@ importers: specifier: ^7.0.0 version: link:../http-proxy-agent https-proxy-agent: - specifier: ^7.0.0 + specifier: ^7.0.2 version: link:../https-proxy-agent lru-cache: specifier: ^7.14.1 version: 7.14.1 pac-proxy-agent: - specifier: ^7.0.0 + specifier: ^7.0.1 version: link:../pac-proxy-agent proxy-from-env: specifier: ^1.1.0 version: 1.1.0 socks-proxy-agent: - specifier: ^8.0.1 + specifier: ^8.0.2 version: link:../socks-proxy-agent devDependencies: '@types/agent-base': @@ -463,7 +459,7 @@ importers: version: github.com/TooTallNate/socksv5/d937368b28e929396166d77a06d387a4a902bd51 ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -524,7 +520,7 @@ importers: version: github.com/TooTallNate/socksv5/d937368b28e929396166d77a06d387a4a902bd51 ts-jest: specifier: ^29.1.0 - version: 29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4) + version: 29.1.0(jest@29.5.0)(typescript@5.0.4) tsconfig: specifier: workspace:* version: link:../tsconfig @@ -1999,7 +1995,7 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin@5.60.1(@typescript-eslint/parser@5.60.1)(eslint@7.32.0)(typescript@5.1.6): + /@typescript-eslint/eslint-plugin@5.60.1(@typescript-eslint/parser@5.60.1)(eslint@7.32.0): resolution: {integrity: sha512-KSWsVvsJsLJv3c4e73y/Bzt7OpqMCADUO846bHcuWYSYM19bldbAeDv7dYyV0jwkbMfJ2XdlzwjhXtuD7OY6bw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2011,23 +2007,22 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 5.60.1(eslint@7.32.0)(typescript@5.1.6) + '@typescript-eslint/parser': 5.60.1(eslint@7.32.0) '@typescript-eslint/scope-manager': 5.60.1 - '@typescript-eslint/type-utils': 5.60.1(eslint@7.32.0)(typescript@5.1.6) - '@typescript-eslint/utils': 5.60.1(eslint@7.32.0)(typescript@5.1.6) + '@typescript-eslint/type-utils': 5.60.1(eslint@7.32.0) + '@typescript-eslint/utils': 5.60.1(eslint@7.32.0) debug: 4.3.4 eslint: 7.32.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.5.3 - tsutils: 3.21.0(typescript@5.1.6) - typescript: 5.1.6 + tsutils: 3.21.0 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.60.1(eslint@7.32.0)(typescript@5.1.6): + /@typescript-eslint/parser@5.60.1(eslint@7.32.0): resolution: {integrity: sha512-pHWlc3alg2oSMGwsU/Is8hbm3XFbcrb6P5wIxcQW9NsYBfnrubl/GhVVD/Jm/t8HXhA2WncoIRfBtnCgRGV96Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2039,10 +2034,9 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.60.1 '@typescript-eslint/types': 5.60.1 - '@typescript-eslint/typescript-estree': 5.60.1(typescript@5.1.6) + '@typescript-eslint/typescript-estree': 5.60.1 debug: 4.3.4 eslint: 7.32.0 - typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: true @@ -2055,7 +2049,7 @@ packages: '@typescript-eslint/visitor-keys': 5.60.1 dev: true - /@typescript-eslint/type-utils@5.60.1(eslint@7.32.0)(typescript@5.1.6): + /@typescript-eslint/type-utils@5.60.1(eslint@7.32.0): resolution: {integrity: sha512-vN6UztYqIu05nu7JqwQGzQKUJctzs3/Hg7E2Yx8rz9J+4LgtIDFWjjl1gm3pycH0P3mHAcEUBd23LVgfrsTR8A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2065,12 +2059,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.60.1(typescript@5.1.6) - '@typescript-eslint/utils': 5.60.1(eslint@7.32.0)(typescript@5.1.6) + '@typescript-eslint/typescript-estree': 5.60.1 + '@typescript-eslint/utils': 5.60.1(eslint@7.32.0) debug: 4.3.4 eslint: 7.32.0 - tsutils: 3.21.0(typescript@5.1.6) - typescript: 5.1.6 + tsutils: 3.21.0 transitivePeerDependencies: - supports-color dev: true @@ -2080,7 +2073,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree@5.60.1(typescript@5.1.6): + /@typescript-eslint/typescript-estree@5.60.1: resolution: {integrity: sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2095,13 +2088,12 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.3 - tsutils: 3.21.0(typescript@5.1.6) - typescript: 5.1.6 + tsutils: 3.21.0 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@5.60.1(eslint@7.32.0)(typescript@5.1.6): + /@typescript-eslint/utils@5.60.1(eslint@7.32.0): resolution: {integrity: sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2112,7 +2104,7 @@ packages: '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 5.60.1 '@typescript-eslint/types': 5.60.1 - '@typescript-eslint/typescript-estree': 5.60.1(typescript@5.1.6) + '@typescript-eslint/typescript-estree': 5.60.1 eslint: 7.32.0 eslint-scope: 5.1.1 semver: 7.5.3 @@ -5408,7 +5400,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-jest@29.1.0(@babel/core@7.21.4)(jest@29.5.0)(typescript@5.0.4): + /ts-jest@29.1.0(jest@29.5.0)(typescript@5.0.4): resolution: {integrity: sha512-ZhNr7Z4PcYa+JjMl62ir+zPiNJfXJN6E8hSLnaUKhOgqcn8vb3e537cpkd0FuAfRK3sR1LSqM1MOhliXNgOFPA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5429,7 +5421,6 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.21.4 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.5.0(@types/node@14.18.45) @@ -5442,7 +5433,7 @@ packages: yargs-parser: 21.1.1 dev: true - /ts-jest@29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.0.4): + /ts-jest@29.1.0(jest@29.5.0)(typescript@5.1.6): resolution: {integrity: sha512-ZhNr7Z4PcYa+JjMl62ir+zPiNJfXJN6E8hSLnaUKhOgqcn8vb3e537cpkd0FuAfRK3sR1LSqM1MOhliXNgOFPA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5463,41 +5454,6 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.22.5 - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.5.0(@types/node@14.18.45) - jest-util: 29.5.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.5.0 - typescript: 5.0.4 - yargs-parser: 21.1.1 - dev: true - - /ts-jest@29.1.0(@babel/core@7.22.5)(jest@29.5.0)(typescript@5.1.6): - resolution: {integrity: sha512-ZhNr7Z4PcYa+JjMl62ir+zPiNJfXJN6E8hSLnaUKhOgqcn8vb3e537cpkd0FuAfRK3sR1LSqM1MOhliXNgOFPA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3 <6' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - dependencies: - '@babel/core': 7.22.5 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.5.0(@types/node@14.18.52) @@ -5518,14 +5474,13 @@ packages: resolution: {integrity: sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==} dev: false - /tsutils@3.21.0(typescript@5.1.6): + /tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.1.6 dev: true /tty-table@4.2.1: @@ -5973,3 +5928,7 @@ packages: dev: true bundledDependencies: - ipv6 + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false