Skip to content

Commit

Permalink
Change from IP to NeoIP (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhollowaypls authored Jan 27, 2025
1 parent 869f16a commit a4690f4
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
2 changes: 1 addition & 1 deletion lib/ipfilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Module dependencies.
*/
const _ = require('lodash')
const iputil = require('ip')
const iputil = require('neoip');
const rangeCheck = require('range_check')
const IpDeniedError = require('./deniedError')
const proxyaddr = require('proxy-addr')
Expand Down
106 changes: 58 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
]
},
"dependencies": {
"ip": "^2.0.1",
"lodash": "^4.17.11",
"neoip": "^2.1.0",
"proxy-addr": "^2.0.7",
"range_check": "^2.0.4"
},
Expand Down

0 comments on commit a4690f4

Please sign in to comment.