github-url-detection 6.0.1 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -383,7 +383,7 @@ const doesLookLikeAProfile = (string) => typeof string === "string" && string.le
383
383
  const isProfile = (url = location) => !isGist(url) && doesLookLikeAProfile(getCleanPathname(url));
384
384
  const isGistProfile = (url = location) => doesLookLikeAProfile(getCleanGistPathname(url));
385
385
  const isUserProfile = () => isProfile() && !isOrganizationProfile();
386
- const isPrivateUserProfile = () => isUserProfile() && !exists(".user-following-container");
386
+ const isPrivateUserProfile = () => isUserProfile() && !exists('.UnderlineNav-item[href$="tab=stars"]');
387
387
  const isUserProfileMainTab = () => isUserProfile() && !new URLSearchParams(location.search).has("tab");
388
388
  const isUserProfileRepoTab = (url = location) => isProfile(url) && new URLSearchParams(url.search).get("tab") === "repositories";
389
389
  const isUserProfileStarsTab = (url = location) => isProfile(url) && new URLSearchParams(url.search).get("tab") === "stars";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-url-detection",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.",
5
5
  "keywords": [
6
6
  "github",