• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

badges / shields / 16548540379

26 Jul 2025 02:44PM UTC coverage: 97.957% (-0.01%) from 97.967%
16548540379

push

github

web-flow
chore(deps-dev): bump @typescript-eslint/parser from 8.37.0 to 8.38.0 (#11239)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.38.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

5915 of 6186 branches covered (95.62%)

49876 of 50916 relevant lines covered (97.96%)

131.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.89
/services/sourcegraph/sourcegraph.service.js
1
import Joi from 'joi'
3✔
2
import { BaseJsonService, pathParams } from '../index.js'
3✔
3

3✔
4
const projectsCountRegex = /^\s[0-9]*(\.[0-9]k)?\sprojects$/
3✔
5
const schema = Joi.object({
3✔
6
  value: Joi.string().regex(projectsCountRegex).required(),
3✔
7
}).required()
3✔
8

3✔
9
export default class Sourcegraph extends BaseJsonService {
3✔
10
  static category = 'other'
3✔
11

3✔
12
  static route = {
3✔
13
    base: 'sourcegraph/rrc',
3✔
14
    pattern: ':repo(.*?)',
3✔
15
  }
3✔
16

3✔
17
  static openApi = {
3✔
18
    '/sourcegraph/rrc/{repo}': {
3✔
19
      get: {
3✔
20
        summary: 'Sourcegraph for Repo Reference Count',
3✔
21
        parameters: pathParams({
3✔
22
          name: 'repo',
3✔
23
          example: 'github.com/gorilla/mux',
3✔
24
        }),
3✔
25
      },
3✔
26
    },
3✔
27
  }
3✔
28

3✔
29
  static defaultBadgeData = { color: 'brightgreen', label: 'used by' }
3✔
30

3✔
31
  static render({ projectsCount }) {
3✔
32
    return {
×
33
      message: projectsCount,
×
34
    }
×
35
  }
×
36

3✔
37
  async handle({ repo }) {
3✔
38
    const url = `https://sourcegraph.com/.api/repos/${repo}/-/shield`
2✔
39
    const json = await this._requestJson({
2✔
40
      url,
2✔
41
      schema,
2✔
42
    })
2✔
43
    return this.constructor.render({ projectsCount: json.value.trim() })
×
44
  }
2✔
45
}
3✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc