@alxia/secure-headers 0.4.5 → 0.4.7
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/docs/roadmap.md +1 -1
- package/docs/troubleshooting.md +1 -1
- package/package.json +3 -3
package/docs/roadmap.md
CHANGED
package/docs/troubleshooting.md
CHANGED
|
@@ -170,7 +170,7 @@ app.use(secureHeaders());
|
|
|
170
170
|
**When:** a route or a middleware reads `nonce` from its context.
|
|
171
171
|
|
|
172
172
|
```text
|
|
173
|
-
error TS2339: Property 'nonce' does not exist on type 'RouteBase<RouteApp<
|
|
173
|
+
error TS2339: Property 'nonce' does not exist on type 'RouteBase<RouteApp<Method, Empty, "">, "/">'.
|
|
174
174
|
error TS2339: Property 'nonce' does not exist on type 'BaseContext & Empty'.
|
|
175
175
|
```
|
|
176
176
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alxia/secure-headers",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Secure HTTP headers for alxia: HSTS, CSP, nosniff and the rest, each one adjustable",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@alxia/core": "^0.
|
|
44
|
+
"@alxia/core": "^0.12.0",
|
|
45
45
|
"@types/bun": "^1.4.2",
|
|
46
46
|
"zod": "^4.2.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@alxia/core": "^0.
|
|
49
|
+
"@alxia/core": "^0.12.0",
|
|
50
50
|
"typescript": "^6.0.3 || ^7.0.0"
|
|
51
51
|
}
|
|
52
52
|
}
|