woodland 20.2.4 → 20.2.6

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
@@ -45,10 +45,10 @@ import helmet from 'helmet';
45
45
  import rateLimit from 'express-rate-limit';
46
46
 
47
47
  // Security headers
48
- app.use(helmet());
48
+ app.always(helmet());
49
49
 
50
50
  // Rate limiting
51
- app.use(rateLimit({
51
+ app.always(rateLimit({
52
52
  windowMs: 15 * 60 * 1000, // 15 minutes
53
53
  max: 100 // limit each IP to 100 requests per windowMs
54
54
  }));
@@ -922,18 +922,17 @@ npm test
922
922
  ### Test Results
923
923
 
924
924
  ```
925
- 416 passing (5s)
926
- 1 pending
927
-
928
- --------------|---------|----------|---------|---------|------------------------
929
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
930
- --------------|---------|----------|---------|---------|------------------------
931
- All files | 100 | 97.1 | 100 | 100 |
932
- cli.js | 100 | 100 | 100 | 100 |
933
- constants.js | 100 | 100 | 100 | 100 |
934
- utility.js | 100 | 99.26 | 100 | 100 | 197
935
- woodland.js | 100 | 95.38 | 100 | 100 | 193,356,461,474,524,642,761
936
- --------------|---------|----------|---------|---------|------------------------
925
+ 386 passing (6s)
926
+
927
+ --------------|---------|----------|---------|---------|-------------------
928
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
929
+ --------------|---------|----------|---------|---------|-------------------
930
+ All files | 100 | 100 | 100 | 100 |
931
+ cli.js | 100 | 100 | 100 | 100 |
932
+ constants.js | 100 | 100 | 100 | 100 |
933
+ utility.js | 100 | 100 | 100 | 100 |
934
+ woodland.js | 100 | 100 | 100 | 100 |
935
+ --------------|---------|----------|---------|---------|-------------------
937
936
  ```
938
937
 
939
938
  ### Test Categories
package/dist/cli.cjs CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
6
6
  * @license BSD-3-Clause
7
- * @version 20.2.4
7
+ * @version 20.2.6
8
8
  */
9
9
  'use strict';
10
10
 
package/dist/woodland.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
5
5
  * @license BSD-3-Clause
6
- * @version 20.2.4
6
+ * @version 20.2.6
7
7
  */
8
8
  'use strict';
9
9
 
package/dist/woodland.js CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
5
5
  * @license BSD-3-Clause
6
- * @version 20.2.4
6
+ * @version 20.2.6
7
7
  */
8
8
  import {STATUS_CODES,METHODS}from'node:http';import {join,extname,resolve}from'node:path';import {EventEmitter}from'node:events';import {stat,readdir}from'node:fs/promises';import {readFileSync,createReadStream}from'node:fs';import {etag}from'tiny-etag';import {precise}from'precise';import {lru}from'tiny-lru';import {createRequire}from'node:module';import {fileURLToPath,URL}from'node:url';import {coerce}from'tiny-coerce';import mimeDb from'mime-db';const __dirname$1 = fileURLToPath(new URL(".", import.meta.url));
9
9
  const require = createRequire(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woodland",
3
- "version": "20.2.4",
3
+ "version": "20.2.6",
4
4
  "description": "High-performance HTTP framework",
5
5
  "type": "module",
6
6
  "types": "types/woodland.d.ts",