deps: update amaro to 0.3.1 · nodejs/node@0f553e5

6 files changed

lines changed

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.7",

7+

"version": "1.10.11",

88

"license": "Apache-2.0",

99

"repository": {

1010

"type": "git",

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";

33

import { transformSync } from "./index.js";

44

export async function load(url, context, nextLoad) {

55

const { format } = context;

6-

if (format.endsWith("-typescript")) {

6+

if (format?.endsWith("-typescript")) {

77

try {

88

const { source } = await nextLoad(url, {

99

...context,

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import { isSwcError, wrapAndReThrowSwcError } from "./errors.js";

33

import { transformSync } from "./index.js";

44

export async function load(url, context, nextLoad) {

55

const { format } = context;

6-

if (format.endsWith("-typescript")) {

6+

if (format?.endsWith("-typescript")) {

77

try {

88

const { source } = await nextLoad(url, {

99

...context,

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,6 @@

11

{

22

"name": "amaro",

3-

"version": "0.3.0",

3+

"version": "0.3.1",

44

"description": "Node.js TypeScript wrapper",

55

"license": "MIT",

66

"type": "commonjs",

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.0"

5+

#define AMARO_VERSION "0.3.1"

66

#endif // SRC_AMARO_VERSION_H_