Open masashiro0jack opened 1 year ago
While this pack is affected by this deprecation, it needs to be fixed in the space-pen package. But since that has been deprecated by GitHub, the second best choice would be reporting this issue in the space-pen-plus. Once a fix is available, replacing the dependency on that package should be trivial.
The alternative would be rewriting the UI, which probably won't happen anytime soon (if at all).
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements