@athenna/http 1.7.1 → 1.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/http",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "The Athenna Http server. Built on top of fastify.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -54,11 +54,11 @@
54
54
  "#tests/*": "./tests/*.js"
55
55
  },
56
56
  "dependencies": {
57
- "@athenna/artisan": "1.5.3",
58
- "@athenna/config": "^1.1.8",
57
+ "@athenna/artisan": "1.5.6",
58
+ "@athenna/config": "1.1.8",
59
59
  "@athenna/ioc": "1.2.7",
60
60
  "@athenna/logger": "1.3.4",
61
- "@secjs/utils": "1.0.0",
61
+ "@athenna/common": "1.0.0",
62
62
  "fastify": "3.27.4",
63
63
  "fastify-cors": "6.0.3",
64
64
  "fastify-rate-limit": "5.8.0"
@@ -7,8 +7,8 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Config } from '@athenna/config'
11
10
  import { Is } from '@athenna/common'
11
+ import { Config } from '@athenna/config'
12
12
 
13
13
  export class Request {
14
14
  /**
@@ -24,6 +24,6 @@ export class HttpLoader {
24
24
  const dirname = Module.createDirname(import.meta.url)
25
25
  const templatesPath = join(dirname, '..', '..', 'templates')
26
26
 
27
- return new Folder(templatesPath).loadSync().getFilesByPattern('**/*.ejs')
27
+ return new Folder(templatesPath).loadSync().getFilesByPattern('**/*.edge')
28
28
  }
29
29
  }
@@ -1,4 +1,4 @@
1
- export class <%= namePascal %> {
1
+ export class {{ namePascal }} {
2
2
  /**
3
3
  * Resolve any dependency of the service container
4
4
  * inside the constructor.
@@ -1,4 +1,4 @@
1
- export class <%= namePascal %> {
1
+ export class {{ namePascal }} {
2
2
  /**
3
3
  * Resolve any dependency of the service container
4
4
  * inside the constructor.