Skip to content

Commit

Permalink
build(deps-dev): bump prettier from 2.8.8 to 3.0.0 (#425)
Browse files Browse the repository at this point in the history
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.8...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 11, 2023
1 parent 51b47b7 commit 7b0d43a
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion lib/delete-branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function deleteBranch(state) {
.catch((err) => {
if (err.code === 403)
state.debug(
`could not delete "${state.branch}" branch, lacking permission for owner "${state.owner}"`
`could not delete "${state.branch}" branch, lacking permission for owner "${state.owner}"`,
);
else state.debug(err.toString());
return err;
Expand Down
2 changes: 1 addition & 1 deletion lib/get-branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function getBranch(state) {
.then(function (result) {
state.sha = result.data.commit.sha;
state.debug(
`"${state.branch}" branch found, last commit’s sha: ${state.sha}`
`"${state.branch}" branch found, last commit’s sha: ${state.sha}`,
);
});
}
4 changes: 2 additions & 2 deletions lib/get-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getCommit(state) {
const { filename, patch, blob_url: blobUrl } = result.data.files[0];
var branchUrl = blobUrl.replace(
/\/blob\/[^/]+/,
"/blob/" + state.repoDefaultBranch
"/blob/" + state.repoDefaultBranch,
);

state.commit = {
Expand All @@ -26,7 +26,7 @@ function getCommit(state) {
};

state.debug(
`found commit "${state.commit.message}". Changed file "${filename}" Found branchUrl "${state.commit.branchUrl}"`
`found commit "${state.commit.message}". Changed file "${filename}" Found branchUrl "${state.commit.branchUrl}"`,
);
});
}
2 changes: 1 addition & 1 deletion lib/handle-create-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const deleteBranch = require("./delete-branch");

const template = readFileSync(
pathResolve(__dirname, "..", "instructions.md"),
"utf8"
"utf8",
);

/**
Expand Down
18 changes: 9 additions & 9 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 @@ -18,7 +18,7 @@
"@octokit/rest": "^19.0.13",
"@vercel/node": "^2.15.3",
"fetch-mock": "^9.11.0",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"simple-mock": "^0.8.0",
"tap": "^16.3.7"
},
Expand Down
2 changes: 1 addition & 1 deletion test/integration/server-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ test("server create event with non-existing branch name", async (t) => {
message: "Branch not found",
documentation_url: "https://developer.github.com/v3/repos/#get-branch",
},
}
},
);

const configure = function (yaml) {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/create-issue-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ test("create issue request succeeds", (t) => {
t.equal(createIssueArgs.title, "commit subject");
t.equal(
createIssueArgs.body,
"test value1: patch value2: filename value3: branchUrl value4: installRepo value5: $ISSUE_NUMBER value6: commit body"
"test value1: patch value2: filename value3: branchUrl value4: installRepo value5: $ISSUE_NUMBER value6: commit body",
);
t.equal(createIssueArgs.repo, "issueRepo");
t.equal(createIssueArgs.labels, "label-1");
t.equal(createIssueArgs.owner, "owner");
t.equal(
editIssueArgs.body,
"test value1: patch value2: filename value3: branchUrl value4: installRepo value5: 123 value6: commit body"
"test value1: patch value2: filename value3: branchUrl value4: installRepo value5: 123 value6: commit body",
);

simple.restore();
Expand Down
2 changes: 1 addition & 1 deletion test/unit/get-commit-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test("get commit request succeeds", (t) => {
t.equal(state.commit.patch, "patch");
t.equal(
state.commit.branchUrl,
"https://github.com/Techforchange/first-timers-test/blob/defaultBranch/docs/README.md"
"https://github.com/Techforchange/first-timers-test/blob/defaultBranch/docs/README.md",
);
t.equal(state.commit.authorLogin, "username");

Expand Down

1 comment on commit 7b0d43a

@vercel
Copy link

@vercel vercel bot commented on 7b0d43a Jul 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

app-first-timers.vercel.app
first-timers.vercel.app
app-git-main-first-timers.vercel.app

Please sign in to comment.