deps: update amaro to 0.3.1

PR-URL: https://github.com/nodejs/node/pull/56785
Fixes: https://github.com/nodejs/node/issues/56597
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Node.js GitHub Bot 2025-01-29 08:50:28 -05:00 committed by GitHub
parent b185d12a7e
commit f2001e3bef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@
"강동윤 <kdy1997.dev@gmail.com>" "강동윤 <kdy1997.dev@gmail.com>"
], ],
"description": "wasm module for swc", "description": "wasm module for swc",
"version": "1.10.7", "version": "1.10.11",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";
import { transformSync } from "./index.js"; import { transformSync } from "./index.js";
export async function load(url, context, nextLoad) { export async function load(url, context, nextLoad) {
const { format } = context; const { format } = context;
if (format.endsWith("-typescript")) { if (format?.endsWith("-typescript")) {
try { try {
const { source } = await nextLoad(url, { const { source } = await nextLoad(url, {
...context, ...context,

View file

@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";
import { transformSync } from "./index.js"; import { transformSync } from "./index.js";
export async function load(url, context, nextLoad) { export async function load(url, context, nextLoad) {
const { format } = context; const { format } = context;
if (format.endsWith("-typescript")) { if (format?.endsWith("-typescript")) {
try { try {
const { source } = await nextLoad(url, { const { source } = await nextLoad(url, {
...context, ...context,

View file

@ -1,6 +1,6 @@
{ {
"name": "amaro", "name": "amaro",
"version": "0.3.0", "version": "0.3.1",
"description": "Node.js TypeScript wrapper", "description": "Node.js TypeScript wrapper",
"license": "MIT", "license": "MIT",
"type": "commonjs", "type": "commonjs",

View file

@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-amaro.sh // Refer to tools/dep_updaters/update-amaro.sh
#ifndef SRC_AMARO_VERSION_H_ #ifndef SRC_AMARO_VERSION_H_
#define SRC_AMARO_VERSION_H_ #define SRC_AMARO_VERSION_H_
#define AMARO_VERSION "0.3.0" #define AMARO_VERSION "0.3.1"
#endif // SRC_AMARO_VERSION_H_ #endif // SRC_AMARO_VERSION_H_