Skip to content

[Bug]: Update Convert-UrlToJsDelivr to support branches, tags, and latest #180

@silverhack

Description

@silverhack

What happened?
The current implementation of Convert-UrlToJsDelivr does not fully align with jsDelivr’s recommended usage patterns. According to jsDelivr documentation, relying on latest is non recommended for production environments, and explicit semver versioning is preferred.
To improve compatibility and reliability, the function should be updated to support multiple version‑resolution strategies.

Convert-UrlToJsDelivr should accept and correctly process the following values:

  • Branch name
  • Tag name
  • Use the latest

References

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions