Skip to content

Commit ce1cfff

Browse files
marco-ippolitoaduh95
authored andcommittedMar 9, 2025
deps: update amaro to 0.4.1
PR-URL: #57121 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
1 parent 0b0c9cc commit ce1cfff

File tree

5 files changed

+44
-58
lines changed

5 files changed

+44
-58
lines changed
 

‎deps/amaro/README.md

+1-20
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,9 @@ node --experimental-transform-types --import="amaro/transform" script.ts
4949
> Note that the "amaro/transform" loader should be used with `--experimental-transform-types` flag, or
5050
> at least with `--enable-source-maps` flag, to preserve the original source maps.
5151
52-
### How to update SWC
53-
54-
To update the SWC version, run:
55-
56-
```shell
57-
./tools/update-swc.sh
58-
git add deps
59-
git commit -m "chore: update swc to vX.Y.Z"
60-
```
61-
62-
Once you have updated the rust source code we must build the wasm.
63-
To build the wasm it is necessary to have Docker installed.
64-
65-
```shell
66-
node ./tools/build-wasm.js
67-
git add lib
68-
git commit -m "chore: build wasm from swc vX.Y.Z"
69-
```
70-
7152
### TypeScript Version
7253

73-
The supported TypeScript version is 5.5.4.
54+
The supported TypeScript version is 5.5.4, except the stage 3 decorator proposal.
7455

7556
## License (MIT)
7657

‎deps/amaro/dist/index.js

+40-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎deps/amaro/dist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"강동윤 <kdy1997.dev@gmail.com>"
55
],
66
"description": "wasm module for swc",
7-
"version": "1.10.14",
7+
"version": "1.11.5",
88
"license": "Apache-2.0",
99
"repository": {
1010
"type": "git",

‎deps/amaro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "amaro",
3-
"version": "0.3.2",
3+
"version": "0.4.1",
44
"description": "Node.js TypeScript wrapper",
55
"license": "MIT",
66
"type": "commonjs",

‎src/amaro_version.h

+1-1
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 "0.3.2"
5+
#define AMARO_VERSION "0.4.1"
66
#endif // SRC_AMARO_VERSION_H_

0 commit comments

Comments
 (0)
Please sign in to comment.