serverless-openapi-documenter 0.1.1 → 0.1.3
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 +10 -10
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverless-openapi-documenter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Generate OpenAPI v3 documentation and Postman Collections from your Serverless Config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@apidevtools/json-schema-ref-parser": "^9.1.0",
|
|
56
|
-
"@redocly/openapi-core": "^1.34.
|
|
57
|
-
"@usebruno/converters": "^0.
|
|
56
|
+
"@redocly/openapi-core": "^1.34.15",
|
|
57
|
+
"@usebruno/converters": "^0.21.0",
|
|
58
58
|
"chalk": "^4.1.2",
|
|
59
|
-
"js-yaml": "^
|
|
59
|
+
"js-yaml": "^5.1.0",
|
|
60
60
|
"json-schema-for-openapi": "^0.5.0",
|
|
61
|
-
"openapi-to-postmanv2": "^6.
|
|
62
|
-
"uuid": "^11.1.
|
|
61
|
+
"openapi-to-postmanv2": "^6.1.0",
|
|
62
|
+
"uuid": "^11.1.1"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=20"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"chai": "^
|
|
69
|
-
"mocha": "^11.7.
|
|
70
|
-
"nock": "^14.0.
|
|
71
|
-
"sinon": "^
|
|
68
|
+
"chai": "^6.2.2",
|
|
69
|
+
"mocha": "^11.7.6",
|
|
70
|
+
"nock": "^14.0.15",
|
|
71
|
+
"sinon": "^22.0.0"
|
|
72
72
|
}
|
|
73
73
|
}
|
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
|
|