File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ if ('Bun' in globalThis) {
2
2
throw new Error ( '❌ Use Node.js to run this test!' ) ;
3
3
}
4
4
5
- const { bearer } = require ( '@elysiajs/bearer ' ) ;
5
+ const { createAccelerator } = require ( 'json-accelerator ' ) ;
6
6
7
- if ( typeof bearer !== 'function' ) {
7
+ if ( typeof createAccelerator !== 'function' ) {
8
8
throw new Error ( '❌ CommonJS Node.js failed' ) ;
9
9
}
10
10
Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " commonjs" ,
3
3
"dependencies" : {
4
- "@elysiajs/bearer " : " ../../.."
4
+ "json-accelerator " : " ../../.."
5
5
}
6
- }
6
+ }
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ if ('Bun' in globalThis) {
2
2
throw new Error ( '❌ Use Node.js to run this test!' ) ;
3
3
}
4
4
5
- import { bearer } from '@elysiajs/bearer ' ;
5
+ import { createAccelerator } from 'json-accelerator ' ;
6
6
7
- if ( typeof bearer !== 'function' ) {
7
+ if ( typeof createAccelerator !== 'function' ) {
8
8
throw new Error ( '❌ ESM Node.js failed' ) ;
9
9
}
10
10
Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " module" ,
3
3
"dependencies" : {
4
- "@elysiajs/bearer " : " ../../.."
4
+ "json-accelerator " : " ../../.."
5
5
}
6
- }
6
+ }
You can’t perform that action at this time.
0 commit comments