Always check regular expression flags by flags getter MR. Native methods are not fixed, only own implementation updated for:
RegExp.prototype[@​@​match]
RegExp.prototype[@​@​replace]
Improved handling of RegExp flags in polyfills of some methods in engines without proper support of RegExp.prototype.flags and without polyfill of this getter
Added feature detection for a WebKit bug that occurs when this is updated while Set.prototype.difference is being executed
Added feature detection for a WebKit bug that occurs when iterator record of a set-like object isn't called before cloning this in the following methods:
Set.prototype.symmetricDifference
Set.prototype.union
Added feature detection for a bug in V8 ~ Chromium < 126. Following methods should throw an error on invalid iterator:
Iterator.prototype.drop
Iterator.prototype.filter
Iterator.prototype.flatMap
Iterator.prototype.map
Added feature detection for a WebKit bug: incorrect exception thrown by Iterator.from when underlying iterator's return method is null
Added feature detection for a FF bug: incorrect exception thrown by Array.prototype.with when index coercion fails
Added feature detection for a WebKit bug: TypedArray.prototype.with should truncate negative fractional index to zero, but instead throws an error
Worked around a bug of many different tools (example) with incorrect transforming and breaking JS syntax on getting a method from a number literal
Fixed deoptimization of the Promise polyfill in the pure version
Added some missed dependencies to /iterator/flat-map entries
Set.prototype.difference marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug
Set.prototype.{ symmetricDifference, union } marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug
Iterator.from marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug
Iterators closing on early errors in Iterator helpers marked as implemented from FF141
Array.prototype.with marked as supported only from FF140 because it throws an incorrect exception when index coercion fails
TypedArray.prototype.with marked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an error
DisposableStack and AsyncDisposableStack marked as shipped in FF141 (SuppressedError has a bug)
AsyncDisposableStack bugs marked as fixed in Deno 2.3.2
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [core-js](https://github.com/zloirock/core-js) ([source](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js)) | devDependencies | minor | [`3.42.0` -> `3.43.0`](https://renovatebot.com/diffs/npm/core-js/3.42.0/3.43.0) |
---
### Release Notes
<details>
<summary>zloirock/core-js (core-js)</summary>
### [`v3.43.0`](https://github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3430---20250609)
[Compare Source](https://github.com/zloirock/core-js/compare/v3.42.0...v3.43.0)
- Changes [v3.42.0...v3.43.0](https://github.com/zloirock/core-js/compare/v3.42.0...v3.43.0) (139 commits)
- [Explicit Resource Management proposals](https://github.com/tc39/proposal-explicit-resource-management):
- Built-ins:
- `Symbol.dispose`
- `Symbol.asyncDispose`
- `SuppressedError`
- `DisposableStack`
- `DisposableStack.prototype.dispose`
- `DisposableStack.prototype.use`
- `DisposableStack.prototype.adopt`
- `DisposableStack.prototype.defer`
- `DisposableStack.prototype.move`
- `DisposableStack.prototype[@​@​dispose]`
- `AsyncDisposableStack`
- `AsyncDisposableStack.prototype.disposeAsync`
- `AsyncDisposableStack.prototype.use`
- `AsyncDisposableStack.prototype.adopt`
- `AsyncDisposableStack.prototype.defer`
- `AsyncDisposableStack.prototype.move`
- `AsyncDisposableStack.prototype[@​@​asyncDispose]`
- `Iterator.prototype[@​@​dispose]`
- `AsyncIterator.prototype[@​@​asyncDispose]`
- Moved to stable ES, [May 2025 TC39 meeting](https://x.com/robpalmer2/status/1927744934343213085)
- Added `es.` namespace module, `/es/` and `/stable/` namespaces entries
- [`Array.fromAsync` proposal](https://github.com/tc39/proposal-array-from-async):
- Built-ins:
- `Array.fromAsync`
- Moved to stable ES, [May 2025 TC39 meeting](https://github.com/tc39/proposal-array-from-async/issues/14#issuecomment-2916645435)
- Added `es.` namespace module, `/es/` and `/stable/` namespaces entries
- [`Error.isError` proposal](https://github.com/tc39/proposal-is-error):
- Built-ins:
- `Error.isError`
- Moved to stable ES, [May 2025 TC39 meeting](https://github.com/tc39/proposals/commit/a5d4bb99d79f328533d0c36b0cd20597fa12c7a8)
- Added `es.` namespace module, `/es/` and `/stable/` namespaces entries
- Added [Joint iteration stage 2.7 proposal](https://github.com/tc39/proposal-joint-iteration):
- Added built-ins:
- `Iterator.zip`
- `Iterator.zipKeyed`
- Added [`Iterator` chunking stage 2 proposal](https://github.com/tc39/proposal-iterator-chunking):
- Added built-ins:
- `Iterator.prototype.chunks`
- `Iterator.prototype.windows`
- [`Number.prototype.clamp` proposal](https://github.com/tc39/proposal-math-clamp):
- Built-ins:
- `Number.prototype.clamp`
- Moved to stage 2, [May 2025 TC39 meeting](https://github.com/tc39/proposal-math-clamp/commit/a005f28a6a03e175b9671de1c8c70dd5b7b08c2d)
- `Math.clamp` was replaced with `Number.prototype.clamp`
- Removed a `RangeError` if `min <= max` or `+0` min and `-0` max, [tc39/proposal-math-clamp/#​22](https://github.com/tc39/proposal-math-clamp/issues/22)
- Always check regular expression flags by `flags` getter [MR](https://github.com/tc39/ecma262/pull/2791). Native methods are not fixed, only own implementation updated for:
- `RegExp.prototype[@​@​match]`
- `RegExp.prototype[@​@​replace]`
- Improved handling of `RegExp` flags in polyfills of some methods in engines without proper support of `RegExp.prototype.flags` and without polyfill of this getter
- Added feature detection for [a WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=288595) that occurs when `this` is updated while `Set.prototype.difference` is being executed
- Added feature detection for [a WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=289430) that occurs when iterator record of a set-like object isn't called before cloning `this` in the following methods:
- `Set.prototype.symmetricDifference`
- `Set.prototype.union`
- Added feature detection for [a bug](https://issues.chromium.org/issues/336839115) in V8 ~ Chromium < 126. Following methods should throw an error on invalid iterator:
- `Iterator.prototype.drop`
- `Iterator.prototype.filter`
- `Iterator.prototype.flatMap`
- `Iterator.prototype.map`
- Added feature detection for [a WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=288714): incorrect exception thrown by `Iterator.from` when underlying iterator's `return` method is `null`
- Added feature detection for a FF bug: incorrect exception thrown by `Array.prototype.with` when index coercion fails
- Added feature detection for a WebKit bug: `TypedArray.prototype.with` should truncate negative fractional index to zero, but instead throws an error
- Worked around a bug of many different tools ([example](https://github.com/zloirock/core-js/pull/1368#issuecomment-2908034690)) with incorrect transforming and breaking JS syntax on getting a method from a number literal
- Fixed deoptimization of the `Promise` polyfill in the pure version
- Added some missed dependencies to `/iterator/flat-map` entries
- Some other minor fixes and improvements
- Compat data improvements:
- Added [Deno 2.3](https://github.com/denoland/deno/releases/tag/v2.3.0) and [Deno 2.3.2](https://github.com/denoland/deno/releases/tag/v2.3.2) compat data mapping
- Updated Electron 37 compat data mapping
- Added Opera Android 90 compat data mapping
- [`Error.isError`](https://github.com/tc39/proposal-is-error) marked not supported in Node because of [a bug](https://github.com/nodejs/node/issues/56497)
- `Set.prototype.difference` marked as not supported in Safari and supported only from Bun 1.2.5 because of [a bug](https://bugs.webkit.org/show_bug.cgi?id=288595)
- `Set.prototype.{ symmetricDifference, union }` marked as not supported in Safari and supported only from Bun 1.2.5 because of [a bug](https://bugs.webkit.org/show_bug.cgi?id=289430)
- `Iterator.from` marked as not supported in Safari and supported only from Bun 1.2.5 because of [a bug](https://bugs.webkit.org/show_bug.cgi?id=288714)
- Iterators closing on early errors in `Iterator` helpers marked as implemented from FF141
- `Array.prototype.with` marked as supported only from FF140 because it throws an incorrect exception when index coercion fails
- `TypedArray.prototype.with` marked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an error
- `DisposableStack` and `AsyncDisposableStack` marked as [shipped in FF141](https://bugzilla.mozilla.org/show_bug.cgi?id=1967744) (`SuppressedError` has [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1971000))
- `AsyncDisposableStack` bugs marked as fixed in Deno 2.3.2
- `SuppressedError` bugs ([extra arguments support](https://github.com/oven-sh/bun/issues/9283) and [arity](https://github.com/oven-sh/bun/issues/9282)) marked as fixed in Bun 1.2.15
</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 MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This MR contains the following updates:
3.42.0->3.43.0Release Notes
zloirock/core-js (core-js)
v3.43.0Compare Source
Symbol.disposeSymbol.asyncDisposeSuppressedErrorDisposableStackDisposableStack.prototype.disposeDisposableStack.prototype.useDisposableStack.prototype.adoptDisposableStack.prototype.deferDisposableStack.prototype.moveDisposableStack.prototype[@​@​dispose]AsyncDisposableStackAsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack.prototype.useAsyncDisposableStack.prototype.adoptAsyncDisposableStack.prototype.deferAsyncDisposableStack.prototype.moveAsyncDisposableStack.prototype[@​@​asyncDispose]Iterator.prototype[@​@​dispose]AsyncIterator.prototype[@​@​asyncDispose]es.namespace module,/es/and/stable/namespaces entriesArray.fromAsyncproposal:Array.fromAsynces.namespace module,/es/and/stable/namespaces entriesError.isErrorproposal:Error.isErrores.namespace module,/es/and/stable/namespaces entriesIterator.zipIterator.zipKeyedIteratorchunking stage 2 proposal:Iterator.prototype.chunksIterator.prototype.windowsNumber.prototype.clampproposal:Number.prototype.clampMath.clampwas replaced withNumber.prototype.clampRangeErrorifmin <= maxor+0min and-0max, tc39/proposal-math-clamp/#22flagsgetter MR. Native methods are not fixed, only own implementation updated for:RegExp.prototype[@​@​match]RegExp.prototype[@​@​replace]RegExpflags in polyfills of some methods in engines without proper support ofRegExp.prototype.flagsand without polyfill of this getterthisis updated whileSet.prototype.differenceis being executedthisin the following methods:Set.prototype.symmetricDifferenceSet.prototype.unionIterator.prototype.dropIterator.prototype.filterIterator.prototype.flatMapIterator.prototype.mapIterator.fromwhen underlying iterator'sreturnmethod isnullArray.prototype.withwhen index coercion failsTypedArray.prototype.withshould truncate negative fractional index to zero, but instead throws an errorPromisepolyfill in the pure version/iterator/flat-mapentriesError.isErrormarked not supported in Node because of a bugSet.prototype.differencemarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugSet.prototype.{ symmetricDifference, union }marked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIterator.frommarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIteratorhelpers marked as implemented from FF141Array.prototype.withmarked as supported only from FF140 because it throws an incorrect exception when index coercion failsTypedArray.prototype.withmarked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an errorDisposableStackandAsyncDisposableStackmarked as shipped in FF141 (SuppressedErrorhas a bug)AsyncDisposableStackbugs marked as fixed in Deno 2.3.2SuppressedErrorbugs (extra arguments support and arity) marked as fixed in Bun 1.2.15Configuration
📅 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 MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Renovate Bot.
mentioned in issue #3