diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-03-07 06:12:08 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-13 17:34:43 +0100 |
commit | 605615e5f33df41a307a0921f451b6dabb89410c (patch) | |
tree | ac85c4e55ad401eeb5ea23f8f4218e46b474e81d /src/module_wrap.h | |
parent | 417d847de2b5e7d1eec96f099f6e20593e1a97b8 (diff) | |
download | node-new-605615e5f33df41a307a0921f451b6dabb89410c.tar.gz |
esm: port loader code to JS
There is no reason for this to be in C++. Using JavaScript means that
the code is more accessible to more developers, which is important
for any Node.js feature. This also simplifies the code significantly
in some areas. On the technical side, this potentially also enables
making some of the file system operations that are involved
asynchronous.
PR-URL: https://github.com/nodejs/node/pull/32201
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'src/module_wrap.h')
-rw-r--r-- | src/module_wrap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/module_wrap.h b/src/module_wrap.h index 8937431022..cd51a497ac 100644 --- a/src/module_wrap.h +++ b/src/module_wrap.h @@ -65,8 +65,6 @@ class ModuleWrap : public BaseObject { static void GetStaticDependencySpecifiers( const v8::FunctionCallbackInfo<v8::Value>& args); - static void Resolve(const v8::FunctionCallbackInfo<v8::Value>& args); - static void GetPackageType(const v8::FunctionCallbackInfo<v8::Value>& args); static void SetImportModuleDynamicallyCallback( const v8::FunctionCallbackInfo<v8::Value>& args); static void SetInitializeImportMetaObjectCallback( |