`[email protected]` fails in Node.js 27 Alpha due to `DEP0032`

Đang mở
#1,230 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ó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, nodejs
Lĩnh vực
testing-qa

Hướng nghiên cứu

The failure is the gulp test suite rejecting a DEP0032 deprecation warning on Node.js 27 alpha; the gulp entry in citgm's lib/lookup.json (lines 187-192, linked in the issue) is where the citgm side is configured. First reproduce with citgm gulp or by running npm test in a gulp clone under the alpha Node. Done means either a documented decision on where the fix belongs (gulp's tests or citgm's lookup entry) or a change that gets the gulp run passing, with the maintainer contact question also settled.

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

Mô tả

Situation

citgm gulp fails running under Node.js 27.0.0-alpha.0.0.0 (Alpha)

  1) gulp
       can run against gulpfile.cjs:
     Uncaught Error: expect(received).toEqual(expected) // deep equality

Expected: ""
Received: "(node:16630) [DEP0032] DeprecationWarning: The `domain` module is deprecated and should not be used.
(Use `node --trace-deprecation ...` to show where the warning was created)

Node.js DEP0032 moved from a documentation-only deprecation to a run-time deprecation in Node.js 27.0.0-alpha.0.0.0 (Alpha).

Although gulp could continue to use the deprecated domain module, the fact that its tests are not expecting the deprecation warning cause the tests to fail.

Item Status
docs page https://gulpjs.com/
npm package https://www.npmjs.com/package/gulp
npm status not deprecated
last published 5.0.1 Jun 1, 2025
weekly downloads 1,820,101
repo location https://github.com/gulpjs/gulp
repo last update to default branch Feb 9, 2026
repo status quiet
repo CI status runs in Node.js 10-24
lookup release / HEAD release
lookup - skip win32 darwin
lookup - flaky ppc rhel
lookup maintainer 1 contra

Repo CI https://github.com/gulpjs/gulp/blob/master/.github/workflows/dev.yml runs in Node.js [10, 12, 14, 16, 18, 20, 22, 24]

Steps to reproduce

On Ubuntu 26.04.1 LTS, with Node.js 27.0.0-alpha.0.0.0

npm install citgm@latest -g
citgm gulp

Alternatively, in a clone of the repo, also using Node.js 27.0.0-alpha.0.0.0:

git clone https://github.com/gulpjs/gulp
cd gulp
npm install
npm test

References

https://github.com/nodejs/citgm/blob/147e8d87d927022d2a4d9c1c6cac4e33f1773556/lib/lookup.json#L187-L192

I'm not sure if @contra is a good maintainer contact. It's an organization rather than a individual.

cc: @yocontra @phated

Ngôn ngữ chính
JavaScript
Star
608
Fork
163
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
14

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 nodejs/citgm

Tất cả issue của nodejs/citgm

Issue tương tự

Thêm issue về JavaScript

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.