Paul Melnikow and GitHub
a7efd88ceb
Revert to standard CI image and remove lingering references to fonts ( #2326 )
...
Follow-on to #2311 .
2018-11-18 09:08:23 -05:00
dependabot[bot] and GitHub
765dfacf72
Bump prom-client from 11.1.2 to 11.2.0 ( #2316 )
2018-11-17 16:31:34 +00:00
Paul Melnikow and GitHub
ff9cd20821
Coverage cleanup ( #2328 )
...
- Stop running daily service tests in the main repo (since they're now handled [over here](https://github.com/badges/daily-tests )
- Add coverage and separate daily tests badges with links to coveralls
- Update our coverage ignores
- Move scripts, which do not need coverage, into `scripts/`
- Split out coverage test for npm package
- Remove spurious env var
Ref: #1584 #2314
2018-11-17 09:37:09 -05:00
dependabot[bot] and chris48s
921adc9939
Bump eslint from 5.7.0 to 5.9.0 ( #2329 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.7.0 to 5.9.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.7.0...v5.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-16 22:00:50 +00:00
dependabot[bot] and chris48s
4c2494f20a
Bump danger from 6.0.5 to 6.1.4 ( #2324 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 6.0.5 to 6.1.4.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/6.0.5...6.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-16 21:52:49 +00:00
dependabot[bot] and chris48s
0bf8ebea3a
Bump fast-xml-parser from 3.12.5 to 3.12.7 ( #2322 )
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 3.12.5 to 3.12.7.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-16 21:47:08 +00:00
dependabot[bot] and Paul Melnikow
3f0ac63ca7
Bump node-fetch from 2.2.1 to 2.3.0 ( #2323 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.2.1...v2.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-15 18:06:57 -05:00
Paul Melnikow and GitHub
51897b3c7e
Precompute text width using a lookup table ( #2311 )
...
This simplifies and further optimizes text-width computation by computing the entire width table in advance, and serializing it in the style of QuickTextMeasurer (#1390 ). This entirely removes the need for PDFKit at runtime. This has the advantage of fixing #1305 – more generally: producing the same result everywhere – without having to deploy a copy of Verdana.
The lifting is delegated to these three libraries, which are housed in a monorepo: https://github.com/metabolize/anafanafo
I'd be happy to move it into the badges org if folks want to collaborate on maintaining them.
QuickTextMeasurer took kerning pairs into account, whereas this implementation does not. I was thinking kerning would be a necessary refinement, though this seems to work well enough.
I dropped in a binary-search package to traverse the data structure, in part to conserve space. This causes a moderate performance regression, though there is ample room for improving on that: https://github.com/badges/shields/pull/2311#issuecomment-439182704
2018-11-15 17:27:21 -05:00
chris48s and GitHub
b68ac16092
Move NPM package files out of /lib ; affects [resharper nuget myget dub chocolatey github] ( #2300 )
...
* move gh-badges files out of /lib
As far as possible, this is just moving files
around and updating paths however there are 2
functional changes in this commit:
- remove use of lib/register-chai-plugins.spec
in badge-cli.spec.js
- remove use of starRating()
in text-measurer.spec.js
* update service tests that use colorscheme.json
* split package.json in two
* clean up import
* don't hard-code path
* start a changelog
* put a license file in the package dir
* re-organise documentation 📚
* don't pack test files
* remove favicon from Makefile
* give package its own test command
* link the docs better in README
2018-11-15 18:48:01 +00:00
dependabot[bot] and Paul Melnikow
83e44b7e7d
Bump prettier from 1.15.1 to 1.15.2 ( #2321 )
...
* Bump prettier from 1.15.1 to 1.15.2
Bumps [prettier](https://github.com/prettier/prettier ) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.15.1...1.15.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Run prettier
2018-11-15 09:50:48 -05:00
dependabot[bot] and GitHub
81691c5bb3
Bump opn-cli from 3.1.0 to 4.0.0 ( #2303 )
2018-11-15 00:30:53 +00:00
chris48s and GitHub
4b88590619
bump version ( #2296 )
2018-11-09 21:53:47 +00:00
Paul Melnikow and GitHub
3eac8ebbfb
Rework GitHub acceptor and move to its own module ( #2021 )
...
Continue to merge the work from #1205 .
2018-11-09 15:14:01 -05:00
Paul Melnikow and GitHub
e4e5628207
Fix suggest on staging in Firefox ( #2277 )
...
Fix #2245
2018-11-09 14:06:13 -05:00
dependabot[bot] and chris48s
ec65291a11
Bump simple-icons from 1.9.12 to 1.9.13 ( #2294 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.12 to 1.9.13.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-09 17:54:41 +00:00
dependabot[bot] and chris48s
804c4e4a6f
Bump danger from 4.4.8 to 6.0.5 ( #2291 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 4.4.8 to 6.0.5.
- [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/4.4.8...6.0.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-09 16:35:26 +00:00
Paul Melnikow and GitHub
291f35d4ad
Reduce duplication in badge regex/url patterns ( #2279 )
...
This reduces duplication in badge regex/url patterns, and reduces the need to understand regexes in order to create badges.
Ref: #2050
2018-11-08 15:05:44 -05:00
dependabot[bot] and Paul Melnikow
e240409033
Bump prettier from 1.14.3 to 1.15.1 ( #2289 )
...
* Bump prettier from 1.14.3 to 1.15.1
Bumps [prettier](https://github.com/prettier/prettier ) from 1.14.3 to 1.15.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.14.3...1.15.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Run prettier
2018-11-08 14:39:00 -05:00
dependabot[bot] and Pierre-Yves B
57e4d82a90
Bump joi from 14.0.3 to 14.0.4 ( #2267 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 14.0.3 to 14.0.4.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v14.0.3...v14.0.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-08 19:31:25 +00:00
dependabot[bot] and Danial
88402dd7a8
Bump simple-icons from 1.9.10 to 1.9.12 ( #2273 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.10 to 1.9.12.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-06 12:00:09 +13:00
Marcin Mielnicki and GitHub
bc4bd79e90
Metrics with Prometheus ( #2069 )
...
* Basic process metrics
* Enable Prometheus by an environment variable
* Code formatting
* Documentation for Prometheus metrics
* Link from README to documentation of Prometheus
* Link from README to documentation of Prometheus
* Link from README to documentation of Prometheus
* Separate module for metrics + tests
* Metrics limited by IP
* Metrics are forbidded for all requets by default
* Code refactoring
* allowedIps passed as a string to PrometheusMetrics
* Handle missing config
* METRICS_PROMETHEUS_ALLOWED_IPS added to documentation
* Log info about enabled metrics
* Unused code removed
* package-lock.json updated
* prom-client updated to 11.1.2
* Code refactoring
* Do not read IP address from X-Forwarder-For header
2018-11-04 18:54:43 +01:00
Thaddée Tyl and chris48s
1460855d6b
Upgrade to camp 17.2.2 ( #2260 )
...
This fixes remaining vulnerabilities raised by `npm audit`.
Follow-up to https://github.com/badges/shields/pull/2258 .
Related issues from dependencies:
- camp upgrade: https://github.com/espadrine/sc/issues/64
- socket.io vulnerability: https://github.com/get/parsejson/issues/4
2018-11-04 12:00:28 +00:00
dependabot[bot] and chris48s
52d642cf91
Bump joi from 14.0.2 to 14.0.3 ( #2251 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 14.0.2 to 14.0.3.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v14.0.2...v14.0.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-01 20:25:18 +00:00
dependabot[bot] and chris48s
f6b6b66fc2
Bump simple-icons from 1.9.9 to 1.9.10 ( #2249 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.9 to 1.9.10.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-11-01 20:15:18 +00:00
piekar294 and Paul Melnikow
730dc67cdf
Migrate babel 6.x to babel 7.1 ( #2222 )
...
* Upgrade babel 6.x to babel 7.0
* Next 6.1.1 + additional babel packages needed for Babel 7.0
* Add @babel/register
* use @babel/preset-env in babel.presets to enable babel.env configuration
2018-11-01 15:03:50 -04:00
chris48s and GitHub
6fc8744bab
Give the NPM package some love ( #2200 )
...
* define a public interface for NPM package
* move check-node-version to dependencies
* add missing file to package
* update docs
* bump version
* add gh-badges option to issue template
* abstract text measuring from users
* add a DocBlock for BadgeFactory.create()
2018-10-30 18:34:04 +00:00
dependabot[bot] and Pierre-Yves B
0a67631f2e
Bump joi from 14.0.1 to 14.0.2 ( #2235 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 14.0.1 to 14.0.2.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v14.0.1...v14.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-30 18:04:39 +00:00
Danial and Paul Melnikow
2ee98f92ce
bump simple-icons version ( #2231 )
...
* bump simple-icons version
* require specific version
2018-10-29 21:58:17 -04:00
chris48s and GitHub
87524976c9
upgrade to Joi 14; affects [elm-package jetbrains npmversion pypi vaadin-directory dynamic-xml] ( #2221 )
...
* upgrade to Joi 14
Joi 14 throws an exception on regexes which use the `g` flag
see https://github.com/hapijs/joi/issues/1615
semver-regex uses the `g` flag
https://github.com/sindresorhus/semver-regex/blob/master/index.js
so in order to upgrade Joi, I've swapped out semver-regex
We'll use joi-extension-semver for semver validation now
* use isVPlusDottedVersionNClauses in jetbrains tests
some of these projects use version numbers like
v1.7 or
v3.0.0.141
2018-10-28 15:56:19 +00:00
Marcin Mielnicki and GitHub
de1eb664ec
Precommit hook with Prettier and ESLint ( #2178 )
...
* Precommit hook with prettier and eslint added
* Info about running prettier removed from documentation
* Info about a pre-commit hook in documentation
2018-10-19 11:16:30 +02:00
dependabot[bot] and chris48s
8545d5ae27
Bump sinon from 6.3.5 to 7.0.0 ( #2184 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 6.3.5 to 7.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v6.3.5...v7.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-18 20:35:54 +01:00
dependabot[bot] and chris48s
89ca13a5d6
Bump semver from 5.5.1 to 5.6.0 ( #2167 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.5.1 to 5.6.0.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Commits](https://github.com/npm/node-semver/compare/v5.5.1...v5.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-11 21:28:45 +01:00
chris48s and GitHub
9d7f27d84e
add refactoring report ( #2163 )
2018-10-10 19:22:30 +01:00
dependabot[bot] and chris48s
ef9f4f9a52
Bump joi from 13.6.0 to 13.7.0 ( #2135 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v13.6.0...v13.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-03 20:21:20 +01:00
dependabot[bot] and chris48s
a28ad3ceaf
Bump babel-eslint from 9.0.0 to 10.0.0 ( #2118 )
...
Bumps [babel-eslint](https://github.com/babel/babel-eslint ) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/babel/babel-eslint/releases )
- [Commits](https://github.com/babel/babel-eslint/compare/v9.0.0...v10.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-27 19:42:52 +01:00
dependabot[bot] and chris48s
58b75f5146
Bump snap-shot-it from 5.0.1 to 6.1.8 ( #2072 )
...
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it ) from 5.0.1 to 6.1.8.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases )
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v5.0.1...v6.1.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-23 20:45:42 +01:00
dependabot[bot] and chris48s
3577327243
Bump danger from 3.9.0 to 4.0.1 ( #2090 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 3.9.0 to 4.0.1.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/3.9.0...4.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-23 20:33:33 +01:00
dependabot[bot] and chris48s
3c373b58ac
Bump prettier from 1.14.2 to 1.14.3 ( #2104 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.14.2...1.14.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-21 19:50:27 +01:00
dependabot[bot] and chris48s
0b1ed5130e
Bump svgo from 1.0.5 to 1.1.1 ( #2094 )
...
Bumps [svgo](https://github.com/svg/svgo ) from 1.0.5 to 1.1.1.
- [Release notes](https://github.com/svg/svgo/releases )
- [Changelog](https://github.com/svg/svgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svg/svgo/compare/v1.0.5...v1.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-21 19:47:04 +01:00
dependabot[bot] and chris48s
a1347e5bf2
Bump nock from 9.6.1 to 10.0.0 ( #2088 )
...
Bumps [nock](https://github.com/nock/nock ) from 9.6.1 to 10.0.0.
- [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/v9.6.1...v10.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-18 16:22:03 +01:00
Pyves and GitHub
bf0496cd64
Made JSON snapshot test pass on Windows ( #2061 )
2018-09-10 19:27:05 +01:00
Pyves and GitHub
7417dc5f6c
Delete BaseHTTPService and implement new BaseXmlService (affects [eclipse-marketplace f-droid]; also testing on [uptimerobot circleci]) ( #2037 )
2018-09-03 19:37:37 +01:00
Paul Melnikow and GitHub
454575c4cb
Enforce no extensions in require ( #1999 )
...
This removes remaining `.js` extensions from `require()` expressions and automatically enforces this rule.
2018-09-01 11:14:01 -07:00
Paul Melnikow and GitHub
b602284403
Update coverage scripts ( #2008 )
...
As I was testing #1992 I noticed some of the coverage scripts were out of date.
2018-08-29 15:22:38 -07:00
Paul Melnikow and GitHub
55f4017388
Combined update of eslint dependencies ( #2007 )
2018-08-29 15:01:25 -07:00
dependabot[bot] and Paul Melnikow
f4789125a7
Bump nyc from 12.0.1 to 13.0.1 ( #1992 )
...
Bumps [nyc](https://github.com/istanbuljs/nyc ) from 12.0.1 to 13.0.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/v12.0.1...v13.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-29 02:52:12 -04:00
dependabot[bot] and chris48s
16d415769f
Bump babel-eslint from 8.2.6 to 9.0.0 ( #1991 )
...
Bumps [babel-eslint](https://github.com/babel/babel-eslint ) from 8.2.6 to 9.0.0.
- [Release notes](https://github.com/babel/babel-eslint/releases )
- [Commits](https://github.com/babel/babel-eslint/compare/v8.2.6...v9.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-28 22:45:23 +01:00
Paul Melnikow and GitHub
5bc26eaacf
Use Joi 13.6.0 on the servers ( #1989 )
...
Ref: #1988
2018-08-28 15:16:14 -04:00
dependabot[bot] and chris48s
6b3d1ab010
Bump concurrently from 3.6.1 to 4.0.1 ( #1980 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 3.6.1 to 4.0.1.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/3.6.1...v4.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-27 17:04:46 +01:00
Paul Melnikow and GitHub
a0c43ed219
Reduce boilerplate for creating new testers [npm appveyor gem uptimerobot clojars] ( #1934 )
...
This is a bit of sugar that reduces the boilerplate for creating testers in what I expect will become the standard case: a service in `foo/foo-thing.service.js` with its tests in `foo/foo-thing.tester.js`.
This makes a small stylistic change, which is to name the service by its CamelCase class name rather than an invented snake-case ID. Whereas before the name was specified in `class FooThing extends Base[Json]Service` and a second time in the tester, it now only needs to be specified once.
2018-08-22 18:07:51 -04:00