@@ -168,10 +168,6 @@ collect.set('isPRConflicts', [
168168 'https://github.com/sindresorhus/refined-github/pull/148/conflicts' ,
169169] ) ;
170170
171- /** @deprecated use isPRConflicts instead */
172- export const isConflict = isPRConflicts ;
173- collect . set ( 'isConflict' , combinedTestOnly ) ;
174-
175171/** Any `isConversationList` can display both issues and PRs, prefer that detection. `isPRList` only exists because this page has PR-specific filters like the "Reviews" dropdown */
176172export const isPRList = ( url : URL | Location = location ) : boolean => url . pathname === '/pulls' || getRepoPath ( url ) === 'pulls' ;
177173collect . set ( 'isPRList' , [
@@ -249,9 +245,6 @@ collect.set('isRepo', [
249245 'https://github.com/sindresorhus/refined-github/issues/templates/edit' , // Gotcha for isRepoIssueList
250246] ) ;
251247
252- /** @deprecated use isEmptyRepoRoot instead */
253- export const isEmptyRepo = ( ) : boolean => isRepo ( ) && exists ( '.blankslate' ) ;
254-
255248export const isEmptyRepoRoot = ( ) : boolean => isRepoRoot ( ) && exists ( '.blankslate' ) ;
256249
257250export const isRepoTaxonomyConversationList = ( url : URL | Location = location ) : boolean => / ^ l a b e l s \/ .+ | ^ m i l e s t o n e s \/ \d + (? ! \/ e d i t ) / . test ( getRepoPath ( url ) ! ) ;
@@ -440,9 +433,6 @@ export const canUserEditOrganization = (): boolean => isOrganizationProfile() &&
440433
441434export const canUserEditRepo = ( ) : boolean => isRepo ( ) && exists ( '.reponav-item[href$="/settings"]' ) ;
442435
443- /** @deprecated use canUserEditRepo instead */
444- export const isRepoWithAccess = canUserEditRepo ;
445-
446436/** Get the logged-in user’s username */
447437const getUsername = ( ) => document . querySelector ( 'meta[name="user-login"]' ) ! . getAttribute ( 'content' ) ! ;
448438
0 commit comments