github-url-detection 7.1.0 → 7.1.1

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.
@@ -344,7 +344,7 @@ const isEmptyRepoRoot = () => isRepoHome() && !exists('link[rel="canonical"]');
344
344
  const isEmptyRepo = () => exists('[aria-label="Cannot fork because repository is empty."]');
345
345
  const isPublicRepo = () => exists('meta[name="octolytics-dimension-repository_public"][content="true"]');
346
346
  const isArchivedRepo = () => Boolean(isRepo() && $("main > .flash-warn")?.textContent.includes("archived"));
347
- const isBlank = () => exists("main .blankslate");
347
+ const isBlank = () => exists("main .blankslate:not([hidden] .blankslate)");
348
348
  const isRepoTaxonomyIssueOrPRList = (url = location) => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepo(url)?.path);
349
349
  const isRepoIssueOrPRList = (url = location) => isRepoPRList(url) || isRepoIssueList(url) || isRepoTaxonomyIssueOrPRList(url);
350
350
  const isRepoPRList = (url = location) => Boolean(getRepo(url)?.path.startsWith("pulls"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-url-detection",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
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",