@alxia/secure-headers 0.4.9 → 0.4.10

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 (2) hide show
  1. package/docs/roadmap.md +9 -5
  2. package/package.json +3 -3
package/docs/roadmap.md CHANGED
@@ -7,11 +7,7 @@ number on it. Every release, with each change it made, is in
7
7
 
8
8
  ## Now
9
9
 
10
- - **Secure headers as a middleware.** `app.use(secureHeaders())`, declared
11
- first, sets the headers on every response that comes back through it, a
12
- 404's, an error's and a 500's included; `NonceMiddleware` gives `nonce` to the
13
- routes after it and `SecureHeaders` is the plain one.
14
- `app.plugin(secureHeaders())`, the deprecated alias, was removed in 0.5.
10
+ Nothing in progress.
15
11
 
16
12
  ## Next
17
13
 
@@ -29,6 +25,14 @@ Nothing scheduled yet.
29
25
 
30
26
  ## Shipped
31
27
 
28
+ ### 0.4.0
29
+
30
+ - **Secure headers as a middleware.** `app.use(secureHeaders())`, declared
31
+ first, sets the headers on every response that comes back through it, a
32
+ 404's, an error's and a 500's included; `NonceMiddleware` gives `nonce` to the
33
+ routes after it and `SecureHeaders` is the plain one.
34
+ `app.plugin(secureHeaders())`, the deprecated alias, was removed in 0.5.
35
+
32
36
  ### 0.2.0
33
37
 
34
38
  - **A nonce per request.** `secureHeaders({ nonce: true })` makes a fresh,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alxia/secure-headers",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
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.14.0",
44
+ "@alxia/core": "^0.15.0",
45
45
  "@types/bun": "^1.4.2",
46
46
  "zod": "^4.2.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@alxia/core": "^0.14.0",
49
+ "@alxia/core": "^0.15.0",
50
50
  "typescript": "^6.0.3 || ^7.0.0"
51
51
  }
52
52
  }