dodo / node-unicodetable

unicode lookup table
MIT License
42 stars 34 forks source link

Remove punycode.js dependency by inlining the `encode` function #4

Closed mathiasbynens closed 12 years ago

mathiasbynens commented 12 years ago

Some day, when punycode v1.1.1 lands in Node (v0.10), we can go back to var encode = require('punycode').ucs2.encode, but today is not that day.

dodo commented 12 years ago

ah .. that bug .. i hadn't this for a long time :P before prepublish was added to npm i had this bug all the time with coffeescript :(

it's simply not possible to depend on packages that are need for the install step. (it works, but only half of the time.)