From 0297bbede25ecfd6bc97c390325d20d3a2fe2e5a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Sep 2023 09:09:27 +0000 Subject: [PATCH 1/2] Bump typescript from 5.1.6 to 5.2.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4bbea2c..02dca9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5879,9 +5879,9 @@ } }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -10414,9 +10414,9 @@ } }, "typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true }, "unbox-primitive": { From e610ee43e458bcad17fc5a2472e2563a30ad40df Mon Sep 17 00:00:00 2001 From: Dan Schultz Date: Tue, 5 Sep 2023 16:29:26 -0400 Subject: [PATCH 2/2] Remove commonjs specification The new tsconfig for node18 requires `module` to be a valid value for the specified `moduleResolution`. Our override resulted in a conflict. The `Node16` module setting *allows* esm exports. This is a bit of a moot point for that particular config since the whole point is that it is a configuration for common JS. Nevertheless, it feels better to not override if we don't need to override, and the default behavior still exports CJS. --- tsconfig.node.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.node.json b/tsconfig.node.json index bbcc41e..dd2a731 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,7 +1,6 @@ { "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { - "module": "commonjs", "outDir": "dist/cjs", "declaration": true, "allowSyntheticDefaultImports": true