koa-classic-server 3.1.0 → 4.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.
Files changed (3) hide show
  1. package/README.md +191 -747
  2. package/index.cjs +817 -266
  3. package/package.json +4 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koa-classic-server",
3
- "version": "3.1.0",
4
- "description": "High-performance Koa middleware for serving static files with Apache-like directory listing, HTTP caching, template engine support, and comprehensive security fixes",
3
+ "version": "4.1.0",
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": {
7
7
  "import": "./index.mjs",
@@ -16,6 +16,8 @@
16
16
  "lint": "eslint index.cjs index.mjs",
17
17
  "pretest": "npm run lint",
18
18
  "test": "jest",
19
+ "test:ci": "jest --testPathIgnorePatterns=performance",
20
+ "test:coverage": "jest --coverage --testPathIgnorePatterns=performance",
19
21
  "test:security": "jest __tests__/security.test.js",
20
22
  "test:performance": "jest __tests__/performance.test.js --runInBand",
21
23
  "benchmark": "node __tests__/benchmark.js",