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.
- package/distribution/index.d.ts +4 -0
- package/distribution/index.js +1 -0
- package/package.json +1 -1
package/distribution/index.d.ts
CHANGED
|
@@ -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;
|
package/distribution/index.js
CHANGED