MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / module

Function module

ses.cjs:9219–9234  ·  view source on GitHub ↗
(specifier)

Source from the content-addressed store, hash-verified

9217 },
9218
9219 module(specifier) {
9220 if( typeof specifier!== 'string') {
9221 throw TypeError('first argument of module() must be a string');
9222 }
9223
9224 assertModuleHooks(this);
9225
9226 const { exportsProxy}= getDeferredExports(
9227 this,
9228 weakmapGet(privateFields, this),
9229 moduleAliases,
9230 specifier);
9231
9232
9233 return exportsProxy;
9234 },
9235
9236 async import(specifier){
9237 if( typeof specifier!== 'string') {

Callers

nothing calls this directly

Calls 2

assertModuleHooksFunction · 0.85
getDeferredExportsFunction · 0.85

Tested by

no test coverage detected