A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.
This commit is contained in:
4
Scripts/node_modules/pac-resolver/dist/myIpAddress.js
generated
vendored
4
Scripts/node_modules/pac-resolver/dist/myIpAddress.js
generated
vendored
@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const ip_1 = __importDefault(require("ip"));
|
||||
const ip_1 = require("./ip");
|
||||
const net_1 = __importDefault(require("net"));
|
||||
/**
|
||||
* Returns the IP address of the host that the Navigator is running on, as
|
||||
@ -27,7 +27,7 @@ async function myIpAddress() {
|
||||
const onError = () => {
|
||||
// if we fail to access Google DNS (as in firewall blocks access),
|
||||
// fallback to querying IP locally
|
||||
resolve(ip_1.default.address());
|
||||
resolve(ip_1.ip.address());
|
||||
};
|
||||
socket.once('error', onError);
|
||||
socket.once('connect', () => {
|
||||
|
||||
Reference in New Issue
Block a user