{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/1080","labels_url":"https://api.github.com/repos/balderdashy/waterline/issues/1080/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/waterline/issues/1080/comments","events_url":"https://api.github.com/repos/balderdashy/waterline/issues/1080/events","html_url":"https://github.com/balderdashy/waterline/issues/1080","id":93439947,"number":1080,"title":"Waterline doesn't work with io.js (in strict mode)","user":{"login":"teologov","id":1420786,"avatar_url":"https://avatars.githubusercontent.com/u/1420786?v=3","gravatar_id":"","url":"https://api.github.com/users/teologov","html_url":"https://github.com/teologov","followers_url":"https://api.github.com/users/teologov/followers","following_url":"https://api.github.com/users/teologov/following{/other_user}","gists_url":"https://api.github.com/users/teologov/gists{/gist_id}","starred_url":"https://api.github.com/users/teologov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teologov/subscriptions","organizations_url":"https://api.github.com/users/teologov/orgs","repos_url":"https://api.github.com/users/teologov/repos","events_url":"https://api.github.com/users/teologov/events{/privacy}","received_events_url":"https://api.github.com/users/teologov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balderdashy/waterline/labels/question","name":"question","color":"9a56f5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-07T05:10:51Z","updated_at":"2015-08-08T14:50:23Z","closed_at":null,"body":"Hi, I tried to run Waterline in the strict mode, using `io.js` v2.3.3\r\n\r\nUnfortunately, it fails with this error: \r\n`.../waterline-express-test/node_modules/waterline/node_modules/anchor/node_modules/gjtk/node_modules/uri-js/src/uri.js:51\r\nURI = (function () {\r\n    ^\r\nReferenceError: URI is not defined\r\n    at Object.<anonymous> (/Users/teologov/Sites/personal/other/waterline-express-test/node_modules/waterline/node_modules/anchor/node_modules/gjtk/node_modules/uri-js/src/uri.js:51:5)\r\n    at Module._compile (module.js:430:26)\r\n    at Object.Module._extensions..js (module.js:448:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/Users/teologov/Sites/personal/other/waterline-express-test/node_modules/waterline/node_modules/anchor/node_modules/gjtk/GeoJSON.js:2:11)`\r\n\r\n`gjtk` package uses outdated `uri-js@1.4.2` dependency, which latest version is `2.1.0`."},"comment":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/comments/128988017","html_url":"https://github.com/balderdashy/waterline/issues/1080#issuecomment-128988017","issue_url":"https://api.github.com/repos/balderdashy/waterline/issues/1080","id":128988017,"user":{"login":"ezsper","id":798804,"avatar_url":"https://avatars.githubusercontent.com/u/798804?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsper","html_url":"https://github.com/ezsper","followers_url":"https://api.github.com/users/ezsper/followers","following_url":"https://api.github.com/users/ezsper/following{/other_user}","gists_url":"https://api.github.com/users/ezsper/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsper/subscriptions","organizations_url":"https://api.github.com/users/ezsper/orgs","repos_url":"https://api.github.com/users/ezsper/repos","events_url":"https://api.github.com/users/ezsper/events{/privacy}","received_events_url":"https://api.github.com/users/ezsper/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T14:50:23Z","updated_at":"2015-08-08T14:50:23Z","body":"Also getting this issue form nodejs `0.10.40`\r\n\r\n    URI = (function () {\r\n        ^\r\n    ReferenceError: URI is not defined\r\n        at Object.<anonymous> (./node_modules/waterline/node_modules/anchor/node_modules/gjtk/node_modules/uri-js/src/uri.js:51:4)\r\n        at Module._compile (module.js:456:26)\r\n        at normalLoader (./node_modules/babel-core/lib/babel/api/register/node.js:150:5)\r\n        at Object.require.extensions.(anonymous function) [as .js] (./node_modules/babel-core/lib/babel/api/register/node.js:163:7)\r\n        at Module.load (module.js:356:32)\r\n        at Function.Module._load (module.js:312:12)\r\n        at Module.require (module.js:364:17)\r\n        at require (module.js:380:17)\r\n        at Object.<anonymous> (./node_modules/waterline/node_modules/anchor/node_modules/gjtk/GeoJSON.js:2:11)\r\n        at Module._compile (module.js:456:26)\r\n        at Module._extensions..js (module.js:474:10)\r\n        at Object.require.extensions.(anonymous function) [as .js] (./node_modules/babel-core/lib/babel/api/register/node.js:161:7)\r\n        at Module.load (module.js:356:32)\r\n        at Function.Module._load (module.js:312:12)\r\n        at Module.require (module.js:364:17)\r\n        at require (module.js:380:17)\r\n"}}