@@ -168,10 +168,6 @@ collect.set('isPRConflicts', [
168
168
'https://github.com/sindresorhus/refined-github/pull/148/conflicts' ,
169
169
] ) ;
170
170
171
- /** @deprecated use isPRConflicts instead */
172
- export const isConflict = isPRConflicts ;
173
- collect . set ( 'isConflict' , combinedTestOnly ) ;
174
-
175
171
/** 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 */
176
172
export const isPRList = ( url : URL | Location = location ) : boolean => url . pathname === '/pulls' || getRepoPath ( url ) === 'pulls' ;
177
173
collect . set ( 'isPRList' , [
@@ -249,9 +245,6 @@ collect.set('isRepo', [
249
245
'https://github.com/sindresorhus/refined-github/issues/templates/edit' , // Gotcha for isRepoIssueList
250
246
] ) ;
251
247
252
- /** @deprecated use isEmptyRepoRoot instead */
253
- export const isEmptyRepo = ( ) : boolean => isRepo ( ) && exists ( '.blankslate' ) ;
254
-
255
248
export const isEmptyRepoRoot = ( ) : boolean => isRepoRoot ( ) && exists ( '.blankslate' ) ;
256
249
257
250
export 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() &&
440
433
441
434
export const canUserEditRepo = ( ) : boolean => isRepo ( ) && exists ( '.reponav-item[href$="/settings"]' ) ;
442
435
443
- /** @deprecated use canUserEditRepo instead */
444
- export const isRepoWithAccess = canUserEditRepo ;
445
-
446
436
/** Get the logged-in user’s username */
447
437
const getUsername = ( ) => document . querySelector ( 'meta[name="user-login"]' ) ! . getAttribute ( 'content' ) ! ;
448
438
0 commit comments