From 56b99610d42776a70beb3943459e8f716b61bd51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 04:37:10 +0000 Subject: [PATCH 1/2] Bump typescript in the typescript group across 1 directory Bumps the typescript group with 1 update in the / directory: [typescript](https://github.com/microsoft/TypeScript). Updates `typescript` from 5.9.3 to 6.0.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 001e589..f50650e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "p-temporary-directory": "^2.0.1", "standard": "^17.0.0", "tap": "^21.1.1", - "typescript": "~5.9.3" + "typescript": "~6.0.3" }, "peerDependencies": { "@types/node": "*" From c199e43f602d4e7270882f1b748f53349ebb2a69 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 17:24:33 +0000 Subject: [PATCH 2/2] fix: update jsdoc imports and node typings for TypeScript 6 Agent-Logs-Url: https://github.com/bcomnes/async-folder-walker/sessions/6e3079d4-da24-463f-9ed8-ae46cc6f2013 Co-authored-by: bcomnes <166301+bcomnes@users.noreply.github.com> --- index.js | 4 +++- tsconfig.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 4db5dc6..d5a2f53 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ // @ts-check /** - * @typedef {import('fs').Stats} Stats + * @import { Stats } from 'node:fs' */ 'use strict' @@ -105,7 +105,9 @@ async function * asyncFolderWalker (dirs, opts) { // @ts-ignore const ig = ignore().add(resolvedOpts.ignore) + /** @type {string[]} */ const roots = [dirs].flat().filter(resolvedOpts.pathFilter) + /** @type {string[]} */ const pending = [] while (roots.length) { diff --git a/tsconfig.json b/tsconfig.json index af8db74..26036ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "allowJs": true, "checkJs": true, + "types": ["node"], "noEmit": true, "resolveJsonModule": true, "skipLibCheck": false,