@@ -491,15 +491,15 @@ class ModuleLoader {
491
491
/**
492
492
* @see {@link CustomizedModuleLoader.register }
493
493
*/
494
- register ( specifier , parentURL , data , transferList ) {
494
+ register ( specifier , parentURL , data , transferList , isInternal ) {
495
495
if ( ! this . #customizations) {
496
496
// `CustomizedModuleLoader` is defined at the bottom of this file and
497
497
// available well before this line is ever invoked. This is here in
498
498
// order to preserve the git diff instead of moving the class.
499
499
// eslint-disable-next-line no-use-before-define
500
500
this . setCustomizations ( new CustomizedModuleLoader ( ) ) ;
501
501
}
502
- return this . #customizations. register ( `${ specifier } ` , `${ parentURL } ` , data , transferList ) ;
502
+ return this . #customizations. register ( `${ specifier } ` , `${ parentURL } ` , data , transferList , isInternal ) ;
503
503
}
504
504
505
505
/**
@@ -636,10 +636,11 @@ class CustomizedModuleLoader {
636
636
* @param {any } [data] Arbitrary data to be passed from the custom loader
637
637
* (user-land) to the worker.
638
638
* @param {any[] } [transferList] Objects in `data` that are changing ownership
639
+ * @param {boolean } [isInternal] For internal loaders that should not be publicly exposed.
639
640
* @returns {{ format: string, url: URL['href'] } }
640
641
*/
641
- register ( originalSpecifier , parentURL , data , transferList ) {
642
- return hooksProxy . makeSyncRequest ( 'register' , transferList , originalSpecifier , parentURL , data ) ;
642
+ register ( originalSpecifier , parentURL , data , transferList , isInternal ) {
643
+ return hooksProxy . makeSyncRequest ( 'register' , transferList , originalSpecifier , parentURL , data , isInternal ) ;
643
644
}
644
645
645
646
/**
0 commit comments