@middy/http-security-headers 6.3.1 → 6.4.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 (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +7 -4
package/index.js CHANGED
@@ -180,7 +180,7 @@ helmetHtmlOnly.permissionsPolicy = (headers, config) => {
180
180
  .join(", ");
181
181
  };
182
182
 
183
- helmet.originAgentCluster = (headers, config) => {
183
+ helmet.originAgentCluster = (headers, _config) => {
184
184
  headers["Origin-Agent-Cluster"] = "?1";
185
185
  };
186
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/http-security-headers",
3
- "version": "6.3.1",
3
+ "version": "6.4.0",
4
4
  "description": "Applies best practice security headers to responses. It's a simplified port of HelmetJS",
5
5
  "type": "module",
6
6
  "engines": {
@@ -23,7 +23,10 @@
23
23
  }
24
24
  },
25
25
  "types": "index.d.ts",
26
- "files": ["index.js", "index.d.ts"],
26
+ "files": [
27
+ "index.js",
28
+ "index.d.ts"
29
+ ],
27
30
  "scripts": {
28
31
  "test": "npm run test:unit && npm run test:fuzz",
29
32
  "test:unit": "node --test",
@@ -65,9 +68,9 @@
65
68
  },
66
69
  "gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431",
67
70
  "dependencies": {
68
- "@middy/util": "6.3.1"
71
+ "@middy/util": "6.4.0"
69
72
  },
70
73
  "devDependencies": {
71
- "@middy/core": "6.3.1"
74
+ "@middy/core": "6.4.0"
72
75
  }
73
76
  }