Updated jQuery used by example. Renamed `PACServer.js` to `PAC.js`. Now there is no need (although it is still an option) for separate HTTP server just for PAC file - hyperProxy can server it at: `http://localhost:8000/proxy.pac` (port depends on your settings of course). Some cleanups in preparation for next changes. `PAC.js` now uses jsdoc3 format comments (rest of the files will follow :).
Fix `PAC.js` regression introduced in previous commit.
A bit better way (still not ideal, as node.js does not use system to lookup hostname, and we still do not know if "mylocalalias" is pointing to localhost or not) to make sure that `proxy.pac` will be overrided only when needed.
Added jsdoc3 comments to RegExpBuilder and mocha tests for it.
Rename test file.
Rename test file.
Update dates in copyrights.
Updated PAC.js and added test for it.
Cleanup: move console output from `PAC.js` to `hyperProxy.js` and small updates.
Make sure to server proxy.pac only for same host and port request.
New helper class `Flags`. Tiny fixes in comments for PAC and RegExpBuilder. Tiny fix in `test-pac.js`.
Udate comment in new `Flags.js` to make it a bit more informative.
Improved `Flags.js` a bit.
Small cleanup.
Added comments and simplified internals of the Flags a bit.
Test chainability of Flags `set`, `unset` and `unsetAll` methods.
Add new internal Proxy class, based mainly on the code from node-mitm-proxy by Horaci Cuevas.
Add new internal FilteredProxy class.
Tiny change in filtering function of FilteredProxy: it now passess `isItForMe` to the filter function.
Small fix in FilteredProxy - allow to pre-set options.domains with custom domains (which of course have to point to the local IPs if you want them to be recognized as "local")