@npora/request 0.5.0 → 1.0.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 +22 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -286,6 +286,22 @@ docs
|
|
|
286
286
|
|
|
287
287
|
---
|
|
288
288
|
|
|
289
|
+
# Versioning
|
|
290
|
+
|
|
291
|
+
Starting with 1.0, `@npora/request` follows Semantic Versioning.
|
|
292
|
+
|
|
293
|
+
The stable public contract includes:
|
|
294
|
+
|
|
295
|
+
- Package exports and their TypeScript declarations.
|
|
296
|
+
- Documented client methods, configuration and response shapes.
|
|
297
|
+
- Stable `RequestError` and `PluginError` codes.
|
|
298
|
+
- Plugin lifecycle and extension configuration behavior.
|
|
299
|
+
|
|
300
|
+
Breaking changes to this contract require a new major version. Internal modules
|
|
301
|
+
that are not exported from the package root are not part of the public API.
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
289
305
|
# Browser Support
|
|
290
306
|
|
|
291
307
|
Supported runtimes:
|
|
@@ -336,9 +352,12 @@ Business
|
|
|
336
352
|
|
|
337
353
|
## v1.0
|
|
338
354
|
|
|
339
|
-
Stable API
|
|
340
|
-
|
|
341
|
-
|
|
355
|
+
- Stable SemVer API contract
|
|
356
|
+
- Exact runtime and type export gates
|
|
357
|
+
- Package-level behavior compatibility suite
|
|
358
|
+
- Node.js 22, 24 and 26 verification
|
|
359
|
+
- Chromium and WebKit verification
|
|
360
|
+
- Automated npm, Git tag and GitHub Release publishing
|
|
342
361
|
|
|
343
362
|
---
|
|
344
363
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npora/request",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A modern, TypeScript-first HTTP client powered by the Fetch API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"npora",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"test:run": "vitest run",
|
|
67
67
|
"test:types": "pnpm build && tsc -p test/types/tsconfig.json",
|
|
68
68
|
"test:examples": "tsc -p examples/tsconfig.json",
|
|
69
|
-
"test:package": "node test/package/esm.mjs && node test/package/cjs.cjs && node test/package/api-exports.mjs && node test/package/npm-pack-result.test.mjs && node test/package/manifest.mjs && pnpm test:size",
|
|
69
|
+
"test:package": "node test/package/esm.mjs && node test/package/cjs.cjs && node test/package/api-exports.mjs && node test/package/api-contract.mjs && node test/package/npm-pack-result.test.mjs && node test/package/manifest.mjs && pnpm test:size",
|
|
70
70
|
"test:size": "node test/package/size.mjs",
|
|
71
71
|
"test:browser": "playwright test --config=browser/playwright.config.ts",
|
|
72
72
|
"test:browser:ui": "playwright test --config=browser/playwright.config.ts --ui",
|