Replace local validateWithTypeBox with shared JSR package#254
Draft
Replace local validateWithTypeBox with shared JSR package#254
Conversation
- Add dependency on @jsr/nrfcloud__validate-with-typebox - Replace local implementation with re-export from shared package - Add .npmrc for JSR registry configuration Co-authored-by: coderbyheart <188915+coderbyheart@users.noreply.github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Copilot
AI
changed the title
[WIP] Update validateWithTypeBox to use shared package
Replace local validateWithTypeBox with shared JSR package
Feb 20, 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.
Consolidates TypeBox validation logic by replacing the local
validateWithTypeBoximplementation with@nrfcloud/validate-with-typeboxfrom JSR.Changes
.npmrcto configure JSR registry (@jsr:registry=https://npm.jsr.io)package.jsonwith exact dependency:"@jsr/nrfcloud__validate-with-typebox": "1.0.0"validator/validateWithTypeBox.tsimplementation with re-exportImplementation
Before (24 lines):
After (1 line):
API and type signatures unchanged. All existing imports continue to work.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github.com (HTTP Only)/usr/bin/ssh ssh -oStrictHostKeyChecking=accept-new -o SendEnv=GIT_PROTOCOL git@github.com git-upload-pack '/typescript/tsc.git'(packet block)jsr.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)/usr/bin/curl curl -s REDACTED llo/typedFetch.(dns block)npm.jsr.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/npm install @nrfcloud/validate-with-typebox@npm:@jsr/nrfcloud__validate-with-typebox(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/npm install --save-exact @jsr/nrfcloud__validate-with-typebox(dns block)/usr/bin/curl curl -I REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.