Skip to content

Commit

Permalink
0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sysadmin-hola committed Apr 8, 2019
1 parent 7039cb6 commit d9613ec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
13 changes: 6 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
var fs = require('fs'),
path = require('path');
var fs = require('fs');

['server', 'client', 'Agents'].forEach(function(f) {
var exp = require(__dirname + '/lib/' + f),
['server.js', 'client.js', 'Agents.js'].forEach(function(f) {
var exp = require('./lib/' + f),
keys = Object.keys(exp);
for (var i = 0, len = keys.length; i < len; ++i)
exports[keys[i]] = exp[keys[i]];
});

exports.auth = {};

fs.readdirSync(__dirname + '/lib/auth').forEach(function(f) {
exports.auth[path.basename(f, '.js')] = require(__dirname + '/lib/auth/' + f);
});
['None', 'UserPassword'].forEach(function(f) {
exports.auth[f] = require('./lib/auth/' + f + '.js');
});
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ "name": "socksv5",
"version": "0.0.6",
{ "name": "lum_socksv5",
"version": "0.0.10",
"author": "Brian White <[email protected]>",
"description": "SOCKS protocol version 5 server and client implementations for node.js",
"main": "./index",
Expand All @@ -15,5 +15,8 @@
"engines": { "node": ">=0.10.0" },
"keywords": [ "socks", "socks5", "socksv5", "proxy" ],
"licenses": [ { "type": "MIT", "url": "https://github.com/mscdex/socksv5/raw/master/LICENSE" } ],
"repository" : { "type": "git", "url": "https://github.com/mscdex/socksv5.git" }
"repository": {
"type": "git",
"url": "https://github.com/luminati-io/socksv5.git"
}
}

0 comments on commit d9613ec

Please sign in to comment.