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

Aperta
#1,230 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, nodejs
Ambito
testing-qa

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
608
Fork
163
Merge medio
4g 3h
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nodejs/citgm

Tutte le issue di nodejs/citgm

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.