{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/12196","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/12196/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/12196/comments","events_url":"https://api.github.com/repos/npm/npm/issues/12196/events","html_url":"https://github.com/npm/npm/issues/12196","id":145902399,"number":12196,"title":"registry unconditionally returning gzipped JSON responses breaks old npm","user":{"login":"mayank-jain","id":7197152,"avatar_url":"https://avatars.githubusercontent.com/u/7197152?v=3","gravatar_id":"","url":"https://api.github.com/users/mayank-jain","html_url":"https://github.com/mayank-jain","followers_url":"https://api.github.com/users/mayank-jain/followers","following_url":"https://api.github.com/users/mayank-jain/following{/other_user}","gists_url":"https://api.github.com/users/mayank-jain/gists{/gist_id}","starred_url":"https://api.github.com/users/mayank-jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayank-jain/subscriptions","organizations_url":"https://api.github.com/users/mayank-jain/orgs","repos_url":"https://api.github.com/users/mayank-jain/repos","events_url":"https://api.github.com/users/mayank-jain/events{/privacy}","received_events_url":"https://api.github.com/users/mayank-jain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"A328B3"},{"url":"https://api.github.com/repos/npm/npm/labels/registry","name":"registry","color":"871646"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":59,"created_at":"2016-04-05T06:36:07Z","updated_at":"2016-04-07T14:21:47Z","closed_at":null,"body":"```\r\nsudo npm install -g localtunnel\r\n[sudo] password for rails: \r\nnpm http GET https://registry.npmjs.org/localtunnel\r\nnpm http 304 https://registry.npmjs.org/localtunnel\r\nnpm http GET https://registry.npmjs.org/request/2.65.0\r\nnpm http GET https://registry.npmjs.org/yargs/3.29.0\r\nnpm http GET https://registry.npmjs.org/debug/2.2.0\r\nnpm http GET https://registry.npmjs.org/openurl/1.1.0\r\nnpm http 304 https://registry.npmjs.org/debug/2.2.0\r\nnpm http 304 https://registry.npmjs.org/yargs/3.29.0\r\nnpm http 200 https://registry.npmjs.org/request/2.65.0\r\nnpm ERR! registry error parsing json\r\nnpm http 304 https://registry.npmjs.org/openurl/1.1.0\r\nnpm ERR! SyntaxError: Unexpected token \u001F\r\nnpm ERR! \u001F\u0004\u0003�V[o�6\u0014�+�\u0006�a�hY�e����C\u001F6`غ�\u0014M@I�D[\"U�r�\u0006�o�wH�I�u���D<��w��}>�=e\\�Q��*\u0019tJJ�q�Ro��V���Z���%�T��*D�g�F\u001B�r'�E��l��\u0010cHj���hb�\u001C���*��HDۜ\u0012�\u001B��\u0011m�z�\u001CDB���3�d>�4I�{�V�,}�\"k\u0016�w�R�\u001E��\u001Btzj���� ��l���'V����x�%MMh���\u0011��*��݁�9b򐺳^&\r\n                                                                                                                          B�'���[�!�S��2pP�95e>���k���\r\n!���2ɑ�\u0012$�Ə�\u0011\r\n             �1̌o��9��j\u001C\"3����E�^E�7��J~A*������,\u0001\u001B���D��\r\n�H�k                                                    O�6`$H�#D�u\\�S\u001FU\u001A\r\n;�C\u001D�r\u0011\u0014Hr5�Ճ)y��$Ji|1P8*2ڈ5�Fp\"n����m���4m�iZ���\\s��<��u�J�\\T5��� F,\u001Bh����\u0006�V��\\ŷ~s̋���*�ڎۉ\u0006���</�MV^\u0017�z��WM������y�5׫mQע�d�1���n�-���g�f\u00196�-����E��I���=�!\\1L����[hu\u0014X��A\u001F_\u001E ��?t�v�.�,��gF�~�.:��\r\n                                                                                                                              �Le�\t/�]d\u001B#���$::u�C�̤���yï¿½ï¿½Dc4ï¿½(ï¿½ï¿½\u001DX'%ï¿½r\u0006\u0004Nï¿½\u0011-Ì\u0013Cï¿½ï¿½ï¿½iÓ/ï¿½\"9ï¿½bï¿½?\u0006Ìµï¿½ï¿½Fï¿½FTØ´ï¿½\u0012><ï¿½ï¿½ï¿½\u001BÝ\r\nnpm ERR!     at Object.parse (native)\r\nnpm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:238:23)\r\nnpm ERR!     at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)\r\nnpm ERR!     at Request.EventEmitter.emit (events.js:98:17)\r\nnpm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)\r\nnpm ERR!     at Request.EventEmitter.emit (events.js:117:20)\r\nnpm ERR!     at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)\r\nnpm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\nnpm ERR!     at _stream_readable.js:920:16\r\nnpm ERR!     at process._tickCallback (node.js:415:13)\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-àgooglegroups.com>\r\n\r\nnpm ERR! System Linux 3.19.0-56-generic\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"-g\" \"localtunnel\"\r\nnpm ERR! cwd /home/rails/workspace/office/batooni-dev\r\nnpm ERR! node -v v0.10.25\r\nnpm ERR! npm -v 1.3.10\r\nnpm ERR! type unexpected_token\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /home/rails/workspace/office/batooni-dev/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/206928370","html_url":"https://github.com/npm/npm/issues/12196#issuecomment-206928370","issue_url":"https://api.github.com/repos/npm/npm/issues/12196","id":206928370,"user":{"login":"soldair","id":119903,"avatar_url":"https://avatars.githubusercontent.com/u/119903?v=3","gravatar_id":"","url":"https://api.github.com/users/soldair","html_url":"https://github.com/soldair","followers_url":"https://api.github.com/users/soldair/followers","following_url":"https://api.github.com/users/soldair/following{/other_user}","gists_url":"https://api.github.com/users/soldair/gists{/gist_id}","starred_url":"https://api.github.com/users/soldair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soldair/subscriptions","organizations_url":"https://api.github.com/users/soldair/orgs","repos_url":"https://api.github.com/users/soldair/repos","events_url":"https://api.github.com/users/soldair/events{/privacy}","received_events_url":"https://api.github.com/users/soldair/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T14:21:47Z","updated_at":"2016-04-07T14:21:47Z","body":"this is my oversight i need smarter invalidation. The older npm clients pull specific verisons by url directly whereas the suported clients pull the top level document. I apologize again for the delay in resolving this and now that we've found another case ill update again soon."}}