unhead 2.0.13 → 2.0.14

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.
Files changed (2) hide show
  1. package/dist/server.mjs +1 -1
  2. package/package.json +1 -1
package/dist/server.mjs CHANGED
@@ -67,7 +67,7 @@ function createHead(options = {}) {
67
67
  return unhead;
68
68
  }
69
69
 
70
- const Attrs = /(\w+)(?:=["']([^"']*)["'])?/g;
70
+ const Attrs = /(\w+-?\w+)(?:=["']([^"']*)["'])?/g;
71
71
  const HtmlTag = /<html[^>]*>/;
72
72
  const BodyTag = /<body[^>]*>/;
73
73
  const HeadContent = /<head[^>]*>(.*?)<\/head>/s;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unhead",
3
3
  "type": "module",
4
- "version": "2.0.13",
4
+ "version": "2.0.14",
5
5
  "description": "Full-stack <head> manager built for any framework.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",