From f05c6839bc9127fda45b8910cf70a143d91b0ad3 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 20 Mar 2023 09:37:38 -0700 Subject: [PATCH 1/2] fix: case where yaml strings would be improperly parsed as dates --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37b270537..cfc74322d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "mime-types": "^2.1.35", "node-fetch": "^2.6.1", "oas": "^20.2.0", - "oas-normalize": "^8.1.3", + "oas-normalize": "^8.3.4", "open": "^8.2.1", "ora": "^5.4.1", "parse-link-header": "^2.0.0", @@ -7608,9 +7608,9 @@ } }, "node_modules/oas-normalize": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-8.3.3.tgz", - "integrity": "sha512-lzNXbIH01EpIDvdW5aH8LfaPdWSjcqW2CvIQiyFPWqY7OBze2qJHdYQoyfa0CAW5yRIO58+eNVrdhV2smXZhyw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-8.3.4.tgz", + "integrity": "sha512-aPc2Y+zBD5Sv/CGuv/g0FWCsq1Ze2Rle+Se4G/JbytzBDCoo0m/Krk6gEt+o5dDw7mwbsVtnumhBmOhTWj/a8g==", "dependencies": { "@readme/openapi-parser": "^2.4.0", "@readme/postman-to-openapi": "^4.0.0", @@ -15752,9 +15752,9 @@ } }, "oas-normalize": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-8.3.3.tgz", - "integrity": "sha512-lzNXbIH01EpIDvdW5aH8LfaPdWSjcqW2CvIQiyFPWqY7OBze2qJHdYQoyfa0CAW5yRIO58+eNVrdhV2smXZhyw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-8.3.4.tgz", + "integrity": "sha512-aPc2Y+zBD5Sv/CGuv/g0FWCsq1Ze2Rle+Se4G/JbytzBDCoo0m/Krk6gEt+o5dDw7mwbsVtnumhBmOhTWj/a8g==", "requires": { "@readme/openapi-parser": "^2.4.0", "@readme/postman-to-openapi": "^4.0.0", diff --git a/package.json b/package.json index bb1baaba3..e75814bc7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "mime-types": "^2.1.35", "node-fetch": "^2.6.1", "oas": "^20.2.0", - "oas-normalize": "^8.1.3", + "oas-normalize": "^8.3.4", "open": "^8.2.1", "ora": "^5.4.1", "parse-link-header": "^2.0.0", From 71109b81cfba90bec374b88dea0ab891483ef758 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 20 Mar 2023 09:48:05 -0700 Subject: [PATCH 2/2] chore: bump schemas --- __tests__/helpers/github-workflow-schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__tests__/helpers/github-workflow-schema.json b/__tests__/helpers/github-workflow-schema.json index 4aa97b41d..ed5a9ba01 100644 --- a/__tests__/helpers/github-workflow-schema.json +++ b/__tests__/helpers/github-workflow-schema.json @@ -1099,7 +1099,8 @@ }, "required": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_callsecretssecret_idrequired", - "description": "A boolean specifying whether the secret must be supplied." + "description": "A boolean specifying whether the secret must be supplied.", + "type": "boolean" } }, "required": ["required"],