{"push_id":1248836508,"size":1,"distinct_size":1,"ref":"refs/heads/fix-npm-registry-404-for-ranges","head":"cdbd2dfeb15d719f776c548fc3f5a1e684a57f04","before":"e23a3682c7d8ae31f99c1f5da83778b581a1ba88","commits":[{"sha":"cdbd2dfeb15d719f776c548fc3f5a1e684a57f04","author":{"name":"Stephane BACHELIER","email":"41b0fd200d921410cc8a364118312c6b4b4d3624@gmail.com"},"message":"Fix broken install for package using caret version\n\nForce needle 1.0.0 to avoid 404 errors as NPM registry return a 404\nfor an encoded URI.\nDowngrade to 1.0.0 fix the problem.\n\nBelow an example with chalk package (edited for brievity)\nThe code of checkStatus was only modified to provide log output with\n`debug`.\n\nWith latest version of needle @1.1.0 :\n\n❯ DEBUG=ied* ied i chalk\n🕒  16.67% resolving supports-color@^2.0.0\nied:registry checkStatus\nuri https://registry.npmjs.org/strip-ansi/%3E=3.0.0%20%3C4.0.0 +3ms\nstatusCode 404 +1ms\n🕓  16.67% resolving supports-color@^2.0.0\nied:registry checkStatus\nuri https://registry.npmjs.org/has-ansi/%3E=2.0.0%20%3C3.0.0 +0ms\nstatusCode 404 +1ms\n\nWith needle@1.0.0\n\n❯ DEBUG=ied* ied i chalk\n🕓  16.67% resolving supports-color@^2.0.0\nied:registry checkStatus\nuri https://registry.npmjs.org/has-ansi/%3E=2.0.0%20%3C3.0.0 +3ms\ncheckStatus statusCode 200 +1ms\n🕕  28.57% resolving ansi-regex@^2.0.0\nied:registry checkStatus\nuri https://registry.npmjs.org/ansi-styles/%3E=2.2.1%20%3C3.0.0 +0ms\ncheckStatus statusCode 200 +0ms","distinct":true,"url":"https://api.github.com/repos/stephanebachelier/ied/commits/cdbd2dfeb15d719f776c548fc3f5a1e684a57f04"}]}
{"actor":{"display_login":"stephanebachelier"}}