Upgrade vite 6.4.3 to 6.4.6 and apply in-range npm audit fixes

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

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
83/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, typescript, vite
Lĩnh vực
build-system, devops, security

Hướng nghiên cứu

Bắt đầu với package.json và package-lock.json; chạy npm update vite và npm audit fix như mô tả, không dùng --force. Kiểm tra để đảm bảo các phát hiện còn lại của quá trình kiểm tra bảo mật chỉ giới hạn trong chuỗi phụ thuộc workbox-build, sau đó chạy npm run build và xác nhận lệnh chạy thành công.

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

Mô tả

dependencies good first issue severity: medium

Summary

npm audit reports advisories against development and build tooling, all with in-range fixes. None of the affected packages are in the shipped bundle; the production tree is phaser and eventemitter3 only.

Where

  • package.json:21, package-lock.json

Details

Packages with a fix available inside the current ranges:

  • vite 6.4.3 to 6.4.6
  • source-map-js to 1.2.2 (via postcss)
  • fast-uri to 3.1.9 (via workbox-build)
  • serialize-javascript to 7.1.3 (via workbox-build)
  • @types/node patch bump

glob, minimatch and deepmerge under workbox-build have no upstream fix yet. Do not take the suggested downgrade of vite-plugin-pwa; accept those until workbox-build ships a release on fixed versions.

Suggested fix

Run npm update vite and npm audit fix (without --force), then commit package-lock.json.

Acceptance criteria

  • npm audit reports only the workbox-build chain
  • npm run build passes

Getting started

  • Relevant files: package.json, package-lock.json
  • Run locally: npm install, then npm run dev
  • Checks: npm run typecheck and npm run build (there is no test suite yet)
  • Related docs: README.md

Filed by repo-audit/full-audit at b001f5d. Severity: medium. Effort: S. audit-key: dependencies|package.json|vite

Ngôn ngữ chính
TypeScript
Star
3
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 TMHSDigital/GH-Arcade

Tất cả issue của TMHSDigital/GH-Arcade

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.