Fix typescript build 74/143674/5
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Wed, 25 Mar 2026 07:11:59 +0000 (08:11 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Wed, 25 Mar 2026 11:43:00 +0000 (12:43 +0100)
- ignore deprecations in typescript config
- remove unused npm packages from designer-client package.json
- remove fs package from cds-ui/server since it was malicious
  in the past

Issue-ID: CCSDK-4187
Change-Id: Ia1439c40a1ac5d162c82df95574eab0effe2d6bc
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
cds-ui/designer-client/package.json
cds-ui/server/package.json
cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts
cds-ui/server/tsconfig.json

index e7a335d..0d52a7d 100644 (file)
     "@angular/compiler": "~8.2.9",
     "@angular/core": "~8.2.9",
     "@angular/forms": "~8.2.9",
-    "@angular/http": "^7.2.15",
     "@angular/material": "^8.2.3",
     "@angular/platform-browser": "~8.2.9",
     "@angular/platform-browser-dynamic": "~8.2.9",
     "@angular/router": "~8.2.9",
     "@ng-bootstrap/ng-bootstrap": "^5.1.1",
-    "angular-animations": "0.0.10",
     "angular-datatables": "^9.0.2",
     "angular-font-awesome": "^3.1.2",
-    "angular-material-expansion-panel": "^0.7.2",
     "backbone": "^1.4.0",
     "bootstrap": "^4.3.1",
     "dagre": "^0.8.5",
index 143eb74..564b6fc 100644 (file)
@@ -50,6 +50,7 @@
         "express": "4.17.3"
     },
     "dependencies": {
+        "@grpc/grpc-js": "^1.7.0",
         "@grpc/proto-loader": "^0.5.1",
         "@loopback/boot": "^1.0.8",
         "@loopback/context": "^1.16.0",
@@ -71,8 +72,6 @@
         "filereader": "^0.10.3",
         "form-data": "^2.3.3",
         "formidable": "^1.2.1",
-        "fs": "0.0.1-security",
-        "@grpc/grpc-js": "^1.7.0",
         "jszip": "^3.2.1",
         "loopback-connector-rest": "^3.4.1",
         "multer": "^1.4.1",
@@ -91,6 +90,7 @@
         "@types/multer": "^1.3.7",
         "@types/multiparty": "0.0.32",
         "@types/node": "^17.0.45",
-        "@types/request": "^2.48.1"
+        "@types/request": "^2.48.1",
+        "typescript": "^6.0.2"
     }
 }
index 6a2fba9..22d973b 100644 (file)
@@ -14,7 +14,7 @@
   ~  limitations under the License.
 */
 import * as fs from 'fs';
-import * as uuidv1 from 'uuid/v1';
+import uuidv1 = require('uuid/v1');
 const grpc = require('@grpc/grpc-js');
 import * as protoLoader from '@grpc/proto-loader';
 import { processorApiConfig } from '../config/app-config';
@@ -116,4 +116,3 @@ class BluePrintManagementServiceGrpcClient {
 }
 
 export const bluePrintManagementServiceGrpcClient = new BluePrintManagementServiceGrpcClient();
-
index e042793..c0e46be 100644 (file)
@@ -12,6 +12,7 @@
     "**/*.d.ts"
   ],
   "compilerOptions": {
-    "experimentalDecorators": true
+    "experimentalDecorators": true,
+    "ignoreDeprecations": "6.0"
   }
 }