rewrite-clj

https://github.com/clj-commons/rewrite-clj
lread 2021-05-07T00:00:51.268900Z

Ya @mauricio.szabo, I can probably do something about this. It is related to how I export fns to the public API. I personally find clj-kondo’s deprecation warnings more fine grained and useful than the cljs compiler’s and have been turning them off for the cljs compiler via :fn-deprecated false under :compiler-options.

lread 2021-05-07T00:01:36.269500Z

But not everyone uses clj-kondo, I’ll raise an issue to change the way I export deprecated fns to the public API.

lread 2021-05-07T00:04:19.271Z

In the meantime, if it works for you, you can disable deprecations warnings from the cljs compiler. https://github.com/clj-commons/rewrite-clj/blob/886716ec4208958667b78fda74012d25e055bca4/script/test_shadow_cljs.clj#L15-L17.

lread 2021-05-07T00:22:29.272600Z

And @mauricio.szabo? Thanks for bringing this up! Much appreciated.

mauricio.szabo 2021-05-07T01:51:40.272700Z

No problem! I was already disabling the warnings on the compiler, too :)

mauricio.szabo 2021-05-07T01:52:12.272800Z

Also, rewrite-clj is working beautifully on replacing the CLJS version I was using too!

mauricio.szabo 2021-05-07T01:53:08.272900Z

Even things that I was fearing it would work differently, like zipper with line+col elements are working :)

lread 2021-05-07T13:21:04.273800Z

Awesome to hear @mauricio.szabo, thanks for sharing the good news!