Skip to content

Commit

Permalink
chore: update prettier to 3.3.3 (#5195)
Browse files Browse the repository at this point in the history
Co-authored-by: Mend Renovate <[email protected]>
  • Loading branch information
pichlermarc and renovate-bot authored Nov 25, 2024
1 parent 3a20ed6 commit e250a0f
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 36 deletions.
12 changes: 6 additions & 6 deletions api/src/platform/browser/globalThis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export const _globalThis: typeof globalThis =
typeof globalThis === 'object'
? globalThis
: typeof self === 'object'
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const _globalThis: typeof globalThis =
typeof globalThis === 'object'
? globalThis
: typeof self === 'object'
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const _globalThis: typeof globalThis =
typeof globalThis === 'object'
? globalThis
: typeof self === 'object'
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ const checkEqual =
x instanceof Array && y instanceof Array
? arrayIsEqual(requestEqual)(x as any)(y as any)
: !(x instanceof Array) && !(y instanceof Array)
? requestEqual(x)(y)
: false;
? requestEqual(x)(y)
: false;

const replicate = (request: TestRequestResponse) => {
const result: TestRequestResponse[] = [];
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"lerna": "6.6.2",
"linkinator": "6.1.2",
"markdownlint-cli2": "0.15.0",
"prettier": "3.0.3",
"prettier": "3.3.3",
"process": "0.11.10",
"semver": "7.6.3",
"typedoc": "0.22.18",
Expand Down
12 changes: 6 additions & 6 deletions packages/opentelemetry-core/src/platform/browser/globalThis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export const _globalThis: typeof globalThis =
typeof globalThis === 'object'
? globalThis
: typeof self === 'object'
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
? self
: typeof window === 'object'
? window
: typeof global === 'object'
? global
: ({} as typeof globalThis);
4 changes: 2 additions & 2 deletions packages/opentelemetry-sdk-trace-web/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ export function parseUrl(url: string): URLLike {
typeof document !== 'undefined'
? document.baseURI
: typeof location !== 'undefined' // Some JS runtimes (e.g. Deno) don't define this
? location.href
: undefined
? location.href
: undefined
);
}
const element = getUrlNormalizingAnchor();
Expand Down

0 comments on commit e250a0f

Please sign in to comment.