chore(deps): update all non-major dependencies (#50)

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@vitest/coverage-v8](https://vitest.dev/guide/coverage) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`4.1.9` → `4.1.10`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/4.1.9/4.1.10) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/4.1.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/4.1.9/4.1.10?slim=true) |
| [oxfmt](https://oxc.rs/docs/guide/usage/formatter) ([source](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt)) | [`0.56.0` → `0.58.0`](https://renovatebot.com/diffs/npm/oxfmt/0.56.0/0.58.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/oxfmt/0.58.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxfmt/0.56.0/0.58.0?slim=true) |
| [rolldown](https://rolldown.rs/) ([source](https://github.com/rolldown/rolldown/tree/HEAD/packages/rolldown)) | [`1.1.3` → `1.1.4`](https://renovatebot.com/diffs/npm/rolldown/1.1.3/1.1.4) | ![age](https://developer.mend.io/api/mc/badges/age/npm/rolldown/1.1.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rolldown/1.1.3/1.1.4?slim=true) |
| [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`4.1.9` → `4.1.10`](https://renovatebot.com/diffs/npm/vitest/4.1.9/4.1.10) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/4.1.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/4.1.9/4.1.10?slim=true) |

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

### [`v4.1.10`](https://github.com/vitest-dev/vitest/releases/tag/v4.1.10)

[Compare Source](https://github.com/vitest-dev/vitest/compare/v4.1.9...v4.1.10)

#####    🐞 Bug Fixes

- **browser**: Check fs access in builtin commands \[backport to v4]  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa), **Hiroshi Ogawa** and **OpenCode (claude-opus-4-8)** in [#&#8203;10680](https://github.com/vitest-dev/vitest/issues/10680) [<samp>(5c18d)</samp>](https://github.com/vitest-dev/vitest/commit/5c18dd267)
- **vm**: Fix external module resolve error with deps optimizer query for encoded URI \[backport to v4]  -  by [@&#8203;SveLil](https://github.com/SveLil) and [@&#8203;hi-ogawa](https://github.com/hi-ogawa) in [#&#8203;10661](https://github.com/vitest-dev/vitest/issues/10661) [<samp>(bae52)</samp>](https://github.com/vitest-dev/vitest/commit/bae52b511)

#####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.1.9...v4.1.10)

</details>

<details>
<summary>oxc-project/oxc (oxfmt)</summary>

### [`v0.58.0`](https://github.com/oxc-project/oxc/compare/oxfmt_v0.57.0...oxfmt_v0.58.0)

[Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.57.0...oxfmt_v0.58.0)

### [`v0.57.0`](https://github.com/oxc-project/oxc/compare/oxfmt_v0.56.0...oxfmt_v0.57.0)

[Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.56.0...oxfmt_v0.57.0)

</details>

<details>
<summary>rolldown/rolldown (rolldown)</summary>

### [`v1.1.4`](https://github.com/rolldown/rolldown/blob/HEAD/CHANGELOG.md#114---2026-07-01)

[Compare Source](https://github.com/rolldown/rolldown/compare/v1.1.3...v1.1.4)

##### 🚀 Features

- disable `experimental.lazyBarrel` by default ([#&#8203;10071](https://github.com/rolldown/rolldown/issues/10071)) by [@&#8203;shulaoda](https://github.com/shulaoda)

##### 🐛 Bug Fixes

- dev: disable lazy barrel in dev mode ([#&#8203;10060](https://github.com/rolldown/rolldown/issues/10060)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- generate: keep full JSON interface under preserveModules namespa… ([#&#8203;10056](https://github.com/rolldown/rolldown/issues/10056)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- check finalize\_other\_specifiers in its own Debug attribute ([#&#8203;10032](https://github.com/rolldown/rolldown/issues/10032)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- serialize the KeepAssign unused minify option as "keep\_assign" ([#&#8203;10031](https://github.com/rolldown/rolldown/issues/10031)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- keep fragments after the newline fragment in MagicString::last\_line ([#&#8203;10023](https://github.com/rolldown/rolldown/issues/10023)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- generate: undeclared JSON named exports under preserveModules ([#&#8203;10020](https://github.com/rolldown/rolldown/issues/10020)) ([#&#8203;10027](https://github.com/rolldown/rolldown/issues/10027)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- deconflict: rename CJS-wrapped locals that shadow chunk-root bindings ([#&#8203;9921](https://github.com/rolldown/rolldown/issues/9921)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- rolldown: keep entry facade when a shared chunk holds another entry's module ([#&#8203;9997](https://github.com/rolldown/rolldown/issues/9997)) by [@&#8203;hyf0](https://github.com/hyf0)
- treeshake: also bail JSON default split when the object escapes ([#&#8203;9996](https://github.com/rolldown/rolldown/issues/9996)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- don't classify await in a strict-mode function as top-level await ([#&#8203;9987](https://github.com/rolldown/rolldown/issues/9987)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- avoid spurious leading newline in addon hooks (banner/footer/intro/outro) ([#&#8203;9989](https://github.com/rolldown/rolldown/issues/9989)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- handle JSON default mutation bailouts ([#&#8203;9972](https://github.com/rolldown/rolldown/issues/9972)) by [@&#8203;TheAlexLichter](https://github.com/TheAlexLichter)
- plugin: make lazy hook metadata enumerable ([#&#8203;9991](https://github.com/rolldown/rolldown/issues/9991)) by [@&#8203;TheAlexLichter](https://github.com/TheAlexLichter)
- dev: make init errors in lazy-compiled modules catchable ([#&#8203;9981](https://github.com/rolldown/rolldown/issues/9981)) by [@&#8203;h-a-n-a](https://github.com/h-a-n-a)
- treeshake: keep computed-key side effects on namespace member access ([#&#8203;9986](https://github.com/rolldown/rolldown/issues/9986)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- binding: validate replace plugin delimiters length instead of panicking ([#&#8203;9984](https://github.com/rolldown/rolldown/issues/9984)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- reconstruct nested rest patterns in into\_expression ([#&#8203;9980](https://github.com/rolldown/rolldown/issues/9980)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- reconstruct rest patterns as spread in into\_expression ([#&#8203;9976](https://github.com/rolldown/rolldown/issues/9976)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- preserve export keyword on multi-declarator exports under keepNames ([#&#8203;9974](https://github.com/rolldown/rolldown/issues/9974)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deterministically keep the shortest name for deduplicated assets ([#&#8203;9948](https://github.com/rolldown/rolldown/issues/9948)) by [@&#8203;x1024](https://github.com/x1024)
- treeshake: apply @&#8203;**NO\_SIDE\_EFFECTS** to cross-chunk namespace calls ([#&#8203;9960](https://github.com/rolldown/rolldown/issues/9960)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)

##### 🚜 Refactor

- drop redundant program scope enter/leave in finalizer ([#&#8203;10049](https://github.com/rolldown/rolldown/issues/10049)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deconflict: extract collect\_chunk\_scope\_captured\_names ([#&#8203;10006](https://github.com/rolldown/rolldown/issues/10006)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- unify pre-scan multi-declarator split into one decision site ([#&#8203;9982](https://github.com/rolldown/rolldown/issues/9982)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- common: return bool from SymbolRef::is\_not\_reassigned ([#&#8203;9962](https://github.com/rolldown/rolldown/issues/9962)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)

##### 📚 Documentation

- rolldown: remove outdated comment for removing parenthesized expression ([#&#8203;10062](https://github.com/rolldown/rolldown/issues/10062)) by [@&#8203;Dunqing](https://github.com/Dunqing)
- use GitHub-flavored alert for Etiquette note in contribution guide ([#&#8203;10012](https://github.com/rolldown/rolldown/issues/10012)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- replace: explain the delimiters left and right boundaries ([#&#8203;9985](https://github.com/rolldown/rolldown/issues/9985)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- ast-mutation: remove stale Address Use section after pre-scan refactor ([#&#8203;9983](https://github.com/rolldown/rolldown/issues/9983)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- remove fathom ([#&#8203;9968](https://github.com/rolldown/rolldown/issues/9968)) by [@&#8203;mdong1909](https://github.com/mdong1909)
- contribution-guide: code-format main branch references ([#&#8203;9966](https://github.com/rolldown/rolldown/issues/9966)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- contribution-guide: fix stale REPL note and tidy wording ([#&#8203;9957](https://github.com/rolldown/rolldown/issues/9957)) by [@&#8203;hyf0](https://github.com/hyf0)
- contribution-guide: clarify when to discuss before opening a PR ([#&#8203;9955](https://github.com/rolldown/rolldown/issues/9955)) by [@&#8203;hyf0](https://github.com/hyf0)

#####  Performance

- disable preserve\_parens across all parse paths ([#&#8203;10057](https://github.com/rolldown/rolldown/issues/10057)) by [@&#8203;Dunqing](https://github.com/Dunqing)
- common: inline declared\_symbols with SmallVec ([#&#8203;9920](https://github.com/rolldown/rolldown/issues/9920)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- common: pack TaggedSymbolRef into 8 bytes ([#&#8203;9919](https://github.com/rolldown/rolldown/issues/9919)) by [@&#8203;IWANABETHATGUY](https://github.com/IWANABETHATGUY)
- sourcemap: skip newline scan on the no-sourcemap join fast path ([#&#8203;9936](https://github.com/rolldown/rolldown/issues/9936)) by [@&#8203;Boshen](https://github.com/Boshen)

##### 🧪 Testing

- dev: error in lazy module should be catchable ([#&#8203;9975](https://github.com/rolldown/rolldown/issues/9975)) by [@&#8203;sapphi-red](https://github.com/sapphi-red)
- dev: reject unknown lazy compile modules ([#&#8203;9969](https://github.com/rolldown/rolldown/issues/9969)) by [@&#8203;sapphi-red](https://github.com/sapphi-red)

##### ⚙️ Miscellaneous Tasks

- deps: update actions/cache action to v6 ([#&#8203;10001](https://github.com/rolldown/rolldown/issues/10001)) by [@&#8203;renovate](https://github.com/renovate)\[bot]
- trigger vite ecosystem-ci from PR comments ([#&#8203;10058](https://github.com/rolldown/rolldown/issues/10058)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deps: update napi to v3.10.0 ([#&#8203;10063](https://github.com/rolldown/rolldown/issues/10063)) by [@&#8203;renovate](https://github.com/renovate)\[bot]
- remove unused From impl for RolldownLabelSpan ([#&#8203;10055](https://github.com/rolldown/rolldown/issues/10055)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove dead Diagnostic::with\_kind method ([#&#8203;10054](https://github.com/rolldown/rolldown/issues/10054)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove unused StatementExt methods ([#&#8203;10053](https://github.com/rolldown/rolldown/issues/10053)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove unused ExpressionExt methods ([#&#8203;10052](https://github.com/rolldown/rolldown/issues/10052)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove commented-out re\_export\_all\_names field ([#&#8203;10051](https://github.com/rolldown/rolldown/issues/10051)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deps: update pnpm to v11.9.0 ([#&#8203;10047](https://github.com/rolldown/rolldown/issues/10047)) by [@&#8203;renovate](https://github.com/renovate)\[bot]
- remove the unused BindingGenerateHmrPatchReturn napi type ([#&#8203;10034](https://github.com/rolldown/rolldown/issues/10034)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove the dead inline\_entry\_chunk\_wrapping scaffolding ([#&#8203;10037](https://github.com/rolldown/rolldown/issues/10037)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deps: bump oxc\_resolver to 11.22.0 ([#&#8203;10045](https://github.com/rolldown/rolldown/issues/10045)) by [@&#8203;Boshen](https://github.com/Boshen)
- remove never-constructed MatchImportKind::\_Ignore variant ([#&#8203;10041](https://github.com/rolldown/rolldown/issues/10041)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove the unused ScheduledBuild napi struct ([#&#8203;10033](https://github.com/rolldown/rolldown/issues/10033)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove dead compute\_hmr\_update\_single method ([#&#8203;10040](https://github.com/rolldown/rolldown/issues/10040)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- drop the redundant visited.insert in manual code splitting ([#&#8203;10038](https://github.com/rolldown/rolldown/issues/10038)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove the dead output\_assets vector in render\_chunk\_to\_assets ([#&#8203;10036](https://github.com/rolldown/rolldown/issues/10036)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- remove the unused From<String>/Display impls for BindingLogLevel ([#&#8203;10035](https://github.com/rolldown/rolldown/issues/10035)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deps: upgrade oxc to 0.138.0 and migrate to per-type AST construction ([#&#8203;10018](https://github.com/rolldown/rolldown/issues/10018)) by [@&#8203;shulaoda](https://github.com/shulaoda)
- deps: update rust crates ([#&#8203;9911](https://github.com/rolldown/rolldown/issues/9911)) by [@&#8203;renovate](https://github.com/renovate)\[bot]
- deps: update test262 submodule for tests ([#&#8203;10016](https://github.com/rolldown/rolldown/issues/10016)) by [@&#8203;rolldown-guard](https://github.com/rolldown-guard)\[bot]
- deps: update github actions ([#&#8203;9999](https://github.com/rolldown/rolldown/issues/9999)) by [@&#8203;renovate](https://github.com/renovate)\[bot]
- deps: update npm packages ([#&#8203;10000](https://github.com/rolldown/rolldown/issues/10000)) by [@&#8203;renovate](https://github.com/renovate)\[bot]

##### ◀️ Revert

- "fix(plugin): make lazy hook metadata enumerable ([#&#8203;9991](https://github.com/rolldown/rolldown/issues/9991))" ([#&#8203;10005](https://github.com/rolldown/rolldown/issues/10005)) by [@&#8203;shulaoda](https://github.com/shulaoda)

##### ❤️ New Contributors

- [@&#8203;x1024](https://github.com/x1024) made their first contribution in [#&#8203;9948](https://github.com/rolldown/rolldown/pull/9948)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](undefined) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzMuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIzMy40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBzIiwibnBtIl19-->

Reviewed-on: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action/pulls/50
Reviewed-by: t.behrendt <2+t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
This commit was merged in pull request #50.
This commit is contained in:
2026-07-14 07:15:26 +02:00
committed by t.behrendt
parent 081cf28d81
commit 7b3ec98d69
3 changed files with 272 additions and 215 deletions
+26 -10
View File
@@ -6647,7 +6647,8 @@ var require_client = /* @__PURE__ */ __commonJSMin(((exports, module) => {
this.once("connect", cb);
}
[kDispatch](opts, handler) {
const request = new Request(opts.origin || this[kUrl].origin, opts, handler);
const origin = opts.origin || this[kUrl].origin;
const request = new Request(origin, opts, handler);
this[kQueue].push(request);
if (this[kResuming]) {} else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {
this[kResuming] = 1;
@@ -8945,7 +8946,10 @@ var require_mock_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== "undefined" ? matchValue(body, key.body) : true);
if (matchedMockDispatches.length === 0) throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`);
matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers));
if (matchedMockDispatches.length === 0) throw new MockNotMatchedError(`Mock dispatch not matched for headers '${typeof key.headers === "object" ? JSON.stringify(key.headers) : key.headers}' on path '${resolvedPath}'`);
if (matchedMockDispatches.length === 0) {
const headers = typeof key.headers === "object" ? JSON.stringify(key.headers) : key.headers;
throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`);
}
return matchedMockDispatches[0];
}
function addMockDispatch(mockDispatches, key, data) {
@@ -10264,7 +10268,8 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
static json(data, init = {}) {
webidl.argumentLengthCheck(arguments, 1, "Response.json");
if (init !== null) init = webidl.converters.ResponseInit(init);
const body = extractBody(textEncoder.encode(serializeJavascriptValueToJSONString(data)));
const bytes = textEncoder.encode(serializeJavascriptValueToJSONString(data));
const body = extractBody(bytes);
const responseObject = fromInnerResponse(makeResponse({}), "response");
initializeResponse(responseObject, init, {
body: body[0],
@@ -11233,7 +11238,8 @@ var require_fetch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
taskDestination = request.client.globalObject;
crossOriginIsolatedCapability = request.client.crossOriginIsolatedCapability;
}
const timingInfo = createOpaqueTimingInfo({ startTime: coarsenedSharedCurrentTime(crossOriginIsolatedCapability) });
const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability);
const timingInfo = createOpaqueTimingInfo({ startTime: currentTime });
const fetchParams = {
controller: new Fetch(dispatcher),
request,
@@ -11341,7 +11347,8 @@ var require_fetch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
response.headersList.set("content-type", type, true);
} else {
response.rangeRequested = true;
const rangeValue = simpleRangeHeaderValue(request.headersList.get("range", true), true);
const rangeHeader = request.headersList.get("range", true);
const rangeValue = simpleRangeHeaderValue(rangeHeader, true);
if (rangeValue === "failure") return Promise.resolve(makeNetworkError("failed to fetch the data URL"));
let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue;
if (rangeStart === null) {
@@ -11364,7 +11371,8 @@ var require_fetch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
return Promise.resolve(response);
}
case "data:": {
const dataURLStruct = dataURLProcessor(requestCurrentURL(request));
const currentURL = requestCurrentURL(request);
const dataURLStruct = dataURLProcessor(currentURL);
if (dataURLStruct === "failure") return Promise.resolve(makeNetworkError("failed to fetch the data URL"));
const mimeType = serializeAMimeType(dataURLStruct.mimeType);
return Promise.resolve(makeResponse({
@@ -12723,8 +12731,10 @@ var require_cache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
});
const clonedResponse = cloneResponse(innerResponse);
const bodyReadPromise = createDeferredPromise();
if (innerResponse.body != null) readAllBytes(innerResponse.body.stream.getReader()).then(bodyReadPromise.resolve, bodyReadPromise.reject);
else bodyReadPromise.resolve(void 0);
if (innerResponse.body != null) {
const reader = innerResponse.body.stream.getReader();
readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject);
} else bodyReadPromise.resolve(void 0);
/** @type {CacheBatchOperation[]} */
const operations = [];
/** @type {CacheBatchOperation} */
@@ -13016,7 +13026,10 @@ var require_cachestorage = /* @__PURE__ */ __commonJSMin(((exports, module) => {
request = webidl.converters.RequestInfo(request);
options = webidl.converters.MultiCacheQueryOptions(options);
if (options.cacheName != null) {
if (this.#caches.has(options.cacheName)) return await new Cache(kConstruct, this.#caches.get(options.cacheName)).match(request, options);
if (this.#caches.has(options.cacheName)) {
const cacheList = this.#caches.get(options.cacheName);
return await new Cache(kConstruct, cacheList).match(request, options);
}
} else for (const cacheList of this.#caches.values()) {
const response = await new Cache(kConstruct, cacheList).match(request, options);
if (response !== void 0) return response;
@@ -13044,7 +13057,10 @@ var require_cachestorage = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const prefix = "CacheStorage.open";
webidl.argumentLengthCheck(arguments, 1, prefix);
cacheName = webidl.converters.DOMString(cacheName, prefix, "cacheName");
if (this.#caches.has(cacheName)) return new Cache(kConstruct, this.#caches.get(cacheName));
if (this.#caches.has(cacheName)) {
const cache = this.#caches.get(cacheName);
return new Cache(kConstruct, cache);
}
const cache = [];
this.#caches.set(cacheName, cache);
return new Cache(kConstruct, cache);