Move to the renamed @trinodb/trino-js-client - #8
Open
mosabua wants to merge 1 commit into
Open
Conversation
The Trino client was republished under the trinodb scope. Versions up to 0.2.9 shipped as the unscoped trino-client, and the scoped name @trinodb/trino-js-client starts at 0.3.0. The unscoped package is no longer maintained and will not receive further updates. This is a rename of the dependency and its require specifier. The declaration files of 0.2.9 and 0.3.2 are identical byte for byte, so there is no API change. Note that the axios override in this package pins axios below what the client declares. 0.3.2 asks for axios 1.19.0, while the "^1.7.9" override keeps the resolution at 1.15.0. That still works, but it is worth a look, since 1.19.0 carries several security fixes. Assisted-by: Claude Code Opus 5 <noreply@anthropic.com>
This was referenced Sep 3, 2026
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.
The Trino client was republished under the
trinodbscope. Versions up to 0.2.9 shipped as the unscopedtrino-client; the scoped@trinodb/trino-js-clientstarts at 0.3.0. The unscoped package is no longer maintained and will not receive further updates.I am a Trino maintainer, and we are working through the downstream consumers of the client as part of that move.
Risk
Low. The declaration files of
trino-client@0.2.9and@trinodb/trino-js-client@0.3.2are identical byte for byte, so this is a rename of the dependency and itsrequirespecifier with no API change. Your driver loads it dynamically viarequire, so the change is a single line insrc/driver.tsplus the manifest and lockfile.One thing worth a look
Your
overridesblock pins axios below what the client asks for:0.3.2 declares
axios@1.19.0, but the override keeps the resolution at 1.15.0. That still works — the client only usesaxios.create().request()— but 1.19.0 carries several security fixes over 1.15.0, including the NO_PROXY loopback bypass from 1.16.0 and a raised form-data floor for GHSA-hmw2-7cc7-3qxx. I left the override alone since it is your call, but bumping or dropping it would pick those up.For what it is worth, the next major of the client removes axios entirely in favour of native fetch, at which point the override stops mattering for this dependency.
Verification
I did not run your extension. Beyond the declaration comparison, I verified 0.3.2 against a real Trino coordinator using a harness built from the call patterns this driver uses. All checks pass. That harness now runs in the client's own CI (trinodb/trino-js-client#970).