Skip to content

Commit

Permalink
fix(deps): update dependency prettier to v2.8.3 (#37578)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
renovate[bot] and LekoArts committed Feb 1, 2023
1 parent 89fdb50 commit ad721ee
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/contentful/package.json
Expand Up @@ -24,7 +24,7 @@
"cypress": "^9.7.0",
"cypress-image-snapshot": "^4.0.1",
"gatsby-cypress": "next",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"srcset": "^5.0.0",
"start-server-and-test": "^1.15.3"
},
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/development-runtime/package.json
Expand Up @@ -69,7 +69,7 @@
"gatsby-core-utils": "next",
"gatsby-cypress": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3",
"typescript": "^4.9.4",
"yargs": "^17.6.2"
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/mdx/package.json
Expand Up @@ -46,7 +46,7 @@
"cross-env": "^7.0.3",
"gatsby-cypress": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
}
}
2 changes: 1 addition & 1 deletion e2e-tests/path-prefix/package.json
Expand Up @@ -46,7 +46,7 @@
"is-ci": "^3.0.1",
"make-dir-cli": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "2.8.1",
"prettier": "2.8.3",
"start-server-and-test": "^1.15.3",
"wait-on": "^7.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/production-runtime/package.json
Expand Up @@ -61,7 +61,7 @@
"fs-extra": "^11.1.0",
"gatsby-core-utils": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/themes/development-runtime/package.json
Expand Up @@ -29,7 +29,7 @@
"cypress": "^9.7.0",
"gatsby-cypress": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/themes/gatsby-theme-about/package.json
Expand Up @@ -22,7 +22,7 @@
"gatsby-plugin-page-creator": "next"
},
"devDependencies": {
"prettier": "2.8.1"
"prettier": "2.8.3"
},
"peerDependencies": {
"react": "^18.0.0 || ^0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/themes/production-runtime/package.json
Expand Up @@ -26,7 +26,7 @@
"cypress": "^9.7.0",
"gatsby-cypress": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/trailing-slash/package.json
Expand Up @@ -35,7 +35,7 @@
"cross-env": "^7.0.3",
"gatsby-cypress": "next",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
}
}
2 changes: 1 addition & 1 deletion e2e-tests/visual-regression/package.json
Expand Up @@ -35,7 +35,7 @@
"cypress-junit-reporter": "^1.3.1",
"gatsby-cypress": "next",
"is-ci": "^3.0.1",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"start-server-and-test": "^1.15.3"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/reporter/reporter.ts
Expand Up @@ -39,7 +39,7 @@ export interface IActivityArgs {
tags?: { [key: string]: any }
}

let isVerbose = isTruthy(process.env.GATSBY_REPORTER_ISVERBOSE)
const isVerbose = isTruthy(process.env.GATSBY_REPORTER_ISVERBOSE)

