glob@10 is deprecated upstream; upgrading requires dropping Node 16

Đang mở
#21 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
node.js, typescript
Lĩnh vực
tooling

Hướng nghiên cứu

Read the package metadata to confirm the glob version range and supported Node engines, then trace the file-discovery call sites that use glob. Compare the upgrade, replacement, and stay options against compatibility and release policy before proposing a direction. Done means the project has chosen an option and documented its engine and release implications; the issue does not specify a decision or test target.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

glob@10 is deprecated upstream. Its own maintainer publishes this on the version we
depend on:

Old versions of glob are not supported, and contain widely publicized security
vulnerabilities, which have been fixed in the current version.

Current exposure: none, and that is worth stating precisely

A fresh install of the published package audits clean. Our range is glob: ^10.3.10,
which resolves [email protected] and [email protected] — both patched. Verified
by installing the package from the registry into an empty project:
found 0 vulnerabilities.

So this is not an open vulnerability. It is an abandoned dependency, which is a
different and slower problem: the next advisory in that line will not be patched.

Why the upgrade is not a patch release

glob latest 13.x
its engines 18 || 20 || >=22
our engines >=16.0.0

Upgrading drops Node 16, which makes it a breaking change to engines — semver-major,
so 8.0.0. Node 16 reached end of life in September 2023 and Node 18 in April 2025, so
requiring 18+ is defensible on its own merits; it is still not something to slip into a
patch.

Options

  1. Bump to glob 13 and require Node ≥18 in a 8.0.0 release. Honest, and clears the
    deprecation.
  2. Drop glob entirely. The dependency is used for file discovery; Node has had a
    native fs.glob since 22, which is a heavier engine requirement, not a lighter one.
    Worth measuring how much of glob we actually use before assuming this is simpler.
  3. Stay. Defensible only while the resolved transitive versions remain patched, and
    it silently accepts that they may not be.

No decision yet. Recording it here rather than leaving it in a chat log, because the
deprecation notice is visible to anyone auditing our supply chain and deserves a public
answer.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
38 phút
Pull request đã merge (30 ngày)
96

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Rule-Of-Code/RoC

Tất cả issue của Rule-Of-Code/RoC

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.