Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/ignore-relative-parent-paths.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/metal-walls-switch.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jscodeshift",
"version": "17.3.0",
"version": "17.4.0",
"description": "A toolkit for JavaScript codemods",
"repository": {
"type": "git",
Expand Down