Skip to content

Commit

Permalink
🤖 GITHUB ACTIONS format_prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Feb 5, 2025
1 parent 3631abc commit 483bfd4
Show file tree
Hide file tree
Showing 25 changed files with 10 additions and 26 deletions.
3 changes: 2 additions & 1 deletion src/app/cdk/platform-info/browserlist.regexp.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// tslint:disable-next-line: max-line-length
export const BROWSERLIST_REGEXP = /((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/
export const BROWSERLIST_REGEXP =
/((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/
1 change: 0 additions & 1 deletion src/app/core/record-person/record-person.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { catchError, first, map, retry, switchMap, tap } from 'rxjs/operators'
import { Person } from 'src/app/types'
import { UserRecordOptions } from 'src/app/types/record.local'


import { ErrorHandlerService } from '../error-handler/error-handler.service'
import { UserService } from '../user/user.service'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { catchError, map, retry, switchMap, tap } from 'rxjs/operators'
import { PersonIdentifierEndpoint } from 'src/app/types/record-person-identifier.endpoint'
import { UserRecordOptions } from 'src/app/types/record.local'


import { ErrorHandlerService } from '../error-handler/error-handler.service'
import { RecordPersonService } from '../record-person/record-person.service'
import { RecordPublicSideBarService } from '../record-public-side-bar/record-public-side-bar.service'
Expand Down
1 change: 0 additions & 1 deletion src/app/core/record-works/record-works.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
_LEGACY_ContributionRoles,
} from 'src/app/types/works.endpoint'


import { ErrorHandlerService } from '../error-handler/error-handler.service'
import { VisibilityStrings } from '../../types/common.endpoint'
import { DEFAULT_PAGE_SIZE, EXTERNAL_ID_TYPE_WORK } from 'src/app/constants'
Expand Down
1 change: 0 additions & 1 deletion src/app/core/register/register.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
RegisterForm,
} from 'src/app/types/register.endpoint'


import { ErrorHandlerService } from '../error-handler/error-handler.service'
import { UserService } from '../user/user.service'
import { RegisterBackendValidatorMixin } from './register.backend-validators'
Expand Down
1 change: 0 additions & 1 deletion src/app/core/register2/register2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
RegisterForm,
} from 'src/app/types/register.endpoint'


import { ERROR_REPORT } from 'src/app/errors'
import { objectToUrlParameters } from '../../constants'
import { ReactivationLocal } from '../../types/reactivation.local'
Expand Down
1 change: 0 additions & 1 deletion src/app/core/robots-meta-tags/robots-meta-tags.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Injectable } from '@angular/core'
import { Meta } from '@angular/platform-browser'


@Injectable({
providedIn: 'root',
})
Expand Down
1 change: 0 additions & 1 deletion src/app/core/togglz/togglz.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { map, switchMapTo } from 'rxjs/operators'
import { Config } from 'src/app/types/togglz.endpoint'
import { MaintenanceMessage } from 'src/app/types/togglz.local'


import { UserService } from '..'

@Injectable({
Expand Down
1 change: 0 additions & 1 deletion src/app/core/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import {
import { ThirdPartyAuthData } from 'src/app/types/sign-in-data.endpoint'
import { Delegator } from 'src/app/types/trusted-individuals.endpoint'


import { UserStatus } from '../../types/userStatus.endpoint'
import { DiscoService } from '../disco/disco.service'
import { ErrorHandlerService } from '../error-handler/error-handler.service'
Expand Down
1 change: 0 additions & 1 deletion src/app/core/wordpress/wordpress.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { PlatformInfoService } from 'src/app/cdk/platform-info'
import { WINDOW_PROVIDERS } from 'src/app/cdk/window'
import { LOCALE_ID } from '@angular/core'


import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'

describe('WordpressService', () => {
Expand Down
1 change: 0 additions & 1 deletion src/app/core/wordpress/wordpress.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Inject, Injectable, LOCALE_ID } from '@angular/core'
import { Observable, of } from 'rxjs'
import { catchError, map } from 'rxjs/operators'


@Injectable({
providedIn: 'root',
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class EnvironmentBannerComponent implements OnInit {
if (
(!this._cookieService.get('testWarningCookie') || !this.canDismiss) &&
this.notInsideIframe &&
runtimeEnvironment.SHOW_TEST_WARNING_BANNER
runtimeEnvironment.SHOW_TEST_WARNING_BANNER
) {
this.display = 'auto'
}
Expand Down
1 change: 0 additions & 1 deletion src/app/guards/language.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { CookieService } from 'ngx-cookie-service'
import { NEVER, Observable, of } from 'rxjs'
import { catchError, switchMap, tap } from 'rxjs/operators'


import { WINDOW } from '../cdk/window'
import { UserService } from '../core'
import { ErrorHandlerService } from '../core/error-handler/error-handler.service'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { RecordUtil } from 'src/app/shared/utils/record.util'
import { Assertion, UserInfo } from 'src/app/types'
import { UserRecord } from 'src/app/types/record.local'


@Component({
selector: 'app-record-header',
templateUrl: './record-header.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { RecordService } from 'src/app/core/record/record.service'
import { RecordUtil as RecordUtil } from 'src/app/shared/utils/record.util'
import { UserInfo } from 'src/app/types'


@Component({
selector: 'app-record-info',
templateUrl: './record-info.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { takeUntil } from 'rxjs/operators'
import { RecordService } from 'src/app/core/record/record.service'
import { UserInfo } from 'src/app/types'


@Component({
selector: 'app-top-bar-record-issues',
templateUrl: './top-bar-record-issues.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import { ErrorStateMatcher } from '@angular/material/core'
import { RegisterService } from 'src/app/core/register/register.service'


import { BaseForm } from '../BaseForm'

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import { ErrorStateMatcher } from '@angular/material/core'
import { Register2Service } from 'src/app/core/register2/register2.service'


import { BaseForm } from '../BaseForm'
import { RegisterStateService } from '../../register-state.service'

Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.int.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'
export const environment: EnvironmentInterface = {
production: true,
debugger: true,
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.local.4200.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'

export const environment: EnvironmentInterface = {
production: false,
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.local.dev.orcid.org.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'

export const environment: EnvironmentInterface = {
production: false,
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.production.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'

export const environment: EnvironmentInterface = {
production: true,
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.qa.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'

export const environment: EnvironmentInterface = {
production: true,
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.sandbox.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnvironmentInterface } from "./interface";
import { EnvironmentInterface } from './interface'

export const environment: EnvironmentInterface = {
production: true,
Expand Down
3 changes: 1 addition & 2 deletions src/environments/interface.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export interface EnvironmentInterface {
production: boolean
debugger: boolean
Expand Down Expand Up @@ -28,4 +27,4 @@ export interface EnvironmentInterface {

declare global {
const runtimeEnvironment: EnvironmentInterface
}
}

0 comments on commit 483bfd4

Please sign in to comment.