koa-classic-server 2.5.1 → 2.5.2

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
@@ -64,8 +64,8 @@ npm install koa-classic-server
64
64
  ```
65
65
 
66
66
  **Requirements:**
67
- - Node.js >= 12.0.0
68
- - Koa >= 2.0.0
67
+ - Node.js >= 18.0.0
68
+ - Koa >= 2.0.0 (Koa 3 requires >= 3.1.2)
69
69
 
70
70
  ---
71
71
 
@@ -90,13 +90,17 @@ Il middleware segue questo flusso per ogni richiesta HTTP:
90
90
  ### Dipendenze
91
91
 
92
92
  #### Production
93
- - **koa** (^2.13.4): Framework web minimale per Node.js
94
- - **mime-types**: Riconoscimento automatico MIME types (dependency implicita)
93
+ - **mime-types** (^2.1.35): Riconoscimento automatico MIME types
94
+
95
+ #### Peer Dependencies
96
+ - **koa** (^2.0.0 || >=3.1.2): Framework web minimale per Node.js
95
97
 
96
98
  #### Development
97
- - **jest** (^29.7.0): Framework di testing
98
- - **supertest** (^7.0.0): Testing richieste HTTP
99
- - **inquirer** (^12.4.1): CLI interattiva per testing manuale
99
+ - **jest** (^30.2.0): Framework di testing
100
+ - **supertest** (^7.2.2): Testing richieste HTTP
101
+ - **inquirer** (^13.3.0): CLI interattiva per testing manuale
102
+ - **autocannon** (^8.0.0): HTTP benchmarking
103
+ - **ejs** (^3.1.10): Template engine per i test
100
104
 
101
105
  ---
102
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koa-classic-server",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "High-performance Koa middleware for serving static files with Apache-like directory listing, HTTP caching, template engine support, and comprehensive security fixes",
5
5
  "main": "index.cjs",
6
6
  "exports": {
@@ -37,13 +37,13 @@
37
37
  "mime-types": "^2.1.35"
38
38
  },
39
39
  "peerDependencies": {
40
- "koa": "^2.0.0 || ^3.0.0"
40
+ "koa": "^2.0.0 || >=3.1.2"
41
41
  },
42
42
  "devDependencies": {
43
- "autocannon": "^7.15.0",
43
+ "autocannon": "^8.0.0",
44
44
  "ejs": "^3.1.10",
45
- "inquirer": "^12.4.1",
46
- "jest": "^29.7.0",
47
- "supertest": "^7.0.0"
45
+ "inquirer": "^13.3.0",
46
+ "jest": "^30.2.0",
47
+ "supertest": "^7.2.2"
48
48
  }
49
49
  }