From 1a564e7b360bc9ea5d19586697316c184cfd9d64 Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Tue, 3 Dec 2024 15:38:05 +0000 Subject: [PATCH] Address NPM version incompatibilities (#6679) --- js/ccf-app/package.json | 4 ++-- tests/js-interpreter-reuse/package.json | 6 +++--- tests/js-interpreter-reuse/src/SlowConstructorService.ts | 1 - tests/npm-app/package.json | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/js/ccf-app/package.json b/js/ccf-app/package.json index 29e5e6f9df33..9a1b9dc5b5b4 100644 --- a/js/ccf-app/package.json +++ b/js/ccf-app/package.json @@ -29,7 +29,7 @@ "mocha": "^10.0.0", "node-forge": "^1.2.0", "ts-node": "^10.4.0", - "typedoc": "^0.26.2", - "typescript": "^5.0.2" + "typedoc": "^0.27.0", + "typescript": "^5.7.2" } } diff --git a/tests/js-interpreter-reuse/package.json b/tests/js-interpreter-reuse/package.json index 0c9064937169..0e80c7f3d09a 100644 --- a/tests/js-interpreter-reuse/package.json +++ b/tests/js-interpreter-reuse/package.json @@ -9,14 +9,14 @@ }, "dependencies": { "@microsoft/ccf-app": "file:../../js/ccf-app", - "inversify": "^6.0.1", - "reflect-metadata": "^0.1.13" + "inversify": "^6.1.5" }, "devDependencies": { "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-node-resolve": "^11.2.0", "@rollup/plugin-typescript": "^8.2.0", "del-cli": "^5.0.0", - "tslib": "^2.0.1" + "tslib": "^2.0.1", + "typescript": "^5.7.2" } } diff --git a/tests/js-interpreter-reuse/src/SlowConstructorService.ts b/tests/js-interpreter-reuse/src/SlowConstructorService.ts index 25f208da454b..f4dd5994cca9 100644 --- a/tests/js-interpreter-reuse/src/SlowConstructorService.ts +++ b/tests/js-interpreter-reuse/src/SlowConstructorService.ts @@ -1,6 +1,5 @@ import { injectable } from "inversify"; import { fibonacci } from "./bad_fib"; -import "reflect-metadata"; @injectable() export class SlowConstructorService { diff --git a/tests/npm-app/package.json b/tests/npm-app/package.json index eebc133ce09c..b0cc8ca2fa33 100644 --- a/tests/npm-app/package.json +++ b/tests/npm-app/package.json @@ -28,6 +28,6 @@ "http-server": "^14.1.1", "rollup": "^4.18.0", "tslib": "^2.6.3", - "typescript": "^5.4.5" + "typescript": "^5.7.2" } }