Commit Graph

156 Commits

Author SHA1 Message Date
Michael Jackson 121ea62cb8 Upgrade tar-fs to 1.16.2 2018-05-22 22:24:26 -04:00
Michael Jackson 0f895bf04e Use lockfile to prevent inter-process races
See #86
2018-05-22 22:06:55 -04:00
Michael Jackson c6a6b1ffc9 Upgrade Jest and fix failing tests 2018-05-19 07:49:21 -07:00
MICHAEL JACKSON d6f2bc089a Better dev server integration 2018-02-16 16:00:06 -08:00
Michael Jackson a0d1479edd Inline babel-plugin-unpkg-rewrite 2018-01-09 21:41:19 -08:00
MICHAEL JACKSON 06c9296809 Add back static assets 2017-12-14 08:52:04 -08:00
MICHAEL JACKSON f2daafadfb Remove CRA stuff, revert to custom webpack config 2017-12-14 08:27:40 -08:00
MICHAEL JACKSON a4254eadcb Remove unneeded dep 2017-12-13 15:49:26 -08:00
MICHAEL JACKSON 8eb89bc815 Bump babel-plugin-unpkg-rewrite version 2017-12-05 12:12:40 -08:00
MICHAEL JACKSON 3a309241da Prettify 2017-11-25 13:25:01 -08:00
MICHAEL JACKSON 1c28ac2ff3 Use node 8.4.x in production, 8.4.0 on Travis 2017-11-11 20:43:44 -08:00
MICHAEL JACKSON 0e1f26849b Add auth and blacklist APIs 2017-11-11 12:18:13 -08:00
MICHAEL JACKSON a8ab0b7dab Fix failing tests 2017-11-08 09:13:28 -08:00
MICHAEL JACKSON 2d57d96e62 Prettier everything up 2017-11-08 08:57:15 -08:00
MICHAEL JACKSON b92f803b97 Add dev script 2017-10-16 15:20:06 -07:00
MICHAEL JACKSON de1195d8e9 Add _search endpoint 2017-09-13 08:01:46 -07:00
Andrea Giammarchi d72d4ee6f3 Add support for .mjs files
Right now these are served as application/octect-stream
The latest mime module with latest mime-db thought
would serve them as application/javascript.

