3022 Commits
Author SHA1 Message Date
chris48sandGitHub ebb70d57f7 gh-badges v2.2.0 (#3501) 2.2.0 2019-05-29 16:16:32 +01:00
chris48sandGitHub 6fe566de41 Run package tests on multiple node versions with nvm (#3498)
* run package tests on multiple node versions with nvm

* Add release schedule to package readme
2019-05-29 15:55:27 +01:00
chris48sandGitHub 65dba94fa8 Stop calling variables "which"; affects [chocolatey codeclimate conda crates debug gem github mozillaobservatory nuget powershellgallery pub resharper vaadindirectory] (#3495)
* which --> variant

* which --> alias

* which --> format

* improve param names in codeclimate

* improve param names in github-issue-detail

* update github-issue-detail unit tests
2019-05-28 23:00:12 +01:00
chris48sandGitHub 52e90af310 improve docs on examples (#3496)
closes #3440
2019-05-28 18:17:59 +01:00
chris48sandGitHub fd271b834e Switch dependabot to yaml config (#3494) 2019-05-28 18:09:56 +01:00
dependabot-preview[bot]andCaleb Cartwright f9ec7d0445 Build(deps-dev): bump react-error-overlay from 5.1.4 to 5.1.6 (#3485)
Bumps [react-error-overlay](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-error-overlay) from 5.1.4 to 5.1.6.
- [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/react-error-overlay@5.1.6/packages/react-error-overlay)
2019-05-27 16:47:55 -05:00
dependabot-preview[bot]andCaleb Cartwright eb2325310c Build(deps-dev): bump @babel/core from 7.4.3 to 7.4.5 (#3492)
Bumps [@babel/core](https://github.com/babel/babel) from 7.4.3 to 7.4.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.4.3...v7.4.5)
2019-05-27 16:30:40 -05:00
Caleb CartwrightandGitHub b7982f4459 feat: deprecate jitpack downloads badge (#3493) 2019-05-27 16:21:50 -05:00
dependabot-preview[bot]andCaleb Cartwright 91ce3af172 Build(deps-dev): bump @babel/preset-env from 7.4.4 to 7.4.5 (#3491)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.4.4 to 7.4.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.4.4...v7.4.5)
2019-05-27 15:54:31 -05:00
dependabot-preview[bot]andMarcin Mielnicki c54a7a0042 Build(deps-dev): bump lint-staged from 8.1.5 to 8.1.7 (#3487)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.5 to 8.1.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.5...v8.1.7)
2019-05-27 20:03:55 +02:00
dependabot-preview[bot]andCaleb Cartwright 1e3d66f3e9 Build(deps-dev): bump eslint-plugin-import from 2.17.2 to 2.17.3 (#3489)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.2 to 2.17.3.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.2...v2.17.3)
2019-05-27 11:20:19 -05:00
dependabot-preview[bot]andCaleb Cartwright b2281880d1 Build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.3.0 (#3488)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.1.0 to 4.3.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/v4.1.0...v4.3.0)
2019-05-27 11:13:46 -05:00
dependabot-preview[bot]andPierre-Yves B 099b7b4eb9 Build(deps-dev): bump js-yaml-loader from 1.0.1 to 1.2.0 (#3483)
Bumps [js-yaml-loader](https://github.com/wwilsman/js-yaml-loader) from 1.0.1 to 1.2.0.
- [Release notes](https://github.com/wwilsman/js-yaml-loader/releases)
- [Commits](https://github.com/wwilsman/js-yaml-loader/compare/v1.0.1...v1.2.0)
2019-05-27 13:52:48 +01:00
dependabot-preview[bot]andPierre-Yves B ab711fca05 Build(deps-dev): bump cypress from 3.3.0 to 3.3.1 (#3490)
Bumps [cypress](https://github.com/cypress-io/cypress) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v3.3.0...v3.3.1)
2019-05-27 12:53:51 +01:00
dependabot-preview[bot]andPierre-Yves B ae0f4e236a Build(deps-dev): bump nodemon from 1.19.0 to 1.19.1 (#3486)
Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.19.0...v1.19.1)
2019-05-27 12:45:38 +01:00
dependabot-preview[bot]andPaul Melnikow 8b3bbdb228 Build(deps): bump check-node-version from 3.3.0 to 4.0.1 (#3467)
Bumps [check-node-version](https://github.com/parshap/check-node-version) from 3.3.0 to 4.0.1.
- [Release notes](https://github.com/parshap/check-node-version/releases)
- [Changelog](https://github.com/parshap/check-node-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parshap/check-node-version/compare/v3.3.0...v4.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-26 11:41:03 -04:00
Pierre-Yves BandGitHub 638ad39b9e Open Collective funding link (#3481) 2019-05-26 12:12:04 +01:00
dependabot-preview[bot]andPierre-Yves B 46c4063880 Build(deps): bump camp from 17.2.2 to 17.2.4 (#3466)
Bumps [camp](https://github.com/espadrine/sc) from 17.2.2 to 17.2.4.
- [Release notes](https://github.com/espadrine/sc/releases)
- [Commits](https://github.com/espadrine/sc/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-25 11:51:13 +01:00
Caleb CartwrightandPierre-Yves B 27bb914172 tests(jsdelivr): increase timeout (#3479) 2019-05-24 13:31:35 +01:00
Caleb CartwrightandPierre-Yves B 37030b92a0 tests(GitHubReleaseDate): fix service tests (#3477) 2019-05-23 19:31:49 +01:00
Josep BernadandCaleb Cartwright d685cde52b Add [Subreddit] subscribers (#3443)
* Add subreddit subscribers service file.

* Fix small detail in service and add the tests files.

* Apply suggested changes by the reviewer.

* Trying to make tests work.

* Update services/reddit/subreddit-subscribers.tester.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Update services/reddit/subreddit-subscribers.tester.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Apply suggested changes.

* Add different handler for non existing and invalid subreddits.

* Update services/reddit/subreddit-subscribers.service.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>
2019-05-22 16:43:13 -05:00
Caleb CartwrightandPierre-Yves B 02ee34d2a5 feat: deprecate waffle service (#3473) 2019-05-22 10:04:30 +01:00
Caleb CartwrightandPierre-Yves B f94efe74db fix(aur): update test and example package targets (#3475) 2019-05-22 09:57:15 +01:00
dependabot[bot]andCaleb Cartwright a74ddc87ef Build(deps-dev): bump gatsby from 2.3.33 to 2.5.7 (#3472)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.3.33 to 2.5.7.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.3.33...gatsby@2.5.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 18:14:27 -05:00
dependabot[bot]andCaleb Cartwright c358ad3cd9 Build(deps-dev): bump enzyme-adapter-react-16 from 1.12.1 to 1.13.1 (#3469)
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme-adapter-react-16) from 1.12.1 to 1.13.1.
- [Release notes](https://github.com/airbnb/enzyme/releases)
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/enzyme/commits/enzyme-adapter-react-16@1.13.1/packages/enzyme-adapter-react-16)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 17:30:49 -05:00
dependabot[bot]andPierre-Yves B f5b3119a43 Build(deps-dev): bump husky from 2.1.0 to 2.3.0 (#3463)
Bumps [husky](https://github.com/typicode/husky) from 2.1.0 to 2.3.0.
- [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/v2.1.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 19:57:46 +01:00
dependabot[bot]andCaleb Cartwright 066a2957a4 Build(deps-dev): bump @babel/plugin-proposal-class-properties (#3462)
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.4.0 to 7.4.4.
- [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.4.0...v7.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 10:37:30 -05:00
dependabot[bot]andCaleb Cartwright d593da8337 Build(deps-dev): bump eslint-plugin-react from 7.12.4 to 7.13.0 (#3461)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.4 to 7.13.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.12.4...v7.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 07:36:06 -05:00
dependabot[bot]andCaleb Cartwright 91e013a738 Build(deps-dev): bump cypress from 3.2.0 to 3.3.0 (#3468)
Bumps [cypress](https://github.com/cypress-io/cypress) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 07:13:30 -05:00
dependabot[bot]andCaleb Cartwright 91f5f8f557 Build(deps-dev): bump nyc from 14.0.0 to 14.1.1 (#3470)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 14.0.0 to 14.1.1.
- [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/v14.0.0...v14.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 06:58:07 -05:00
dependabot[bot]andCaleb Cartwright b3e58c67be Build(deps-dev): bump mocha-junit-reporter from 1.21.0 to 1.22.0 (#3464)
Bumps [mocha-junit-reporter](https://github.com/michaelleeallen/mocha-junit-reporter) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/michaelleeallen/mocha-junit-reporter/releases)
- [Commits](https://github.com/michaelleeallen/mocha-junit-reporter/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 05:53:29 -05:00
Pierre-Yves BandGitHub 570ba18333 lastCompletedBuild for [Jenkins] badges and better discoverability (#3460) 2019-05-16 21:29:16 +01:00
17446efb45 Improvements in the TUTORIAL.md file (#3435)
* Improve tutorial file with explaining how to solve an error.

* Fix typo.

* Fix typo.

* Add more information about the fix.

* Apply suggested changes.

* Add missing method in the first example

* Modify the second example that did't compile.

* Add troubleshooting for the localhost and link to the issue solving it.

* Rephrase.

* Update doc/TUTORIAL.md

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Add get category() function explanation in both examples.

* Update doc/TUTORIAL.md

Co-Authored-By: Paul Melnikow <github@paulmelnikow.com>
2019-05-15 19:40:18 +01:00
dependabot[bot]andCaleb Cartwright b87bf0f4ba Build(deps-dev): bump snap-shot-it from 6.3.5 to 7.4.4 (#3455)
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it) from 6.3.5 to 7.4.4.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases)
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v6.3.5...v7.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-14 18:49:08 -05:00
dependabot[bot]andCaleb Cartwright aee5f0da02 Build(deps-dev): bump sazerac from 0.4.2 to 1.0.0 (#3453)
Bumps [sazerac](https://github.com/sazeracjs/sazerac) from 0.4.2 to 1.0.0.
- [Release notes](https://github.com/sazeracjs/sazerac/releases)
- [Changelog](https://github.com/sazeracjs/sazerac/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sazeracjs/sazerac/compare/v0.4.2...v1.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-14 15:34:36 -05:00
Caleb CartwrightandGitHub 60e69ee43b docs: fix link in Contributing guide (#3457) 2019-05-14 15:25:55 -05:00
Caleb CartwrightandPaul Melnikow 9fe238a81f fix(stackexchange): questions/month badge with 0 questions (#3456) 2019-05-13 20:41:56 -04:00
dependabot[bot]andCaleb Cartwright 04d75f09c5 Build(deps-dev): bump react from 16.8.5 to 16.8.6 (#3446)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.8.5 to 16.8.6.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.8.6/packages/react)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 19:16:38 -05:00
dependabot[bot]andCaleb Cartwright 30460a770d Build(deps-dev): bump opn-cli from 4.1.0 to 5.0.0 (#3452)
* Build(deps-dev): bump opn-cli from 4.1.0 to 5.0.0

Bumps [opn-cli](https://github.com/sindresorhus/open-cli) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/open-cli/releases)
- [Commits](https://github.com/sindresorhus/open-cli/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* chore: update script to reflect new bin name
2019-05-13 18:58:28 -05:00
dependabot[bot]andPierre-Yves B c5946cd617 Build(deps-dev): bump @babel/register from 7.4.0 to 7.4.4 (#3451)
Bumps [@babel/register](https://github.com/babel/babel) from 7.4.0 to 7.4.4.
- [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.4.0...v7.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 22:30:41 +01:00
dependabot[bot]andPierre-Yves B 905577bba3 Build(deps-dev): bump babel-plugin-istanbul from 5.1.2 to 5.1.4 (#3448)
Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) from 5.1.2 to 5.1.4.
- [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.2...v5.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 22:23:00 +01:00
dependabot[bot]andPierre-Yves B 9253c4c32f Build(deps-dev): bump react-helmet from 5.2.0 to 5.2.1 (#3449)
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 22:13:13 +01:00
dependabot[bot]andPierre-Yves B ab3b77ec32 Build(deps-dev): bump start-server-and-test from 1.7.12 to 1.9.0 (#3450)
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.7.12 to 1.9.0.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.7.12...v1.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 22:06:46 +01:00
dependabot[bot]andPierre-Yves B 2edd390aa9 Build(deps-dev): bump nock from 11.0.0-beta.10 to 11.0.0-beta.14 (#3454)
Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.10 to 11.0.0-beta.14.
- [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-05-13 21:58:23 +01:00
dependabot[bot]andMarcin Mielnicki 0e6dff769d Build(deps): bump glob from 7.1.3 to 7.1.4 (#3447)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.3 to 7.1.4.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.3...v7.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 20:59:06 +02:00
Pierre-Yves BandGitHub 992bd81baa Fixed Wordpress rating examples (#3445) 2019-05-12 22:12:47 +01:00
chris48sandGitHub 7caf301730 switch [circleci] service to scrape SVG badge, reorganise routes (#3413)
* switch [circleci] service to scrape SVG badge

* reorganise [circleci] routes

Default URL is now
circleci/build/gh/badges/shields/master?token=abc123
There are redirects on the legacy routes to provide
backwards compatibility for existing users
2019-05-11 17:55:32 +01:00
chris48sandPaul Melnikow 3bb614ff39 fix [microbadger] examples (#3439) 2019-05-09 16:39:40 -04:00
Marcin MielnickiandPaul Melnikow 283601423f Redirect an old png badge with a number as a color; test on [static] (#3412)
Fixes https://github.com/badges/shields/issues/3260

Problem happens when a value of a color in an old PNG static badge is a number: http://localhost:8080/my-label/my-message.png?color=1. In this case `color` in `queryParams` is a number. 
https://github.com/badges/shields/blob/0a0b5b3f031178851c9d295b9967d81ede052723/core/server/server.js#L203-L212

Surprisingly service test listed below is passing currently on master - value `1` is represented in `queryParams` as a String (only in test). 
`services/static-badge/static-badge.tester.js`
```js
t.create('Old static badge with a number as a color')
  .get('/foo/bar.png?color=1', { followRedirect: false })
  .expectStatus(301)
  .expectHeader('Location', '/badge/foo-bar-1.png')
```

Moreover I added some code + description allowing to debug server.
2019-05-08 12:33:43 -04:00
Paul MelnikowandGitHub 7afb26ef14 Add some aliases for license colors; refactor; test colors for [PypiLicense] (#3431)
This covers some of the license strings used by the PyPI badges like **BSD** which currently shows up in lightgrey.
2019-05-07 23:32:15 -04:00