Skip to content

Commit

Permalink
🐳 chore: Update dev version to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Oct 9, 2024
1 parent 7605468 commit ecfb0ad
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swc4j_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- "docs/**"

env:
SWC4J_VERSION: 1.1.0
SWC4J_VERSION: 1.2.0

jobs:
build_native:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ object Config {

object Versions {
const val JAVA_VERSION = "1.8"
const val JAVET = "3.1.7"
const val JAVET = "3.1.8"
const val JUNIT = "5.10.1"
const val SWC4J = "1.1.0"
const val SWC4J = "1.2.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "swc4j"
version = "1.1.0"
version = "1.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion rust/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use swc::common::util::take::Take;

use crate::{enums, options, outputs, plugin_utils};

const VERSION: &'static str = "1.1.0";
const VERSION: &'static str = "1.2.0";

fn parse_by_mode(
parse_params: ParseParams,
Expand Down
2 changes: 1 addition & 1 deletion rust/tests/test_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use swc4j::*;

#[test]
fn test_get_version() {
assert_eq!(core::get_version(), "1.1.0");
assert_eq!(core::get_version(), "1.2.0");
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion scripts/ts/change_swc4j_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ class ChangeSwc4jVersion {
}
}

const changeSwc4jVersion = new ChangeSwc4jVersion('1.1.0', '1.1.0');
const changeSwc4jVersion = new ChangeSwc4jVersion('1.1.0', '1.2.0');
changeSwc4jVersion.change()
2 changes: 1 addition & 1 deletion scripts/ts/copy_swc4j_lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ interface Config {
}

const NAME = "swc4j";
const VERSION = "1.1.0";
const VERSION = "1.2.0";
const OS_CONFIG_MAP: Record<string, Config> = {
windows: {
sourceName: NAME,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ final class Swc4jLibLoader {
private static final String LIB_FILE_EXTENSION_WINDOWS = "dll";
private static final String LIB_FILE_NAME_FORMAT = "libswc4j-{0}-{1}.v.{2}.{3}";
private static final String LIB_NAME = "swc4j";
private static final String LIB_VERSION = "1.1.0";
private static final String LIB_VERSION = "1.2.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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
public class TestSwc4j extends BaseTestSuite {
@Test
public void testGetVersion() {
assertEquals("1.1.0", swc4j.getVersion());
assertEquals("1.2.0", swc4j.getVersion());
}
}
2 changes: 1 addition & 1 deletion src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
public class TestSwc4jNative {
@Test
public void testGetVersion() {
assertEquals("1.1.0", Swc4jNative.coreGetVersion());
assertEquals("1.2.0", Swc4jNative.coreGetVersion());
}
}

0 comments on commit ecfb0ad

Please sign in to comment.