{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/1780","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/1780/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1780/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/1780/events","html_url":"https://github.com/nodejs/io.js/pull/1780","id":79960033,"number":1780,"title":"path: allow numbers as arguments to .join()","user":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/io.js/labels/path","name":"path","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-23T21:37:21Z","updated_at":"2015-05-23T22:04:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/io.js/pulls/1780","html_url":"https://github.com/nodejs/io.js/pull/1780","diff_url":"https://github.com/nodejs/io.js/pull/1780.diff","patch_url":"https://github.com/nodejs/io.js/pull/1780.patch"},"body":"Hi! This allows numbers to be provided as arguments in addition to strings when creating paths with `path.join()`. Coercing numbers to strings instead of throwing TypeError.\r\n\r\nHoping this will revive the somewhat stale discussion in #1260."},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/104949300","html_url":"https://github.com/nodejs/io.js/pull/1780#issuecomment-104949300","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1780","id":104949300,"user":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T22:04:02Z","updated_at":"2015-05-23T22:04:02Z","body":"Sure, there's already a more general `assertPath(path)` helper function which is used by the other methods in `path`. If no one knows why that method wasnt already used in `path.join()`, I'll update my changes."}}