Paul Melnikow
a30c833989
Use drop-down for [jsdelivr] and make badges more consistent with other download badges ( #3036 )
...
- Move to Downloads
- Use `downloadCount`
- Remove “hits” from the message
- "package name" for better appearance in the UI
- Simplify validation
2019-02-19 23:43:29 -05:00
dependabot[bot]
049a5409df
Bump @babel/core from 7.2.2 to 7.3.3 ( #3021 )
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.2.2 to 7.3.3.
- [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.2.2...v7.3.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-19 22:21:10 -05:00
chris48s
6d4b80f124
improve docs for simple-icons usage ( #3007 )
...
Closes #2980
2019-02-19 22:14:19 -05:00
mbarkhau
6e2992a3e3
Rename colorB -> color; colorA -> labelColor ( #3012 )
...
This makes it possible to override the parameters `color` and `labelColor`.
ref #2673
2019-02-19 22:03:45 -05:00
dependabot[bot]
f721eb7424
Bump sinon from 7.2.3 to 7.2.4 ( #3044 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 7.2.3 to 7.2.4.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v7.2.3...v7.2.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-19 21:44:17 +00:00
dependabot[bot]
cc57d32227
Bump danger from 7.0.11 to 7.0.12 ( #3023 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 7.0.11 to 7.0.12.
- [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.11...7.0.12 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-19 21:41:44 +00:00
dependabot[bot]
d727986f5a
Bump lint-staged from 8.1.3 to 8.1.4 ( #3016 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 8.1.3 to 8.1.4.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.3...v8.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-19 21:36:09 +00:00
dependabot[bot]
471e53afc9
Bump simple-icons from 1.9.19 to 1.9.20 ( #3045 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.19 to 1.9.20.
- [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-02-19 20:12:57 +00:00
dependabot[bot]
42683a0587
Bump enzyme from 3.8.0 to 3.9.0 ( #3046 )
...
Bumps [enzyme](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/airbnb/enzyme/releases )
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md )
- [Commits](https://github.com/airbnb/enzyme/compare/enzyme@3.8.0...enzyme@3.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-19 09:58:26 -05:00
Ville Skyttä
4611ba155f
Fall back to grabbing version from "X :: Only" PyPI classifiers ( #3014 )
...
If e.g. `3 :: Only` alone is specified in PyPI classifiers, use the `3` from it. But keep ignoring `* :: Only` when it occurs with other specified versions.
2019-02-19 09:49:53 -05:00
Danial
c2c27ea795
TypeError: s.toLowerCase is not a function ( #2997 )
...
* Update color.js
* fixup
* expand test
* expand test (again)
2019-02-19 07:52:37 +00:00
dependabot[bot]
0e56258ac0
Bump eslint from 5.13.0 to 5.14.1 ( #3039 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.13.0 to 5.14.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.13.0...v5.14.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 23:09:22 -05:00
Paul Melnikow
24bc7bcfc3
Combine some badge examples using drop-downs, tweak some titles ( #3037 )
...
This updates several badges to take advantage of the change from #2882 .
2019-02-18 23:04:25 -05:00
Paul Melnikow
ed7aa31808
Test transformExample directly ( #3041 )
...
These tests in `base.spec.js` are difficult to maintain.
2019-02-18 21:45:05 -05:00
Pierre-Yves B
e9f8700607
Fix [GithubManifest] and [GithubPackageJson] when static auth is not configured ( #3035 )
...
* Fixed fetchJsonFromRepo function when static auth is not configured
* Removed redundant await
2019-02-18 20:02:52 -06:00
Paul Melnikow
ad81f3c6ec
Improve handling of some edge cases and get 100% coverage in generate-image-markup ( #3030 )
2019-02-18 19:25:02 -06:00
Paul Melnikow
1b2b556ca8
Upgrade to Mocha 6 and update configuration ( #3038 )
2019-02-18 19:03:49 -06:00
Paul Melnikow
0013641fdd
Tweak [maintenance] badge in UI; remove caching ( #3040 )
2019-02-18 18:54:27 -06:00
dependabot[bot]
b1afccdce9
Bump react from 16.8.1 to 16.8.2 ( #3022 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.8.1 to 16.8.2.
- [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.8.1...v16.8.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 19:22:20 -05:00
dependabot[bot]
ad6f8a07f9
Bump eslint from 5.13.0 to 5.14.0 ( #3020 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.13.0 to 5.14.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.13.0...v5.14.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 19:16:43 -05:00
dependabot[bot]
f8a48457fb
Bump gatsby from 2.1.2 to 2.1.4 ( #3019 )
...
Bumps [gatsby](https://github.com/gatsbyjs/gatsby ) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 19:14:04 -05:00
Paul Melnikow
d2861b2438
Switch to npm ci ( #3034 )
2019-02-18 17:28:09 -06:00
Paul Melnikow
0506a1762b
Omit style=flat from generated URLs ( #3025 )
...
Fix #2953
2019-02-18 18:01:44 -05:00
dependabot[bot]
c45aa48a98
Bump react-error-overlay from 5.1.2 to 5.1.3 ( #2975 )
...
Bumps [react-error-overlay](https://github.com/facebook/create-react-app ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md )
- [Commits](https://github.com/facebook/create-react-app/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 17:03:13 -05:00
Paul Melnikow
0f22c0af25
Store the deprecation date inline ( #3029 )
2019-02-18 16:59:08 -05:00
dependabot[bot]
fb21fdf8f7
Bump babel-plugin-istanbul from 5.1.0 to 5.1.1 ( #3017 )
...
Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/istanbuljs/babel-plugin-istanbul/releases )
- [Changelog](https://github.com/istanbuljs/babel-plugin-istanbul/blob/master/CHANGELOG.md )
- [Commits](https://github.com/istanbuljs/babel-plugin-istanbul/compare/v5.1.0...v5.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 11:18:50 -05:00
Paul Melnikow
d9d8a3b227
Drop-downs for multiple choice in patterns ( #2882 )
...
You can see it in effect on the PyPI downloads and the David badges.
2019-02-18 11:15:58 -05:00
Yves M
ee1a3564f0
Add Mozilla HTTP Observatory badge [MozillaObservatory] ( #2935 )
...
* Begin adding a Mozilla Observatory badge (#2912 )
* Update tests to add `_shields_test` style
* Add grade D and E tests
* Use Shields color scheme
See https://github.com/badges/shields/issues/2912#issuecomment-461692102
Resolves https://github.com/badges/shields/pull/2935#pullrequestreview-201432260
* Fix grade response validation regex
A bit related to https://github.com/badges/shields/pull/2935#pullrequestreview-201430779
* Add the host query param via `qs`
Resolves https://github.com/badges/shields/pull/2935#pullrequestreview-201431030
* Make integration test on `observatory.mozilla.org`
- Use `observatory.mozilla.org` instead of `httpforever.com` which redirects to `observatory.mozilla.org` anyway
- Use Joi to validate response
* Define label using `defaultBadgeData`
Resolves https://github.com/badges/shields/pull/2935#pullrequestreview-201431659
* Use short hand `createServiceTester` function helper in tests
Resolves https://github.com/badges/shields/pull/2935#pullrequestreview-201431898
* Make strict API response validation
See https://github.com/badges/shields/pull/2935#discussion_r255097377
* Use the `POST` API endpoint to trigger new scan
See https://github.com/badges/shields/issues/2912#issuecomment-462064216
* Handle unfinished states
See https://github.com/badges/shields/issues/2912#issuecomment-462064216
* Split in two separate badges, with and without score
See https://github.com/badges/shields/issues/2912#issuecomment-461692102
* Add a `publish` parameter to include the result in public list
See https://github.com/badges/shields/issues/2912#issuecomment-461764463
* Add documentation
* Update tester importer
* Remove redundant example keywords
Resolves https://github.com/badges/shields/pull/2935#discussion_r257086115
* Minor doc update
* Embed `which` parameter in examples
* Remove root path from pattern in examples
Resolves https://github.com/badges/shields/pull/2935#pullrequestreview-204582763 and https://github.com/badges/shields/pull/2935#pullrequestreview-204582728
* Pass missing `which` parameter to render in examples
Resolves https://github.com/badges/shields/pull/2935#discussion_r257525827
2019-02-18 10:11:44 -06:00
dependabot[bot]
c93f254315
Bump react-dom from 16.8.1 to 16.8.2 ( #2999 )
...
Bumps [react-dom](https://github.com/facebook/react ) from 16.8.1 to 16.8.2.
- [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.8.1...v16.8.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-18 10:45:49 -05:00
chris48s
332e9fd6b7
refactor [bugzilla] service ( #3008 )
2019-02-17 22:55:31 -05:00
chris48s
0b73b1d734
refactor [discourse] service ( #3010 )
2019-02-17 21:57:44 +00:00
chris48s
0da1bb2b08
fix asciiDoc links ( #3006 )
2019-02-17 21:55:22 +00:00
Ville Skyttä
0d4a74bd6b
Spelling fixes ( #3013 )
2019-02-17 14:10:06 -05:00
chris48s
21612dd003
refactor [homebrew] service ( #3009 )
2019-02-17 17:25:31 +00:00
dependabot[bot]
8d9fa3e121
Bump nyc from 13.2.0 to 13.3.0 ( #3000 )
...
Bumps [nyc](https://github.com/istanbuljs/nyc ) from 13.2.0 to 13.3.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases )
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.2.0...v13.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-17 12:25:27 +00:00
dependabot[bot]
e6ef4c012c
Bump snap-shot-it from 6.2.9 to 6.2.10 ( #3002 )
...
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it ) from 6.2.9 to 6.2.10.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases )
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v6.2.9...v6.2.10 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-17 12:21:05 +00:00
dependabot[bot]
37ecb936fc
Bump gatsby from 2.1.0 to 2.1.2 ( #3001 )
...
Bumps [gatsby](https://github.com/gatsbyjs/gatsby ) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-17 12:18:02 +00:00
James Cahill
08bf7f02e4
refactor maintenance service ( #3005 )
2019-02-17 12:03:31 +00:00
Skyper
6bfa9b1b41
Add badges for [Keybase] ( #2969 )
...
* Add Keybase PGP badge
* Return 'not found' if the key is not present
* Change the default colour
* Add more constraints to the schema
* Render 64-bit fingerprints
* Add example
* Add a 'hex()' constraint to the fingerprint
* Improve error handling
* Add class 'KeybaseProfile'
* Add unit tests for Keybase PGP
* Add Keybase BTC
* Add unit tests for Keybase BTC
* Add Keybase ZEC
* Add unit tests for Keybase ZEC
* Add Keybase XLM
* Add unit tests for Keybase XLM
* Validate the BTC address using a regex
Regex taken from
https://mokagio.github.io/tech-journal/2014/11/21/regex-bitcoin.html .
* Exclude 'not found' from addresses' value in unit tests
* Remove useless keywords
* Add the link to the Keybase API documentation
* Move the colour into 'defaultBadgeData'
* Remove the HTTP method
'GET' is already the default one.
* Improve the error handling for Keybase BTC
* Add more constraints to the Keybase BTC schema
* Update one unit test for Keybase BTC
* Fix the error handling for Keybase BTC
* Add more unit tests for Keybase BTC
* Improve the error handling for Keybase ZEC
* Improve the error handling for Keybase PGP
* Improve the error handling for Keybase XLM
* Display a real username value in the examples
* Include the status code in the schemas
* Move the category to the base class
The same category is used by all badges.
* Add function 'transform' to the base class
The function 'transform' is used to encapsulate the error handling logic
as it is the same in each service.
2019-02-15 11:33:06 -06:00
Paul Melnikow
90f8ad5b73
Endpoint customizer ( #2908 )
...
* Endpoint page: improve formatting
Cherry-picked from #2906 (conflicts with that)
Partly addresses #2837 but does not resolve it
* Add badge customizer to the endpoint page
* Clean lint
2019-02-14 19:08:56 -06:00
dependabot[bot]
24945adfed
[Security] Bump handlebars from 4.0.12 to 4.1.0 ( #2992 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.12 to 4.1.0. **This update includes security fixes.**
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.0/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-14 20:36:00 +00:00
dependabot[bot]
5c44cf5d23
Bump prop-types from 15.7.1 to 15.7.2 ( #2993 )
...
Bumps [prop-types](https://github.com/facebook/prop-types ) from 15.7.1 to 15.7.2.
- [Release notes](https://github.com/facebook/prop-types/releases )
- [Changelog](https://github.com/facebook/prop-types/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/prop-types/compare/v15.7.1...v15.7.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-14 20:31:35 +00:00
dependabot[bot]
74b7bba79e
Bump eslint-plugin-mocha from 5.2.1 to 5.3.0 ( #2994 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 5.2.1 to 5.3.0.
- [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.1...5.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-14 20:24:45 +00:00
Paul Melnikow
951aa0f9ea
Tweak [spiget] badges ( #2989 )
...
1. Move tested server version to platform support, tweak description
2. Make version label consistent with others
3. Avoid setting category or defaultBadgeData in abstract base class
2019-02-13 21:06:31 +00:00
dependabot[bot]
c8d49d702a
Bump gatsby from 2.0.118 to 2.1.0 ( #2990 )
...
Bumps [gatsby](https://github.com/gatsbyjs/gatsby ) from 2.0.118 to 2.1.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-13 20:59:28 +00:00
dependabot[bot]
0284697ffe
Bump react-pose from 4.0.6 to 4.0.7 ( #2985 )
...
Bumps [react-pose](https://github.com/Popmotion/popmotion ) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/Popmotion/popmotion/releases )
- [Commits](https://github.com/Popmotion/popmotion/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-13 20:56:16 +00:00
dependabot[bot]
3acef2fb2e
Bump danger from 7.0.10 to 7.0.11 ( #2984 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 7.0.10 to 7.0.11.
- [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.10...7.0.11 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-13 20:49:33 +00:00
dependabot[bot]
5d7bfe7d0b
Bump gatsby-plugin-catch-links from 2.0.10 to 2.0.11 ( #2983 )
...
Bumps [gatsby-plugin-catch-links](https://github.com/gatsbyjs/gatsby ) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-02-13 20:47:15 +00:00
Pierre-Yves B
bc96f0e25f
Example keywords validation ( #2956 )
...
This pull request closes #2551 : making sure that the keywords don't already appear in the example's title.
I also added validation that checks that they are at least two characters long, as this is enforced by the homepage when type your search.
2019-02-13 13:14:12 -04:00
Paul Melnikow
28948925c2
Remove unused parameter in [jsdelivr] ( #2988 )
...
`headers` is not destructured; it needs to go in `options`.
`Shields.io` is set as the `User-Agent` by code in `legacy-request-handler.js`.
2019-02-13 10:53:48 -06:00