function isLogIntentMessage(msg: any): msg is ILogIntent {
return msg && msg.type === `LOG_INTENT`
Expand Down
20 changes: 10 additions & 10 deletions packages/gatsby-cli/src/reporter/types.ts
Expand Up @@ -18,43 +18,43 @@ export interface ILogIntent {
payload:
| {
name: "createLog"
args: Parameters<typeof ActionCreators["createLog"]>
args: Parameters<(typeof ActionCreators)["createLog"]>
}
| {
name: "createPendingActivity"
args: Parameters<typeof ActionCreators["createPendingActivity"]>
args: Parameters<(typeof ActionCreators)["createPendingActivity"]>
}
| {
name: "setStatus"
args: Parameters<typeof ActionCreators["setStatus"]>
args: Parameters<(typeof ActionCreators)["setStatus"]>
}
| {
name: "startActivity"
args: Parameters<typeof ActionCreators["startActivity"]>
args: Parameters<(typeof ActionCreators)["startActivity"]>
}
| {
name: "endActivity"
args: Parameters<typeof ActionCreators["endActivity"]>
args: Parameters<(typeof ActionCreators)["endActivity"]>
}
| {
name: "updateActivity"
args: Parameters<typeof ActionCreators["updateActivity"]>
args: Parameters<(typeof ActionCreators)["updateActivity"]>
}
| {
name: "setActivityErrored"
args: Parameters<typeof ActionCreators["setActivityErrored"]>
args: Parameters<(typeof ActionCreators)["setActivityErrored"]>
}
| {
name: "setActivityStatusText"
args: Parameters<typeof ActionCreators["setActivityStatusText"]>
args: Parameters<(typeof ActionCreators)["setActivityStatusText"]>
}
| {
name: "setActivityTotal"
args: Parameters<typeof ActionCreators["setActivityTotal"]>
args: Parameters<(typeof ActionCreators)["setActivityTotal"]>
}
| {
name: "activityTick"
args: Parameters<typeof ActionCreators["activityTick"]>
args: Parameters<(typeof ActionCreators)["activityTick"]>
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-shopify/package.json
Expand Up @@ -38,7 +38,7 @@
"cross-env": "^7.0.3",
"gatsby-plugin-image": "^3.6.0-next.1",
"msw": "^0.49.3",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"prettier-check": "^2.0.0",
"tsc-watch": "^4.6.2",
"typescript": "^4.9.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-wordpress/package.json
Expand Up @@ -36,7 +36,7 @@
"lodash": "^4.17.21",
"node-fetch": "^2.6.8",
"p-queue": "^6.6.2",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"read-chunk": "^3.2.0",
"replaceall": "^0.1.6",
"semver": "^7.3.8",
Expand Down
8 changes: 4 additions & 4 deletions packages/gatsby/src/utils/worker/__tests__/jobs.ts
Expand Up @@ -119,28 +119,28 @@ describe(`worker (jobs)`, () => {
it(`.then on createJobV2 action creator is called when job finishes`, () => {
// we expect .then callback in worker to be called with results
expect(workersJobsMeta).toSatisfyAll(
({ dotThenWasCalledWith }: typeof workersJobsMeta[0]) =>
({ dotThenWasCalledWith }: (typeof workersJobsMeta)[0]) =>
dotThenWasCalledWith?.processed === `PROCESSED: .then() job`
)
})

it(`await on createJobV2 resumes when job finishes`, () => {
expect(workersJobsMeta).toSatisfyAll(
({ awaitReturnedWith }: typeof workersJobsMeta[0]) =>
({ awaitReturnedWith }: (typeof workersJobsMeta)[0]) =>
awaitReturnedWith?.processed === `PROCESSED: Awaited job`
)
})

it(`.catch on createJobV2 action creator is called when job fails`, () => {
expect(workersJobsMeta).toSatisfyAll(
({ dotCatchWasCalledWith }: typeof workersJobsMeta[0]) =>
({ dotCatchWasCalledWith }: (typeof workersJobsMeta)[0]) =>
dotCatchWasCalledWith === `ERRORED: .catch() job`
)
})

it(`error is caught when awaited job fails`, () => {
expect(workersJobsMeta).toSatisfyAll(
({ awaitThrewWith }: typeof workersJobsMeta[0]) =>
({ awaitThrewWith }: (typeof workersJobsMeta)[0]) =>
awaitThrewWith === `ERRORED: try/catched awaited job`
)
})
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Expand Up @@ -16809,7 +16809,7 @@ msgpackr@^1.5.4:
optionalDependencies:
msgpackr-extract "^1.0.14"

msw@^0.49.2, msw@^0.49.3:
msw@^0.49.3:
version "0.49.3"
resolved "https://registry.yarnpkg.com/msw/-/msw-0.49.3.tgz#c4ca29eddda3e82ad9e36918dda4a7428eddd7fe"
integrity sha512-kRCbDNbNnRq5LC1H/NUceZlrPAvSrMH6Or0mirIuH69NY84xwDruPn/hkXTovIK1KwDwbk+ZdoSyJlpiekLxEA==
Expand Down Expand Up @@ -19078,10 +19078,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@^2.8.0, prettier@^2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.1.tgz#4e1fd11c34e2421bc1da9aea9bd8127cd0a35efc"
integrity sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==
prettier@^2.8.0, prettier@^2.8.3:
version "2.8.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632"
integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==

pretty-bytes@^3.0.0:
version "3.0.1"
Expand Down

0 comments on commit ad721ee

Please sign in to comment.