diff --git a/README.md b/README.md index cef5470..72f7e51 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # hyper(HTML) +### Maintainance Only + +This module is great, works great, and served me greatly, but there's a pletora of modern, faster, more capable alternatives me, among many other OSS developers, offer so that if obvious bugs are proven to exist, these will be fixed, but there won't be a major release and I won't remove legacy support for stuff that, as previously mentioned, works just fine and it's battle-tested from IE to the latest Chrome. + +Removing that legacy support brings pretty much nothing in terms of size too: this module is already smaller than 90% of alternatives out there, dropping 0.xK so that there's less code that, behind feature detection, is not even used in modern browsers, won't benefit anyone. + +Thansk for your understanding and for not opening PRs which goal is to drop a check for legacy browsers ... these won't likely be merged ever as that'd be a major release update and I don't think anyone is interested in that. + ### 📣 Community Announcement Please ask questions in the [dedicated discussions repository](https://github.com/WebReflection/discussions), to help the community around this project grow ♥ @@ -85,7 +93,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ### 2.34 Highlights - * the new `?boolean=${value}` syntax from [µhtml](https://github.com/WebReflection/uhtml#readme) has landed in *hyperHTML* too. Feel free to [rea this long discussion](https://github.com/WebReflection/discussions/discussions/13) to better understand *why* this syntax is necessary. + * the new `?boolean=${value}` syntax from [µhtml](https://github.com/WebReflection/uhtml#readme) has landed in *hyperHTML* too. Feel free to [read this long discussion](https://github.com/WebReflection/discussions/discussions/13) to better understand *why* this syntax is necessary. ### V2.5 Highlights diff --git a/index.d.ts b/index.d.ts index 22946c8..8fe28e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,7 +3,7 @@ export type BoundTemplateFunction = TemplateFunc export type WiredTemplateFunction = TemplateFunction; export declare class Component { - static for(context: object, identity?: any): Component; + static for(this: new() => TComponent, context: object, identity?: any): TComponent; handleEvent(e: Event): void; html: WiredTemplateFunction; svg: WiredTemplateFunction; diff --git a/package-lock.json b/package-lock.json index 4393995..9aeded9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "license": "ISC", "dependencies": { "@ungap/create-content": "0.2.0", diff --git a/package.json b/package.json index 8f8070d..1210de5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "description": "A Fast & Light Virtual DOM Alternative", "homepage": "https://viperhtml.js.org/hyper.html", "unpkg": "min.js",