diff --git a/.changeset/petite-signs-dance.md b/.changeset/petite-signs-dance.md deleted file mode 100644 index b353956a..00000000 --- a/.changeset/petite-signs-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": patch ---- - -Refactor parser to allow individual states to process multiple characters. This allows for eager scanning, simplifies things some, and improves performance by about 30% in realworld tempaltes. diff --git a/.changeset/shiny-llamas-search.md b/.changeset/shiny-llamas-search.md deleted file mode 100644 index 884f6fd3..00000000 --- a/.changeset/shiny-llamas-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": minor ---- - -Replace TypeScript enums with erasable const modules so the source runs directly under node's type stripping. The public `TagType`, `ErrorCode`, and `Validity` values keep their runtime shape and values, and their types are now the equivalent literal unions. Constant values remain fully inlined in the published bundles. diff --git a/CHANGELOG.md b/CHANGELOG.md index 585fcfa3..d015462f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # htmljs-parser +## 5.11.0 + +### Minor Changes + +- [#222](https://github.com/marko-js/htmljs-parser/pull/222) [`221d3b7`](https://github.com/marko-js/htmljs-parser/commit/221d3b71d71593f63347a01cb8a0d195377fe7b2) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Replace TypeScript enums with erasable const modules so the source runs directly under node's type stripping. The public `TagType`, `ErrorCode`, and `Validity` values keep their runtime shape and values, and their types are now the equivalent literal unions. Constant values remain fully inlined in the published bundles. + +### Patch Changes + +- [#220](https://github.com/marko-js/htmljs-parser/pull/220) [`85c8973`](https://github.com/marko-js/htmljs-parser/commit/85c8973693a005f925738f5f03a90a3221005b70) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Refactor parser to allow individual states to process multiple characters. This allows for eager scanning, simplifies things some, and improves performance by about 30% in realworld tempaltes. + ## 5.10.2 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index a0cae24a..0ff96498 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "htmljs-parser", - "version": "5.10.2", + "version": "5.11.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "htmljs-parser", - "version": "5.10.2", + "version": "5.11.0", "license": "MIT", "devDependencies": { "@changesets/changelog-github": "^0.7.0", diff --git a/package.json b/package.json index 9f153066..bac9ae8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "htmljs-parser", - "version": "5.10.2", + "version": "5.11.0", "description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values", "keywords": [ "HTML",