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

samclarke / robots-parser
100%

Build:
DEFAULT BRANCH: master
Repo Added 14 Mar 2021 05:45PM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • dependabot/npm_and_yarn/multi-75e6bc5210
  • dependabot/npm_and_yarn/multi-acd8535d99
  • dependabot/npm_and_yarn/multi-ef0f9f31a5
  • dependabot/npm_and_yarn/picomatch-2.3.2
  • fix/cjs-type-export
  • fix/daily-maintenance-20260512

07 Aug 2026 05:08PM UTC coverage: 100.0%. Remained the same
31200898070

push

github

web-flow
fix: type the CommonJS export with `export =` (#47)

`index.js` is CommonJS (`module.exports = fn`), but `index.d.ts` typed it
as an ES `export default` alongside an empty `declare module 'robots-parser';`.

The empty ambient declaration types the whole module as `any`, so the
`Robot` interface is never actually applied. And `export default` does not
describe `module.exports = fn` under `moduleResolution: node16`/`nodenext`.

Replace both with `export = robotsParser`, matching the runtime. No code
changes. Since the module currently resolves to `any`, this only adds
accurate types and breaks nothing that type-checks today.

Co-authored-by: Mark Edwards <mark@bluefishai.com>

99 of 99 branches covered (100.0%)

Branch coverage included in aggregate %.

146 of 146 relevant lines covered (100.0%)

347781.51 hits per line

Relevant lines Covered
Build:
Build:
146 RELEVANT LINES 146 COVERED LINES
347781.51 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31200898070 master fix: type the CommonJS export with `export =` (#47) `index.js` is CommonJS (`module.exports = fn`), but `index.d.ts` typed it as an ES `export default` alongside an empty `declare module 'robots-parser';`. The empty ambient declaration types the... push 07 Aug 2026 05:08PM UTC web-flow github
100.0
30701760721 master Bump uuid and nyc (#46) Removes [uuid](https://github.com/uuidjs/uuid). It's no longer used after updating ancestor dependency [nyc](https://github.com/istanbuljs/nyc). These dependencies need to be updated together. Removes `uuid` Updates `ny... push 01 Aug 2026 01:27PM UTC web-flow github
100.0
29599123665 master Bump picomatch from 2.3.1 to 2.3.2 (#44) Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2. - [Release notes](https://github.com/micromatch/picomatch/releases) - [Changelog](https://github.com/micromatch/picomatch/blo... push 17 Jul 2026 05:12PM UTC web-flow github
100.0
22512869691 master Bump minimatch (#43) Bumps and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together. Updates `minimatch` from 5.1.6 to 5.1.9 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)... push 28 Feb 2026 03:58AM UTC web-flow github
100.0
19587257154 master Bump js-yaml (#42) Bumps and [js-yaml](https://github.com/nodeca/js-yaml). These dependencies needed to be updated together. Updates `js-yaml` from 4.1.0 to 4.1.1 - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Comm... push 22 Nov 2025 12:29AM UTC web-flow github
100.0
11559924390 master Update test deps and node test versions (#40) * Update test deps and node test versions push 28 Oct 2024 06:04PM UTC web-flow github
100.0
11558845123 master Make isExplicitlyDisallowed() return `undefined` if invalid URL and add caution. (#39) Update behaviour to match documentation and add a caution to to documentation about usage. push 28 Oct 2024 04:57PM UTC web-flow github
100.0
11558300646 master Add explicit disallow feature (#36) * add explicit disallow feature isExplictlyDisallowed() push 28 Oct 2024 04:25PM UTC web-flow github
99.18
11558008563 master Update README.md with RFC link (#38) Fixes #37 push 28 Oct 2024 04:08PM UTC web-flow github
100.0
10993559888 master Merge 6f402965e into 21c66bfd7 Pull #36 30 Sep 2024 07:47PM UTC web-flow github
99.18
See All Builds (61)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc