Commit Graph

178 Commits

Author SHA1 Message Date
Michael Jackson 0f895bf04e Use lockfile to prevent inter-process races
See #86
2018-05-22 22:06:55 -04:00
Michael Jackson 5b1750c182 Check Redis cache inside of process mutex 2018-05-22 21:16:10 -04:00
Michael Jackson 2f7f805cd6 Style tweaks 2018-05-22 21:13:51 -04:00
Michael Jackson 26ba4698e3 Add fetch* utils 2018-05-21 23:16:58 -04:00
Michael Jackson ba14f9197f Small tweaks 2018-05-21 13:35:14 -07:00
Michael Jackson c792515d01 Move middleware utils into server/utils 2018-05-21 13:26:00 -07:00
Michael Jackson 269b756aeb Break up parseURL middleware 2018-05-19 08:34:36 -07:00
Michael Jackson c6a6b1ffc9 Upgrade Jest and fix failing tests 2018-05-19 07:49:21 -07:00
Michael Jackson efe325e6ff Use 301 redirects for deprecated request paths and queries 2018-05-18 17:55:28 -07:00
Michael Jackson e3091c6fe5 Small tweaks 2018-05-17 15:22:13 -07:00
Michael Jackson 625e36ec5b Get registryURL from server config 2018-05-17 15:22:01 -07:00
Michael Jackson 29697ed201 Split up fetchFile middleware into 2 2018-05-17 15:21:35 -07:00
Michael Jackson da06a5b97f Add server config, move plugin file 2018-05-17 10:10:33 -07:00
Michael Jackson 041d0c407f Add error for non-JS files in ?module mode 2018-05-16 08:49:19 -07:00
Michael Jackson f8beb1c2a8 Use arrow functions for callbacks 2018-05-16 07:15:04 -07:00
Michael Jackson 34922f6c1b Refactor serveFile into separate functions for different use cases 2018-05-16 07:14:51 -07:00
Michael Jackson 8c6912e1a1 Style tweak 2018-05-15 18:21:46 -07:00
Michael Jackson 9a3aabda9f Re-enable serving HTML
Fixes #94
2018-05-15 18:21:09 -07:00
Michael Jackson 3d463a14aa Ignore Object property names
Fixes #96
2018-05-14 08:06:49 -07:00
Michael Jackson c62661e5a7 Ignore hard links as well 2018-05-08 07:48:13 -07:00
Michael Jackson 6b6875f8f8 Fix failing tests 2018-04-28 18:21:23 -07:00
Michael Jackson 172c955823 Fix symlink detection 2018-04-28 18:05:10 -07:00
Michael Jackson 577fa7608b Style tweaks 2018-04-04 12:08:42 -07:00
Michael Jackson 2568de0467 Disable Host header check in development 2018-04-04 12:03:42 -07:00
Michael Jackson fac3f4c5be Small tweaks 2018-04-03 22:32:32 -07:00
Michael Jackson 7a9dfd2260 Style tweaks 2018-04-03 22:24:22 -07:00
Michael Jackson 6e37129ec5 Style tweaks 2018-03-20 10:34:31 -07:00
MICHAEL JACKSON 340c8ce117 Style tweaks 2018-02-26 20:05:22 -08:00
MICHAEL JACKSON 347c993407 Move Redis client to utils/redis 2018-02-17 20:23:05 -08:00
MICHAEL JACKSON 2e1f09e913 Prettify everything 2018-02-17 20:23:05 -08:00
MICHAEL JACKSON d6f2bc089a Better dev server integration 2018-02-16 16:00:06 -08:00
MICHAEL JACKSON 39ad76e5a2 Style tweaks 2018-02-16 09:52:53 -08:00
Michael Jackson 79e50ec98c Ignore babelrc in ?module mode
Fixes #84
2018-01-09 21:41:31 -08:00
Michael Jackson a0d1479edd Inline babel-plugin-unpkg-rewrite 2018-01-09 21:41:19 -08:00
MICHAEL JACKSON f2daafadfb Remove CRA stuff, revert to custom webpack config 2017-12-14 08:27:40 -08:00
MICHAEL JACKSON 9c042e6368 Style tweaks 2017-12-13 16:22:58 -08:00
MICHAEL JACKSON 3d1c4ccc13 Serve JS files as utf-8
See https://github.com/babel/babel/issues/6976
2017-12-05 11:57:16 -08:00
MICHAEL JACKSON 758b420297 Style tweaks 2017-11-25 21:19:48 -08:00
MICHAEL JACKSON b06de06d89 Style tweaks 2017-11-25 20:28:55 -08:00
MICHAEL JACKSON 3a309241da Prettify 2017-11-25 13:25:01 -08:00
MICHAEL JACKSON e988180c8a Add counter for ?main usage 2017-11-16 21:25:50 -05:00
MICHAEL JACKSON a9497166fe Add counter for "browser" fallback usage
Helps with #63
2017-11-15 07:30:05 -05:00
MICHAEL JACKSON 3f2192f7d4 Style tweak 2017-11-14 17:00:00 -08:00
MICHAEL JACKSON 36efac099f Add support for scoped packages in blacklist URLs 2017-11-14 16:47:57 -08:00
MICHAEL JACKSON 4e31fd02cf Clear blacklist after tests 2017-11-14 16:46:59 -08:00
MICHAEL JACKSON 4b3f606d7d Move package name validation into parsePackageURL 2017-11-14 16:44:53 -08:00
MICHAEL JACKSON 67a17a961b Safer string interpolation 2017-11-14 15:19:17 -08:00
MICHAEL JACKSON a38eebfe7e Return JSON from /_publicKey 2017-11-13 21:33:04 -08:00
MICHAEL JACKSON ba6fb43aa4 Add API docs 2017-11-11 23:33:24 -08:00
MICHAEL JACKSON 32ca39a11e Fix method name 2017-11-11 22:35:30 -08:00