We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac01b4 commit 0b6e16fCopy full SHA for 0b6e16f
lib/internal/modules/esm/initialize_import_meta.js
@@ -2,7 +2,7 @@
2
3
const { StringPrototypeStartsWith } = primordials;
4
const { getOptionValue } = require('internal/options');
5
-const { fileURLToPath } = require('url');
+const { fileURLToPath } = require('internal/url');
6
const { dirname } = require('path');
7
const experimentalImportMetaResolve = getOptionValue('--experimental-import-meta-resolve');
8
test/js-native-api/test_cannot_run_js/entry_point.c
@@ -0,0 +1,7 @@
1
+#include <node_api.h>
+
+EXTERN_C_START
+napi_value Init(napi_env env, napi_value exports);
+EXTERN_C_END
+NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)
0 commit comments