@ahoo-wang/fetcher 0.9.9 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,12 +8,11 @@
8
8
  [![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40ahoo-wang%2Ffetcher)](https://www.npmjs.com/package/@ahoo-wang/fetcher)
9
9
  [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Ahoo-Wang/fetcher)
10
10
 
11
- A modern, ultra-lightweight (2.3KiB) HTTP client with built-in path parameters, query parameters, and Axios-like API.
12
- 83% smaller than Axios while providing the same powerful features.
11
+ A modern, ultra-lightweight HTTP client with built-in path parameters, query parameters, and Axios-like API.
13
12
 
14
13
  ## 🌟 Features
15
14
 
16
- - **⚡ Ultra-Lightweight**: Only 2.3KiB min+gzip - 83% smaller than Axios
15
+ - **⚡ Ultra-Lightweight**: Only 2.7KiB min+gzip
17
16
  - **🧭 Path & Query Parameters**: Built-in support for path (`{id}`) and query parameters
18
17
  - **🔗 Interceptor System**: Request, response, and error interceptors for middleware patterns
19
18
  - **⏱️ Timeout Control**: Configurable request timeouts with proper error handling
package/README.zh-CN.md CHANGED
@@ -8,11 +8,11 @@
8
8
  [![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40ahoo-wang%2Ffetcher)](https://www.npmjs.com/package/@ahoo-wang/fetcher)
9
9
  [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Ahoo-Wang/fetcher)
10
10
 
11
- 一个现代、超轻量级(2.3kB)的 HTTP 客户端,内置路径参数、查询参数和类似 Axios 的 API。比 Axios 小 83%,同时提供相同的强大功能。
11
+ 一个现代、超轻量级的 HTTP 客户端,内置路径参数、查询参数和类似 Axios 的 API
12
12
 
13
13
  ## 🌟 特性
14
14
 
15
- - **⚡ 超轻量级**:仅 2.3KiB min+gzip - 比 Axios 小 83%
15
+ - **⚡ 超轻量级**:仅 2.7KiB min+gzip
16
16
  - **🧭 路径和查询参数**:内置支持路径(`{id}`)和查询参数
17
17
  - **🔗 拦截器系统**:请求、响应和错误拦截器的中间件模式
18
18
  - **⏱️ 超时控制**:可配置的请求超时和适当的错误处理
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahoo-wang/fetcher",
3
- "version": "0.9.9",
3
+ "version": "0.10.0",
4
4
  "description": "Ultra-lightweight (1.9kB) HTTP client with built-in path parameters and Axios-like API",
5
5
  "keywords": [
6
6
  "fetch",