From ee808858cb0f3cda2549ee75444bcc4024cbfc7e Mon Sep 17 00:00:00 2001 From: Nikos Baxevanis Date: Wed, 29 Jan 2025 11:12:52 +0100 Subject: [PATCH] Update ts-jest to remove deprecated dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes warnings for inflight@1.0.6 and glob@7.2.3. CLI output before fix: $ npm install npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported. $ npm list inflight glob ├─┬ jest@29.7.0 │ └─┬ @jest/core@29.7.0 │ ├─┬ @jest/reporters@29.7.0 │ │ └─┬ glob@7.2.3 │ │ └── inflight@1.0.6 │ ├─┬ jest-config@29.7.0 │ │ └── glob@7.2.3 deduped │ └─┬ jest-runtime@29.7.0 │ └── glob@7.2.3 deduped $ npm install ts-jest@latest CLI output after fix: $ npm install up to date, audited 354 packages in 504ms found 0 vulnerabilities --- package-lock.json | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 72b861e2..4c707b63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@hirosystems/clarinet-sdk-wasm": "2.12.0", "@types/jest": "^29.5.12", "jest": "^29.7.0", - "ts-jest": "^29.2.3", + "ts-jest": "^29.2.5", "typescript": "^5.5.4" } }, @@ -2420,6 +2420,7 @@ "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", diff --git a/package.json b/package.json index 20f25c4a..3b0cf9b1 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@hirosystems/clarinet-sdk-wasm": "2.12.0", "@types/jest": "^29.5.12", "jest": "^29.7.0", - "ts-jest": "^29.2.3", + "ts-jest": "^29.2.5", "typescript": "^5.5.4" } }