github-url-detection 11.1.1 → 11.1.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.
@@ -53,7 +53,8 @@ var getStateLabel = () => $([
53
53
  // Old view
54
54
  // React versions
55
55
  '[class^="StateLabel"]',
56
- '[data-testid="header-state"]'
56
+ // TODO: Remove after July 2026
57
+ '[class^="prc-StateLabel-StateLabel"]'
57
58
  ].join(","))?.textContent?.trim();
58
59
  var isMergedPR = () => getStateLabel() === "Merged";
59
60
  var isDraftPR = () => getStateLabel() === "Draft";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-url-detection",
3
- "version": "11.1.1",
3
+ "version": "11.1.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",