Hacker News new | ask | show | jobs
Old Uber source code on NPM
16 points by virtualdom 4164 days ago
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?

2 comments

This isn't Uber source code. This is a project they sent potential hires home with to complete. I have a copy of this locally from when I completed this assignment.

Source: I interned there during the summer of 2012

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.