Skip to content

Commit 5b2aa9d

Browse files
elastic-renovate-prod[bot]elasticmachinekgellerkibanamachine
committed
Update dependency oas to v28 (main) (#235566)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [oas](https://redirect.github.com/readmeio/oas) ([source](https://redirect.github.com/readmeio/oas/tree/HEAD/packages/oas)) | dependencies | major | [`^25.3.0` -> `^28.1.0`](https://renovatebot.com/diffs/npm/oas/25.3.0/28.1.0) | --- ### Release Notes <details> <summary>readmeio/oas (oas)</summary> ### [`v28.1.0`](https://redirect.github.com/readmeio/oas/compare/oas@28.0.0...oas@28.1.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@28.0.0...oas@28.1.0) ### [`v28.0.0`](https://redirect.github.com/readmeio/oas/compare/oas@27.2.1...oas@28.0.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@27.2.1...oas@28.0.0) ### [`v27.2.1`](https://redirect.github.com/readmeio/oas/compare/oas@27.2.0...oas@27.2.1) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@27.2.0...oas@27.2.1) ### [`v27.2.0`](https://redirect.github.com/readmeio/oas/compare/oas@27.1.0...oas@27.2.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@27.1.0...oas@27.2.0) ### [`v27.1.0`](https://redirect.github.com/readmeio/oas/compare/oas@27.0.1...oas@27.1.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@27.0.1...oas@27.1.0) ### [`v27.0.1`](https://redirect.github.com/readmeio/oas/compare/oas@27.0.0...oas@27.0.1) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@27.0.0...oas@27.0.1) ### [`v27.0.0`](https://redirect.github.com/readmeio/oas/compare/oas@26.0.4...oas@27.0.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@26.0.4...oas@27.0.0) ### [`v26.0.4`](https://redirect.github.com/readmeio/oas/compare/oas@26.0.3...oas@26.0.4) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@26.0.3...oas@26.0.4) ### [`v26.0.3`](https://redirect.github.com/readmeio/oas/compare/oas@26.0.2...oas@26.0.3) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@26.0.2...oas@26.0.3) ### [`v26.0.2`](https://redirect.github.com/readmeio/oas/compare/oas@26.0.1...oas@26.0.2) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@26.0.1...oas@26.0.2) ### [`v26.0.1`](https://redirect.github.com/readmeio/oas/compare/oas@26.0.0...oas@26.0.1) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@26.0.0...oas@26.0.1) ### [`v26.0.0`](https://redirect.github.com/readmeio/oas/compare/oas@25.3.0...oas@26.0.0) [Compare Source](https://redirect.github.com/readmeio/oas/compare/oas@25.3.0...oas@26.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5LVNjYWxhYmlsaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Kylie Meli <kylie.geller@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 6714d7b)
1 parent 917c5fc commit 5b2aa9d

File tree

3 files changed

+63
-37
lines changed

3 files changed

+63
-37
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@
12611261
"nodemailer": "^6.9.15",
12621262
"normalize-path": "^3.0.0",
12631263
"nunjucks": "^3.2.4",
1264-
"oas": "^25.3.0",
1264+
"oas": "^28.1.0",
12651265
"object-hash": "^3.0.0",
12661266
"object-path-immutable": "^3.1.1",
12671267
"oniguruma-to-es": "^4.1.0",

x-pack/platform/plugins/shared/automatic_import/public/components/create_integration/create_automatic_import/flyout/cel_configuration/steps/upload_spec_step/upload_spec_step.test.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,20 @@ describe('UploadSpecStep', () => {
8282
target: { value: 'testDataStreamTitle' },
8383
});
8484
});
85+
const validSpec = JSON.stringify({
86+
openapi: '3.0.0',
87+
paths: { '/test': { get: {} } },
88+
});
8589
const filepicker = result.getByTestId('apiDefinitionFilePicker');
8690
await act(async () => {
8791
fireEvent.change(filepicker, {
88-
target: { files: [new File(['...'], 'test.json', { type: 'application/json' })] },
92+
target: { files: [new File([validSpec], 'test.json', { type: 'application/json' })] },
8993
});
9094
});
91-
await waitFor(() => expect(filepicker).toHaveAttribute('data-loading', 'false'));
95+
// Wait for the file to be fully processed and button to become enabled
96+
await waitFor(() => expect(result.queryByTestId('analyzeApiButton')).toBeEnabled(), {
97+
timeout: 3000,
98+
});
9299
});
93100

