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

未关闭
#1,230 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, nodejs
领域
testing-qa

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
JavaScript
星标
609
派生
165
平均合并
2 天 19 小时
30 天内合并 PR
10

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/citgm 的其他 Issue

查看 nodejs/citgm 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。