Skip to content

Commit

Permalink
Upgrade Javet, node, V8, tsc and node-gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ammachado committed Oct 20, 2023
1 parent 7d4d532 commit 905c2c0
Show file tree
Hide file tree
Showing 19 changed files with 40,298 additions and 37,296 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dependencies {

testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:latest.release")

implementation("com.caoccao.javet:javet-macos:2.1.2") // Mac OS (x86_64 and arm64)
implementation("com.caoccao.javet:javet:2.1.2") // Linux and Windows
implementation("com.caoccao.javet:javet-macos:3.0.0") // Mac OS (x86_64 and arm64)
implementation("com.caoccao.javet:javet:3.0.0") // Linux and Windows
}

tasks.withType<Javadoc> {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down
2 changes: 1 addition & 1 deletion js/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.15.0
20.8.0
6 changes: 3 additions & 3 deletions js/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.github.node-gradle.node") version "3.5.1"
id("com.github.node-gradle.node") version "7.0.1"
}

apply(plugin = "base")
Expand All @@ -8,8 +8,8 @@ apply(plugin = "com.github.node-gradle.node")
group = "org.openrewrite"

node {
version.set("18.15.0")
npmVersion.set("9.5.0")
version.set("20.8.0")
npmVersion.set("10.1.0")
download.set(true)
}

Expand Down
10 changes: 5 additions & 5 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"format": "prettier --write ./src"
},
"devDependencies": {
"@types/node": "^18.15.11",
"parcel": "^2.8.3",
"prettier": "^2.8.8",
"@types/node": "^20.8.0",
"parcel": "^2.10.0",
"prettier": "^3.0.3",
"process": "^0.11.10",
"ts-node": "^10.9.1"
},
"dependencies": {
"@typescript/vfs": "^1.4.0",
"typescript": "^5.0.4"
"@typescript/vfs": "^1.5.0",
"typescript": "^5.2.2"
}
}
Loading

0 comments on commit 905c2c0

Please sign in to comment.