ghtml 2.1.4 → 2.1.5

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.
@@ -0,0 +1 @@
1
+ console.warn("Hello World!");
@@ -8,6 +8,6 @@
8
8
  "dependencies": {
9
9
  "@fastify/static": "^7.0.1",
10
10
  "fastify": "^4.26.1",
11
- "fastify-html": "^0.3.3"
11
+ "fastify-html": "^0.5.0"
12
12
  }
13
13
  }
@@ -22,7 +22,7 @@ export default async (fastify) => {
22
22
  fastify.get("/", async (request, reply) => {
23
23
  return reply.html`
24
24
  <h1 class="caption">Hello, world!</h1>
25
- <img width="500" src="/p/assets/sun.webp" alt="Picture of a cat" />
25
+ <script src="/p/assets/script.js"></script>
26
26
  `;
27
27
  });
28
28
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Replace your template engine with fast JavaScript by leveraging the power of tagged templates.",
4
4
  "author": "Gürgün Dayıoğlu",
5
5
  "license": "MIT",
6
- "version": "2.1.4",
6
+ "version": "2.1.5",
7
7
  "type": "module",
8
8
  "bin": "./bin/src/index.js",
9
9
  "main": "./src/index.js",
Binary file