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

toomuchdesign / json-schema-fns / 26328224916
100%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 08:34AM UTC
Jobs 1
Files 10
Run time 1min
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

23 May 2026 08:33AM UTC coverage: 100.0%. Remained the same
26328224916

push

github

web-flow
feat: throw TypeError on non-object schema input (#202)

## What kind of change does this PR introduce?

Feature

## What is the current behaviour?

Functions throw generic Error when provided schema doesn't match JSON
schema.

## What is the new behaviour?

Replace `new Error(...)` with `new TypeError(...)` in
`isJSONSchemaObjectType` so consumers can discriminate input-shape
failures via `e instanceof TypeError`.

## Does this PR introduce a breaking change?

No

## Other information:

## Please check if the PR fulfills these requirements:

- [ ] Tests for the changes have been added
- [X] Docs have been added / updated
- [X] Relevant
[Changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)
has been added

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

92 of 92 branches covered (100.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

97 of 97 relevant lines covered (100.0%)

988.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26328224916.1 23 May 2026 08:34AM UTC 10
100.0
GitHub Action Run
Source Files on build 26328224916
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26328224916
  • feb8cca8 on github
  • Prev Build on master (#26327897060)
  • Next Build on master (#26334477480)
  • Delete
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