serverless-openapi-documenter 0.0.115-beta.2 → 0.0.117-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-openapi-documenter",
3
- "version": "0.0.115-beta.2",
3
+ "version": "0.0.117-beta.1",
4
4
  "description": "Generate OpenAPI v3 documentation and Postman Collections from your Serverless Config",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "chalk": "^4.1.2",
51
51
  "js-yaml": "^4.1.0",
52
52
  "json-schema-for-openapi": "^0.5.0",
53
- "openapi-to-postmanv2": "^5.0.1",
53
+ "openapi-to-postmanv2": "^5.3.0",
54
54
  "uuid": "^11.1.0"
55
55
  },
56
56
  "engines": {
@@ -58,8 +58,8 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "chai": "^4.5.0",
61
- "mocha": "^11.1.0",
62
- "nock": "^14.0.2",
63
- "sinon": "^20.0.0"
61
+ "mocha": "^11.7.2",
62
+ "nock": "^14.0.10",
63
+ "sinon": "^21.0.0"
64
64
  }
65
65
  }
@@ -29,7 +29,7 @@ describe(`owasp`, function () {
29
29
  expect(
30
30
  owasp.DEFAULT_OWASP_HEADERS["Permissions-Policy"].schema.default
31
31
  ).to.be.equal(permissionsPolicyDefault[0].value);
32
- expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(12);
32
+ expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(13);
33
33
  });
34
34
 
35
35
  it(`populates the defaults with information from a new OWASP release`, async function () {
@@ -52,7 +52,7 @@ describe(`owasp`, function () {
52
52
  owasp.DEFAULT_OWASP_HEADERS["Cross-Origin-Embedder-Policy"].schema
53
53
  .default
54
54
  ).to.be.equal(newCrossOriginEmbedderPolicy[0].value);
55
- expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(12);
55
+ expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(13);
56
56
  });
57
57
 
58
58
  it(`adds any properties contained in a new release`, async function () {
@@ -73,7 +73,7 @@ describe(`owasp`, function () {
73
73
  expect(owasp.DEFAULT_OWASP_HEADERS["x-added"].schema.default).to.be.equal(
74
74
  "true"
75
75
  );
76
- expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(13);
76
+ expect(Object.keys(owasp.DEFAULT_OWASP_HEADERS).length).to.be.equal(14);
77
77
  });
78
78
  });
79
79