Skip to content

Commit 44ba532

Browse files
authored
fix: do not use node: protocol yet (#330)
1 parent 5e4b32a commit 44ba532

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "proxy-chain",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",
55
"main": "dist/index.js",
66
"keywords": [

src/utils/parse_authorization_header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Buffer } from 'node:buffer';
1+
import { Buffer } from 'buffer';
22

33
const splitAt = (string: string, index: number) => {
44
return [

src/utils/valid_headers_only.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-expect-error Missing types
21
import { validateHeaderName, validateHeaderValue } from 'http';
32
import { isHopByHopHeader } from './is_hop_by_hop_header';
43

0 commit comments

Comments
 (0)