Skip to content

Commit 3f91d6e

Browse files
TypeScript::TRANSPILER no longer uses external_helpers by default
1 parent 583601c commit 3f91d6e

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.14.9
2+
3+
* TypeScript::TRANSPILER no longer uses external_helpers by default
4+
15
# 0.14.8
26

37
* bumped some deps (especially swc)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "quickjs_runtime"
3-
version = "0.14.8"
3+
version = "0.14.9"
44
authors = ["Andries Hiemstra <andries@hiemstra-software.nl>"]
55
edition = "2021"
66
description = "Wrapper API and utils for the QuickJS JavaScript engine with support for Promise, Modules, Async/await"

src/typescript/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@ impl TypeScriptTranspiler {
214214

215215
impl Default for TypeScriptTranspiler {
216216
fn default() -> Self {
217-
Self::new(TargetVersion::Es2020, false, true, false)
217+
Self::new(TargetVersion::Es2020, false, false, false)
218218
}
219219
}
220220

221221
thread_local! {
222222
// we store this in a thread local inb the worker thread so they are dropped when the runtimefacade is dropped
223223
static SOURCE_MAPS: RefCell<HashMap<String, String>> = RefCell::new(HashMap::new());
224-
static TRANSPILER: RefCell<TypeScriptTranspiler> = RefCell::new(TypeScriptTranspiler::new(TargetVersion::Es2020, false, true, false));
224+
static TRANSPILER: RefCell<TypeScriptTranspiler> = RefCell::new(TypeScriptTranspiler::new(TargetVersion::Es2020, false, false, false));
225225
}
226226

227227
// fix stacktrace method

0 commit comments

Comments
 (0)