From 2405599862c095b9491522e7815662e0812012a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 16:05:00 +0000 Subject: [PATCH] docs: replace broken bundlephobia badge with bundlejs The bundlephobia badge renders an error banner ('rate limited by upstream service') because bundlephobia.com/api/size returns HTTP 429; shields.io answers 200 even for that error badge, so the breakage was invisible to the HTTP-200 check in #54. Swap both READMEs to the shields.io bundlejs badge, which renders 'minified size (gzip): 7.9 kB' and links to bundlejs.com. Closes #67 --- README.md | 2 +- README_zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8d141e..8044b72 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![npm downloads](https://img.shields.io/npm/dm/tiny-oss)](https://www.npmjs.com/package/tiny-oss) [![license](https://img.shields.io/npm/l/tiny-oss)](https://github.com/Alex1990/tiny-oss/blob/main/LICENSE) [![CI](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml/badge.svg)](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml) -[![bundle size](https://img.shields.io/bundlephobia/minzip/tiny-oss)](https://bundlephobia.com/package/tiny-oss) +[![bundle size](https://img.shields.io/bundlejs/size/tiny-oss)](https://bundlejs.com/?q=tiny-oss) [![node](https://img.shields.io/node/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) **English | [简体中文](README_zh-CN.md)** diff --git a/README_zh-CN.md b/README_zh-CN.md index 7d2a2c9..3d9a657 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -4,7 +4,7 @@ [![npm downloads](https://img.shields.io/npm/dm/tiny-oss)](https://www.npmjs.com/package/tiny-oss) [![license](https://img.shields.io/npm/l/tiny-oss)](https://github.com/Alex1990/tiny-oss/blob/main/LICENSE) [![CI](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml/badge.svg)](https://github.com/Alex1990/tiny-oss/actions/workflows/ci.yml) -[![bundle size](https://img.shields.io/bundlephobia/minzip/tiny-oss)](https://bundlephobia.com/package/tiny-oss) +[![bundle size](https://img.shields.io/bundlejs/size/tiny-oss)](https://bundlejs.com/?q=tiny-oss) [![node](https://img.shields.io/node/v/tiny-oss)](https://www.npmjs.com/package/tiny-oss) 专注于上传的极简对象存储 SDK:同一套核心 API 覆盖阿里云 OSS、腾讯云 COS、华为云 OBS、火山引擎 TOS、AWS S3(含 S3 兼容存储)与 Azure Blob Storage;支持浏览器、Node.js、Service Worker 与微信小程序;可通过自定义 provider 扩展。完整入口约 10kb (min+gzipped)——按需导入时 tree-shaking 会剔除未使用的操作,产物更小。