serverless-openapi-documenter 0.1.1 → 0.1.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/json/owasp.json +2 -2
- package/package.json +1 -1
- package/src/owasp.js +1 -1
package/json/owasp.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"last_update_utc": "
|
|
2
|
+
"last_update_utc": "2026-06-23 16:23:09",
|
|
3
3
|
"headers": [
|
|
4
4
|
{
|
|
5
5
|
"name": "Cache-Control",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "Strict-Transport-Security",
|
|
38
|
-
"value": "max-age=
|
|
38
|
+
"value": "max-age=63072000; includeSubDomains"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "X-Content-Type-Options",
|
package/package.json
CHANGED
package/src/owasp.js
CHANGED
|
@@ -95,7 +95,7 @@ class OWASP {
|
|
|
95
95
|
const headerJSON = await new Promise((resolve, reject) => {
|
|
96
96
|
const req = https
|
|
97
97
|
.get(
|
|
98
|
-
"https://
|
|
98
|
+
"https://raw.githubusercontent.com/OWASP/www-project-secure-headers/refs/heads/master/ci/headers_add.json",
|
|
99
99
|
(res) => {
|
|
100
100
|
let data = [];
|
|
101
101
|
|