Skip to content

Flag to "skip" process.env transformations, normalize path-to-regexp pattern matching#595

Open
rdraward wants to merge 2 commits intoupgrade-path-to-regexpfrom
riley/GGT-9268-docs-404s
Open

Flag to "skip" process.env transformations, normalize path-to-regexp pattern matching#595
rdraward wants to merge 2 commits intoupgrade-path-to-regexpfrom
riley/GGT-9268-docs-404s

Conversation

@rdraward
Copy link

These updates fix 2 issues:

  • Any process.env.VAR are replaced. This includes the context of code snippets in documentation, when we don't want static replacement. A preserveProcessEnv that accepts true|false, a path, or a regex has been added to make the transformation back from ({}).VAR to process.env.VAR
  • Wildcard params have changed for path-to-regexp. This normalizes the wildcard splat routing structure for old and new versions

@rdraward rdraward requested a review from airhorns February 12, 2026 21:16
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.

1 participant