Skip to content

Conversation

mani3xis
Copy link
Contributor

This change fixes #127 by simply escaping (i.e. replacing) all non-alphanumeric characters with - (including - itself). While the escapePath() is overly strict (e.g. does not allow a valid _ character) it does not need relaxing for now.

Lifting limitations is always backwards-compatible; introducing them is not.

This change fixes [#127](#127) by simply escaping (i.e. replacing) all non-alphanumeric characters with `-` (including `-` itself). While the `escapePath()` is overly strict (e.g. does not allow a valid `_` character) it does not need relaxing for now.

Lifting limitations is always backwards-compatible; introducing them is not.
@mani3xis mani3xis self-assigned this Jun 17, 2025
@mani3xis mani3xis added the Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.) label Jun 17, 2025
Copy link

changeset-bot bot commented Jun 17, 2025

⚠️ No Changeset found

Latest commit: 6679e84

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mani3xis mani3xis merged commit d9e1a96 into main Jun 17, 2025
4 checks passed
@mani3xis mani3xis deleted the mario/fix-escape-package-name branch June 17, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package's name is not sanitized/escaped

2 participants