diff --git a/package.json b/package.json index dd4e09d30..04e274539 100644 --- a/package.json +++ b/package.json @@ -117,8 +117,8 @@ "ts-node": "^10.9.2", "tsconfig-paths": "^4.0.0", "tsconfig-seek": "2.0.0", - "typescript": "~5.5.4", "tsx": "^4.16.2", + "typescript": "~5.5.4", "validate-npm-package-name": "^5.0.0", "zod": "^3.22.4" }, diff --git a/src/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.ts b/src/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.ts index d6694deae..f6c2a504c 100644 --- a/src/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.ts +++ b/src/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.ts @@ -37,7 +37,7 @@ const patchDockerComposeFiles: PatchFunction = async ({ const dockerComposeFiles = await fetchFiles(maybeDockerComposeFiles); const dockerComposeFilesToPatch = dockerComposeFiles.filter(({ contents }) => - contents.match(DOCKER_COMPOSE_VERSION_REGEX), + DOCKER_COMPOSE_VERSION_REGEX.exec(contents), ); if (!dockerComposeFilesToPatch.length) {