@@ -3,6 +3,7 @@ import * as abortSignalTimeout from './abortsignal-timeout.js'
33import * as aggregateError from './aggregateerror.js'
44import * as arrayAt from './arraylike-at.js'
55import * as cryptoRandomUUID from './crypto-randomuuid.js'
6+ import * as elementReplaceChildren from './element-replacechildren.js'
67import * as eventAbortSignal from './event-abortsignal.js'
78import * as objectHasOwn from './object-hasown.js'
89import * as promiseAny from './promise-any.js'
@@ -26,7 +27,6 @@ const baseSupport =
2627 typeof globalThis === 'object' &&
2728 'entries' in FormData . prototype &&
2829 'toggleAttribute' in Element . prototype &&
29- 'replaceChildren' in Element . prototype &&
3030 // ES2019
3131 'fromEntries' in Object &&
3232 'flatMap' in Array . prototype &&
@@ -50,6 +50,7 @@ export function isSupported() {
5050 aggregateError . isSupported ( ) &&
5151 arrayAt . isSupported ( ) &&
5252 cryptoRandomUUID . isSupported ( ) &&
53+ elementReplaceChildren . isSupported ( ) &&
5354 eventAbortSignal . isSupported ( ) &&
5455 objectHasOwn . isSupported ( ) &&
5556 promiseAny . isSupported ( ) &&
@@ -64,6 +65,7 @@ export function isPolyfilled() {
6465 aggregateError . isPolyfilled ( ) &&
6566 arrayAt . isPolyfilled ( ) &&
6667 cryptoRandomUUID . isPolyfilled ( ) &&
68+ elementReplaceChildren . isPolyfilled ( ) &&
6769 eventAbortSignal . isPolyfilled ( ) &&
6870 objectHasOwn . isPolyfilled ( ) &&
6971 promiseAny . isPolyfilled ( ) &&
@@ -77,6 +79,7 @@ export function apply() {
7779 aggregateError . apply ( )
7880 arrayAt . apply ( )
7981 cryptoRandomUUID . apply ( )
82+ elementReplaceChildren . apply ( )
8083 eventAbortSignal . apply ( )
8184 objectHasOwn . apply ( )
8285 promiseAny . apply ( )
0 commit comments