lookup: add allow-git for JSONStream - #1127
Open
MikeMcC399 wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1127 +/- ##
=======================================
Coverage 96.33% 96.33%
=======================================
Files 29 29
Lines 2213 2213
=======================================
Hits 2132 2132
Misses 81 81 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
MikeMcC399
marked this pull request as ready for review
August 14, 2026 06:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: