| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b064ddc commit 300de2b
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,12 +32,12 @@ It is possible to use Amaro as an external loader to execute TypeScript files. | |||
| 32 | 32 | This allows the installed Amaro to override the Amaro version used by Node.js. | |
| 33 | 33 | In order to use Amaro as an external loader, type stripping needs to be enabled. | |
| 34 | 34 | ||
| 35 | - In node v23 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default. | ||
| 36 | - | ||
| 37 | 35 | ```bash | |
| 38 | - node --experimental-strip-types --import="amaro/strip" file.ts | ||
| 36 | + node --import="amaro/strip" file.ts | ||
| 39 | 37 | ``` | |
| 40 | 38 | ||
| 39 | + > In node v22.18.0 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default. | ||
| 40 | + | ||
| 41 | 41 | Enabling TypeScript feature transformation: | |
| 42 | 42 | ||
| 43 | 43 | ```bash | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ | |||
| 4 | 4 | "강동윤 <kdy1997.dev@gmail.com>" | |
| 5 | 5 | ], | |
| 6 | 6 | "description": "wasm module for swc", | |
| 7 | - "version": "1.13.21", | ||
| 7 | + "version": "1.14.0", | ||
| 8 | 8 | "license": "Apache-2.0", | |
| 9 | 9 | "repository": { | |
| 10 | 10 | "type": "git", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ const hasSourceMaps = | |||
| 6 | 6 | env.NODE_OPTIONS?.includes("--enable-source-maps"); | |
| 7 | 7 | ||
| 8 | 8 | if (!hasSourceMaps) { | |
| 9 | - emitWarning("Source maps are disabled, stack traces will not accurate"); | ||
| 9 | + emitWarning("Source maps are disabled, stack traces will not be accurate"); | ||
| 10 | 10 | } | |
| 11 | 11 | ||
| 12 | 12 | register("./transform-loader.js", import.meta.url); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "amaro", | |
| 3 | - "version": "1.1.5", | ||
| 3 | + "version": "1.1.6", | ||
| 4 | 4 | "description": "Node.js TypeScript wrapper", | |
| 5 | 5 | "license": "MIT", | |
| 6 | 6 | "type": "commonjs", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,5 +2,5 @@ | |||
| 2 | 2 | // Refer to tools/dep_updaters/update-amaro.sh | |
| 3 | 3 | #ifndef SRC_AMARO_VERSION_H_ | |
| 4 | 4 | #define SRC_AMARO_VERSION_H_ | |
| 5 | - #define AMARO_VERSION "1.1.5" | ||
| 5 | + #define AMARO_VERSION "1.1.6" | ||
| 6 | 6 | #endif // SRC_AMARO_VERSION_H_ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments