7abb881795 
					 
					
						
						
							
							Prefix info-level log messages with "info:"  
						
						 
						
						
						
						
					 
					
						2017-08-11 07:35:55 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7e9dfd3292 
					 
					
						
						
							
							Remove sentry  
						
						 
						
						
						
						
					 
					
						2017-08-11 07:29:29 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						de18c52eef 
					 
					
						
						
							
							Add "meta" query param  
						
						 
						
						
						
						
					 
					
						2017-08-10 23:14:50 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5d726d6864 
					 
					
						
						
							
							Fix error message  
						
						 
						
						
						
						
					 
					
						2017-08-10 22:58:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f50bda1dd 
					 
					
						
						
							
							Remove ResponseUtils  
						
						 
						
						
						
						
					 
					
						2017-08-10 22:29:44 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						772897e71d 
					 
					
						
						
							
							Fix tests  
						
						 
						
						
						
						
					 
					
						2017-08-10 22:23:58 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f54b56b090 
					 
					
						
						
							
							Eliminate unnecessary file read  
						
						 
						
						
						
						
					 
					
						2017-08-10 22:21:13 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a485858381 
					 
					
						
						
							
							Prevent multiple concurrent requests for packages  
						
						 
						
						... 
						
						
						
						Fixes  #38 
Fixes  #41  
						
						
					 
					
						2017-08-10 22:11:55 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cb8061f3e1 
					 
					
						
						
							
							Prevent multiple concurrent requests for package info  
						
						 
						
						
						
						
					 
					
						2017-08-10 20:44:40 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7661950de3 
					 
					
						
						
							
							Break middleware out into separate files  
						
						 
						
						
						
						
					 
					
						2017-08-10 10:12:50 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8fdc926bb9 
					 
					
						
						
							
							Provide default Redis URL  
						
						 
						
						
						
						
					 
					
						2017-08-10 09:36:19 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25b8076811 
					 
					
						
						
							
							Rename blacklist file  
						
						 
						
						
						
						
					 
					
						2017-08-10 09:35:55 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c4da640c8 
					 
					
						
						
							
							Use same URL parsing function for log processing  
						
						 
						
						
						
						
					 
					
						2017-08-04 21:59:59 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6b3b279ca3 
					 
					
						
						
							
							Add some tests around URL parsing  
						
						 
						
						
						
						
					 
					
						2017-08-04 21:59:44 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7d4a4ba495 
					 
					
						
						
							
							Block malicious package  
						
						 
						
						... 
						
						
						
						See https://a9t9.com/blog/chrome-extension-adware/ 
