Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 300de2b

Browse files
nodejs-github-botaduh95
authored andcommitted
deps: update amaro to 1.1.6
PR-URL: #61603 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
1 parent b064ddc commit 300de2b

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

β€Ždeps/amaro/README.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ It is possible to use Amaro as an external loader to execute TypeScript files.
3232
This allows the installed Amaro to override the Amaro version used by Node.js.
3333
In order to use Amaro as an external loader, type stripping needs to be enabled.
3434

35-
In node v23 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
36-
3735
```bash
38-
node --experimental-strip-types --import="amaro/strip" file.ts
36+
node --import="amaro/strip" file.ts
3937
```
4038

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

4343
```bash

β€Ždeps/amaro/dist/index.jsβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždeps/amaro/dist/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"κ°•λ™μœ€ <[email protected]>"
55
],
66
"description": "wasm module for swc",
7-
"version": "1.13.21",
7+
"version": "1.14.0",
88
"license": "Apache-2.0",
99
"repository": {
1010
"type": "git",

β€Ždeps/amaro/dist/register-transform.mjsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const hasSourceMaps =
66
env.NODE_OPTIONS?.includes("--enable-source-maps");
77

88
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");
1010
}
1111

1212
register("./transform-loader.js", import.meta.url);

β€Ždeps/amaro/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "amaro",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "Node.js TypeScript wrapper",
55
"license": "MIT",
66
"type": "commonjs",

β€Žsrc/amaro_version.hβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// Refer to tools/dep_updaters/update-amaro.sh
33
#ifndef SRC_AMARO_VERSION_H_
44
#define SRC_AMARO_VERSION_H_
5-
#define AMARO_VERSION "1.1.5"
5+
#define AMARO_VERSION "1.1.6"
66
#endif // SRC_AMARO_VERSION_H_

0 commit comments

Comments
Β (0)