Skip to content

Commit

Permalink
updated dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Sep 30, 2024
1 parent a89ede1 commit b0b91b6
Show file tree
Hide file tree
Showing 8 changed files with 1,712 additions and 2,181 deletions.
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,47 +34,47 @@
"@types/lodash": "^4.17.9",
"axios": "^1.7.7",
"cache-manager": "^5.4.0",
"class-transformer": "^0.3.1",
"class-transformer": "^0.5.1",
"cookie-parser": "^1.4.5",
"csurf": "^1.11.0",
"express-rate-limit": "^5.1.1",
"express-rate-limit": "^7.4.0",
"fast-glob": "^3.2.2",
"fs": "^0.0.1-security",
"helmet": "^3.22.0",
"helmet": "^8.0.0",
"joi": "^17.13.3",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"moment": "^2.27.0",
"mssql": "^10.0.2",
"mssql": "^11.0.1",
"mysql": "^2.18.1",
"reflect-metadata": "^0.1.13",
"reflect-metadata": "^0.2.2",
"rimraf": "^3.0.2",
"rxjs": "^7.8.1",
"typeorm": "^0.3.20",
"uuid": "^8.1.0"
"uuid": "^10.0.0"
},
"devDependencies": {
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.4",
"@types/express": "^4.17.3",
"@types/jest": "25.1.4",
"@types/node": "^13.9.1",
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"@types/express": "^5.0.0",
"@types/jest": "29.5.13",
"@types/node": "^22.7.4",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"jest": "^29.7.0",
"prettier": "^1.19.1",
"prettier": "^3.3.3",
"sqlite3": "^5.0.0",
"supertest": "^4.0.2",
"supertest": "^7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "^6.2.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.2"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { PmtctRRIModule } from './pmtct-rri/pmtct-rri.module';
import { SelfServiceModule } from './self-service/self-service.module';

import { AgeGroupMappingMiddleware } from './ageGroupMapping.middleware';
import { CachesModule } from './cache/caches.module';

@Module({
imports: [
ConfigModule.forRoot({
Expand Down
7 changes: 1 addition & 6 deletions src/app.service.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import { Injectable } from '@nestjs/common';
import { CacheService } from './cache/cache.service';

@Injectable()
export class AppService {
// constructor(private readonly cacheService: CacheService) {
// }

getHello(): string {
return 'Hello World!';
}
// deleteCaches(): boolean {
// return this.cacheService.clearAll();
// }
}
17 changes: 0 additions & 17 deletions src/cache/cache.controller.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/cache/cache.service.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/cache/caches.module.ts

This file was deleted.

6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import * as helmet from 'helmet';
import helmet from 'helmet';
import * as csurf from 'csurf';
import * as rateLimit from 'express-rate-limit';
import rateLimit from 'express-rate-limit';
import * as cookieParser from 'cookie-parser';
import * as fs from 'fs';

Expand All @@ -15,7 +15,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule, {
httpsOptions: options
});

app.setGlobalPrefix('api');
app.enableCors();
app.use(helmet());
Expand Down
Loading

0 comments on commit b0b91b6

Please sign in to comment.