This would enable direct .mjs access without needing
?module or runtime transpilations.
2017-09-12 07:34:48 -07:00
MICHAEL JACKSON dd8df34574 Revert to custom file sending logic 2017-08-26 20:38:31 -07:00
MICHAEL JACKSON 02b0dc91e2 More improvements for ?module 2017-08-24 00:33:58 -06:00
MICHAEL JACKSON c5092f4b68 Update dep 2017-08-23 14:16:57 -07:00
MICHAEL JACKSON eecbfb65f8 Rename server task to serve 2017-08-22 18:32:03 -07:00
MICHAEL JACKSON 2a0d32f214 Add /_stats endpoint
Also, remove ingest_stats worker and use the cache instead.
2017-08-22 08:52:30 -07:00
MICHAEL JACKSON be14167718 Use dependencies for unpkg URLs in module mode 2017-08-21 10:17:40 -07:00
MICHAEL JACKSON bc9731abf1 Add experimental ?expand flag
See #24
2017-08-18 17:55:13 -07:00
MICHAEL JACKSON 19d060f753 Add some server tests 2017-08-18 17:33:27 -07:00
MICHAEL JACKSON ce39e551c6 Deploy using Travis 2017-08-18 13:43:18 -07:00
MICHAEL JACKSON 666d8afc95 Add /_meta endpoint for metadata
Also, add integrity values to metadata.
2017-08-16 17:30:12 -07:00
MICHAEL JACKSON 9d15462006 Validate NPM package names in URLs 2017-08-15 11:56:08 -07:00
MICHAEL JACKSON 7e9dfd3292 Remove sentry 2017-08-11 07:29:29 -07:00
MICHAEL JACKSON 7742b9bd02 Add top packages to stats summary script 2017-05-25 16:12:44 -07:00
MICHAEL JACKSON 84f297b400 Use SETEX for storing package.json configs
Also, remove option for in-memory cache.
2017-05-25 11:54:15 -07:00
MICHAEL JACKSON f297ba2217 Remove debug statement 2017-05-25 11:39:18 -07:00
MICHAEL JACKSON f9a21522c2 Add code from express-unpkg repo 2017-05-25 11:25:42 -07:00
MICHAEL JACKSON 57879a8d04 Add log ingestion worker 2017-05-19 22:41:24 -07:00
MICHAEL JACKSON 3e10fabe43 Remove Trace, add Sentry 2017-04-24 14:39:53 -07:00
MICHAEL JACKSON 5eef247545 Bump express-unpkg dep 2017-04-22 13:51:35 -07:00
MICHAEL JACKSON f026ddaa40 Bump express-unpkg dep 2017-04-22 13:26:13 -07:00
MICHAEL JACKSON 81aaea1ee1 Bump express-unpkg dep 2017-04-22 12:27:19 -07:00
MICHAEL JACKSON 1ca8318654 Add Trace 2017-04-21 08:47:19 -07:00
MICHAEL JACKSON 2d5a93e86b Update express-unpkg dep 2017-04-19 16:55:15 -07:00
MICHAEL JACKSON 9381525d05 Remove logging of package requests 2017-04-19 16:35:55 -07:00
MICHAEL JACKSON a3197e803a Update to React 15.5 2017-04-14 21:01:29 -07:00
MICHAEL JACKSON 90b75c489e Rename "serve" command to "server" 2017-04-04 07:40:05 -07:00
MICHAEL JACKSON 0f5c584104 Rewrite frontend using create-react-app 2017-03-25 23:57:22 -07:00
MICHAEL JACKSON 69a578fcda Bump express-unpkg dep 2017-03-24 22:07:36 -07:00
MICHAEL JACKSON 3a8abaa9b5 Use express-unpkg 1.1.0 2017-03-24 18:21:20 -07:00
MICHAEL JACKSON 7a30db39b2 Use node 6.6.x 2017-03-24 18:19:09 -07:00
Michael Jackson 3f8cbe1a5c Add build script 2017-03-24 18:16:07 -07:00
Michael Jackson fc5a9311f1 Add private field 2017-03-24 18:16:07 -07:00
Michael Jackson fc2eda1576 Use "loose" option to babel-preset-es2015 2017-03-24 18:16:07 -07:00
Michael Jackson 0ec0fcd7c1 Use express-unpkg 2017-02-09 21:04:06 +11:00
Michael Jackson cfd8dc5f50 Bump npm-http-server dep to 4.3 2016-12-23 12:06:44 -08:00
Michael Jackson 38020ef40c Bump npm-http-server dep 2016-11-03 12:46:51 -07:00
Michael Jackson 5763c58d9b Bump npm-http-server dep 2016-10-21 23:02:02 -07:00
Michael Jackson 310eaf3ef3 Add repository field 2016-10-01 09:33:00 -07:00
Michael Jackson 3b1502d1ab More consistent fonts 2016-09-24 11:41:19 -07:00
Michael Jackson 4ea3ee27f7 Bump npm-http-server dep 2016-09-22 19:34:00 -07:00
Michael Jackson 97ce6bf647 Use an array for blacklist 2016-08-25 14:48:05 -06:00
Michael Jackson e8b0857f11 Use a blacklist for bad packages
This addresses the primary concern in https://github.com/jsdelivr/jsdelivr/issues/13136
2016-08-25 12:52:05 -06:00
Michael Jackson 692332659a Use separate .babelrc file 2016-08-02 15:58:11 -07:00
Michael Jackson db5ada9032 Bump npm-http-server dep 2016-08-02 14:58:06 -07:00
Michael Jackson c970005946 Bump npm-http-server dep 2016-08-01 21:37:23 -07:00
Michael Jackson 2ee06deb58 Bump npm-http-server dep 2016-08-01 15:11:50 -07:00
Michael Jackson 0bef5156aa Serve browser bundles by default if present 2016-07-29 15:21:46 -07:00
Michael Jackson a013741fa1 Bump npm-http-server dep 2016-07-25 12:04:49 -07:00
Michael Jackson 80caaa5495 Use es2015-loose 2016-07-25 12:04:32 -07:00
Michael Jackson 35f4f43169 Bump npm-http-server dep 2016-07-25 11:14:38 -07:00
Michael Jackson 51ace69ccb Update web-starter 2016-07-20 12:55:38 -07:00
Michael Jackson 0b2906979d Add clustering via $WEB_CONCURRENCY env var 2016-06-12 23:04:27 -07:00
Michael Jackson 326d9ae8e1 Bump npm-http-server dep 2016-05-30 08:06:25 -07:00
Michael Jackson e05e887132 Bump npm-http-server dep 2016-05-24 22:56:43 -07:00
Michael Jackson f4c1f7f338 Add ?json support 2016-05-24 18:07:46 -07:00
Michael Jackson c1c2805f40 Update npm-http-server dep 2016-05-23 12:59:20 -07:00
Michael Jackson 7c894f243d Update npm-http-server dep 2016-05-23 12:42:56 -07:00
Michael Jackson f5e10ac505 Update npm-http-server dep 2016-05-23 12:13:02 -07:00
Michael Jackson 87524d4947 Bunch of website stuff 2016-05-20 11:58:58 -07:00
Michael Jackson a6945504f9 Update npm-http-server dep 2016-05-16 23:10:32 -07:00
Michael Jackson 4a4f40dff2 Fix build step 2016-05-16 16:02:55 -07:00
Michael Jackson 66ef9a780c Add dev runtime from web-starter 2016-05-16 15:55:24 -07:00
Michael Jackson 5f2615f2ed Do not use Babel's register hook in production 2016-05-16 15:12:49 -07:00
Michael Jackson 9a3f72f3a6 Update npm-http-server dep 2016-05-16 14:16:52 -07:00
Michael Jackson 5b8c8e6742 Minify CSS 2016-05-03 13:05:14 -07:00
Michael Jackson 9e0f43484f Dynamically render home page 2016-04-30 17:26:23 -07:00
Michael Jackson a14c6cd90b Use separate modules, get config from env 2016-04-30 16:52:43 -07:00
Michael Jackson d74f619b5e Update package config 2016-04-30 16:31:42 -07:00
Michael Jackson 8e1b8edca7 Log successful requests to redis instance if available 2016-04-12 04:46:23 -07:00
Michael Jackson 3180839192 Add URL logging option 2016-04-12 04:35:01 -07:00
Michael Jackson 2ea9685bc1 Remove unnecessary package info 2016-04-12 02:51:18 -07:00
Michael Jackson 62fda6cc3e Bump npm-http-server dep 2016-04-12 02:47:12 -07:00
Michael Jackson 3a20c47940 Pin to node 5.8.x for now
A bug was introduced in node v5.9 that causes lots of "unknown
compression method" errors, see
https://github.com/nodejs/node/issues/5852

Hopefully this is fixed in the next patch release.
2016-04-07 21:46:21 +10:00
Michael Jackson 1e89ba7140 Update npm-http-server dep 2016-03-28 10:05:56 -07:00
Michael Jackson fc72435f6e Upgrade npm-http-server dep 2016-03-26 20:39:20 -07:00
Michael Jackson c209cedcfc Upgrade npm-http-server dep 2016-03-26 20:23:06 -07:00
Michael Jackson 20c9c1cc51 Update npm-http-server dep 2016-03-26 16:17:15 -07:00
Michael Jackson ebbbb18233 Update npm-http-server dep 2016-03-26 11:29:38 -07:00
Michael Jackson 396906dde1 Update npm-http-server dep 2016-03-26 00:09:07 -07:00
Michael Jackson a8687d3e75 Bump npm-http-server dep 2016-03-18 14:25:55 -07:00
Michael Jackson d452d57d86 Cache redirects for 5 mins 2016-03-18 12:45:49 -07:00
Michael Jackson 034adc5ccb Update npm-http-server dep 2016-03-15 22:24:18 -07:00
Michael Jackson 2251e278dc Bump npm-http-server dep 2016-03-12 22:51:41 -08:00