github-url-detection 7.1.1 → 7.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.
@@ -125,6 +125,10 @@ export type RepositoryInfo = {
125
125
  path: string;
126
126
  };
127
127
  export declare const utils: {
128
+ getOrg: (url?: URL | HTMLAnchorElement | Location) => {
129
+ name: string;
130
+ path: string;
131
+ } | undefined;
128
132
  getUsername: () => string | undefined;
129
133
  getCleanPathname: (url?: URL | HTMLAnchorElement | Location) => string;
130
134
  getCleanGistPathname: (url?: URL | HTMLAnchorElement | Location) => string | undefined;
@@ -448,6 +448,7 @@ const getRepo = (url) => {
448
448
  };
449
449
  };
450
450
  const utils = {
451
+ getOrg,
451
452
  getUsername,
452
453
  getCleanPathname,
453
454
  getCleanGistPathname,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-url-detection",
3
- "version": "7.1.1",
3
+ "version": "7.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",