Skip to content

Commit 64ca2b9

Browse files
renovate[bot]Create or Update Pull Request Actionkfcampbell
authored
chore(deps): update dependency prettier to v3 (#326)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`2.8.8` -> `3.0.0`](https://renovatebot.com/diffs/npm/prettier/2.8.8/3.0.0) | [![age](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/compatibility-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/3.0.0/confidence-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.0.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;300) [Compare Source](https://github.com/prettier/prettier/compare/2.8.8...3.0.0) [diff](https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0) 🔗 [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/octokit/rest.js). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Create or Update Pull Request Action <[email protected]> Co-authored-by: Keegan Campbell <[email protected]>
1 parent 36d1a72 commit 64ca2b9

26 files changed

+95
-95
lines changed

docs/src/components/endpoint-group.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class EndPointGroup extends Component {
3232
entries.forEach((entry) => {
3333
if (entry.isIntersecting) {
3434
console.log(
35-
`EndPointGroup.entry.intersectionRatio: ${entry.intersectionRatio}`
35+
`EndPointGroup.entry.intersectionRatio: ${entry.intersectionRatio}`,
3636
);
3737
const isAbove = entry.boundingClientRect.y < entry.rootBounds.y;
3838
console.log(`isAbove ${isAbove}`);
@@ -41,7 +41,7 @@ export default class EndPointGroup extends Component {
4141

4242
if (entry.intersectionRatio >= 0.1) {
4343
console.log(
44-
`EndPointGroup.onIntersection ${this.props.node.fieldValue}`
44+
`EndPointGroup.onIntersection ${this.props.node.fieldValue}`,
4545
);
4646
this.props.onVisibleEndPointGroup(this.props.node.fieldValue);
4747
}

docs/src/components/index-page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class IndexPage extends Component {
7676
<option key={id} value={sourceInstanceName}>
7777
{sourceInstanceName}
7878
</option>
79-
)
79+
),
8080
)}
8181
</select>
8282
</div>

docs/src/components/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class Search extends Component {
6060
<SearchResults
6161
results={this.state.results.slice(
6262
0,
63-
this.state.visibleResultsCount
63+
this.state.visibleResultsCount,
6464
)}
6565
/>
6666
</ul>

docs/src/pages/api/00_usage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const myOctokit = new MyOctokit({
189189
throttle: {
190190
onRateLimit: (retryAfter, options) => {
191191
myOctokit.log.warn(
192-
`Request quota exhausted for request ${options.method} ${options.url}`
192+
`Request quota exhausted for request ${options.method} ${options.url}`,
193193
);
194194

195195
if (options.request.retryCount === 0) {
@@ -201,7 +201,7 @@ const myOctokit = new MyOctokit({
201201
onSecondaryRateLimit: (retryAfter, options, octokit) => {
202202
// does not retry, only logs a warning
203203
octokit.log.warn(
204-
`Secondary quota detected for request ${options.method} ${options.url}`
204+
`Secondary quota detected for request ${options.method} ${options.url}`,
205205
);
206206
},
207207
},

docs/src/pages/api/05_pagination.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ octokit
2727
.paginate(
2828
"GET /repos/{owner}/{repo}/issues",
2929
{ owner: "octokit", repo: "rest.js" },
30-
(response) => response.data.map((issue) => issue.title)
30+
(response) => response.data.map((issue) => issue.title),
3131
)
3232
.then((issueTitles) => {
3333
// issueTitles is now an array with the titles only
@@ -45,7 +45,7 @@ octokit.paginate(
4545
done();
4646
}
4747
return response.data;
48-
}
48+
},
4949
);
5050
```
5151

@@ -70,7 +70,7 @@ for await (const response of octokit.paginate.iterator(
7070
{
7171
owner: "octokit",
7272
repo: "rest.js",
73-
}
73+
},
7474
)) {
7575
// do whatever you want with each response, break out of the loop, etc.
7676
}

docs/src/pages/api/08_plugins.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can customize and extend Octokit’s functionality using plugins
99
const { Octokit } = require("@octokit/rest");
1010
const MyOctokit = Octokit.plugin(
1111
require("./lib/my-plugin"),
12-
require("octokit-plugin-example")
12+
require("octokit-plugin-example"),
1313
);
1414

1515
// lib/my-plugin.js
@@ -21,7 +21,7 @@ module.exports = (octokit, options = { greeting: "Hello" }) => {
2121
octokit.log.info(
2222
`${options.method} ${options.url}${response.status} in ${
2323
Date.now() - time
24-
}ms`
24+
}ms`,
2525
);
2626
return response;
2727
});

docs/src/pages/api/09_throttling.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const octokit = new MyOctokit({
2020
throttle: {
2121
onRateLimit: (retryAfter, options) => {
2222
octokit.log.warn(
23-
`Request quota exhausted for request ${options.method} ${options.url}`
23+
`Request quota exhausted for request ${options.method} ${options.url}`,
2424
);
2525

2626
// Retry twice after hitting a rate limit error, then give up
@@ -32,7 +32,7 @@ const octokit = new MyOctokit({
3232
onSecondaryRateLimit: (retryAfter, options, octokit) => {
3333
// does not retry, only logs a warning
3434
octokit.log.warn(
35-
`Secondary quota detected for request ${options.method} ${options.url}`
35+
`Secondary quota detected for request ${options.method} ${options.url}`,
3636
);
3737
},
3838
},

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"fetch-mock": "^9.0.0",
5050
"glob": "^10.2.5",
5151
"jest": "^29.0.0",
52-
"prettier": "2.8.8",
52+
"prettier": "3.0.0",
5353
"semantic-release": "^21.0.0",
5454
"semantic-release-plugin-update-version-in-files": "^1.0.0",
5555
"ts-jest": "^29.0.0",

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { VERSION } from "./version";
99
export const Octokit = Core.plugin(
1010
requestLog,
1111
legacyRestEndpointMethods,
12-
paginateRest
12+
paginateRest,
1313
).defaults({
1414
userAgent: `octokit-rest.js/${VERSION}`,
1515
});

test/integration/agent-ca/agent-ca-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("custom client certificate", () => {
2222
response.writeHead(200);
2323
response.write("ok");
2424
response.end();
25-
}
25+
},
2626
);
2727

2828
server.listen(0, done);

0 commit comments

Comments
 (0)