Skip to content

Conversation

raju-opti
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a warning to the README advising users to pin CDN URLs to specific versions to avoid unexpected breaking changes.

  • Introduces a blockquote warning about unversioned CDN URLs
  • References specifying versions (e.g., @6) in unpkg script tags
Comments suppressed due to low confidence (2)

README.md:134

  • [nitpick] Consider specifying a full semantic version (e.g., @6.0.0) in the example to prevent unintended minor or patch upgrades, and update the example script tag accordingly.
> ⚠️ **Warning**: Always specify a version when using CDN URLs like `unpkg` URLs above (for example: `@6` in the examples above). Using unversioned CDN URLs can automatically pull in breaking changes when new versions are released, causing unexpected problems in the application.

README.md:134

  • [nitpick] The warning currently mentions only unpkg. Consider generalizing this to include other CDNs (e.g., jsdelivr) or clarifying that the guidance applies to all CDNs for consistency.
> ⚠️ **Warning**: Always specify a version when using CDN URLs like `unpkg` URLs above (for example: `@6` in the examples above). Using unversioned CDN URLs can automatically pull in breaking changes when new versions are released, causing unexpected problems in the application.

Copy link
Contributor

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raju-opti raju-opti merged commit b73e364 into master Jun 12, 2025
9 of 23 checks passed
@raju-opti raju-opti deleted the raju/warn branch June 12, 2025 19:06
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