htmv 0.0.59 → 0.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,7 +184,9 @@ export function parse(tokens) {
184
184
  }
185
185
  }
186
186
  function startsWithUppercase(text) {
187
- return text[0] === text[0]?.toUpperCase();
187
+ if (text[0] === undefined)
188
+ return false;
189
+ return /[A-Z]/.test(text[0]);
188
190
  }
189
191
  function rawArgsToProps(rawArgs) {
190
192
  const props = {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "htmv",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.59",
5
+ "version": "0.0.60",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",