matrix-org / matrix-hookshot

A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.
https://matrix-org.github.io/matrix-hookshot/
Apache License 2.0
283 stars 68 forks source link

ES2022+ is unsupported #729

Open Half-Shot opened 1 year ago

Half-Shot commented 1 year ago

We currently rely on behaviors such as:

class MyClass {
 static aThing = "foo";
 static collectionOfThings = [MyClass.aThing];
}

which was apparently fine in ES2021, but now throws an error about TypeError: Cannot read properties of undefined. We attempted to upgrade in #724 but it fell apart.

We need to determine if there is a TS compatibility setting we need to twiddle, or if we need to rewrite a bunch of assumptions.