Also https://twitter.com/A9T9_com/status/891784248260272128  
						
						
					 
					
						2017-07-30 18:00:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						db947a6e9e 
					 
					
						
						
							
							Small tweak  
						
						 
						
						
						
						
					 
					
						2017-07-26 21:42:27 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc1af59fa1 
					 
					
						
						
							
							Tweak formatting  
						
						 
						
						
						
						
					 
					
						2017-07-12 20:03:39 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f91bf5abd7 
					 
					
						
						
							
							Manually set mime type for TypeScript files  
						
						 
						
						
						
						
					 
					
						2017-07-12 19:53:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c68dac5f33 
					 
					
						
						
							
							Add tests for extensions with overridden contentTypes  
						
						 
						
						
						
						
					 
					
						2017-07-12 19:53:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3d4f50131a 
					 
					
						
						
							
							Migrate some files types to use mime.define  
						
						 
						
						
						
						
					 
					
						2017-07-12 19:53:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fc3152f819 
					 
					
						
						
							
							Update README  
						
						 
						
						
						
						
					 
					
						2017-07-03 15:51:20 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ac09a03c75 
					 
					
						
						
							
							Blacklist some malicious packages  
						
						 
						
						
						
						
					 
					
						2017-07-03 15:29:18 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f044cb7e7 
					 
					
						
						
							
							Revert "Remove "blacklist" feature"  
						
						 
						
						... 
						
						
						
						This reverts commit 24662763b1 . 
						
						
					 
					
						2017-07-03 15:20:45 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bb3e73918a 
					 
					
						
						
							
							Use OpenRedis  
						
						 
						
						
						
						
					 
					
						2017-06-21 11:52:32 +10:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						141e440b94 
					 
					
						
						
							
							Revert "Fix extraction race condition"  
						
						 
						
						... 
						
						
						
						This reverts commit 4aba460a63 . 
						
						
					 
					
						2017-06-21 11:22:35 +10:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dbaafe24db 
					 
					
						
						
							
							Add copyright notice  
						
						 
						
						
						
						
					 
					
						2017-06-09 13:49:27 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9bc5d47f1e 
					 
					
						
						
							
							Remove Cache-Control header from HTML content  
						
						 
						
						
						
						
					 
					
						2017-06-09 13:36:31 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						db8f1fa5a0 
					 
					
						
						
							
							Simplify middleware  
						
						 
						
						
						
						
					 
					
						2017-06-09 13:29:21 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c3d9ede460 
					 
					
						
						
							
							Return 404 for packages with no version info  
						
						 
						
						
						
						
					 
					
						2017-06-09 10:10:42 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						40cac70cc2 
					 
					
						
						
							
							Remove space from X-Forwarded-For value in logs  
						
						 
						
						
						
						
					 
					
						2017-06-06 16:00:40 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						84075faeed 
					 
					
						
						
							
							Simplify server log format  
						
						 
						
						
						
						
					 
					
						2017-06-06 15:51:25 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						24662763b1 
					 
					
						
						
							
							Remove "blacklist" feature  
						
						 
						
						
						
						
					 
					
						2017-06-06 15:28:08 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2ac8dc554e 
					 
					
						
						
							
							Fix Content-Length header in various response helpers  
						
						 
						
						
						
						
					 
					
						2017-06-01 09:55:58 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ff14e7d28d 
					 
					
						
						
							
							Encode URIs in redirect headers  
						
						 
						
						
						
						
					 
					
						2017-06-01 07:48:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						08407a1a2d 
					 
					
						
						
							
							Fix syntax error  
						
						 
						
						
						
						
					 
					
						2017-06-01 07:22:45 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						77007eacdf 
					 
					
						
						
							
							More generous gutters and margins on index pages  
						
						 
						
						
						
						
					 
					
						2017-05-30 10:03:02 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9dc0630bb3 
					 
					
						
						
							
							Return top scores already sorted  
						
						 
						
						
						
						
					 
					
						2017-05-30 09:20:45 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bca5babb7d 
					 
					
						
						
							
							Expire all stats keys eventually  
						
						 
						
						
						
						
					 
					
						2017-05-28 22:41:01 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1cb6233383 
					 
					
						
						
							
							Move workers into server dir  
						
						 
						
						
						
						
					 
					
						2017-05-26 09:04:03 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d26071ea76 
					 
					
						
						
							
							Consolidate some stats server functions  
						
						 
						
						
						
						
					 
					
						2017-05-25 16:37:54 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7742b9bd02 
					 
					
						
						
							
							Add top packages to stats summary script  
						
						 
						
						
						
						
					 
					
						2017-05-25 16:12:44 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3ea2ac210e 
					 
					
						
						
							
							Add script for showing stats summary  
						
						 
						
						
						
						
					 
					
						2017-05-25 15:27:42 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c0e8d771d0 
					 
					
						
						
							
							Update local tmp dir name  
						
						 
						
						
						
						
					 
					
						2017-05-25 12:01:29 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						84f297b400 
					 
					
						
						
							
							Use SETEX for storing package.json configs  
						
						 
						
						... 
						
						
						
						Also, remove option for in-memory cache. 
						
						
					 
					
						2017-05-25 11:54:15 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f297ba2217 
					 
					
						
						
							
							Remove debug statement  
						
						 
						
						
						
						
					 
					
						2017-05-25 11:39:18 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d2f318f53f 
					 
					
						
						
							
							Remove unneeded require  
						
						 
						
						
						
						
					 
					
						2017-05-25 11:31:31 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f9a21522c2 
					 
					
						
						
							
							Add code from express-unpkg repo  
						
						 
						
						
						
						
					 
					
						2017-05-25 11:25:42 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f7019626a2 
					 
					
						
						
							
							Add script to show a single log entry  
						
						 
						
						
						
						
					 
					
						2017-05-24 22:23:53 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						68b6b94e54 
					 
					
						
						
							
							Add LOG_IDS env variable  
						
						 
						
						
						
						
					 
					
						2017-05-24 21:38:06 -07:00