Skip to content

Commit 1ff09f3

Browse files
chore(deps-dev): bump prettier from 2.2.1 to 2.3.0 (#114)
* chore(deps-dev): bump prettier from 2.2.1 to 2.3.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.2.1...2.3.0) Signed-off-by: dependabot[bot] <[email protected]> * chore: format with prettier Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ari Perkkiö <[email protected]>
1 parent 9d64d43 commit 1ff09f3

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

lib/ui/components/Results.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ export default function Results(): JSX.Element {
4646
);
4747

4848
const comparisonResults = ResultsStore.getComparisonResults();
49-
const formattedComparisonResults = formatComparisonResults(
50-
comparisonResults
51-
);
49+
const formattedComparisonResults =
50+
formatComparisonResults(comparisonResults);
5251

5352
const items: string[] = [
5453
...formattedComparisonResults,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"lint-staged": "^11.0.0",
7373
"node-pty": "^0.10.0",
7474
"nodemon": "^2.0.4",
75-
"prettier": "2.2.1",
75+
"prettier": "2.3.0",
7676
"rimraf": "^3.0.2",
7777
"strip-ansi": "^6.0.0",
7878
"ts-jest": "^26.4.4",

repositories/scripts/fetch-libraries.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ const retryFetch = async (url: string) => {
8686
* minimize reqests. API_KEY is filtered out of cached requests.
8787
*/
8888
const cachedFetch = async (url: string): Promise<DependentRepository[]> => {
89-
const cache = getCache<{ [key: string]: DependentRepository[] }>(
90-
QUERY_CACHE
91-
);
89+
const cache =
90+
getCache<{ [key: string]: DependentRepository[] }>(QUERY_CACHE);
9291
const cacheUrl = url.replace(API_KEY, '<API_KEY>');
9392

9493
if (cache[cacheUrl]) {

test/unit/file-client.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ function getCacheLocation() {
102102

103103
jest.resetModuleRegistry();
104104
jest.isolateModules(() => {
105-
location = require('../../lib/file-client/file-constants')
106-
.CACHE_LOCATION;
105+
location =
106+
require('../../lib/file-client/file-constants').CACHE_LOCATION;
107107
});
108108

109109
return location;

test/unit/repository-client.test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ describe('repository-client', () => {
4343
onPullFailure: jest.fn(),
4444
});
4545

46-
expect(
47-
SimpleGit().clone
48-
).toHaveBeenCalledWith(
46+
expect(SimpleGit().clone).toHaveBeenCalledWith(
4947
'https://github.com/mock-user/mock-repository.git',
5048
`${EXPECTED_CACHE}/${repository}`,
5149
{ '--depth': 1 }

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -5210,10 +5210,10 @@ prettier-linter-helpers@^1.0.0:
52105210
dependencies:
52115211
fast-diff "^1.1.2"
52125212

5213-
prettier@2.2.1:
5214-
version "2.2.1"
5215-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
5216-
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
5213+
prettier@2.3.0:
5214+
version "2.3.0"
5215+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
5216+
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==
52175217

52185218
pretty-format@^26.0.0, pretty-format@^26.6.2:
52195219
version "26.6.2"

0 commit comments

Comments
 (0)