94101
it('analyze button re-enabled', () => {

yarn.lock

Lines changed: 53 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -683,14 +683,14 @@
683683
"@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3"
684684
chokidar "^3.4.0"
685685

686-
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.26.2":
687-
version "7.26.2"
688-
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85"
689-
integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==
686+
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.22.5", "@babel/code-frame@^7.26.2":
687+
version "7.27.1"
688+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be"
689+
integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==
690690
dependencies:
691-
"@babel/helper-validator-identifier" "^7.25.9"
691+
"@babel/helper-validator-identifier" "^7.27.1"
692692
js-tokens "^4.0.0"
693-
picocolors "^1.0.0"
693+
picocolors "^1.1.1"
694694

695695
"@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.6", "@babel/compat-data@^7.24.7", "@babel/compat-data@^7.26.5":
696696
version "7.26.8"
@@ -912,10 +912,10 @@
912912
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c"
913913
integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==
914914

915-
"@babel/helper-validator-identifier@^7.19.1", "@babel/helper-validator-identifier@^7.24.7", "@babel/helper-validator-identifier@^7.25.9":
916-
version "7.25.9"
917-
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7"
918-
integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==
915+
"@babel/helper-validator-identifier@^7.19.1", "@babel/helper-validator-identifier@^7.24.7", "@babel/helper-validator-identifier@^7.25.9", "@babel/helper-validator-identifier@^7.27.1":
916+
version "7.27.1"
917+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8"
918+
integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==
919919

920920
"@babel/helper-validator-option@^7.24.7", "@babel/helper-validator-option@^7.25.9":
921921
version "7.25.9"
@@ -1766,10 +1766,10 @@
17661766
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
17671767
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==
17681768

1769-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.24.7", "@babel/runtime@^7.26.7", "@babel/runtime@^7.27.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
1770-
version "7.27.6"
1771-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.27.6.tgz#ec4070a04d76bae8ddbb10770ba55714a417b7c6"
1772-
integrity sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==
1769+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.24.7", "@babel/runtime@^7.26.7", "@babel/runtime@^7.27.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
1770+
version "7.28.4"
1771+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.4.tgz#a70226016fabe25c5783b2f22d3e1c9bc5ca3326"
1772+
integrity sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==
17731773

17741774
"@babel/template@^7.24.7", "@babel/template@^7.25.9", "@babel/template@^7.26.8", "@babel/template@^7.3.3":
17751775
version "7.26.8"
@@ -3480,7 +3480,7 @@
34803480
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
34813481
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
34823482

3483-
"@humanwhocodes/momoa@^2.0.2":
3483+
"@humanwhocodes/momoa@^2.0.2", "@humanwhocodes/momoa@^2.0.3":
34843484
version "2.0.4"
34853485
resolved "https://registry.yarnpkg.com/@humanwhocodes/momoa/-/momoa-2.0.4.tgz#8b9e7a629651d15009c3587d07a222deeb829385"
34863486
integrity sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==
@@ -10392,15 +10392,34 @@
1039210392
tar-fs "^3.1.0"
1039310393
yargs "^17.7.2"
1039410394

10395-
"@readme/json-schema-ref-parser@^1.2.0":
10396-
version "1.2.0"
10397-
resolved "https://registry.yarnpkg.com/@readme/json-schema-ref-parser/-/json-schema-ref-parser-1.2.0.tgz#8552cde8f8ecf455398c59aa6e2cf5ed2d0f3d31"
10398-
integrity sha512-Bt3QVovFSua4QmHa65EHUmh2xS0XJ3rgTEUPH998f4OW4VVJke3BuS16f+kM0ZLOGdvIrzrPRqwihuv5BAjtrA==
10395+
"@readme/better-ajv-errors@^2.3.2":
10396+
version "2.3.2"
10397+
resolved "https://registry.yarnpkg.com/@readme/better-ajv-errors/-/better-ajv-errors-2.3.2.tgz#e2446332d77f13eb895cf7774f775a81031b6c8b"
10398+
integrity sha512-T4GGnRAlY3C339NhoUpgJJFsMYko9vIgFAlhgV+/vEGFw66qEY4a4TRJIAZBcX/qT1pq5DvXSme+SQODHOoBrw==
1039910399
dependencies:
10400-
"@jsdevtools/ono" "^7.1.3"
10401-
"@types/json-schema" "^7.0.6"
10402-
call-me-maybe "^1.0.1"
10403-
js-yaml "^4.1.0"
10400+
"@babel/code-frame" "^7.22.5"
10401+
"@babel/runtime" "^7.22.5"
10402+
"@humanwhocodes/momoa" "^2.0.3"
10403+
jsonpointer "^5.0.0"
10404+
leven "^3.1.0"
10405+
picocolors "^1.1.1"
10406+
10407+
"@readme/openapi-parser@^5.0.1":
10408+
version "5.0.1"
10409+
resolved "https://registry.yarnpkg.com/@readme/openapi-parser/-/openapi-parser-5.0.1.tgz#6d68b9df5efe8248ee8add4b81f147df36ed00aa"
10410+
integrity sha512-qLHoqkBcqHmCFqLNuK9vH2DiOg+RM4Jk4ncgm6BkW1h796NAPqY6i4ux90PsgM19c4LVcZKgrEp+/oEGAAmCmA==
10411+
dependencies:
10412+
"@apidevtools/json-schema-ref-parser" "^14.1.1"
10413+
"@readme/better-ajv-errors" "^2.3.2"
10414+
"@readme/openapi-schemas" "^3.1.0"
10415+
"@types/json-schema" "^7.0.15"
10416+
ajv "^8.12.0"
10417+
ajv-draft-04 "^1.0.0"
10418+
10419+
"@readme/openapi-schemas@^3.1.0":
10420+
version "3.1.0"
10421+
resolved "https://registry.yarnpkg.com/@readme/openapi-schemas/-/openapi-schemas-3.1.0.tgz#5ff4b704af6a8b108f9d577fd87cf73e9e7b3178"
10422+
integrity sha512-9FC/6ho8uFa8fV50+FPy/ngWN53jaUu4GRXlAjcxIRrzhltJnpKkBG2Tp0IDraFJeWrOpk84RJ9EMEEYzaI1Bw==
1040410423

1040510424
"@redocly/ajv@8.11.2", "@redocly/ajv@^8.11.2":
1040610425
version "8.11.2"
@@ -14188,7 +14207,7 @@ ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5, ajv@^6.12.6:
1418814207
json-schema-traverse "^0.4.1"
1418914208
uri-js "^4.2.2"
1419014209

14191-
ajv@^8.0.0, ajv@^8.0.1, ajv@^8.17.1, ajv@^8.9.0:
14210+
ajv@^8.0.0, ajv@^8.0.1, ajv@^8.12.0, ajv@^8.17.1, ajv@^8.9.0:
1419214211
version "8.17.1"
1419314212
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
1419414213
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
@@ -25747,20 +25766,20 @@ oas-validator@^5.0.8:
2574725766
should "^13.2.1"
2574825767
yaml "^1.10.0"
2574925768

25750-
oas@^25.3.0:
25751-
version "25.3.0"
25752-
resolved "https://registry.yarnpkg.com/oas/-/oas-25.3.0.tgz#c55a3a557fc040c2e8ea5954dd017b746ae2ac3a"
25753-
integrity sha512-98HLqUASE1u4kS8o3O7ZqjT1LG5oNwNjG1oXTsMscYVl2RSW4gMzlrn80dpxjsxpMlVuqPPa/sUS5WFtkk+Xxg==
25769+
oas@^28.1.0:
25770+
version "28.1.0"
25771+
resolved "https://registry.yarnpkg.com/oas/-/oas-28.1.0.tgz#4e22d524fef762f1ac7c2d61131dfac10cdb96cd"
25772+
integrity sha512-W9Gu512dmOtcq0f3E3kN47UYVJDmKSoy51UIGGxC3f/QyhEMOMsGVlKkckDvhZKa4L5NrLmSUcne2S1JiKRc9Q==
2575425773
dependencies:
25755-
"@readme/json-schema-ref-parser" "^1.2.0"
25774+
"@readme/openapi-parser" "^5.0.1"
2575625775
"@types/json-schema" "^7.0.11"
2575725776
json-schema-merge-allof "^0.8.1"
2575825777
jsonpath-plus "^10.0.0"
2575925778
jsonpointer "^5.0.0"
2576025779
memoizee "^0.4.16"
2576125780
openapi-types "^12.1.1"
2576225781
path-to-regexp "^8.1.0"
25763-
remove-undefined-objects "^5.0.0"
25782+
remove-undefined-objects "^6.0.0"
2576425783

2576525784
object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
2576625785
version "4.1.1"
@@ -28681,10 +28700,10 @@ remove-trailing-separator@^1.1.0:
2868128700
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
2868228701
integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8=
2868328702

28684-
remove-undefined-objects@^5.0.0:
28685-
version "5.0.0"
28686-
resolved "https://registry.yarnpkg.com/remove-undefined-objects/-/remove-undefined-objects-5.0.0.tgz#6a298a395c648eee7fbd3c1e486a983a82a963e8"
28687-
integrity sha512-DE8C17uIWeHaY4SqIkpQpHXm0MIdYHtIqjieWuh0I2PG8YcZRxFE6pqeEhnRetsrQ7Lu9uvSNQkDbg95NLpvnQ==
28703+
remove-undefined-objects@^6.0.0:
28704+
version "6.0.0"
28705+
resolved "https://registry.yarnpkg.com/remove-undefined-objects/-/remove-undefined-objects-6.0.0.tgz#1663ce4560879e91642c8b351dd8345c7e9dfc44"
28706+
integrity sha512-8fR4QQFV2xMKTYXazi1944rpr1f+JOzQu58TgUFi3xDu41fDon5qMXtjJ1/nhquOouTtJ621bKDrhE1IlOSP+A==
2868828707

2868928708
renderkid@^3.0.0:
2869028709
version "3.0.0"

0 commit comments

Comments
 (0)