From a90b6458db5f1c105e2df496fe5a501dc49eb380 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 23 Oct 2021 16:54:57 +1100 Subject: [PATCH] Bump esbuild-rs --- rust/common/tests/mod.rs | 3 ++- rust/main/Cargo.toml | 2 +- rust/onepass/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rust/common/tests/mod.rs b/rust/common/tests/mod.rs index 14523d8..8440a3f 100644 --- a/rust/common/tests/mod.rs +++ b/rust/common/tests/mod.rs @@ -461,7 +461,8 @@ fn test_processing_instructions() { fn test_js_minification() { eval_with_js_min(b"", b""); eval_with_js_min(b"", b""); - eval_with_js_min(b"", b""); + // `export` statements are not allowed inline. + eval_with_js_min(b"", b""); eval_with_js_min( br#" diff --git a/rust/main/Cargo.toml b/rust/main/Cargo.toml index 169a6e9..8d6dada 100644 --- a/rust/main/Cargo.toml +++ b/rust/main/Cargo.toml @@ -22,6 +22,6 @@ js-esbuild = ["crossbeam", "esbuild-rs"] [dependencies] aho-corasick = "0.7" crossbeam = { version = "0.7", optional = true } -esbuild-rs = { version = "0.12.19", optional = true } +esbuild-rs = { version = "0.13.8", optional = true } lazy_static = "1.4" memchr = "2" diff --git a/rust/onepass/Cargo.toml b/rust/onepass/Cargo.toml index 0457c5f..bca0230 100644 --- a/rust/onepass/Cargo.toml +++ b/rust/onepass/Cargo.toml @@ -22,6 +22,6 @@ js-esbuild = ["crossbeam", "esbuild-rs"] [dependencies] aho-corasick = "0.7" crossbeam = { version = "0.7", optional = true } -esbuild-rs = { version = "0.12.19", optional = true } +esbuild-rs = { version = "0.13.8", optional = true } lazy_static = "1.4" memchr = "2"