cayo 0.9.0 → 0.9.1

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/lib/renderer.js +1 -1
  2. package/package.json +1 -1
package/lib/renderer.js CHANGED
@@ -31,7 +31,7 @@ export class Renderer {
31
31
  return {
32
32
  html: this.template.html
33
33
  // Ignore placeholders wrapped in HTML comments
34
- .replaceAll(/<!--[^]*\%cayo\.\w+\%[^]*-->/g, '')
34
+ .replace(/<!--[^]*\%cayo\.\w+\%[^]*-->/g, '')
35
35
  // Replace placeholders in template
36
36
  .replace('%cayo.title%', !head.includes('<title>') ? `<title>${title}</title>` : '')
37
37
  .replace('%cayo.head%', head)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cayo",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "node cayo dev --projectRoot test"