pac-resolver
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ip_1 = __importDefault(require("ip")); | ||
const ip_1 = require("./ip"); | ||
const net_1 = __importDefault(require("net")); | ||
@@ -31,3 +31,3 @@ /** | ||
// fallback to querying IP locally | ||
resolve(ip_1.default.address()); | ||
resolve(ip_1.ip.address()); | ||
}; | ||
@@ -34,0 +34,0 @@ socket.once('error', onError); |
{ | ||
"name": "pac-resolver", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Generates an asynchronous resolver function from a PAC file", | ||
@@ -12,3 +12,2 @@ "main": "./dist/index.js", | ||
"degenerator": "^5.0.0", | ||
"ip": "^1.1.8", | ||
"netmask": "^2.0.2" | ||
@@ -18,3 +17,2 @@ }, | ||
"@tootallnate/quickjs-emscripten": "^0.23.0", | ||
"@types/ip": "^1.1.0", | ||
"@types/jest": "^29.5.2", | ||
@@ -21,0 +19,0 @@ "@types/netmask": "^1.0.30", |
@@ -58,30 +58,3 @@ pac-resolver | ||
License | ||
------- | ||
(The MIT License) | ||
Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net> | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
[pac-file-docs]: https://web.archive.org/web/20070602031929/http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html | ||
[pac-wikipedia]: http://wikipedia.org/wiki/Proxy_auto-config |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61877
2
8
64
1172
60