jeasx 1.0.0 → 1.0.2

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.
package/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Maik Jablonski (Neoskop GmbH) (<jeasx@neoskop.de>)
3
+ Copyright (c) 2024 Maik Jablonski (<mail@jeasx.dev>)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeasx",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "jeasx - the ease of JSX with the power of SSR",
5
5
  "keywords": [
6
6
  "jsx",
@@ -15,8 +15,8 @@
15
15
  "url": "https://github.com/jeasx/jeasx.git"
16
16
  },
17
17
  "author": {
18
- "name": "Maik Jablonski (Neoskop GmbH)",
19
- "email": "jeasx@neoskop.de"
18
+ "name": "Maik Jablonski",
19
+ "email": "mail@jeasx.dev"
20
20
  },
21
21
  "type": "module",
22
22
  "main": "server.js",
@@ -24,16 +24,16 @@
24
24
  "jeasx": "cli.js"
25
25
  },
26
26
  "dependencies": {
27
- "@fastify/cookie": "10.0.1",
27
+ "@fastify/cookie": "11.0.1",
28
28
  "@fastify/formbody": "8.0.1",
29
29
  "@fastify/multipart": "9.0.1",
30
- "@fastify/static": "8.0.1",
31
- "@types/node": "20.16.10",
30
+ "@fastify/static": "8.0.2",
31
+ "@types/node": "22.9.0",
32
32
  "dotenv": "16.4.5",
33
33
  "esbuild": "0.24.0",
34
- "fastify": "5.0.0",
34
+ "fastify": "5.1.0",
35
35
  "jsx-async-runtime": "0.5.2",
36
- "pm2": "5.4.2"
36
+ "pm2": "5.4.3"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "esbuild --platform=node --format=esm --outdir=. serverless.ts"
package/serverless.js CHANGED
@@ -22,6 +22,7 @@ serverless.register(fastifyStatic, {
22
22
  root: ["public", "dist/browser"].map((dir) => join(process.cwd(), dir)),
23
23
  prefix: "/",
24
24
  wildcard: false,
25
+ cacheControl: false,
25
26
  setHeaders: FASTIFY_STATIC_HEADERS ? (reply, path) => {
26
27
  for (const [suffix, headers] of Object.entries(
27
28
  FASTIFY_STATIC_HEADERS
package/serverless.ts CHANGED
@@ -33,6 +33,7 @@ serverless.register(fastifyStatic, {
33
33
  root: ["public", "dist/browser"].map((dir) => join(process.cwd(), dir)),
34
34
  prefix: "/",
35
35
  wildcard: false,
36
+ cacheControl: false,
36
37
  setHeaders: FASTIFY_STATIC_HEADERS
37
38
  ? (reply, path) => {
38
39
  for (const [suffix, headers] of Object.entries(