`crc32-stream` fails on Node.js 26
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 28/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, node.js
Direzione di ricerca
This citgm issue reports that the crc32-stream npm module fails on Node.js 26 with require is not defined in ES module scope. Read the crc32-stream block in lib/lookup.json and the test-module workflow linked in the issue. Reproduce with citgm against Node 22/24/26. Any code change may belong in archiverjs/node-crc32-stream rather than citgm; only adjust lookup or skip if that is how similar failures are handled here.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Situation
Running citgm crc32-stream passes on Node.js 22 & 24, and fails on Node.js 26
ReferenceError: require is not defined in ES module scope, you can use import instead
| Item | Status |
|---|---|
| npm package | https://www.npmjs.com/package/crc32-stream |
| npm status | not deprecated |
| last published | 7.0.1 Oct 14, 2024 |
| weekly downloads | 56,157,816 |
| repo location | https://github.com/archiverjs/node-crc32-stream |
| repo last update to default branch | Oct 14, 2024 |
| repo status | quiet |
| repo CI status | runs in Node.js 18 & 20 |
| lookup - skip | - |
| lookup maintainer 1 | ctalkington |
Repo CI https://github.com/archiverjs/node-crc32-stream/blob/master/.github/workflows/nodejs.yml runs only in EOL Node.js versions 18 & 20.
Cloning the repo and running local tests using Ubuntu 26.04.1 LTS and running under Node.js 22, 24 & 26 confirm the compatibility issues for Node.js 26.
Steps to reproduce
Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml
Module to test: crc32-stream
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main
Result
Fails in Node.js 26:
| Node.js | npm | macos | ubuntu | windows |
|---|---|---|---|---|
| 22.23.3 | 10.9.9 | PASS | PASS | PASS |
| 24.21.0 | 11.19.0 | PASS | PASS | PASS |
| 26.10.0 | 11.19.1 | FAIL | FAIL | FAIL |
References
cc: @ctalkington
- Lingua principale
- JavaScript
- Stelle
- 608
- Fork
- 158
- Merge medio
- 2g 17h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nodejs/citgm
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)Forse già presa @MikeMcC399 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nodejs/citgm#1200 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nodejs/citgm#1176 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
`microtime` fails on macOS, Windows & Alpine LinuxForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nodejs/citgm#1175 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nodejs/citgm
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
fix(套件): test_bundle 往仓库的 preset/skills 写哨兵,并发跑的 test_installer 拷贝时撞 ENOENT(CI 红)Forse già presa @Miaotofu01 l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Miaotofu01/Study-Mate#216 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Berserk-hub150/skillhawk#229 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni