From e7c1b523026b3182858a3a7ee69c383a53074a75 Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Mon, 22 Jul 2024 23:16:30 +0200 Subject: [PATCH] build: Pin TypeScript version (#143) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TypeScript doesn't use SemVer – one should think of e.g. v4.2 and v4.3 as v42 and v43, respectively – so `^4.2.3` makes no sense. `~4.2.3` does, but it usually doesn't hurt to specify an exact version in my experience. --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 73e05a0..5a743bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "rimraf": "5.0.7", "ts-jest": "^24.1.0", "ts-preferences": "^2.0.0", - "typescript": "^4.2.3" + "typescript": "4.2.3" }, "peerDependencies": { "ts-preferences": "^2.0.0" diff --git a/package.json b/package.json index 22200d0..b1b0db4 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "rimraf": "5.0.7", "ts-jest": "^24.1.0", "ts-preferences": "^2.0.0", - "typescript": "^4.2.3" + "typescript": "4.2.3" }, "peerDependencies": { "ts-preferences": "^2.0.0"