bun-router 0.7.3-experimental.0 → 0.7.4-experimental.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ _ _
9
9
  |___|___|_|_| |_| |___|___|_| |___|_|
10
10
 
11
11
  `;
12
- const VERSION = '0.7.3';
12
+ const VERSION = '0.7.4-experimental';
13
13
  const Logger = (): BunLogger => {
14
14
  return {
15
15
  info: async (statusCode: number, routePath: string, method: string, message?: string) => {
@@ -17,7 +17,7 @@ const Logger = (): BunLogger => {
17
17
  const source = color('green', 'bgBlack', `[bun-router ${stamp}]`);
18
18
  const rp = color('white', 'bgBlack', routePath);
19
19
 
20
- message = `${source}: ${setColor(statusCode)}: ${rp} ${(method === 'GET') ? ' ->' : ' <-'} ${method}${ message ?? ''}\n`;
20
+ message = `${source}: ${setColor(statusCode)}: ${rp} ${(method === 'GET') ? ' ->' : ' <-'} ${method} ${ message ?? ''}\n`;
21
21
 
22
22
  await Bun.write(Bun.stdout, message);
23
23
 
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "peerDependencies": {
15
15
  "typescript": "^5.0.0"
16
16
  },
17
- "version": "0.7.3-experimental.0",
17
+ "version": "0.7.4-experimental.0",
18
18
  "dependencies": {
19
19
  "eslint-plugin-react-hooks": "^4.6.0"
20
20
  }