mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
parent
67bd3fc7f8
commit
6ec929dc06
@ -4,7 +4,7 @@ module.exports =
|
||||
'index.js': 'index.coffee'
|
||||
options:
|
||||
transform: ['coffeeify']
|
||||
exclude: ['uglify-js', 'ipv6']
|
||||
exclude: ['uglify-js', 'ip-address']
|
||||
browserifyOptions:
|
||||
extensions: '.coffee'
|
||||
builtins: []
|
||||
|
@ -17,7 +17,7 @@
|
||||
"minifyify": "^4.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"ipv6": "beaugunderson/javascript-ipv6",
|
||||
"ip-address": "^4.0.0",
|
||||
"tldjs": "^1.5.2",
|
||||
"uglify-js": "^2.4.15"
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
U2 = require 'uglify-js'
|
||||
IP = require 'ipv6'
|
||||
IP = require 'ip-address'
|
||||
Url = require 'url'
|
||||
{shExp2RegExp, escapeSlash} = require './shexp_utils'
|
||||
{AttachedCache} = require './utils'
|
||||
|
@ -294,7 +294,6 @@ describe 'Conditions', ->
|
||||
new U2.AST_Return value: Conditions.compile(cond)
|
||||
]
|
||||
)
|
||||
console.log(Conditions.compile(cond).print_to_string())
|
||||
eval('(' + testFunc.print_to_string() + ')')
|
||||
|
||||
compiledFunc = ipToCompiledFunc('0.0.0.0', 0)
|
||||
|
Loading…
Reference in New Issue
Block a user