File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 "typescript" : " ^4.0.5"
3939 },
4040 "dependencies" : {
41+ "@fastify/cookie" : " ^6.0.0" ,
42+ "@fastify/formbody" : " ^7.0.0" ,
43+ "@fastify/multipart" : " ^6.0.0" ,
4144 "fastify" : " ^3.18.0" ,
42- "fastify-cookie" : " ^5.3.1" ,
43- "fastify-formbody" : " ^5.0.0" ,
44- "fastify-multipart" : " ^4.0.6" ,
4545 "fastify-session" : " ^5.2.1" ,
4646 "lodash" : " ^4.17.21" ,
4747 "mime-types" : " ^2.1.34"
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ import { AuthenticationOptions } from './types';
55import { withLogin } from './authentication/login.handler' ;
66import { withProtectedRoutesHandler } from './authentication/protected-routes.handler' ;
77import { FastifyInstance } from 'fastify' ;
8- import fastifyCookie from 'fastify- cookie' ;
8+ import fastifyCookie from '@ fastify/ cookie' ;
99import fastifySession from 'fastify-session' ;
10- import fastifyFormBody from 'fastify- formbody' ;
10+ import fastifyFormBody from '@ fastify/ formbody' ;
1111import FastifySessionPlugin from 'fastify-session' ;
1212import Options = FastifySessionPlugin . Options ;
1313/**
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { fromPairs } from 'lodash';
88import * as fs from 'fs' ;
99import * as mime from 'mime-types' ;
1010
11- import fastifyMultipart from 'fastify- multipart' ;
11+ import fastifyMultipart from '@ fastify/ multipart' ;
1212
1313const INVALID_ADMIN_BRO_INSTANCE =
1414 'You have to pass an instance of AdminJS to the buildRouter() function' ;
You can’t perform that action at this time.
0 commit comments