Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

When I install NPM dependencies on `macOS`, I get a lot of NPM warnings about deprecated dependencies

Đang mở
#24 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ 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
build-system, security

Hướng nghiên cứu

Bắt đầu bằng cách làm theo tệp DEVELOP và chạy npm install trên macOS để tái hiện các cảnh báo. Kiểm tra cây dependency và sử dụng npm audit để xác định những package được liệt kê nào cần cập nhật trực tiếp hoặc gián tiếp. Được xem là hoàn thành khi các cảnh báo về dependency đã lỗi thời và các lỗ hổng được báo cáo đã được xử lý mà không làm hỏng build.

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

Mô tả

Description

As a developer,
When I follow the DEVELOP file to build the project and run npm install,
I get several NPM warnings about deprecated dependencies
And several warnings about dependencies with vulnerabilities

Details

Command:

npm install

Logs:

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated @xmldom/[email protected]: this version has critical issues, please update to the latest version
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 969 packages, and audited 970 packages in 1m

222 packages are looking for funding
  run `npm fund` for details

7 vulnerabilities (3 moderate, 4 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Suggestion

  • Replace [email protected]
  • Upgrade rmraf to v4
  • Upgrade glob
  • Replace whatwg-encoding
  • Update @xmldom/xmldom
Ngôn ngữ chính
TypeScript
Star
5
Fork
1
Merge trung bình
17 giờ 27 phút
Pull request đã merge (30 ngày)
21

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 Orange-OpenSource/github-security-alerts

Tất cả issue của Orange-OpenSource/github-security-alerts

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.