MOD: migrate, change some dependencies, changed regexp for subdomains

This commit is contained in:
jotamontecino
2022-10-20 16:49:36 +02:00
parent 78c06f8fc4
commit 503772f9a9
12 changed files with 205 additions and 88 deletions
+6 -6
View File
@@ -1,8 +1,8 @@
import { Agent } from 'http';
import net from 'net';
import assert from 'assert';
import log from 'book';
import Debug from 'debug';
const { Agent } = require( 'http');
const net = require( 'net');
const assert = require( 'assert');
const log = require( 'book');
const Debug = require( 'debug');
const DEFAULT_MAX_SOCKETS = 10;
@@ -172,4 +172,4 @@ class TunnelAgent extends Agent {
}
}
export default TunnelAgent;
module.exports = TunnelAgent;