From 4993331f8436a0d23261d5ce63d7e3387210bbc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:58:02 +0000 Subject: [PATCH] Version Packages --- .changeset/ignore-relative-parent-paths.md | 7 ------- .changeset/metal-walls-switch.md | 7 ------- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 .changeset/ignore-relative-parent-paths.md delete mode 100644 .changeset/metal-walls-switch.md diff --git a/.changeset/ignore-relative-parent-paths.md b/.changeset/ignore-relative-parent-paths.md deleted file mode 100644 index 9b8461d3..00000000 --- a/.changeset/ignore-relative-parent-paths.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"jscodeshift": patch ---- - -Fix `--ignore-pattern` not matching files when the source path is relative and starts with `../` (or `./`) - -Ignore patterns such as `**/node_modules/**` were silently skipped for files enumerated from a relative source path like `../app/src`, because picomatch's `**` wildcard does not match across a leading `../`/`./` traversal segment. The path is now also matched with any leading traversal prefix stripped, so ignore behavior is consistent for relative and absolute source paths. diff --git a/.changeset/metal-walls-switch.md b/.changeset/metal-walls-switch.md deleted file mode 100644 index 45b6ff93..00000000 --- a/.changeset/metal-walls-switch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"jscodeshift": minor ---- - -Add iterator implementation to Collections - -ES6 iterators support the new for..of syntax. Since a Collection wraps an Array, we can lean on ECMAScript's new iterator delegation. diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dc8c0c3..8846e9bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 17.4.0 + +### Minor Changes + +- 0ced828: Add iterator implementation to Collections + + ES6 iterators support the new for..of syntax. Since a Collection wraps an Array, we can lean on ECMAScript's new iterator delegation. + +### Patch Changes + +- bc1de49: Fix `--ignore-pattern` not matching files when the source path is relative and starts with `../` (or `./`) + + Ignore patterns such as `**/node_modules/**` were silently skipped for files enumerated from a relative source path like `../app/src`, because picomatch's `**` wildcard does not match across a leading `../`/`./` traversal segment. The path is now also matched with any leading traversal prefix stripped, so ignore behavior is consistent for relative and absolute source paths. + ## 17.3.0 ### Minor Changes diff --git a/package.json b/package.json index aaf55c4c..de75da14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jscodeshift", - "version": "17.3.0", + "version": "17.4.0", "description": "A toolkit for JavaScript codemods", "repository": { "type": "git",