garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 69 forks source link

Uri-js doesn't work in io.js (strict mode) #8

Closed teologov closed 9 years ago

teologov commented 9 years ago

Hi, uri-js doesn't work in the latest version of io.js (strict mode). It fails with this error:

.../uri-js/build/schemes/http.js:3 URI = require("../uri"); ^ ReferenceError: URI is not defined at Object.<anonymous> (/.../uri-js/build/schemes/http.js:3:9)

garycourt commented 9 years ago

Should be fixed now.

teologov commented 9 years ago

Awesome, thanks!