mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
committed by
GitHub
parent
b185d12a7e
commit
f2001e3bef
6
deps/amaro/dist/index.js
vendored
6
deps/amaro/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
deps/amaro/dist/package.json
vendored
2
deps/amaro/dist/package.json
vendored
@@ -4,7 +4,7 @@
|
||||
"강동윤 <kdy1997.dev@gmail.com>"
|
||||
],
|
||||
"description": "wasm module for swc",
|
||||
"version": "1.10.7",
|
||||
"version": "1.10.11",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
2
deps/amaro/dist/strip-loader.js
vendored
2
deps/amaro/dist/strip-loader.js
vendored
@@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";
|
||||
import { transformSync } from "./index.js";
|
||||
export async function load(url, context, nextLoad) {
|
||||
const { format } = context;
|
||||
if (format.endsWith("-typescript")) {
|
||||
if (format?.endsWith("-typescript")) {
|
||||
try {
|
||||
const { source } = await nextLoad(url, {
|
||||
...context,
|
||||
|
||||
2
deps/amaro/dist/transform-loader.js
vendored
2
deps/amaro/dist/transform-loader.js
vendored
@@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";
|
||||
import { transformSync } from "./index.js";
|
||||
export async function load(url, context, nextLoad) {
|
||||
const { format } = context;
|
||||
if (format.endsWith("-typescript")) {
|
||||
if (format?.endsWith("-typescript")) {
|
||||
try {
|
||||
const { source } = await nextLoad(url, {
|
||||
...context,
|
||||
|
||||
2
deps/amaro/package.json
vendored
2
deps/amaro/package.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "amaro",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "Node.js TypeScript wrapper",
|
||||
"license": "MIT",
|
||||
"type": "commonjs",
|
||||
|
||||
@@ -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 "0.3.0"
|
||||
#define AMARO_VERSION "0.3.1"
|
||||
#endif // SRC_AMARO_VERSION_H_
|
||||
|
||||
Reference in New Issue
Block a user