This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-16
Channels
- # announcements (16)
- # asami (5)
- # aws (2)
- # babashka (4)
- # beginners (22)
- # calva (28)
- # cider (3)
- # clj-kondo (1)
- # cljdoc (13)
- # cljs-dev (16)
- # clojure (3)
- # clojure-australia (1)
- # clojure-europe (25)
- # clojure-gamedev (1)
- # clojure-germany (2)
- # fulcro (34)
- # helix (4)
- # jobs-discuss (16)
- # leiningen (10)
- # malli (20)
- # meander (7)
- # nrepl (35)
- # off-topic (1)
- # portal (13)
- # ring-swagger (3)
- # shadow-cljs (34)
- # tools-deps (7)
- # vim (1)
@dnolen one thing I found about the goog.module
changes is that it doesn't account for goog.module.declareLegacyNamespace()
which are still quite common. for example in cljs.core
we now get
goog.require('goog.array');
goog.scope(function(){
cljs.core.goog$module$goog$array = goog.module.get('goog.array');
});
although it could still just be accessing things via goog.array
normallyyeah, appears to work just fine either way. :advanced
output seems identical, just a little more code in dev
The scope is just satisfy closure trying to prevent human error - but it has no real meaning it gets lowered
Heya @dnolen, happy to run cljdoc-analyzer tests against cljs master. It’s been a while since I dabbled, https://clojurescript.org/community/building?
@dnolen ok cool. From clojurescript clone, ran:
script/bootstrap
script/build
Then pointed cljdoc-analyzer’s metagetta module at the built clojurescript. Clojurescript deps look right?:
❯ clojure -Stree
org.clojure/clojure 1.10.3
. org.clojure/spec.alpha 0.2.194
. org.clojure/core.specs.alpha 0.2.56
org.clojure/tools.namespace 1.1.0
. org.clojure/java.classpath 1.0.0
. org.clojure/tools.reader 1.3.4
org.clojure/clojurescript 1.10.888
. com.google.javascript/closure-compiler-unshaded v20210808
. org.clojure/google-closure-library 0.0-20210811-6da97fe1
. org.clojure/google-closure-library-third-party 0.0-20210811-6da97fe1
. org.clojure/data.json 0.2.6
X org.clojure/tools.reader 1.3.3 :older-version
. com.cognitect/transit-clj 0.8.309
. com.cognitect/transit-java 0.8.332
. com.fasterxml.jackson.core/jackson-core 2.8.7
. org.msgpack/msgpack 0.6.12
. com.googlecode.json-simple/json-simple 1.1.1
. org.javassist/javassist 3.18.1-GA
. commons-codec/commons-codec 1.10
And then ran all cljoc-analyzer tests. All passed.