koa-classic-server 5.0.0 → 5.1.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 +6 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -412,11 +412,16 @@ remain in the **[changelog](./docs/CHANGELOG.md)**.
|
|
|
412
412
|
|
|
413
413
|
```bash
|
|
414
414
|
npm test # full suite (lints first)
|
|
415
|
-
npm run test:ci # suite without benchmarks —
|
|
415
|
+
npm run test:ci # suite without benchmarks — 1284 tests
|
|
416
416
|
npm run test:security # security tests only
|
|
417
417
|
npm run test:performance # benchmarks
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
+
The suite includes [fast-check](https://fast-check.dev) property-based tests
|
|
421
|
+
(`__tests__/*.property.test.js`) alongside the example-based ones. They are
|
|
422
|
+
intentionally un-seeded; to replay a failure, see
|
|
423
|
+
**[property-based-testing.md](./docs/property-based-testing.md)**.
|
|
424
|
+
|
|
420
425
|
---
|
|
421
426
|
|
|
422
427
|
## Docs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koa-classic-server",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "High-performance Koa middleware for serving static files with classic directory listing (similar, but not identical, to Apache 2), HTTP caching, template engine support, and comprehensive security fixes",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"exports": {
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"autocannon": "^8.0.0",
|
|
55
55
|
"ejs": "^6.0.1",
|
|
56
56
|
"eslint": "^10.6.0",
|
|
57
|
+
"fast-check": "^4.9.0",
|
|
57
58
|
"inquirer": "^14.0.2",
|
|
58
59
|
"jest": "^30.2.0",
|
|
59
60
|
"supertest": "^7.2.2"
|