marko-js / htmljs-parser

An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values
MIT License
135 stars 20 forks source link

Avoid period continuation for non identifier, improve coma sep handling for attrs #154

Closed DylanPiercey closed 1 year ago

DylanPiercey commented 1 year ago

Description

Checklist:

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 00ef6d6c0b3d281bf40d7e09f7bbaf6a9c5d9115

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------- | ----- | | htmljs-parser | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (33d280d) 93.40% compared to head (00ef6d6) 93.43%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #154 +/- ## ========================================== + Coverage 93.40% 93.43% +0.02% ========================================== Files 26 26 Lines 1274 1279 +5 Branches 288 291 +3 ========================================== + Hits 1190 1195 +5 Misses 54 54 Partials 30 30 ``` | [Impacted Files](https://codecov.io/gh/marko-js/htmljs-parser/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js) | Coverage Δ | | |---|---|---| | [src/states/TAG\_NAME.ts](https://codecov.io/gh/marko-js/htmljs-parser/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js#diff-c3JjL3N0YXRlcy9UQUdfTkFNRS50cw==) | `98.24% <ø> (ø)` | | | [src/core/Parser.ts](https://codecov.io/gh/marko-js/htmljs-parser/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js#diff-c3JjL2NvcmUvUGFyc2VyLnRz) | `93.52% <100.00%> (+0.04%)` | :arrow_up: | | [src/states/EXPRESSION.ts](https://codecov.io/gh/marko-js/htmljs-parser/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js#diff-c3JjL3N0YXRlcy9FWFBSRVNTSU9OLnRz) | `93.50% <100.00%> (+0.12%)` | :arrow_up: | | [src/states/OPEN\_TAG.ts](https://codecov.io/gh/marko-js/htmljs-parser/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js#diff-c3JjL3N0YXRlcy9PUEVOX1RBRy50cw==) | `91.38% <100.00%> (+0.04%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.