[09:57:24] AaronSchulz: I suggest trying to put a small but valid isolated snippet on the eslint playground with no rules except ECMAScript 2022 syntax validation. And, assuming that passes, pick lower settings toward ES2018 until you see it complain. [10:07:30] https://eslint.org/play/#eyJ0ZXh0IjoibGV0IGEgPSBcImJcIjtcbiIsIm9wdGlvbnMiOnsicnVsZXMiOnt9LCJsYW5ndWFnZU9wdGlvbnMiOnsicGFyc2VyT3B0aW9ucyI6eyJlY21hRmVhdHVyZXMiOnt9fSwiZWNtYVZlcnNpb24iOjIwMjIsInNvdXJjZVR5cGUiOiJjb21tb25qcyJ9fX0= [10:07:54] There are 8 matches of `({xmlns:"http://www.w3.org/2000/svg"` in the source file [10:08:32] None have << in front of it though. [10:08:37] Oh that's your markup, I see. [10:10:16] One of the lines with that on it works fine on its own and is valid ES2015 even. [10:10:27] so it's probably due to some nested context that started far away [10:10:49] when I paste the entire file into eslint, it rejects it at all levels from ES2017 to ES2021 and becomes valid under ES2022 so it probably contains unsupported syntax. [10:11:05] i.e. would fail on some of the browsers we classify as "modern" [10:13:03] On ES2021 the first syntax error is `2:636212 Parsing error: Unexpected token =` [10:13:15] `class OperationWrapper extends Re.Component{onLoad=` [10:13:37] that using static fields inside a class, which is a relatively new feature indeed [16:32:43] Krinkle: thanks for looking! I figured there was some new ECMA syntax in there but I haven't had time to dig into that [16:34:02] * AaronSchulz my initial idea was to try older swagger versions (but still newer than our current) in a binary search kind of way. [16:35:18] I only need openapi 3.1 support, so the latest version is overkill (though I'd rather upgrade as far as easily possible to stave off future upgrades longer). [16:52:57] AaronSchulz: This release seems to refer to a LICENSE file that doesn't exist. [16:54:05] Did we sort out the licence issues? Last I checked it was a mess of incompatiblity licensed stuff from npm that one can sort-of- kinda-of run server-side as a composite at install time, but becomes questionable when distributed further under a separate license (i.e. MediaWiki's GPL license). [16:58:33] AFAIK it's still a mess. [17:07:31] it is on https://www.npmjs.com/package/swagger-ui-dist?activeTab=code