Uh oh!
There was an error while loading. Please reload this page.
lookup: add allow-git for JSONStream - #1127
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #1127 +/- ##
=======================================
Coverage 96.20% 96.20% =======================================
Files 29 29 Lines 2213 2213 =======================================
Hits 2129 2129 Misses 84 84 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
MikeMcC399
commented
Aug 25, 2026
@ljharb |
ljharb
commented
Aug 29, 2026
I've never merged anything here, so I'm a bit hesitant to do so myself. |
MikeMcC399
commented
Aug 29, 2026
Perhaps the @nodejs/citgm team can advise how it intends to handle PRs from submitters like me who are not part of the team? I don't feel comfortable routinely pinging @targos to get attention, unless that is what is wanted. |
MikeMcC399
commented
Aug 31, 2026
Hi @targos If you're running in Jenkins, please note the comments about expected failures in Windows and macOS. I would prefer to remove this module completely. See alternative #1114 |
MikeMcC399
commented
Aug 31, 2026
I did a local test in https://github.com/MikeMcC399/citgm/actions/runs/31591814283 which also tests against npm 12. It shows the failures also. |
ljharb
commented
Aug 31, 2026
(to reiterate, if we can find an alternative mixed case package to include, then JSONStream can be dropped in favor of that) |
MikeMcC399
commented
Sep 1, 2026
Although adding There has been no supported npm package with a legacy mixed case name identified and it is possible that no such package even exists anymore. If that is the case, then keeping |
JSONStream,leveldown&qetc. #1113Situation
JSONStream fails under npm 12.
See #1114 (comment) for steps to reproduce and for logs.
It is blocked by npm 12 as described in the logs:
https://github.com/dominictarr/JSONStream was archived Dec 4, 2018 and is therefore unsupported, since issues can no longer be logged, and new releases are no longer possible.
#1114 proposed to remove
JSONStream, however @ljharb stated that it needed to be retained, since it exercises the use of a package name with uppercase characters.Change
Modify entry for JSONStream in lib/lookup.json to add:
which allows it to run under npm 12. See https://docs.npmjs.com/cli/v12/using-npm/config#allow-git.
Checklist
npm testpasseshere
Note
https://github.com/dominictarr/JSONStream remains unsupported.
To test the ability to use a package that includes uppercase characters, an active package would be preferable to
JSONStream, however it hasn't been possible to identify any alternative so far. Commonly-used packages conform to npm naming rules introduced several years ago that prohibit the introduction of new packages with names including uppercase characters. See npm blog post from Dec 26, 2017.https://docs.npmjs.com/creating-a-package-json-file
JSONStreamhas flaky results on macOS and a hard fail on Windows, unrelated to the change to allow git: