Skip to content

Comments

Fix: Apply audit fixes (fixes #151)#152

Merged
taylortom merged 2 commits intomasterfrom
issue/151
Feb 20, 2026
Merged

Fix: Apply audit fixes (fixes #151)#152
taylortom merged 2 commits intomasterfrom
issue/151

Conversation

@taylortom
Copy link
Contributor

Fix

  • Handle single-segment URLs in inferBuildAction by checking for missing second slash instead of passing -1 to slice

Testing

  1. Verify inferBuildAction returns 'import' for /import URLs
  2. Verify inferBuildAction still returns 'preview' for /preview/123 URLs

taylortom and others added 2 commits February 20, 2026 20:20
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@taylortom taylortom merged commit eeef48a into master Feb 20, 2026
2 checks passed
@taylortom taylortom deleted the issue/151 branch February 20, 2026 21:34
github-actions bot pushed a commit that referenced this pull request Feb 20, 2026
## [1.12.1](v1.12.0...v1.12.1) (2026-02-20)

### Chore

* Update tests to match corrected behaviour (refs #151) ([2a4ab04](2a4ab04)), closes [#151](#151)

### Fix

* Apply audit fixes (fixes #151) (#152) ([eeef48a](eeef48a)), closes [#151](#151) [#152](#152)
* Handle single-segment URLs in inferBuildAction (fixes #151) ([205b5f4](205b5f4)), closes [#151](#151)
@github-actions
Copy link

🎉 This PR is included in version 1.12.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant