Update dependency @apidevtools/swagger-parser to v12 (main) (#223300)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@apidevtools/swagger-parser](https://apidevtools.com/swagger-parser/)
([source](https://redirect.github.com/APIDevTools/swagger-parser)) |
devDependencies | major | [`^10.1.1` ->
`^12.0.0`](https://renovatebot.com/diffs/npm/@apidevtools%2fswagger-parser/10.1.1/12.0.0)
|

---

### Release Notes

<details>
<summary>APIDevTools/swagger-parser
(@&#8203;apidevtools/swagger-parser)</summary>

###
[`v12.0.0`](https://redirect.github.com/APIDevTools/swagger-parser/releases/tag/v12.0.0)

[Compare
Source](https://redirect.github.com/APIDevTools/swagger-parser/compare/v11.0.1...v12.0.0)

- Bump json schema ref parser version to fix security vulnerability
allowing internal URL resolution in the http parser.
([80ebe6f](80ebe6f19b))

##### BREAKING CHANGES

- Remove ability to request internal urls in the default http resolver -
this is now behind a flag in the http resolver, safeUrlResolver

###
[`v11.0.1`](https://redirect.github.com/APIDevTools/swagger-parser/releases/tag/v11.0.1)

[Compare
Source](https://redirect.github.com/APIDevTools/swagger-parser/compare/v11.0.0...v11.0.1)

##### Bug Fixes

- **location:** bump json schema parser version
([a4559a2](a4559a273a))

###
[`v11.0.0`](https://redirect.github.com/APIDevTools/swagger-parser/releases/tag/v11.0.0)

[Compare
Source](https://redirect.github.com/APIDevTools/swagger-parser/compare/v10.1.1...v11.0.0)

- Modernize dependencies, fix CI, upgrade dependencies, introduce new
linter and formatter
([ed4ea05](ed4ea05a4c))
- Upgrade dependencies, modernize some code
([66d2818](66d2818481))

##### Bug Fixes

- move ajv-draft-04 into usage location
([#&#8203;268](https://redirect.github.com/APIDevTools/swagger-parser/issues/268))
([ff79822](ff798224f8))
- **types:** add types fix for options
([0c9a034](0c9a034a33))
- **types:** types fix
([9994339](99943395c5))

##### BREAKING CHANGES

- Pretty large refactor of dev experience. Removes ono dependency to fix
certain CJS builds
-   move to latest version of parser

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDpwcmV2LW1pbm9yIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
This commit is contained in:
elastic-renovate-prod[bot] 2025-06-24 15:21:59 -04:00 committed by GitHub
parent 38a76c9034
commit fa7f9c7030
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 12 deletions

View file

@ -1383,7 +1383,7 @@
"zod-to-json-schema": "^3.23.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.1",
"@apidevtools/swagger-parser": "^12.0.0",
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",

View file

@ -75,12 +75,11 @@
"@jridgewell/gen-mapping" "^0.1.0"
"@jridgewell/trace-mapping" "^0.3.9"
"@apidevtools/json-schema-ref-parser@11.7.2":
version "11.7.2"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.7.2.tgz#cdf3e0aded21492364a70e193b45b7cf4177f031"
integrity sha512-4gY54eEGEstClvEkGnwVkTkrx0sqwemEFG5OSRRn3tD91XH0+Q8XIkYIfo7IwEWPpJZwILb9GUXeShtplRc/eA==
"@apidevtools/json-schema-ref-parser@14.0.1":
version "14.0.1"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-14.0.1.tgz#3bc445ed2eddf72bc2f9eb2e295c696bdc5be725"
integrity sha512-Oc96zvmxx1fqoSEdUmfmvvb59/KDOnUoJ7s2t7bISyAn0XEz57LCCw8k2Y4Pf3mwKaZLMciESALORLgfe2frCw==
dependencies:
"@jsdevtools/ono" "^7.1.3"
"@types/json-schema" "^7.0.15"
js-yaml "^4.1.0"
@ -125,15 +124,14 @@
call-me-maybe "^1.0.1"
z-schema "^5.0.1"
"@apidevtools/swagger-parser@^10.1.1":
version "10.1.1"
resolved "https://registry.yarnpkg.com/@apidevtools/swagger-parser/-/swagger-parser-10.1.1.tgz#e29bf17cf94b487a340e06784e9fbe20cb671c45"
integrity sha512-u/kozRnsPO/x8QtKYJOqoGtC4kH6yg1lfYkB9Au0WhYB0FNLpyFusttQtvhlwjtG3rOwiRz4D8DnnXa8iEpIKA==
"@apidevtools/swagger-parser@^12.0.0":
version "12.0.0"
resolved "https://registry.yarnpkg.com/@apidevtools/swagger-parser/-/swagger-parser-12.0.0.tgz#02667c728b0c6c1f92109d105b0561828be8c5d8"
integrity sha512-WLJIWcfOXrSKlZEM+yhA2Xzatgl488qr1FoOxixYmtWapBzwSC0gVGq4WObr4hHClMIiFFdOBdixNkvWqkWIWA==
dependencies:
"@apidevtools/json-schema-ref-parser" "11.7.2"
"@apidevtools/json-schema-ref-parser" "14.0.1"
"@apidevtools/openapi-schemas" "^2.1.0"
"@apidevtools/swagger-methods" "^3.0.2"
"@jsdevtools/ono" "^7.1.3"
ajv "^8.17.1"
ajv-draft-04 "^1.0.0"
call-me-maybe "^1.0.2"