Skip to content

Commit cd4cdc6

Browse files
deps: fix amaro new entrypoint
1 parent b36d15a commit cd4cdc6

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎configure.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
# builtins may be removed later if they have been disabled by options
6161
shareable_builtins = {'undici/undici': 'deps/undici/undici.js',
62-
'amaro/dist/index': 'deps/amaro/dist/index.js'
62+
'amaro/dist/internal': 'deps/amaro/dist/internal.js'
6363
}
6464

6565
# create option groups
@@ -2999,7 +2999,7 @@ def make_bin_override():
29992999

30003000
# remove builtins that have been disabled
30013001
if options.without_amaro:
3002-
del shareable_builtins['amaro/dist/index']
3002+
del shareable_builtins['amaro/dist/internal']
30033003

30043004
# configure shareable builtins
30053005
output['variables']['node_builtin_shareable_builtins'] = []

‎lib/internal/modules/typescript.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const {
3333
*/
3434
const loadTypeScriptParser = getLazy(() => {
3535
assertTypeScript();
36-
const amaro = require('internal/deps/amaro/dist/index');
36+
const amaro = require('internal/deps/amaro/dist/internal');
3737
return amaro.transformSync;
3838
});
3939

‎node.gni‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare_args() {
2727
# the list between configure.py and GN configurations.
2828
node_builtin_shareable_builtins = [
2929
"deps/undici/undici.js",
30-
"deps/amaro/dist/index.js",
30+
"deps/amaro/dist/internal.js",
3131
]
3232
}
3333

‎src/node_builtins.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ BuiltinLoader::BuiltinLoader()
6565

6666
#if HAVE_AMARO
6767
#ifdef NODE_SHARED_BUILTIN_AMARO_DIST_INDEX_PATH
68-
AddExternalizedBuiltin("internal/deps/amaro/dist/index",
68+
AddExternalizedBuiltin("internal/deps/amaro/dist/internal",
6969
STRINGIFY(NODE_SHARED_BUILTIN_AMARO_DIST_INDEX_PATH));
7070
#endif // NODE_SHARED_BUILTIN_AMARO_DIST_INDEX_PATH
7171
#endif // HAVE_AMARO

0 commit comments

Comments
 (0)