Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prettier from 2.8.8 to 3.0.0 #1553

Merged
merged 3 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"jsdom": "22.1.0",
"lerna": "7.1.1",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier": "3.0.0",
"rxjs-compat": "6.6.7",
"typescript": "5.1.6"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,7 @@ limitations under the License.
.Ddg--SidePanel--decorationBtn.is-selected:focus {
border: none;
margin: 4px;
box-shadow: inset 0 0 5px 2px #00b4ff, 0px 0px 5px 3px #006c99;
box-shadow:
inset 0 0 5px 2px #00b4ff,
0px 0px 5px 3px #006c99;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ limitations under the License.
animation: LoadingIndicator--colorAnim 1s infinite alternate;
font-size: 36px;
/* outline / stroke the loading indicator */
text-shadow: -0.5px 0 rgba(0, 128, 128, 0.6), 0 0.5px rgba(0, 128, 128, 0.6), 0.5px 0 rgba(0, 128, 128, 0.6),
text-shadow:
-0.5px 0 rgba(0, 128, 128, 0.6),
0 0.5px rgba(0, 128, 128, 0.6),
0.5px 0 rgba(0, 128, 128, 0.6),
0 -0.5px rgba(0, 128, 128, 0.6);
}

Expand Down
4 changes: 3 additions & 1 deletion packages/jaeger-ui/src/components/common/VirtSelect.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ limitations under the License.

.VirtSelect.is-focused:not(.is-open) > .Select-control {
border-color: #199;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(17, 153, 153, 0.1);
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 0 3px rgba(17, 153, 153, 0.1);
}

.VirtSelect.is-disabled > .Select-control {
Expand Down
14 changes: 7 additions & 7 deletions packages/jaeger-ui/src/model/link-patterns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ export const processedLinks: ProcessedLinkPattern[] = (getConfigValue('linkPatte
.map(processLinkPattern)
.filter(Boolean);

export const getTraceLinks: (trace: Trace | undefined) => TLinksRV = memoize(10)(
(trace: Trace | undefined) => {
const result: TLinksRV = [];
if (!trace) return result;
return computeTraceLink(processedLinks, trace);
}
);
export const getTraceLinks: (trace: Trace | undefined) => TLinksRV = memoize(10)((
trace: Trace | undefined
) => {
const result: TLinksRV = [];
if (!trace) return result;
return computeTraceLink(processedLinks, trace);
});

export default createGetLinks(processedLinks, new WeakMap());
4 changes: 2 additions & 2 deletions packages/jaeger-ui/src/types/metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ export type FetchedAllServiceMetricsResponse = [
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_latencies', 0.75>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_latencies'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_call_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_error_rate'>> | PromiseRejectedResult
PromiseFulfilledResult<MetricsAPIServiceResponseData<'service_error_rate'>> | PromiseRejectedResult,
];

export type FetchAggregatedServiceMetricsResponse = [
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_latencies'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_call_rate'>> | PromiseRejectedResult,
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_error_rate'>> | PromiseRejectedResult
PromiseFulfilledResult<MetricsAPIOpsResponseData<'service_operation_error_rate'>> | PromiseRejectedResult,
];
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10276,10 +10276,10 @@ prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"

prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae"
integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==

pretty-error@^4.0.0:
version "4.0.0"
Expand Down