From bcb36cc7e5840a0006c747d0ebbb0d001fe138ab Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Fri, 7 Jun 2024 09:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20Update=20dev=20version?= =?UTF-8?q?=20to=20v0.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/swc4j_build.yml | 2 +- build.gradle.kts | 2 +- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- rust/src/core.rs | 2 +- rust/tests/test_core.rs | 2 +- scripts/ts/change_swc4j_version.ts | 2 +- scripts/ts/copy_swc4j_lib.ts | 2 +- src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java | 2 +- src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java | 2 +- src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/swc4j_build.yml b/.github/workflows/swc4j_build.yml index 572e0834..d3e1ab0c 100644 --- a/.github/workflows/swc4j_build.yml +++ b/.github/workflows/swc4j_build.yml @@ -14,7 +14,7 @@ on: - "docs/**" env: - SWC4J_VERSION: 0.9.0 + SWC4J_VERSION: 0.10.0 jobs: build_native: diff --git a/build.gradle.kts b/build.gradle.kts index c912d4a6..dce0b87d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -67,7 +67,7 @@ object Config { const val JAVA_VERSION = "1.8" const val JAVET = "3.1.2" const val JUNIT = "5.10.1" - const val SWC4J = "0.9.0" + const val SWC4J = "0.10.0" } } diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 912972fb..77289a2c 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -990,7 +990,7 @@ dependencies = [ [[package]] name = "swc4j" -version = "0.9.0" +version = "0.10.0" dependencies = [ "base64 0.22.1", "debug_print", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index cba2540f..ed029501 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc4j" -version = "0.9.0" +version = "0.10.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/rust/src/core.rs b/rust/src/core.rs index a8c8dde7..52baaa63 100644 --- a/rust/src/core.rs +++ b/rust/src/core.rs @@ -24,7 +24,7 @@ use deno_ast::*; use crate::{enums, options, outputs, plugin_utils}; -const VERSION: &'static str = "0.9.0"; +const VERSION: &'static str = "0.10.0"; fn parse_by_mode( parse_params: ParseParams, diff --git a/rust/tests/test_core.rs b/rust/tests/test_core.rs index c8d542d2..eeff83fe 100644 --- a/rust/tests/test_core.rs +++ b/rust/tests/test_core.rs @@ -26,7 +26,7 @@ use swc4j::*; #[test] fn test_get_version() { - assert_eq!(core::get_version(), "0.9.0"); + assert_eq!(core::get_version(), "0.10.0"); } #[test] diff --git a/scripts/ts/change_swc4j_version.ts b/scripts/ts/change_swc4j_version.ts index 3eef6c12..f5b9595e 100644 --- a/scripts/ts/change_swc4j_version.ts +++ b/scripts/ts/change_swc4j_version.ts @@ -112,5 +112,5 @@ class ChangeSwc4jVersion { } } -const changeSwc4jVersion = new ChangeSwc4jVersion('0.9.0', '0.9.0'); +const changeSwc4jVersion = new ChangeSwc4jVersion('0.9.0', '0.10.0'); changeSwc4jVersion.change() diff --git a/scripts/ts/copy_swc4j_lib.ts b/scripts/ts/copy_swc4j_lib.ts index 597110bf..777bf62a 100644 --- a/scripts/ts/copy_swc4j_lib.ts +++ b/scripts/ts/copy_swc4j_lib.ts @@ -28,7 +28,7 @@ import * as fs from "https://deno.land/std/fs/mod.ts" import * as path from "https://deno.land/std/path/mod.ts" const NAME = 'swc4j' -const VERSION = '0.9.0' +const VERSION = '0.10.0' const OS_CONFIG_MAP = { 'windows': { sourceName: NAME, diff --git a/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java b/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java index 47ce111e..69b73226 100644 --- a/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java +++ b/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java @@ -52,7 +52,7 @@ final class Swc4jLibLoader { private static final String LIB_FILE_NAME_FOR_ANDROID_FORMAT = "libswc4j-{0}.v.{1}.{2}"; private static final String LIB_FILE_NAME_PREFIX = "lib"; private static final String LIB_NAME = "swc4j"; - private static final String LIB_VERSION = "0.9.0"; + private static final String LIB_VERSION = "0.10.0"; private static final ISwc4jLogger LOGGER = new Swc4jDefaultLogger(Swc4jLibLoader.class.getName()); private static final long MIN_LAST_MODIFIED_GAP_IN_MILLIS = 60L * 1000L; // 1 minute private static final String OS_ANDROID = "android"; diff --git a/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java b/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java index 16d71fd6..0df2ef58 100644 --- a/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java +++ b/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java @@ -23,6 +23,6 @@ public class TestSwc4j extends BaseTestSuite { @Test public void testGetVersion() { - assertEquals("0.9.0", swc4j.getVersion()); + assertEquals("0.10.0", swc4j.getVersion()); } } diff --git a/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java b/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java index ae7d890e..f2019624 100644 --- a/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java +++ b/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java @@ -23,6 +23,6 @@ public class TestSwc4jNative { @Test public void testGetVersion() { - assertEquals("0.9.0", Swc4jNative.coreGetVersion()); + assertEquals("0.10.0", Swc4jNative.coreGetVersion()); } }