From abef85fab2959a4efc3c455f0a4daf772c5489c0 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Fri, 23 Aug 2024 10:03:41 +0000 Subject: [PATCH] deps: update amaro to 0.1.8 --- deps/amaro/dist/index.js | 9 ++++++++- deps/amaro/package.json | 2 +- src/amaro_version.h | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/deps/amaro/dist/index.js b/deps/amaro/dist/index.js index 10ad4d1fefcdf9..0122d2a3bd7df9 100644 --- a/deps/amaro/dist/index.js +++ b/deps/amaro/dist/index.js @@ -489,7 +489,14 @@ module.exports = __toCommonJS(src_exports); // src/transform.ts var import_wasm = __toESM(require_wasm()); var DEFAULT_OPTIONS = { - mode: "strip-only" + mode: "strip-only", + // default transform will only work when mode is "transform" + transform: { + verbatimModuleSyntax: true, + nativeClassProperties: true, + noEmptyExport: true, + importNotUsedAsValues: "preserve" + } }; function transformSync(source, options) { const input = `${source ?? ""}`; diff --git a/deps/amaro/package.json b/deps/amaro/package.json index 1cdbb4716df5f1..210ffca37854bb 100644 --- a/deps/amaro/package.json +++ b/deps/amaro/package.json @@ -1,6 +1,6 @@ { "name": "amaro", - "version": "0.1.7", + "version": "0.1.8", "description": "Node.js TypeScript wrapper", "license": "MIT", "type": "commonjs", diff --git a/src/amaro_version.h b/src/amaro_version.h index 13ca4d534b1f43..5f95a43bb3a95f 100644 --- a/src/amaro_version.h +++ b/src/amaro_version.h @@ -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.1.7" +#define AMARO_VERSION "0.1.8" #endif // SRC_AMARO_VERSION_H_