Live data from Hacker News

Old Uber source code on NPM

news.ycombinator.com

1–3 of 3 posts

Old Uber source code on NPM

#1
Follow these steps:

wget http://registry.npmjs.org/uglify-js/-/uglify-js-1.2.5.tgz

tar -xzf uglify-js-1.2.5.tgz

vim +15650 package/tmp/app.js -c 'normal zt'

I stumbled across this when my IDE decided to include node_modules in its search path. It's just javascript and also pretty old (circa 2012), so I doubt Uber cares that it's public, but it's interesting (and somewhat ironic) to see the non-uglified source. Any ideas how it got there?

Re: Old Uber source code on NPM

#2
someone did an `npm publish` without having either `private: true` or a separate private registry config set in the package.json.

You CAN unpublish it's sort of not easy since replication.