Commit Graph

177 Commits

Author SHA1 Message Date
Michael Jackson ea35b3c4b0 Add Google Analytics 2019-07-24 18:27:54 -07:00
Michael Jackson ab83549744 Remove addLeadingSlash util 2019-07-10 21:59:23 -07:00
Michael Jackson b2d8e28344 Remove requireAuth middleware 2019-07-10 17:13:24 -07:00
Michael Jackson 64e2abc361 Style tweaks 2019-07-10 16:48:30 -07:00
Michael Jackson 40bd9dbec4 Finer-grained caching of data from npm 2019-07-10 16:27:19 -07:00
Michael Jackson ce9206f59e Add tests for stats api 2019-07-10 13:24:27 -07:00
Michael Jackson 95d32536f7 Add test for regular file request 2019-07-10 08:06:00 -07:00
Michael Jackson 681fc99a68 Add more tests 2019-07-09 23:50:00 -07:00
Michael Jackson d84a0296b2 Consolidate markup helpers module 2019-07-09 22:47:10 -07:00
Michael Jackson f3ecddea47 Get tests passing again 2019-07-09 17:21:25 -07:00
Michael Jackson 2e3c9ff526 Consolidate stats module 2019-07-09 16:51:39 -07:00
Michael Jackson b67e58d985 Consolidate npm utils in the same file 2019-07-09 16:16:43 -07:00
Michael Jackson 08c66598a0 Minor tweaks to client code 2019-07-09 16:13:55 -07:00
Michael Jackson 69030142da Tighten up global ESLint config 2019-07-09 15:43:45 -07:00
Michael Jackson a3df5eb480 Tighten up ESLint client config 2019-07-09 14:29:20 -07:00
Michael Jackson d5022035c1 Remove secret key 2019-07-09 11:21:54 -07:00
Michael Jackson c06657d9a7 Remove log ingestion 2019-07-09 11:10:41 -07:00
Michael Jackson 390498fefd Remove auth 2019-07-09 11:06:49 -07:00
Michael Jackson aded6f9dbc Decrease CDN cache time to 10 mins
Fixes #186
2019-07-03 14:32:32 -07:00
Michael Jackson 90473733a5 Do not return non-ESM on ?module requests 2019-07-02 21:16:28 -07:00
Jakub Jastrzębski c906861d8f Add space before `<code>` tag 2019-07-02 11:33:26 -07:00
Michael Jackson bfecd1955a Fix module resolution
Fixes a bug where a directory with the same name as a file would be used
as the matching entry instead of that file depending on the order they
appear in the tarball.
2019-06-10 21:02:29 -07:00
Michael Jackson 397a9f8915 Inline query sanitizer 2019-06-10 21:02:29 -07:00
Michael Jackson bade9a8d28 Remove _metadata and _module routes
See #185
2019-06-10 21:02:22 -07:00
Michael Jackson 59e402a41e Merge branch 'percent-40' of https://github.com/wmhilton-contrib/unpkg.com into wmhilton-contrib-percent-40 2019-04-08 17:38:13 -07:00
Simey de Klerk fe11175f9d add space between in and `package.json` 2019-04-08 17:33:02 -07:00
Jason Miller ab78e4f64e Preserve minification semantics when transforming bare import specifiers (fixes #149) 2019-03-20 14:55:32 -07:00
Michael Jackson da7b915cca Update percentage decimal places 2019-02-25 22:20:30 -08:00
Michael Jackson 5df576c6be Add /_metadata and /_module functions
Also deprecate ?meta and ?module query params.
2019-02-23 22:04:16 -08:00
William Hilton 1ee88d0166
Merge branch 'master' into percent-40 2019-02-01 12:17:42 -05:00
Michael Jackson d560b6281f Use CORS in front of static server 2019-01-30 08:05:19 -07:00
Michael Jackson 154b732540 Deploy staging on App Engine standard 2019-01-29 14:57:39 -08:00
Michael Jackson 20c4926e13 Lengthen cache ttl on 404s 2019-01-28 12:15:05 -08:00
Michael Jackson 21ce9c50cf Trust the X-Forwarded-For header 2019-01-26 22:08:42 -08:00
Michael Jackson 5533725f64 Remove Firebase hosting, back to Express 2019-01-26 15:20:15 -08:00
Michael Jackson 0ae074e164 Fix linting errors 2019-01-24 18:51:35 -08:00
Michael Jackson ea85062ff6 Inline scripts in HTML files 2019-01-24 15:49:21 -08:00
Michael Jackson e6134b0969 Use production globals in staging 2019-01-23 21:43:52 -08:00
Michael Jackson bbb092d974 Load React + Emotion from CDN URLs, use globals
Remove @emotion/babel-preset-css-prop and import { jsx } from
@emotion/core directly instead so Rollup can preserve imports order when
bundling (instead of @emotion/core automatically inserting itself as the
first import).
2019-01-23 21:27:58 -08:00
Michael Jackson 6228f0de5c Update plugin signature 2019-01-23 16:03:27 -08:00
Michael Jackson 3526660620 Tweak max-age for semver/tag redirects 2019-01-17 19:13:56 -08:00
Michael Jackson 276013696e Cache 302s for 4 hours 2019-01-17 18:36:46 -08:00
Michael Jackson 949c40f11e Hide verbose logs behind debug flag 2019-01-15 16:43:52 -08:00
Michael Jackson 7800180d3b Fix linting errors 2019-01-15 14:57:09 -08:00
Michael Jackson 3fd7ef86f3 Update home page 2019-01-15 14:49:02 -08:00
Michael Jackson 9cdcf90c8a Add HTTP request logging 2019-01-15 08:42:54 -08:00
Michael Jackson dc2950d60f Remove blacklist code 2019-01-15 08:06:12 -08:00
Michael Jackson 5e7323f389 Remove incrementCounter utility 2019-01-15 07:59:53 -08:00
Michael Jackson 83cb7af8b0 Use express.Router directly 2019-01-15 07:56:26 -08:00
Michael Jackson 9cd9fb1f9b Remove auto-index function 2019-01-14 20:41:51 -08:00