Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deps/amaro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ It is possible to use Amaro as an external loader to execute TypeScript files.
This allows the installed Amaro to override the Amaro version used by Node.js.
In order to use Amaro as an external loader, type stripping needs to be enabled.

In node v23 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.

```bash
node --experimental-strip-types --import="amaro/strip" file.ts
node --import="amaro/strip" file.ts
```

> In node v22.18.0 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
Enabling TypeScript feature transformation:

```bash
Expand Down
10 changes: 5 additions & 5 deletions deps/amaro/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deps/amaro/dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"강동윤 <kdy1997.dev@gmail.com>"
],
"description": "wasm module for swc",
"version": "1.13.21",
"version": "1.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion deps/amaro/dist/register-transform.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const hasSourceMaps =
env.NODE_OPTIONS?.includes("--enable-source-maps");

if (!hasSourceMaps) {
emitWarning("Source maps are disabled, stack traces will not accurate");
emitWarning("Source maps are disabled, stack traces will not be accurate");
}

register("./transform-loader.js", import.meta.url);
2 changes: 1 addition & 1 deletion deps/amaro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amaro",
"version": "1.1.5",
"version": "1.1.6",
"description": "Node.js TypeScript wrapper",
"license": "MIT",
"type": "commonjs",
Expand Down
2 changes: 1 addition & 1 deletion src/amaro_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-amaro.sh
#ifndef SRC_AMARO_VERSION_H_
#define SRC_AMARO_VERSION_H_
#define AMARO_VERSION "1.1.5"
#define AMARO_VERSION "1.1.6"
#endif // SRC_AMARO_VERSION_H_
Loading