{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/node-browserify/issues/1662","repository_url":"https://api.github.com/repos/substack/node-browserify","labels_url":"https://api.github.com/repos/substack/node-browserify/issues/1662/labels{/name}","comments_url":"https://api.github.com/repos/substack/node-browserify/issues/1662/comments","events_url":"https://api.github.com/repos/substack/node-browserify/issues/1662/events","html_url":"https://github.com/substack/node-browserify/issues/1662","id":194408696,"number":1662,"title":"Function missing after browserify","user":{"login":"1vadios","id":23237786,"avatar_url":"https://avatars.githubusercontent.com/u/23237786?v=3","gravatar_id":"","url":"https://api.github.com/users/1vadios","html_url":"https://github.com/1vadios","followers_url":"https://api.github.com/users/1vadios/followers","following_url":"https://api.github.com/users/1vadios/following{/other_user}","gists_url":"https://api.github.com/users/1vadios/gists{/gist_id}","starred_url":"https://api.github.com/users/1vadios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1vadios/subscriptions","organizations_url":"https://api.github.com/users/1vadios/orgs","repos_url":"https://api.github.com/users/1vadios/repos","events_url":"https://api.github.com/users/1vadios/events{/privacy}","received_events_url":"https://api.github.com/users/1vadios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-08T18:26:05Z","updated_at":"2016-12-08T18:26:05Z","closed_at":null,"body":"Hi, I’m trying to use the library [mysql](https://www.npmjs.com/package/mysql) on a client in combination with Cordova.\r\nIt works until the program reaches the point where it has to connect to the database. The problem is that the function for the connect isn’t defined in the bundle.js.\r\n\r\nError:\r\n`Uncaught TypeError: Net.createConnection is not a function`\r\n\r\nIn the library is the 'net' required and so inserted (var Net = require('net');), so shouldn’t browserify insert that one as well in the bundle.js, that the function is available?"}}
{"actor":{"display_login":"1vadios"}}