Commit Graph

12 Commits

Author SHA1 Message Date
MICHAEL JACKSON a485858381 Prevent multiple concurrent requests for packages
Fixes #38
Fixes #41
2017-08-10 22:11:55 -07:00
MICHAEL JACKSON cb8061f3e1 Prevent multiple concurrent requests for package info 2017-08-10 20:44:40 -07:00
MICHAEL JACKSON 7661950de3 Break middleware out into separate files 2017-08-10 10:12:50 -07:00
MICHAEL JACKSON 3f044cb7e7 Revert "Remove "blacklist" feature"
This reverts commit 24662763b1.
2017-07-03 15:20:45 -07:00
MICHAEL JACKSON 141e440b94 Revert "Fix extraction race condition"
This reverts commit 4aba460a63.
2017-06-21 11:22:35 +10:00
MICHAEL JACKSON 4aba460a63 Fix extraction race condition
This is a fix for a subtle bug that caused unpkg to incorrectly send a
404 response for valid filenames on the initial request for a package.
It also prevents the same package from being downloaded from the
registry by multiple concurrent requests.

Fixes #38
Closes #39
2017-06-18 16:57:26 +10:00
MICHAEL JACKSON 9bc5d47f1e Remove Cache-Control header from HTML content 2017-06-09 13:36:31 -07:00
MICHAEL JACKSON db8f1fa5a0 Simplify middleware 2017-06-09 13:29:21 -07:00
MICHAEL JACKSON c3d9ede460 Return 404 for packages with no version info 2017-06-09 10:10:42 -07:00
MICHAEL JACKSON 24662763b1 Remove "blacklist" feature 2017-06-06 15:28:08 -07:00
MICHAEL JACKSON c0e8d771d0 Update local tmp dir name 2017-05-25 12:01:29 -07:00
MICHAEL JACKSON f9a21522c2 Add code from express-unpkg repo 2017-05-25 11:25:42 -07:00