stephenmathieson / node-obfuscator

maintainer wanted → Obfuscate your node packages because your boss says so!
216 stars 36 forks source link

require.resolve should fallback to native #12

Closed stephenmathieson closed 10 years ago

stephenmathieson commented 10 years ago

example:


var native_require = // ...

require.resolve = function (p) {
  if ('.' != p[0]) return native_require.resolve(p)
  // ...
}
stephenmathieson commented 10 years ago

Fixed with 3277a8037d638da6caf44fb7f17400bbee0c031a