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

wmzy / fetch-fun
97%

Build:
DEFAULT BRANCH: main
Repo Added 12 Feb 2025 12:57PM UTC
Token KlkkF4lNzZdGuD8L6y4lVlzDqVzlMj909 regen
Build 28 Last
Files 10
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 main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main

08 Sep 2026 03:35PM UTC coverage: 96.585%. Remained the same
34245747024

push

github

wmzy
feat: context 条件返回型——泛型包装可无断言委托,窄类型保留替换语义

默认 unknown 槽位(或未声明)折叠为 T & { context: C }:可回赋 T,
泛型链构建包装(如模板 withSchema)可无断言委托本 helper;T 已声明
窄 context 时保持 Omit 替换形态(last-pipe-wins 的运行时语义不与
旧形状产生交叉型)。实现签名与公共重载分离;类型测试钉住「泛型回赋」
与「窄类型替换」两向,README 表行同步

405 of 430 branches covered (94.19%)

Branch coverage included in aggregate %.

585 of 595 relevant lines covered (98.32%)

42.87 hits per line

Relevant lines Covered
Build:
Build:
595 RELEVANT LINES 585 COVERED LINES
42.87 HITS PER LINE
Source Files on main
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34245747024 main feat: context 条件返回型——泛型包装可无断言委托,窄类型保留替换语义 默认 unknown 槽位(或未声明)折叠为 T & { context: C }:可回赋 T, 泛型链构建包装(如模板 withSchema)可无断言委托本 helper;T 已声明 窄 context 时保持 Omit 替换形态(last-pipe-wins 的运行时语义不与 旧形状产生交叉型)。实现签名与公共重载分离;类型测试钉住「泛型回赋」 与「窄类型替换」两向,README 表行同步 push 08 Sep 2026 03:36PM UTC wmzy github
96.59
34244860574 main fix: validate factory 可返回 undefined/null 跳过校验——「可选校验端点」一等表达 共享校验基链上无 schema 的请求此前必须喂恒等 schema 才能过 factory 契约 (模板侧 withDevValidation→withSchema 迁移撞上);现在 factory 返回 undefined/null 即早退跳过,其他非 schema 返回值仍 TypeError(既有垃圾值 用例不动)。factory 重载返回型改 StandardS... push 08 Sep 2026 03:27PM UTC wmzy github
96.59
34220819244 main fix: 在 tsconfig.build.json 显式声明 outDir/declaration 构建契约——tools-config@0.4.0 的 typescript 基座不再提供 outDir/declaration 默认值,裸 extend 会把 JS 吐进 src/ 且 dist/types 不生成,gen-dmts 报 ENOENT 挂掉 build:types;emitDeclarationOnly 同时杜绝 src/*.js 影子产物(vite 扩展名探测 .js 先... push 08 Sep 2026 11:28AM UTC wmzy github
96.57
34216674995 main feat: context(o, ctx) 配置函数——业务数据槽位获得一等 pipe 函数:client.pipe(context, { tenantId }) 替换式设置、const 泛型字面量类型透传(validate 工厂免断言读 c.context);README/MIGRATION/recipes 同步,测试钉住替换语义与类型收敛 push 08 Sep 2026 10:40AM UTC wmzy github
96.57
34127270338 main fix: update deps push 07 Sep 2026 01:25PM UTC wmzy github
96.57
34126211297 main ci: release gate 改查上次发布以来的变更——push 级 paths filter 只看触发当次 push 的文件:测试步骤失败的发布会让可发布变更滞留(test-only 跟进 push 不会重触发)。改为 gate job 对 last-tag..HEAD 做 diff,可发布路径(src/、package.json、release.yml)自上次发布以来有变更才跑 release job;无 tag 时对比空树;workflow_dispatch 直通 push 07 Sep 2026 01:14PM UTC wmzy github
96.57
34123432152 main fix: backoff 计时断言下界从 30 降到 25 消除 CI flake——backoffDelay 的 ±25% jitter 使 initial:40 的延迟下界恰为 30ms,断言贴着理论最小值;CI 机器上 sub-ms 提前触发 + Date.now 整数截断可量出 29。25 保留 5ms 余量,仍能区分 backoff 等待与 0ms 直通 push 07 Sep 2026 12:44PM UTC wmzy github
96.57
34120762737 main feat: validate 支持工厂重载 + Options.context 业务数据槽——validate(o, factory) 接受 (client) => schema,工厂携带合并后 client 延迟求值;新增 context 受管选项(toFetchParams 剥离、不进 RequestInit、不触发 dev unknown-option 警告),MapErrorContext.context 对所有错误类型携带该槽位 src/config.ts: validate ... push 07 Sep 2026 12:14PM UTC wmzy github
96.57
34009271103 main fix: 重复 middleware 名字在组合期立即抛出——新增 assertUniqueMiddlewareNames 共享校验,use/middlewares 组装时先 normalize 再断言(而非等执行期 sortMiddlewares 才报错),sortMiddlewares 保留同名断言作为手搓 options 的兜底;chains 为 append-only 语义写进 use/middlewares JSDoc 与 README/MIGRATION/llms.txt,测试... push 06 Sep 2026 03:33AM UTC wmzy github
96.53
33793863311 main fix: 超时判别改 name 鸭子探测——applyTimeout/applyTotalTimeout 的 instanceof Error 判别在跨 realm 测试环境(vitest 内嵌 jsdom)失效:其 DOMException 原型链上的 Error 构造器与本模块 realm 的 Error 不是同一对象,instanceof 恒 false,降级包装不触发、原生 DOMException 裸漏给调用方;改为 name 判别(调用方已用自有信号中止范围限定,name 匹配... push 03 Sep 2026 07:00PM UTC wmzy github
96.5
See All Builds (28)

Badge your Repo: fetch-fun

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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