Skip to content

feat: upto scheme updates#19

Open
dixitaniket wants to merge 7 commits intomainfrom
ani/scheme-updates
Open

feat: upto scheme updates#19
dixitaniket wants to merge 7 commits intomainfrom
ani/scheme-updates

Conversation

@dixitaniket
Copy link
Copy Markdown
Collaborator

No description provided.

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 9, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtweetnacl@​1.0.310010010075100
Added@​aptos-labs/​ts-sdk@​5.2.1981001009580
Addedtsx@​4.20.61001008185100
Addedtsup@​8.5.0981009483100
Addedfastify@​5.8.4998510097100
Updatedjose@​6.1.0 ⏵ 5.10.0100 +110010090 +4100
Added@​stellar/​stellar-sdk@​14.6.19910010097100

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 9, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

this.url = config?.url || DEFAULT_FACILITATOR_URL;
// Normalize URL: strip trailing slashes to prevent redirect loops (e.g. 308)
// when constructing endpoint paths like `${url}/supported`
this.url = (config?.url || DEFAULT_FACILITATOR_URL).replace(/\/+$/, "");
routePattern: string,
urlPath: string,
): { routeTemplate: string; pathParams: Record<string, string> } | null {
const hasBracket = BRACKET_PARAM_REGEX.test(routePattern);
// When both [param] and :param are present, normalize brackets to colons first
// so all params are extracted uniformly.
const normalizedPattern = hasBracket
? routePattern.replace(BRACKET_PARAM_REGEX_ALL, ":$1")
// Split on param markers so literal segments can be regex-escaped independently.
// Without escaping, a route like /api/v1.0/[id] would produce a regex where '.' matches
// any character (e.g. /api/v1X0/123 would incorrectly match).
const parts = routePattern.split(splitRegex);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants