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

ota-meshi / eslint-plugin-json-schema-validator / 21108295337

18 Jan 2026 07:47AM UTC coverage: 89.746% (+2.4%) from 87.363%
21108295337

push

github

web-flow
Bundle using tsdown (#452)

* Initial plan

* Implement bundling with tsdown

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Add comment explaining failOnWarn configuration

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* revert and fix

* fix

* update

* downgrade

* fix

* fix

* remove esbuild-register and fix

* update

* test

* fix

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: update cover script, replace nyc with c8

* update

* fix

* fix: ensure Node.js version is set for test job

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>
Co-authored-by: yosuke ota <otameshiyo23@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

584 of 680 branches covered (85.88%)

Branch coverage included in aggregate %.

83 of 96 new or added lines in 15 files covered. (86.46%)

149 existing lines in 10 files now uncovered.

2558 of 2821 relevant lines covered (90.68%)

234.25 hits per line

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

63.64
/src/utils/http-client/http.ts
1
import type { RequestOptions } from "https";
1✔
2
import defaultClient from "./get-modules/http.ts";
1✔
3
import { createRequire } from "module";
1✔
4
import { isAbsolute } from "path";
1✔
5
import { pathToFileURL } from "url";
1✔
6

1✔
7
/**
1✔
8
 * GET Method
1✔
9
 */
1✔
10
export async function get(
19✔
11
  url: string,
3✔
12
  options?: RequestOptions,
3✔
13
  httpModulePath?: string,
3✔
14
): Promise<string> {
3✔
15
  const client = httpModulePath
3!
NEW
16
    ? await loadModule(httpModulePath)
✔
17
    : defaultClient;
3✔
18
  return client.default ? client.default(url, options) : client(url, options);
3!
19
}
3✔
20

1✔
21
/**
1✔
22
 * Load module by path
1✔
23
 */
1✔
NEW
24
async function loadModule(modulePath: string) {
×
NEW
25
  const adjustedPath =
×
NEW
26
    !modulePath.startsWith("file://") && isAbsolute(modulePath)
×
NEW
27
      ? pathToFileURL(modulePath).href
×
NEW
28
      : modulePath;
×
NEW
29
  try {
×
NEW
30
    const require = createRequire(import.meta.filename);
×
NEW
31
    return require(adjustedPath);
×
NEW
32
  } catch {
×
NEW
33
    return await import(adjustedPath);
×
NEW
34
  }
×
NEW
35
}
×
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