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 Oct 24, 2023
1 parent 94d7c54 commit e5a3381
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 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+)(?:[_.]\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+)(?:\.\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+)(?:[_.]\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+)(?:\.\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]*)?)/
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 { getSubDomain } from "./subdomain.adapter";
import { getSubDomain } from './subdomain.adapter'

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

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

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

export const environment = {
production: true,
Expand Down Expand Up @@ -36,5 +36,3 @@ export const environment = {
},
proxyMode: false,
}


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 { getSubDomain } from "./subdomain.adapter";
import { getSubDomain } from './subdomain.adapter'

export const environment = {
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 { getSubDomain } from "./subdomain.adapter";
import { getSubDomain } from './subdomain.adapter'

export const environment = {
production: true,
Expand Down
4 changes: 2 additions & 2 deletions src/environments/subdomain.adapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function getSubDomain() {
const subdomain = window.location.hostname.split('.').slice(0, -2).join('.');
return subdomain? subdomain+'.':''
const subdomain = window.location.hostname.split('.').slice(0, -2).join('.')
return subdomain ? subdomain + '.' : ''
}

0 comments on commit e5a3381

Please sign in to comment.