Skip to content

Commit bc0ae07

Browse files
committed
- bump to Closure Compiler v20250402
1 parent d701b45 commit bc0ae07

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

deps.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:paths ["src/main/clojure" "src/main/cljs" "resources"]
22
:deps
3-
{com.google.javascript/closure-compiler-unshaded {:mvn/version "v20240317"}
3+
{com.google.javascript/closure-compiler-unshaded {:mvn/version "v20250402"}
44
com.cognitect/transit-java {:mvn/version "1.0.362"}
55
org.clojure/clojure {:mvn/version "1.10.0"}
66
org.clojure/core.specs.alpha {:mvn/version "0.1.24"}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>com.google.javascript</groupId>
3232
<artifactId>closure-compiler-unshaded</artifactId>
33-
<version>v20210202</version>
33+
<version>v20250402</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>org.clojure</groupId>

project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[org.clojure/test.check "1.1.1" :scope "test"]
1616
[com.cognitect/transit-java "1.0.362"]
1717
[org.clojure/google-closure-library "0.0-20230227-c7c0a541"]
18-
[com.google.javascript/closure-compiler-unshaded "v20240317"]]
18+
[com.google.javascript/closure-compiler-unshaded "v20250402"]]
1919
:profiles {:1.6 {:dependencies [[org.clojure/clojure "1.6.0"]]}
2020
:uberjar {:aot :all :main cljs.main}
2121
:closure-snapshot {:dependencies [[com.google.javascript/closure-compiler-unshaded "1.0-SNAPSHOT"]]}}

script/bootstrap

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
CLOJURE_RELEASE="1.9.0"
66
SPEC_ALPHA_RELEASE="0.1.143"
77
CORE_SPECS_ALPHA_RELEASE="0.1.24"
8-
CLOSURE_RELEASE="20240317"
8+
CLOSURE_RELEASE="20250402"
99
GCLOSURE_LIB_RELEASE="0.0-20230227-c7c0a541"
1010
TREADER_RELEASE="1.3.6"
1111
TEST_CHECK_RELEASE="1.1.1"

src/main/clojure/cljs/closure.clj

-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@
194194
:underscore DiagnosticGroups/UNDERSCORE
195195
:unknown-defines DiagnosticGroups/UNKNOWN_DEFINES
196196
:unused-local-variable DiagnosticGroups/UNUSED_LOCAL_VARIABLE
197-
:unused-private-property DiagnosticGroups/UNUSED_PRIVATE_PROPERTY
198197
:violated-module-dep DiagnosticGroups/VIOLATED_MODULE_DEP
199198
:visibility DiagnosticGroups/VISIBILITY})
200199

src/main/clojure/cljs/externs.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[clojure.java.io :as io]
1313
[clojure.string :as string])
1414
(:import [com.google.javascript.jscomp
15-
CompilerOptions CompilerOptions$Environment SourceFile JsAst CommandLineRunner]
15+
CompilerOptions CompilerOptions$Environment SourceFile CompilerInput CommandLineRunner]
1616
[com.google.javascript.jscomp.parsing Config$JsDocParsing]
1717
[com.google.javascript.rhino
1818
Node Token JSTypeExpression JSDocInfo$Visibility]
@@ -238,7 +238,7 @@
238238
(com.google.javascript.jscomp.Compiler/setLoggingLevel Level/WARNING)
239239
compiler)
240240
(.init (list source-file) '() compiler-options))
241-
js-ast (JsAst. source-file)
241+
js-ast (CompilerInput. source-file)
242242
^Node root (.getAstRoot js-ast closure-compiler)
243243
;; TODO: switch to getFirstChild + getNext in the loop
244244
nodes (.children root)]

0 commit comments

Comments
 (0)