Compare commits

...

82 Commits
3.0.0 ... 3.1.0

Author SHA1 Message Date
chris48s
084285755f Package 3.1.0 (#5160)
* exclude typedef tests from npm pack
* update docs
* bump version
2020-06-03 18:44:15 +01:00
Xianming Zhong
d0f3f2251f add type definitions to badge-maker package (#5126)
* add types for badge-maker
* update package.json and readme with tsd tests

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2020-06-02 20:30:25 +01:00
chris48s
7b5f43fee8 add missing dependency (#5159)
* add missing dependency
* bump version

closes #5158
2020-06-02 20:10:43 +01:00
chris48s
8dee584f44 update 'operations' section in README (#5156)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-06-02 18:36:28 +00:00
saibotk
afedaa7c9f Add the /steam/update-date badge, run [steam] (#5154)
* Add the /steam/update-date badge

This adds the /steam/update-date badge, to also provide a badge that shows the date of a file on steam when it was last updated.

* Add class to module exports

* Add new field to schema definition

This fixes the tests

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-06-01 02:32:25 +00:00
Viktor Szépe
88ea1f9149 Fix invalid Cache-Control header, run [Endpoint] (#5139)
* Fix invalid Cache-Control header
* Update endpoint.tester.js
* Update legacy-request-handler.spec.js

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2020-05-31 14:04:37 +01:00
dependabot-preview[bot]
4225abba9b Build(deps-dev): bump gatsby from 2.21.33 to 2.22.12 (#5151)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.21.33 to 2.22.12.
- [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.21.33...gatsby@2.22.12)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-30 23:16:28 +00:00
dependabot-preview[bot]
41a255739f Build(deps-dev): bump @babel/core from 7.9.6 to 7.10.1 (#5149)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.6 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-core)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-30 23:00:56 +00:00
dependabot-preview[bot]
4baeb72d6f Build(deps-dev): bump @babel/register from 7.9.0 to 7.10.1 (#5147)
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.9.0 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-register)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-30 22:54:06 +00:00
dependabot-preview[bot]
01df5d6819 Build(deps-dev): bump lint-staged from 10.2.6 to 10.2.7 (#5150)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.6 to 10.2.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.6...v10.2.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-30 09:22:17 +00:00
dependabot-preview[bot]
b8499716e0 Build(deps-dev): bump styled-components from 5.1.0 to 5.1.1 (#5153)
Bumps [styled-components](https://github.com/styled-components/styled-components) from 5.1.0 to 5.1.1.
- [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/compare/v5.1.0...v5.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-30 09:13:23 +00:00
dependabot-preview[bot]
0c141adf20 Build(deps): bump js-yaml from 3.13.1 to 3.14.0 (#5146)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.1 to 3.14.0.
- [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.13.1...3.14.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 23:03:52 +00:00
dependabot-preview[bot]
5dc5fbb15a Build(deps-dev): bump @babel/polyfill from 7.8.7 to 7.10.1 (#5140)
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) from 7.8.7 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-polyfill)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 22:44:14 +00:00
dependabot-preview[bot]
c08588c51d Build(deps): bump fast-xml-parser from 3.17.1 to 3.17.3 (#5142)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 3.17.1 to 3.17.3.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 20:16:18 +00:00
dependabot-preview[bot]
69e4b5655c Build(deps-dev): bump gatsby-plugin-catch-links from 2.3.2 to 2.3.3 (#5144)
Bumps [gatsby-plugin-catch-links](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-catch-links) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-catch-links/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@2.3.3/packages/gatsby-plugin-catch-links)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 20:04:56 +00:00
dependabot-preview[bot]
7830fba4c4 Build(deps): bump simple-icons from 2.13.0 to 2.14.0 (#5141)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/compare/2.13.0...2.14.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 19:54:45 +00:00
dependabot-preview[bot]
0c0151ce9a Build(deps-dev): bump eslint-plugin-jsdoc from 25.4.2 to 26.0.0 (#5148)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 25.4.2 to 26.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v25.4.2...v26.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-29 19:46:41 +00:00
dependabot-preview[bot]
05cc23cabd Build(deps-dev): bump eslint-plugin-cypress from 2.10.3 to 2.11.1 (#5152)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.10.3 to 2.11.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.10.3...v2.11.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 17:10:00 +00:00
dependabot-preview[bot]
f217c048a8 Build(deps-dev): bump mocha from 7.1.2 to 7.2.0 (#5145)
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.2...v7.2.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-29 17:00:21 +00:00
dependabot-preview[bot]
a8360ffda6 Build(deps-dev): bump cypress from 4.6.0 to 4.7.0 (#5143)
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.6.0...v4.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-29 16:39:32 +00:00
chris48s
9ab4596654 fix docs paths in dangerfile (#5136) 2020-05-28 20:56:33 +01:00
chris48s
064a3418a3 fix [githubpullrequestcheckstate] service test (#5128)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 13:59:56 +00:00
dependabot-preview[bot]
eaa5db56e3 Build(deps): bump ioredis from 4.16.3 to 4.17.1 (#5119)
Bumps [ioredis](https://github.com/luin/ioredis) from 4.16.3 to 4.17.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.16.3...v4.17.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 13:41:07 +00:00
dependabot-preview[bot]
c380a7576a Build(deps-dev): bump gatsby-plugin-styled-components (#5120)
Bumps [gatsby-plugin-styled-components](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-styled-components) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-styled-components/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-components@3.3.2/packages/gatsby-plugin-styled-components)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-23 13:31:36 +00:00
dependabot-preview[bot]
2c04d9e9d1 Build(deps-dev): bump gatsby-plugin-typescript from 2.4.2 to 2.4.3 (#5122)
Bumps [gatsby-plugin-typescript](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-typescript) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-typescript/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@2.4.3/packages/gatsby-plugin-typescript)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-23 13:14:31 +00:00
dependabot-preview[bot]
f985cfc40a Build(deps-dev): bump got from 11.1.3 to 11.1.4 (#5118)
Bumps [got](https://github.com/sindresorhus/got) from 11.1.3 to 11.1.4.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.1.3...v11.1.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 12:48:47 +00:00
dependabot-preview[bot]
f6d0f5be8d Build(deps): bump moment from 2.25.3 to 2.26.0 (#5125)
Bumps [moment](https://github.com/moment/moment) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.25.3...2.26.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 12:39:24 +00:00
dependabot-preview[bot]
800453ae6e Build(deps): bump joi-extension-semver from 4.0.0 to 4.1.1 (#5112)
Bumps [joi-extension-semver](https://github.com/dszakallas/joi-extension-semver) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/dszakallas/joi-extension-semver/releases)
- [Changelog](https://github.com/dszakallas/joi-extension-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dszakallas/joi-extension-semver/compare/4.0.0...4.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 12:31:43 +00:00
dependabot-preview[bot]
010a15ac20 Build(deps-dev): bump eslint-plugin-jsdoc from 25.4.1 to 25.4.2 (#5123)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 25.4.1 to 25.4.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v25.4.1...v25.4.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 12:11:52 +00:00
dependabot-preview[bot]
ff8d278dd6 Build(deps-dev): bump gatsby-plugin-remove-trailing-slashes (#5117)
Bumps [gatsby-plugin-remove-trailing-slashes](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-remove-trailing-slashes) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-remove-trailing-slashes@2.3.3/packages/gatsby-plugin-remove-trailing-slashes)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 11:54:54 +00:00
dependabot-preview[bot]
02113acdff Build(deps): bump fast-xml-parser from 3.16.0 to 3.17.1 (#5121)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 3.16.0 to 3.17.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/3.16.0...3.17.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 11:18:15 +00:00
dependabot-preview[bot]
018e9bafa6 Build(deps-dev): bump gatsby-plugin-react-helmet from 3.3.1 to 3.3.2 (#5124)
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.3.2/packages/gatsby-plugin-react-helmet)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 11:08:37 +00:00
chris48s
8788ad82e6 update discord domain (#5105)
Co-authored-by: Alison <zacharyknox2026@gmail.com>
2020-05-23 11:57:33 +01:00
chris48s
0ef261f219 security policy 🔒 (#5100)
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
2020-05-23 11:50:05 +01:00
dependabot-preview[bot]
57f4900ea0 Build(deps-dev): bump gatsby-plugin-page-creator from 2.3.2 to 2.3.7 (#5114)
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-page-creator) from 2.3.2 to 2.3.7.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-page-creator/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@2.3.7/packages/gatsby-plugin-page-creator)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 06:54:24 +00:00
dependabot-preview[bot]
80d1b4a75d Build(deps-dev): bump babel-preset-gatsby from 0.4.2 to 0.4.7 (#5115)
Bumps [babel-preset-gatsby](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/babel-preset-gatsby) from 0.4.2 to 0.4.7.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@0.4.7/packages/babel-preset-gatsby)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 06:43:26 +00:00
dependabot-preview[bot]
5486e3f316 Build(deps-dev): bump @typescript-eslint/eslint-plugin (#5116)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/eslint-plugin)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 06:33:56 +00:00
dependabot-preview[bot]
7b48fcb2da Build(deps-dev): bump lint-staged from 10.2.2 to 10.2.6 (#5113)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.2...v10.2.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 05:37:52 +00:00
dependabot-preview[bot]
2fba00f2b2 Build(deps-dev): bump cypress from 4.5.0 to 4.6.0 (#5110)
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.5.0...v4.6.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 05:24:10 +00:00
dependabot-preview[bot]
c021e114eb Build(deps-dev): bump @types/node from 14.0.1 to 14.0.5 (#5109)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.1 to 14.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 04:54:14 +00:00
dependabot-preview[bot]
86faf31058 Build(deps-dev): bump @typescript-eslint/parser from 2.33.0 to 2.34.0 (#5108)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 04:38:40 +00:00
dependabot-preview[bot]
51264b7736 Build(deps-dev): bump gatsby-plugin-catch-links from 2.3.1 to 2.3.2 (#5107)
Bumps [gatsby-plugin-catch-links](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-catch-links) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-catch-links/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@2.3.2/packages/gatsby-plugin-catch-links)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 23:29:50 -05:00
dependabot-preview[bot]
59a39ae977 Build(deps): bump simple-icons from 2.12.0 to 2.13.0 (#5111)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/compare/2.12.0...2.13.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 19:28:28 +01:00
Pierre Grimaud
8ceb4f2c31 Fix typos in comments (#5102) 2020-05-19 21:23:13 +01:00
dependabot-preview[bot]
2ff6d15f38 Build(deps-dev): bump eslint-plugin-react from 7.19.0 to 7.20.0 (#5088)
* Build(deps-dev): bump eslint-plugin-react from 7.19.0 to 7.20.0

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.19.0 to 7.20.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.19.0...v7.20.0)

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

* escape slashes

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris.shaw480@gmail.com>
2020-05-18 19:00:47 +00:00
chris48s
abd4c31791 resolve some vulnerability warnings (#5099)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-17 15:58:46 +00:00
dependabot-preview[bot]
fc6390d62e Build(deps-dev): bump eslint-plugin-jsdoc from 24.0.6 to 25.4.1 (#5085)
* Build(deps-dev): bump eslint-plugin-jsdoc from 24.0.6 to 25.4.1

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 24.0.6 to 25.4.1.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v24.0.6...v25.4.1)

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

* fix errors identified by new linting rules

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris.shaw480@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-17 15:00:21 +00:00
dependabot-preview[bot]
f0f06e93f3 Build(deps-dev): bump babel-preset-gatsby from 0.4.1 to 0.4.2 (#5098)
Bumps [babel-preset-gatsby](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/babel-preset-gatsby) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@0.4.2/packages/babel-preset-gatsby)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-16 18:09:24 +00:00
dependabot-preview[bot]
95e2e265de Build(deps-dev): bump gatsby from 2.21.21 to 2.21.33 (#5097)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.21.21 to 2.21.33.
- [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.21.21...gatsby@2.21.33)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-16 17:56:36 +00:00
dependabot-preview[bot]
038de38e8b Build(deps-dev): bump @types/react-helmet from 5.0.15 to 6.0.0 (#5094)
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet) from 5.0.15 to 6.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-16 16:38:18 +00:00
dependabot-preview[bot]
988ae2d805 Build(deps-dev): bump gatsby-plugin-page-creator from 2.3.1 to 2.3.2 (#5089)
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-page-creator) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-page-creator/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@2.3.2/packages/gatsby-plugin-page-creator)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-16 16:28:50 +00:00
dependabot-preview[bot]
0dbfe0bbff Build(deps-dev): bump got from 11.1.2 to 11.1.3 (#5091)
Bumps [got](https://github.com/sindresorhus/got) from 11.1.2 to 11.1.3.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.1.2...v11.1.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 00:32:17 -05:00
dependabot-preview[bot]
70c08d10b1 Build(deps): bump simple-icons from 2.11.0 to 2.12.0 (#5084)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/compare/2.11.0...2.12.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-16 02:54:50 +00:00
dependabot-preview[bot]
1bc26e5bc9 Build(deps-dev): bump @types/node from 13.13.5 to 14.0.1 (#5096)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.5 to 14.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-15 18:02:38 +00:00
dependabot-preview[bot]
0bf9d49b3b Build(deps-dev): bump @typescript-eslint/eslint-plugin (#5093)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.31.0 to 2.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.33.0/packages/eslint-plugin)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-15 17:54:00 +00:00
dependabot-preview[bot]
84a6131e5f Build(deps-dev): bump nock from 13.0.0-beta.4 to 13.0.0-beta.5 (#5086)
Bumps [nock](https://github.com/nock/nock) from 13.0.0-beta.4 to 13.0.0-beta.5.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.0-beta.4...v13.0.0-beta.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-15 17:17:27 +00:00
dependabot-preview[bot]
6f074e082b Build(deps-dev): bump nodemon from 2.0.3 to 2.0.4 (#5090)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.3...v2.0.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-15 16:57:04 +00:00
dependabot-preview[bot]
1eb31bfca9 Build(deps-dev): bump @types/react-select from 3.0.12 to 3.0.13 (#5087)
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-15 16:42:07 +00:00
dependabot-preview[bot]
d56836a5cc Build(deps-dev): bump @typescript-eslint/parser from 2.31.0 to 2.33.0 (#5092)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.31.0 to 2.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.33.0/packages/parser)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-15 12:28:26 -04:00
dependabot-preview[bot]
87fb882ef5 Build(deps-dev): bump gatsby-plugin-page-creator from 2.3.0 to 2.3.1 (#5072)
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-page-creator) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-page-creator/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@2.3.1/packages/gatsby-plugin-page-creator)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-09 04:33:32 +00:00
dependabot-preview[bot]
00ff689033 Build(deps-dev): bump gatsby from 2.21.11 to 2.21.21 (#5078)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.21.11 to 2.21.21.
- [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.21.11...gatsby@2.21.21)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-09 04:25:47 +00:00
dependabot-preview[bot]
66171cc83f Build(deps-dev): bump babel-preset-gatsby from 0.4.0 to 0.4.1 (#5076)
Bumps [babel-preset-gatsby](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/babel-preset-gatsby) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@0.4.1/packages/babel-preset-gatsby)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-09 04:14:56 +00:00
dependabot-preview[bot]
028a8de3c0 Build(deps-dev): bump gatsby-plugin-react-helmet from 3.3.0 to 3.3.1 (#5071)
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.3.1/packages/gatsby-plugin-react-helmet)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 22:59:19 -05:00
dependabot-preview[bot]
629e64ca00 Build(deps-dev): bump gatsby-plugin-styled-components (#5070)
Bumps [gatsby-plugin-styled-components](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-styled-components) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-styled-components/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-components@3.3.1/packages/gatsby-plugin-styled-components)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 22:45:30 -05:00
dependabot-preview[bot]
a2715f496c Build(deps-dev): bump gatsby-plugin-typescript from 2.4.0 to 2.4.2 (#5068)
Bumps [gatsby-plugin-typescript](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-typescript) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-typescript/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@2.4.2/packages/gatsby-plugin-typescript)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-09 00:38:49 +00:00
dependabot-preview[bot]
27675df00d Build(deps-dev): bump @types/node from 13.13.4 to 13.13.5 (#5067)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.4 to 13.13.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 19:30:09 -05:00
dependabot-preview[bot]
02bfe643b1 Build(deps): bump moment from 2.25.1 to 2.25.3 (#5064)
Bumps [moment](https://github.com/moment/moment) from 2.25.1 to 2.25.3.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 23:58:11 +00:00
dependabot-preview[bot]
86ff74368a Build(deps-dev): bump @typescript-eslint/parser from 2.30.0 to 2.31.0 (#5066)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.31.0/packages/parser)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 23:37:59 +00:00
dependabot-preview[bot]
a832f2bb51 Build(deps-dev): bump danger from 10.1.1 to 10.2.0 (#5061)
Bumps [danger](https://github.com/danger/danger-js) from 10.1.1 to 10.2.0.
- [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/10.1.1...10.2.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 23:17:51 +00:00
dependabot-preview[bot]
1e6a54e4ef Build(deps-dev): bump got from 11.1.0 to 11.1.2 (#5075)
Bumps [got](https://github.com/sindresorhus/got) from 11.1.0 to 11.1.2.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.1.0...11.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 18:29:48 +00:00
dependabot-preview[bot]
85f1477611 Build(deps-dev): bump gatsby-plugin-catch-links from 2.3.0 to 2.3.1 (#5069)
Bumps [gatsby-plugin-catch-links](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-catch-links) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-catch-links/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@2.3.1/packages/gatsby-plugin-catch-links)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 18:21:38 +00:00
dependabot-preview[bot]
b9a330654a Build(deps-dev): bump react-helmet from 5.2.1 to 6.0.0 (#5077)
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.1 to 6.0.0.
- [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/6.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 18:02:54 +00:00
dependabot-preview[bot]
69a7fca50d Build(deps-dev): bump gatsby-plugin-remove-trailing-slashes (#5074)
Bumps [gatsby-plugin-remove-trailing-slashes](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-remove-trailing-slashes) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-remove-trailing-slashes@2.3.2/packages/gatsby-plugin-remove-trailing-slashes)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 17:49:01 +00:00
dependabot-preview[bot]
fcb682b57c Build(deps): bump simple-icons from 2.10.0 to 2.11.0 (#5063)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/compare/2.10.0...2.11.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 17:39:56 +00:00
dependabot-preview[bot]
4f17c03672 Build(deps): bump priorityqueuejs from 1.0.0 to 2.0.0 (#5065)
Bumps [priorityqueuejs](https://github.com/janogonzalez/priorityqueuejs) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/janogonzalez/priorityqueuejs/releases)
- [Changelog](https://github.com/janogonzalez/priorityqueuejs/blob/master/History.md)
- [Commits](https://github.com/janogonzalez/priorityqueuejs/compare/1.0.0...v2.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 16:32:08 +00:00
dependabot-preview[bot]
b6fbc04d2a Build(deps-dev): bump @typescript-eslint/eslint-plugin (#5060)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.31.0/packages/eslint-plugin)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-08 16:25:08 +00:00
dependabot-preview[bot]
872545cf69 Build(deps-dev): bump eslint-plugin-jsdoc from 24.0.0 to 24.0.6 (#5073)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 24.0.0 to 24.0.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v24.0.0...v24.0.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 15:15:39 +00:00
dependabot-preview[bot]
b133fdc898 Build(deps): bump @hapi/joi from 16.1.8 to 17.1.1 (#5025)
Bumps [@hapi/joi](https://github.com/hapijs/joi) from 16.1.8 to 17.1.1.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Commits](https://github.com/hapijs/joi/compare/v16.1.8...v17.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-07 20:38:36 +00:00
chris48s
31ee02cfbe bump to node 10 for self-hosting users (#5058)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-07 20:26:41 +00:00
dependabot-preview[bot]
947abcd862 Build(deps): bump escape-string-regexp from 2.0.0 to 4.0.0 (#5021)
Bumps [escape-string-regexp](https://github.com/sindresorhus/escape-string-regexp) from 2.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/escape-string-regexp/releases)
- [Commits](https://github.com/sindresorhus/escape-string-regexp/compare/v2.0.0...v4.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-07 20:19:05 +00:00
chris48s
98e67f15f9 remove git add from lint-staged action (#5059)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-07 20:10:14 +00:00
Caleb Cartwright
c584ef85e3 tests: fix endpoint mocked cache tests (#5056) 2020-05-06 19:55:51 -05:00
30 changed files with 5686 additions and 4937 deletions

View File

@@ -116,6 +116,10 @@ package_steps: &package_steps
environment:
CYPRESS_INSTALL_BINARY: 0
- run:
name: Check types
command: npm run check-types:package
# Run the package tests on each currently supported node version. See:
# https://github.com/badges/shields/blob/master/badge-maker/README.md#node-version-support

View File

@@ -149,7 +149,7 @@ rules:
# allow Joi as an undefined type
jsdoc/no-undefined-types: ['error', { definedTypes: ['Joi'] }]
# all the other reccomended rules as errors (not warnings)
# all the other recommended rules as errors (not warnings)
jsdoc/check-alignment: 'error'
jsdoc/check-param-names: 'error'
jsdoc/check-tag-names: 'error'

View File

@@ -1,4 +1,4 @@
FROM node:8-alpine
FROM node:10-alpine
RUN mkdir -p /usr/src/app
RUN mkdir /usr/src/app/private

View File

@@ -191,8 +191,11 @@ Maintainers:
Operations:
- [espadrine](https://github.com/espadrine) (sysadmin)
- [paulmelnikow](https://github.com/paulmelnikow) (limited access)
- [calebcartwright](https://github.com/calebcartwright)
- [chris48s](https://github.com/chris48s)
- [espadrine](https://github.com/espadrine)
- [paulmelnikow](https://github.com/paulmelnikow)
- [PyvesB](https://github.com/PyvesB)
Alumni:

25
SECURITY.md Normal file
View File

@@ -0,0 +1,25 @@
# Security Policy
## Supported Projects
Please follow this guidance when reporting security issues affecting:
- [Shields.io](https://shields.io)
- [Raster.shields.io](https://raster.shields.io)
- Self-hosted Shields instances
- The [svg-to-image-proxy](https://www.npmjs.com/package/svg-to-image-proxy) NPM package
- The [badge-maker](https://www.npmjs.com/package/badge-maker) NPM package
The [gh-badges](https://www.npmjs.com/package/gh-badges) NPM package is now deprecated and will no longer receive fixes for bugs or security issues.
## Reporting a Vulnerability
If you find a security vulnerability affecting any of our supported projects, please email [security@shields.io](mailto:security@shields.io), rather than opening a public issue on GitHub. After receiving the initial report, we will endeavor to keep you informed of the progress towards a fix and full announcement. We may ask you for additional information. You are also welcome to propose a patch or solution.
Report security bugs in third-party modules to the person or team maintaining the module.
## Coordinated Disclosure
We aim to patch confirmed vulnerabilities within 90 days or less, disclosing the details of those vulnerabilities when a patch is published. We ask that you refrain from sharing your report with others while we work on our patch.
We may want to coordinate an advisory with you to be published simultaneously with the patch, but you are also welcome to self-disclose after 90 days if you prefer. We will never publish information about you or our communications with you without your permission.

View File

@@ -1,2 +1,3 @@
lib/make-badge-test-helpers.js
lib/**/*.spec.js
index.test-d.ts

View File

@@ -1,5 +1,13 @@
# Changelog
## 3.1.0
- Add TypeScript definitions
## 3.0.1
- Fix missing dependency
## 3.0.0
### Breaking Changes

View File

@@ -2,6 +2,7 @@
[![npm version](https://img.shields.io/npm/v/badge-maker.svg)](https://npmjs.org/package/badge-maker)
[![npm license](https://img.shields.io/npm/l/badge-maker.svg)](https://npmjs.org/package/badge-maker)
[![npm type definitions](https://img.shields.io/npm/types/badge-maker)](https://npmjs.org/package/badge-maker)
## Installation
@@ -20,9 +21,19 @@ badge build passed :green > mybadge.svg
### As a library
With CommonJS in JavaScript,
```js
const { makeBadge, ValidationError } = require('badge-maker')
```
With ESM or TypeScript,
```ts
import { makeBadge, ValidationError } from 'badge-maker'
```
```js
const format = {
label: 'build',
message: 'passed',

11
badge-maker/index.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
interface Format {
label?: string
message: string
labelColor?: string
color?: string
style?: 'plastic' | 'flat' | 'flat-square' | 'for-the-badge' | 'social'
}
export declare class ValidationError extends Error {}
export declare function makeBadge(format: Format): string

View File

@@ -0,0 +1,35 @@
import { expectType, expectError, expectAssignable } from 'tsd'
import { makeBadge, ValidationError } from '.'
expectError(makeBadge('string is invalid'))
expectError(makeBadge({}))
expectError(
makeBadge({
message: 'passed',
style: 'invalid style',
})
)
expectType<string>(
makeBadge({
message: 'passed',
})
)
expectType<string>(
makeBadge({
label: 'build',
message: 'passed',
})
)
expectType<string>(
makeBadge({
label: 'build',
message: 'passed',
labelColor: 'green',
color: 'red',
style: 'flat',
})
)
const error = new ValidationError()
expectAssignable<Error>(error)

View File

@@ -1,6 +1,6 @@
{
"name": "badge-maker",
"version": "3.0.0",
"version": "3.1.0",
"description": "Shields.io badge library",
"keywords": [
"GitHub",
@@ -9,6 +9,7 @@
"image",
"shields.io"
],
"types": "index.d.ts",
"main": "lib/index.js",
"repository": {
"type": "git",
@@ -35,6 +36,7 @@
},
"dependencies": {
"anafanafo": "^1.0.0",
"camelcase": "^5.3.1",
"is-css-color": "^1.0.0"
},
"scripts": {

View File

@@ -67,7 +67,7 @@ function setHeadersForCacheLength(res, cacheLengthSeconds) {
cacheControl = 'no-cache, no-store, must-revalidate'
expires = nowGMTString
} else {
cacheControl = `max-age=${cacheLengthSeconds} s-maxage=${cacheLengthSeconds}`
cacheControl = `max-age=${cacheLengthSeconds}, s-maxage=${cacheLengthSeconds}`
expires = new Date(now.getTime() + cacheLengthSeconds * 1000).toGMTString()
}
@@ -92,7 +92,7 @@ function setCacheHeaders({
setHeadersForCacheLength(res, cacheLengthSeconds)
}
const staticCacheControlHeader = `max-age=${24 * 3600} s-maxage=${24 * 3600}` // 1 day.
const staticCacheControlHeader = `max-age=${24 * 3600}, s-maxage=${24 * 3600}` // 1 day.
function setCacheHeadersForStaticResource(res) {
res.setHeader('Cache-Control', staticCacheControlHeader)
res.setHeader('Last-Modified', serverStartTimeGMTString)

View File

@@ -147,7 +147,7 @@ describe('Cache header functions', function () {
it('should set the expected Cache-Control header', function () {
expect(res._headers['cache-control']).to.equal(
'max-age=123 s-maxage=123'
'max-age=123, s-maxage=123'
)
})
@@ -187,7 +187,7 @@ describe('Cache header functions', function () {
it('should set the expected Cache-Control header', function () {
expect(res._headers['cache-control']).to.equal(
`max-age=${24 * 3600} s-maxage=${24 * 3600}`
`max-age=${24 * 3600}, s-maxage=${24 * 3600}`
)
})

View File

@@ -254,7 +254,7 @@ describe('The request handler', function () {
+new Date(headers.date) + 900000
).toGMTString()
expect(headers.expires).to.equal(expectedExpiry)
expect(headers['cache-control']).to.equal('max-age=900 s-maxage=900')
expect(headers['cache-control']).to.equal('max-age=900, s-maxage=900')
})
it('should set the expected cache headers on cached responses', async function () {
@@ -268,7 +268,7 @@ describe('The request handler', function () {
+new Date(headers.date) + 900000
).toGMTString()
expect(headers.expires).to.equal(expectedExpiry)
expect(headers['cache-control']).to.equal('max-age=900 s-maxage=900')
expect(headers['cache-control']).to.equal('max-age=900, s-maxage=900')
})
it('should let live service data override the default cache headers with longer value', async function () {
@@ -289,7 +289,7 @@ describe('The request handler', function () {
)
const { headers } = await got(`${baseUrl}/testing/123.json`)
expect(headers['cache-control']).to.equal('max-age=400 s-maxage=400')
expect(headers['cache-control']).to.equal('max-age=400, s-maxage=400')
})
it('should not let live service data override the default cache headers with shorter value', async function () {
@@ -310,7 +310,7 @@ describe('The request handler', function () {
)
const { headers } = await got(`${baseUrl}/testing/123.json`)
expect(headers['cache-control']).to.equal('max-age=300 s-maxage=300')
expect(headers['cache-control']).to.equal('max-age=300, s-maxage=300')
})
it('should set the expires header to current time + cacheSeconds', async function () {
@@ -322,7 +322,7 @@ describe('The request handler', function () {
+new Date(headers.date) + 3600000
).toGMTString()
expect(headers.expires).to.equal(expectedExpiry)
expect(headers['cache-control']).to.equal('max-age=3600 s-maxage=3600')
expect(headers['cache-control']).to.equal('max-age=3600, s-maxage=3600')
})
it('should ignore cacheSeconds when shorter than defaultCacheLengthSeconds', async function () {
@@ -334,7 +334,7 @@ describe('The request handler', function () {
+new Date(headers.date) + 600000
).toGMTString()
expect(headers.expires).to.equal(expectedExpiry)
expect(headers['cache-control']).to.equal('max-age=600 s-maxage=600')
expect(headers['cache-control']).to.equal('max-age=600, s-maxage=600')
})
it('should set Cache-Control: no-cache, no-store, must-revalidate if cache seconds is 0', async function () {

View File

@@ -95,6 +95,10 @@ module.exports = class PrometheusMetrics {
}
/**
* @param {object} attrs Refer to individual attrs
* @param {string} attrs.category e.g: 'build'
* @param {string} attrs.serviceFamily e.g: 'npm'
* @param {string} attrs.name e.g: 'NpmVersion'
* @returns {object} `{ inc() {} }`.
*/
createNumRequestCounter({ category, serviceFamily, name }) {

View File

@@ -25,7 +25,7 @@ class ServiceTester {
* Specifies which tests to run from the CLI or pull requests
* @param {string} attrs.title
* Prints in the Mocha output
* @param {string} attrs.path
* @param {string} attrs.pathPrefix
* Prefix which is automatically prepended to each tested URI.
* The default is `/${attrs.id}`.
*/
@@ -119,7 +119,7 @@ class ServiceTester {
* @param {number} attrs.retry.count number of times to retry test
* @param {number} attrs.retry.backoff number of milliseconds to add to the wait between each retry
*/
toss({ baseUrl, skipIntercepted, retry }) {
toss({ baseUrl, skipIntercepted, retry: { count, backoff } }) {
const { specs, pathPrefix } = this
const testerBaseUrl = `${baseUrl}${pathPrefix}`
@@ -132,7 +132,7 @@ class ServiceTester {
}`
if (!skipIntercepted || !spec.intercepted) {
spec.baseUri(testerBaseUrl)
spec.retry(retry.count, retry.backoff)
spec.retry(count, backoff)
spec.toss()
}
})

View File

@@ -16,9 +16,8 @@ const { fileMatch } = danger.git
const documentation = fileMatch(
'**/*.md',
'lib/all-badge-examples.js',
'frontend/components/usage.js',
'frontend/pages/endpoint.js'
'frontend/components/usage.tsx',
'frontend/pages/endpoint.tsx'
)
const server = fileMatch('core/server/**.js', '!*.spec.js')
const serverTests = fileMatch('core/server/**.spec.js')

View File

@@ -7,7 +7,7 @@ const got = require('./core/got-test-client')
let server
before(function () {
this.timeout('5s')
// remove args comming from mocha
// remove args coming from mocha
// https://github.com/badges/shields/issues/3365
process.argv = []
server = require('./server')

View File

@@ -274,7 +274,7 @@ export default function Usage({ baseUrl }: { baseUrl: string }): JSX.Element {
target="_blank"
title="XPath syntax"
>
//data/subdata
&#x2F;&#x2F;data/subdata
</a>
&gt;&amp;color=&lt;COLOR&gt;&amp;prefix=&lt;PREFIX&gt;&amp;suffix=&lt;SUFFIX&gt;
</StyledCode>

10312
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -22,7 +22,7 @@
"url": "https://github.com/badges/shields"
},
"dependencies": {
"@hapi/joi": "^16.1.8",
"@hapi/joi": "^17.1.1",
"@sentry/node": "^5.15.5",
"bytes": "^3.1.0",
"camelcase": "^5.3.1",
@@ -36,31 +36,31 @@
"decamelize": "^3.2.0",
"dotenv": "^8.2.0",
"emojic": "^1.1.15",
"escape-string-regexp": "^2.0.0",
"fast-xml-parser": "^3.16.0",
"escape-string-regexp": "^4.0.0",
"fast-xml-parser": "^3.17.3",
"fsos": "^1.1.6",
"badge-maker": "file:badge-maker",
"glob": "^7.1.6",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"ioredis": "4.16.3",
"joi-extension-semver": "4.0.0",
"js-yaml": "^3.13.1",
"ioredis": "4.17.1",
"joi-extension-semver": "4.1.1",
"js-yaml": "^3.14.0",
"jsonpath": "~1.0.2",
"lodash.countby": "^4.6.0",
"lodash.groupby": "^4.6.0",
"lodash.times": "^4.3.2",
"moment": "^2.25.1",
"moment": "^2.26.0",
"node-env-flag": "^0.1.0",
"parse-link-header": "^1.0.1",
"path-to-regexp": "^5.0.0",
"pretty-bytes": "^5.3.0",
"priorityqueuejs": "^1.0.0",
"priorityqueuejs": "^2.0.0",
"prom-client": "^11.5.3",
"query-string": "^6.12.1",
"request": "~2.88.2",
"semver": "~7.3.2",
"simple-icons": "2.10.0",
"simple-icons": "2.14.0",
"xmldom": "~0.2.1",
"xpath": "~0.0.27"
},
@@ -93,7 +93,8 @@
"test:services:pr:run": "cross-env NODE_CONFIG_ENV=test mocha core/service-test-runner/cli.js --stdin < pull-request-services.log",
"test:services:pr": "run-s --silent test:services:pr:prepare test:services:pr:run",
"pretest": "run-s --silent defs features",
"test": "run-s --silent --continue-on-error lint test:frontend test:package test:core test:entrypoint check-types:frontend prettier:check",
"test": "run-s --silent --continue-on-error lint test:frontend test:package test:core test:entrypoint check-types:package check-types:frontend prettier:check",
"check-types:package": "tsd badge-maker",
"check-types:frontend": "tsc --noEmit --project .",
"depcheck": "check-node-version --node \">= 10.0\"",
"postinstall": "run-s --silent depcheck",
@@ -122,8 +123,7 @@
"prettier --write"
],
"**/*.@(md|json|yml)": [
"prettier --write",
"git add"
"prettier --write"
]
},
"nodemonConfig": {
@@ -141,9 +141,9 @@
]
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/polyfill": "^7.8.7",
"@babel/register": "7.9.0",
"@babel/core": "^7.10.1",
"@babel/polyfill": "^7.10.1",
"@babel/register": "7.10.1",
"@mapbox/react-click-to-select": "^2.2.0",
"@types/chai": "^4.2.11",
"@types/chai-enzyme": "^0.6.7",
@@ -151,16 +151,16 @@
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.groupby": "^4.6.6",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.4",
"@types/react-helmet": "^5.0.15",
"@types/node": "^14.0.5",
"@types/react-helmet": "^6.0.0",
"@types/react-modal": "^3.10.5",
"@types/react-select": "^3.0.12",
"@types/react-select": "^3.0.13",
"@types/styled-components": "4.1.8",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-plugin-inline-react-svg": "^1.1.1",
"babel-plugin-istanbul": "^6.0.0",
"babel-preset-gatsby": "^0.4.0",
"babel-preset-gatsby": "^0.4.7",
"caller": "^1.0.1",
"chai": "^4.1.2",
"chai-datetime": "^1.6.0",
@@ -170,8 +170,8 @@
"child-process-promise": "^2.2.1",
"clipboard-copy": "^3.1.0",
"concurrently": "^5.2.0",
"cypress": "^4.5.0",
"danger": "^10.1.1",
"cypress": "^4.7.0",
"danger": "^10.2.0",
"danger-plugin-no-test-shortcuts": "^2.0.0",
"deepmerge": "^4.2.2",
"enzyme": "^3.11.0",
@@ -181,28 +181,28 @@
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-chai-friendly": "^0.6.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsdoc": "^24.0.0",
"eslint-plugin-jsdoc": "^26.0.0",
"eslint-plugin-mocha": "^6.3.0",
"eslint-plugin-no-extension-in-require": "^0.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-plugin-sort-class-members": "^1.7.0",
"eslint-plugin-standard": "^4.0.1",
"fetch-ponyfill": "^6.1.0",
"form-data": "^3.0.0",
"fs-readfile-promise": "^3.0.1",
"gatsby": "2.21.11",
"gatsby-plugin-catch-links": "^2.3.0",
"gatsby-plugin-page-creator": "^2.3.0",
"gatsby-plugin-react-helmet": "^3.3.0",
"gatsby-plugin-remove-trailing-slashes": "^2.3.0",
"gatsby-plugin-styled-components": "^3.3.0",
"gatsby-plugin-typescript": "^2.4.0",
"got": "11.1.0",
"gatsby": "2.22.12",
"gatsby-plugin-catch-links": "^2.3.3",
"gatsby-plugin-page-creator": "^2.3.7",
"gatsby-plugin-react-helmet": "^3.3.2",
"gatsby-plugin-remove-trailing-slashes": "^2.3.3",
"gatsby-plugin-styled-components": "^3.3.2",
"gatsby-plugin-typescript": "^2.4.3",
"got": "11.1.4",
"humanize-string": "^2.1.0",
"husky": "^4.2.5",
"icedfrisby": "3.0.0",
@@ -211,17 +211,17 @@
"is-svg": "^4.2.1",
"js-yaml-loader": "^1.2.2",
"jsdoc": "^3.6.4",
"lint-staged": "^10.2.2",
"lint-staged": "^10.2.7",
"lodash.debounce": "^4.0.8",
"lodash.difference": "^4.5.0",
"minimist": "^1.2.5",
"mocha": "^7.1.2",
"mocha": "^7.2.0",
"mocha-env-reporter": "^4.0.0",
"mocha-junit-reporter": "^1.23.3",
"mocha-yaml-loader": "^1.0.3",
"nock": "13.0.0-beta.4",
"nock": "13.0.0-beta.5",
"node-mocks-http": "^1.8.1",
"nodemon": "^2.0.3",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.1",
"opn-cli": "^5.0.0",
@@ -230,7 +230,7 @@
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-error-overlay": "^6.0.7",
"react-helmet": "^5.2.1",
"react-helmet": "^6.0.0",
"react-modal": "^3.11.2",
"react-pose": "^4.0.10",
"react-select": "^3.1.0",
@@ -243,8 +243,9 @@
"sinon-chai": "^3.5.0",
"snap-shot-it": "^7.9.3",
"start-server-and-test": "1.11.0",
"styled-components": "^5.1.0",
"styled-components": "^5.1.1",
"tmp": "0.2.1",
"tsd": "^0.11.0",
"ts-mocha": "^7.0.0",
"typescript": "^3.8.3"
},

View File

@@ -73,7 +73,7 @@ module.exports = class Discord extends BaseJsonService {
}
async fetch({ serverId }) {
const url = `https://discordapp.com/api/guilds/${serverId}/widget.json`
const url = `https://discord.com/api/guilds/${serverId}/widget.json`
return this._requestJson({
url,
schema: discordSchema,

View File

@@ -18,7 +18,7 @@ t.create('invalid server ID')
t.create('widget disabled')
.get('/12345.json')
.intercept(nock =>
nock('https://discordapp.com/')
nock('https://discord.com/')
.get('/api/guilds/12345/widget.json')
.reply(403, {
code: 50004,
@@ -30,7 +30,7 @@ t.create('widget disabled')
t.create('server error')
.get('/12345.json')
.intercept(nock =>
nock('https://discordapp.com/')
nock('https://discord.com/')
.get('/api/guilds/12345/widget.json')
.reply(500, 'Something broke')
)

View File

@@ -189,7 +189,7 @@ t.create('query with node function')
color: 'blue',
})
t.create('query with type convertion to string')
t.create('query with type conversion to string')
.get(
`.json?${queryString.stringify({
url: exampleUrl,
@@ -203,7 +203,7 @@ t.create('query with type convertion to string')
color: 'blue',
})
t.create('query with type convertion to number')
t.create('query with type conversion to number')
.get(
`.json?${queryString.stringify({
url: exampleUrl,

View File

@@ -207,7 +207,7 @@ t.create('cacheSeconds')
cacheSeconds: 500,
})
)
.expectHeader('cache-control', 'max-age=500')
.expectHeader('cache-control', 'max-age=500, s-maxage=500')
t.create('user can override service cacheSeconds')
.get('.json?url=https://example.com/badge&cacheSeconds=1000')
@@ -219,7 +219,7 @@ t.create('user can override service cacheSeconds')
cacheSeconds: 500,
})
)
.expectHeader('cache-control', 'max-age=1000')
.expectHeader('cache-control', 'max-age=1000, s-maxage=1000')
t.create('user does not override longer service cacheSeconds')
.get('.json?url=https://example.com/badge&cacheSeconds=450')
@@ -231,7 +231,7 @@ t.create('user does not override longer service cacheSeconds')
cacheSeconds: 500,
})
)
.expectHeader('cache-control', 'max-age=500')
.expectHeader('cache-control', 'max-age=500, s-maxage=500')
t.create('cacheSeconds does not override longer Shields default')
.get('.json?url=https://example.com/badge')
@@ -243,7 +243,7 @@ t.create('cacheSeconds does not override longer Shields default')
cacheSeconds: 10,
})
)
.expectHeader('cache-control', 'max-age=300')
.expectHeader('cache-control', 'max-age=300, s-maxage=300')
t.create('Bad scheme')
.get('.json?url=http://example.com/badge')

View File

@@ -7,7 +7,7 @@ t.create('github pull request check state')
.expectBadge({ label: 'checks', message: 'failure' })
t.create('github pull request check state (pull request not found)')
.get('/s/pulls/badges/shields/5110.json')
.get('/s/pulls/badges/shields/5101.json')
.expectBadge({ label: 'checks', message: 'pull request or repo not found' })
t.create(

View File

@@ -100,7 +100,7 @@ const schema = Joi.object({
/*
* Strip Build MetaData
* Nuget versions may include an optional "build metadata" clause,
* seperated from the version by a + character.
* separated from the version by a + character.
*/
function stripBuildMetadata(version) {
return version.split('+')[0]

View File

@@ -29,6 +29,11 @@ class BasePackagistService extends BaseJsonService {
* and dumped to static files so it is very efficient on our end." (comment from official documentation).
* For more information please refer to https://packagist.org/apidoc#get-package-data.
*
* @param {object} attrs Refer to individual attrs
* @param {string} attrs.user package user
* @param {string} attrs.repo package repository
* @param {Joi} attrs.schema Joi schema to validate the response transformed to JSON
* @param {string} attrs.server URL for the packagist registry server (Optional)
* @returns {object} Parsed response
*/
async fetch({ user, repo, schema, server = 'https://packagist.org' }) {
@@ -48,6 +53,11 @@ class BasePackagistService extends BaseJsonService {
* so data fetch from this method might be outdated.
* For more information please refer to https://packagist.org/apidoc#get-package-data.
*
* @param {object} attrs Refer to individual attrs
* @param {string} attrs.user package user
* @param {string} attrs.repo package repository
* @param {Joi} attrs.schema Joi schema to validate the response transformed to JSON
* @param {string} attrs.server URL for the packagist registry server (Optional)
* @returns {object} Parsed response
*/
async fetchByJsonAPI({

View File

@@ -63,6 +63,7 @@ const steamFileSchema = Joi.object({
Joi.object({
file_size: Joi.number().integer().required(),
time_created: Joi.number().integer().required(),
time_updated: Joi.number().integer().required(),
subscriptions: Joi.number().integer().required(),
favorited: Joi.number().integer().required(),
lifetime_subscriptions: Joi.number().integer().required(),
@@ -276,6 +277,45 @@ class SteamFileReleaseDate extends SteamFileService {
}
}
class SteamFileUpdateDate extends SteamFileService {
static get category() {
return 'activity'
}
static get route() {
return {
base: 'steam/update-date',
pattern: ':fileId',
}
}
static get examples() {
return [
{
title: 'Steam Update Date',
namedParams: { fileId: '100' },
staticPreview: this.render({
updateDate: new Date(0).setUTCSeconds(1538288239),
}),
documentation,
},
]
}
static get defaultBadgeData() {
return { label: 'update date' }
}
static render({ updateDate }) {
return { message: formatDate(updateDate), color: ageColor(updateDate) }
}
async onRequest({ response }) {
const updateDate = new Date(0).setUTCSeconds(response.time_updated)
return this.constructor.render({ updateDate })
}
}
class SteamFileSubscriptions extends SteamFileService {
static get category() {
return 'rating'
@@ -426,6 +466,7 @@ module.exports = {
SteamCollectionSize,
SteamFileSize,
SteamFileReleaseDate,
SteamFileUpdateDate,
SteamFileSubscriptions,
SteamFileFavorites,
SteamFileDownloads,

View File

@@ -18,6 +18,10 @@ t.create('Release Date')
.get('/release-date/1523924535.json')
.expectBadge({ label: 'release date', message: isFormattedDate })
t.create('Update Date')
.get('/update-date/1523924535.json')
.expectBadge({ label: 'update date', message: isFormattedDate })
t.create('Subscriptions')
.get('/subscriptions/1523924535.json')
.expectBadge({ label: 'subscriptions', message: isMetric })
@@ -46,6 +50,10 @@ t.create('Release Date | File Not Found')
.get('/release-date/1.json')
.expectBadge({ label: 'release date', message: 'file not found' })
t.create('Update Date | File Not Found')
.get('/update-date/1.json')
.expectBadge({ label: 'update date', message: 'file not found' })
t.create('Subscriptions | File Not Found')
.get('/subscriptions/1.json')
.expectBadge({ label: 'subscriptions', message: 'file not found' })