bun-router 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
package/bun.lockb CHANGED
Binary file
package/examples/basic.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Router, http } from '..';
1
+ import { Router, http } from '../index';
2
2
 
3
3
  const router = Router(3000, {enableFileLogging: false});
4
4
 
@@ -8,7 +8,7 @@ _ _
8
8
  |___|___|_|_| |_| |___|___|_| |___|_|
9
9
 
10
10
  `;
11
- const VERSION = '0.8.0';
11
+ const VERSION = '0.8.1';
12
12
  const Logger = (enableFileLogging: boolean) => {
13
13
  const file = Bun.file('bun-router.log');
14
14
  const writer = enableFileLogging ? file.writer() : null;
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "peerDependencies": {
15
15
  "typescript": "^5.0.0"
16
16
  },
17
- "version": "0.8.0",
17
+ "version": "0.8.1",
18
18
  "dependencies": {
19
19
  "eslint-plugin-react-hooks": "^4.6.0",
20
20
  "react": "^18.2.0",
package/tsconfig.json CHANGED
@@ -18,9 +18,6 @@
18
18
  "noImplicitAny": false,
19
19
  "types": [
20
20
  "bun-types" // add Bun global
21
- ],
22
- "paths": {
23
- "/examples/*": ["./examples/*"]
24
- }
21
+ ]
25
22
  },
26
23
  }