Paul Melnikow
9b4ff6a567
Unfork path-to-regexp ( #2757 )
...
pillarjs/path-to-regexp#176 has been released.
2019-01-14 20:41:48 +00:00
dependabot[bot]
eacb331f11
Bump fast-xml-parser from 3.12.11 to 3.12.12 ( #2758 )
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 3.12.11 to 3.12.12.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 20:38:34 +00:00
dependabot[bot]
be3102b08a
Bump simple-icons from 1.9.17 to 1.9.18 ( #2760 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.17 to 1.9.18.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 20:27:44 +00:00
dependabot[bot]
e999d9d018
Bump eslint-config-prettier from 3.3.0 to 3.4.0 ( #2759 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v3.3.0...v3.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 11:24:22 -05:00
dependabot[bot]
a6f09913e7
Bump got from 9.5.0 to 9.5.1 ( #2761 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.5.0 to 9.5.1.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.5.0...v9.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 11:02:28 -05:00
chris48s
697ff80dad
limit the size of response we will accept ( #2726 )
...
limit the size of response we will accept
2019-01-11 21:50:49 +00:00
Paul Melnikow
6c2b040fa6
Better modal ( #2554 )
...
- With examples using `pattern`s, allow building the URL from its component parts, including the query string.
- Provide a button to copy the link, with an animation.
To enable this for other badges, convert them to use a `pattern`: #1961 .
2019-01-10 21:04:07 -05:00
Paul Melnikow
e528c85ed4
Refactor [GithubContributors] and [NpmCollaborators] and change color ( #2715 )
...
See examples in https://github.com/badges/shields/pull/2705#issue-243107694
2019-01-09 16:29:57 -05:00
dependabot[bot]
7e1b1121a4
Bump eslint-plugin-mocha from 5.2.0 to 5.2.1 ( #2712 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/5.2.0...5.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-09 00:47:32 -05:00
Paul Melnikow
d1c5378bf0
Integrate new path-to-regexp with trailing optionals ( #2644 )
...
Fix #2497
Ref pillarjs/path-to-regexp#176
2019-01-08 18:50:47 -05:00
Paul Melnikow
a018bd8475
Fix frontend start script ( #2681 )
...
Without this change none of the badges load.
2019-01-07 20:37:31 -05:00
Paul Melnikow
8c7404a571
Run Prettier on the rest of the things ( #2662 )
2019-01-07 18:33:17 -05:00
dependabot[bot]
8b61dc6fbb
Bump danger from 7.0.1 to 7.0.2 ( #2667 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/7.0.1...7.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 18:34:45 +00:00
dependabot[bot]
12cf218d8e
Bump chalk from 2.4.1 to 2.4.2 ( #2665 )
...
Bumps [chalk](https://github.com/chalk/chalk ) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/chalk/chalk/releases )
- [Commits](https://github.com/chalk/chalk/compare/v2.4.1...v2.4.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 18:27:33 +00:00
dependabot[bot]
e33cd9bd7c
Bump js-yaml from 3.12.0 to 3.12.1 ( #2666 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.12.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 12:40:01 -05:00
dependabot[bot]
25ab3f6add
Bump eslint-plugin-react from 7.12.2 to 7.12.3 ( #2669 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.12.2 to 7.12.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 11:41:32 -05:00
dependabot[bot]
e285d0737d
Bump eslint from 5.11.1 to 5.12.0 ( #2668 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.11.1...v5.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 11:36:30 -05:00
dependabot[bot]
85146db12a
Bump eslint-plugin-node from 8.0.0 to 8.0.1 ( #2664 )
...
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases )
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-07 11:33:57 -05:00
Paul Melnikow
fa5309400d
PaaS, CI, and production-friendly config ( #2626 )
...
This implements the configuration mechanism I described in #2621 . The heavy lifting is delegated to [node-config](https://github.com/lorenwest/node-config ) with a minor assist from [dotenv](https://github.com/motdotla/dotenv ).
`private/secret.json` has been replaced with environment variables and/or `config/local.yml`. See `doc/server-secrets.md`.
2019-01-06 10:42:09 -05:00
Paul Melnikow
2e1ce1a4ca
Fix test:services:trace ( #2643 )
2019-01-06 05:26:56 -05:00
dependabot[bot]
9bc2e512b7
Bump nock from 11.0.0-beta.2 to 11.0.0-beta.3 ( #2627 )
...
Bumps [nock](https://github.com/nock/nock ) from 11.0.0-beta.2 to 11.0.0-beta.3.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-04 12:06:00 -05:00
dependabot[bot]
67f6e2c490
Bump emojic from 1.1.14 to 1.1.15 ( #2628 )
...
Bumps [emojic](https://github.com/IonicaBizau/emojic ) from 1.1.14 to 1.1.15.
- [Release notes](https://github.com/IonicaBizau/emojic/releases )
- [Commits](https://github.com/IonicaBizau/emojic/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-04 11:49:40 -05:00
dependabot[bot]
576f30fce5
Bump react from 16.6.3 to 16.7.0 ( #2585 )
...
* Bump react from 16.6.3 to 16.7.0
Bumps [react](https://github.com/facebook/react ) from 16.6.3 to 16.7.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/compare/v16.6.3...v16.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Bump react-dom from 16.6.3 to 16.7.0
Bumps [react-dom](https://github.com/facebook/react ) from 16.6.3 to 16.7.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/compare/v16.6.3...v16.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-03 21:18:08 +00:00
dependabot[bot]
b93e3ac26f
Bump @babel/polyfill from 7.0.0 to 7.2.5 ( #2587 )
...
Bumps [@babel/polyfill](https://github.com/babel/babel ) from 7.0.0 to 7.2.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.0.0...v7.2.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-03 20:59:07 +00:00
dependabot[bot]
dfe2b1cd0a
Bump next from 6.1.2 to 7.0.2 ( #2508 )
...
Bumps [next](https://github.com/zeit/next.js ) from 6.1.2 to 7.0.2.
- [Release notes](https://github.com/zeit/next.js/releases )
- [Commits](https://github.com/zeit/next.js/compare/6.1.2...7.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-03 09:52:12 -05:00
dependabot[bot]
191f75b634
Bump eslint-plugin-react from 7.12.1 to 7.12.2 ( #2624 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.12.1 to 7.12.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.1...v7.12.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-03 09:06:46 -05:00
dependabot[bot]
1502d1aa5b
Bump rimraf from 2.6.2 to 2.6.3 ( #2623 )
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/isaacs/rimraf/releases )
- [Commits](https://github.com/isaacs/rimraf/compare/v2.6.2...v2.6.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-03 01:09:14 -05:00
Paul Melnikow
7150b37831
Add test of the server entrypoint ( #2613 )
...
The server's entrypoint is an important bit of code which is not covered by our tests. This adds a test which should cover it.
2019-01-01 22:58:54 -05:00
dependabot[bot]
84183a3fc9
Bump joi from 14.3.0 to 14.3.1 ( #2610 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 14.3.0 to 14.3.1.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v14.3.0...v14.3.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-01 21:54:01 -05:00
dependabot[bot]
e09f5ca034
Bump styled-components from 4.1.2 to 4.1.3 ( #2556 )
...
Bumps [styled-components](https://github.com/styled-components/styled-components ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/styled-components/styled-components/releases )
- [Changelog](https://github.com/styled-components/styled-components/blob/master/CHANGELOG.md )
- [Commits](https://github.com/styled-components/styled-components/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-01 21:40:34 -05:00
dependabot[bot]
860c426a0c
Bump eslint-plugin-react from 7.11.1 to 7.12.0 ( #2609 )
...
* Bump eslint-plugin-react from 7.11.1 to 7.12.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.11.1 to 7.12.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Fix lint errors
* Better link
* Re-bump package version and remove lint disable
2019-01-01 21:22:09 -05:00
dependabot[bot]
02151cb700
Bump husky from 1.2.0 to 1.3.1 ( #2608 )
...
Bumps [husky](https://github.com/typicode/husky ) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/typicode/husky/releases )
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md )
- [Commits](https://github.com/typicode/husky/compare/v1.2.0...v1.3.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-01 15:54:03 +01:00
dependabot[bot]
38ede19e84
Bump danger from 6.1.12 to 7.0.1 ( #2600 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 6.1.12 to 7.0.1.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/6.1.12...7.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-30 21:44:02 +00:00
dependabot[bot]
e024020258
Bump simple-icons from 1.9.16 to 1.9.17 ( #2596 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.16 to 1.9.17.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-30 21:36:43 +00:00
dependabot[bot]
27da1aa659
Bump eslint from 5.11.0 to 5.11.1 ( #2595 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.11.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-28 10:37:37 -05:00
dependabot[bot]
5548027f12
Bump prom-client from 11.2.0 to 11.2.1 ( #2583 )
...
Bumps [prom-client](https://github.com/siimon/prom-client ) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/siimon/prom-client/releases )
- [Changelog](https://github.com/siimon/prom-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/siimon/prom-client/compare/v11.2.0...v11.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-26 17:15:56 -05:00
James Cahill
74faf163b7
Use cross-env for environment variables ( #2589 )
...
Fix #2580
2018-12-26 17:01:02 -05:00
dependabot[bot]
892a54cfd5
Bump eslint from 5.10.0 to 5.11.0 ( #2586 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.10.0...v5.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-24 19:30:56 +00:00
dependabot[bot]
c7c82e4fc9
Bump fast-xml-parser from 3.12.10 to 3.12.11 ( #2582 )
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 3.12.10 to 3.12.11.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-24 19:23:54 +00:00
dependabot[bot]
35f9d84701
Bump snap-shot-it from 6.2.7 to 6.2.8 ( #2584 )
...
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it ) from 6.2.7 to 6.2.8.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases )
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v6.2.7...v6.2.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-24 19:16:59 +00:00
Paul Melnikow
ea0d2fb641
Fix frontend coverage in CI, update dev scripts, adopt npm-run-all ( #2569 )
2018-12-23 22:06:38 -05:00
Paul Melnikow
57f826962b
Use beta release of nock ( #2579 )
2018-12-23 21:45:15 -05:00
Paul Melnikow
5c665a70da
Overhaul initialization pattern for server + server tests ( #2519 )
...
Because `server.js` was long a monolith, there are a bunch of shims in place to facilitate unit testing. A few of the test suites share port 1111 which means if one of them fails to set up, the port won't be freed and other unrelated tests will fail. Some of the tests which trigger server setup include timeouts which were added to give setup code time to run. In one the test suites, we actually modify `process.argv`, which seems completely gross.
This implements a few changes which improve this:
1. Separate the server from the server startup script, splitting out `lib/server.js`.
2. Inject config into the server and validate the config schema.
3. Inject config into the service test runner.
4. Use `portfinder`, a popular utility for grabbing open ports during testing.
5. Switch more of the setup code from callbacks to async-await.
Overall it leaves everything acting more reliably and looking rather cleaner, if in a few places more verbose.
It also fixes the root cause of #1455 , a `setTimeout` in `rate-limit`. Off and on during development of this changeset, Mocha would decide not to exit, and that turned out to be the culprit.
Fix #1455
2018-12-23 11:24:22 -05:00
dependabot[bot]
ad22dfccc5
Bump @babel/core from 7.1.6 to 7.2.2 ( #2543 )
...
* Bump @babel/core from 7.1.6 to 7.2.2
Bumps [@babel/core](https://github.com/babel/babel ) from 7.1.6 to 7.2.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.1.6...v7.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* upgrade the babel plugins
2018-12-21 20:49:05 +00:00
dependabot[bot]
65731f2255
Bump simple-icons from 1.9.15 to 1.9.16 ( #2559 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.15 to 1.9.16.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-21 19:37:02 +00:00
dependabot[bot]
a0009aa8b7
Bump react-modal from 3.7.1 to 3.8.1 ( #2558 )
...
Bumps [react-modal](https://github.com/reactjs/react-modal ) from 3.7.1 to 3.8.1.
- [Release notes](https://github.com/reactjs/react-modal/releases )
- [Changelog](https://github.com/reactjs/react-modal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reactjs/react-modal/compare/v3.7.1...v3.8.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-21 19:30:02 +00:00
Paul Melnikow
ebe4a12acc
Convert lodash.uniq to native and remove an unused dev dep ( #2564 )
2018-12-20 15:15:56 -05:00
Paul Melnikow
483aa5a008
Fix frontend coverage and tweak ignores ( #2563 )
...
Since we use Babel for the frontend but not the server, I split the coverage config into two separate files, one for the frontend and the other for the server.
Refs:
- https://github.com/istanbuljs/nyc#nyc
- https://github.com/istanbuljs/babel-plugin-istanbul#mocha-on-nodejs-through-nyc
Close #2552
2018-12-19 17:46:09 -05:00
dependabot[bot]
63f8b256a7
Bump got from 9.4.0 to 9.5.0 ( #2557 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.4.0 to 9.5.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.4.0...v9.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-19 10:56:37 -05:00
Paul Melnikow
5c7d07f5be
Rework styling using styled-components ( #2517 )
...
The CSS in the project is relatively difficult to change. While it is very DRY, it relies heavily on inheritance. It's difficult to make changes in the markup modal without it also affecting styles elsewhere.
[styled-components](https://www.styled-components.com/ ) is one of the leading CSS-in-JS libraries. By reducing dependency on global state and CSS inheritance, styles become explicit and are easier to inspect and change. It's also convenient that styles can be embedded with the components they modify.
At runtime, the library creates CSS classes, so it's pretty efficient.
We were using a little bit of [styled-jsx](https://github.com/zeit/styled-jsx ) before, which ships with Next.js, though styled-components is more widely used and I've had good experiences with it all around.
In a few cases I've duplicated styles where it feels more natural to do that: for example, `text-align: center` is duplicated in `Main` and `MarkupModal`.
Much of this is a refactor, though there are a few visual changes, particularly in the markup modal and the style examples.
2018-12-18 16:44:47 -05:00