@ffflorian/https-proxy 1.9.4 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/HttpsProxy.js +3 -3
- package/dist/cjs/cli.js +1 -1
- package/dist/esm/HttpsProxy.js +3 -3
- package/dist/esm/cli.js +1 -1
- package/package.json +2 -2
package/dist/cjs/HttpsProxy.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import basicAuth from 'basic-auth';
|
|
2
|
-
import http from '
|
|
2
|
+
import http from 'http';
|
|
3
3
|
import logdown from 'logdown';
|
|
4
|
-
import net from '
|
|
4
|
+
import net from 'net';
|
|
5
5
|
import compare from 'tsscmp';
|
|
6
|
-
import url from '
|
|
6
|
+
import url from 'url';
|
|
7
7
|
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
8
8
|
const defaultOptions = {
|
|
9
9
|
password: '',
|
package/dist/cjs/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { program as commander } from 'commander';
|
|
3
|
-
import { createRequire } from '
|
|
3
|
+
import { createRequire } from 'module';
|
|
4
4
|
const require = createRequire(import.meta.url);
|
|
5
5
|
import { HttpsProxy } from './HttpsProxy.js';
|
|
6
6
|
const { description, name, version } = require('../package.json');
|
package/dist/esm/HttpsProxy.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import basicAuth from 'basic-auth';
|
|
2
|
-
import http from '
|
|
2
|
+
import http from 'http';
|
|
3
3
|
import logdown from 'logdown';
|
|
4
|
-
import net from '
|
|
4
|
+
import net from 'net';
|
|
5
5
|
import compare from 'tsscmp';
|
|
6
|
-
import url from '
|
|
6
|
+
import url from 'url';
|
|
7
7
|
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
8
8
|
const defaultOptions = {
|
|
9
9
|
password: '',
|
package/dist/esm/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { program as commander } from 'commander';
|
|
3
|
-
import { createRequire } from '
|
|
3
|
+
import { createRequire } from 'module';
|
|
4
4
|
const require = createRequire(import.meta.url);
|
|
5
5
|
import { HttpsProxy } from './HttpsProxy.js';
|
|
6
6
|
const { description, name, version } = require('../package.json');
|
package/package.json
CHANGED