From b9e7e3b175d720952492bc88d50427b759e0e174 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:33:29 +0000 Subject: [PATCH 1/2] Bump typescript from 5.5.4 to 5.7.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.7.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c99e79..39cc0c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "prettier-plugin-sh": "^0.14.0", "prettier-plugin-toml": "^2.0.1", "serve": "^14.2.4", - "typescript": "^5.5.4", + "typescript": "^5.7.2", "vitest": "^2.1.8" }, "engines": { @@ -8006,9 +8006,9 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 847231e..a06f4d3 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "prettier-plugin-sh": "^0.14.0", "prettier-plugin-toml": "^2.0.1", "serve": "^14.2.4", - "typescript": "^5.5.4", + "typescript": "^5.7.2", "vitest": "^2.1.8" }, "engines": { From d5a2dfc374cc6bf720b4725b2cce777890982c45 Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Tue, 7 Jan 2025 15:40:22 +0000 Subject: [PATCH 2/2] Match changes --- src/lib/Iso3166.ts | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/Iso3166.ts b/src/lib/Iso3166.ts index bf3a06b..e2ef363 100644 --- a/src/lib/Iso3166.ts +++ b/src/lib/Iso3166.ts @@ -3,7 +3,7 @@ import cities from 'all-the-cities' import diacritics from 'diacritics' import { Array, Option, Order, type Predicate, Schema, String, flow } from 'effect' import iso3166 from 'i18n-iso-countries' -import subDivisions from 'world_countries_lists/data/subdivisions/subdivisions.json' +import subDivisions from 'world_countries_lists/data/subdivisions/subdivisions.json' with { type: 'json' } export type Alpha2Code = iso3166.Alpha2Code diff --git a/tsconfig.json b/tsconfig.json index b245e79..21dd51a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { "exactOptionalPropertyTypes": true, + "module": "nodenext", "resolveJsonModule": true }, "include": ["integration", "src", "test", "*.ts"]