Skip to content

Commit

Permalink
Bump prettier from 2.8.8 to 3.1.1 (#480)
Browse files Browse the repository at this point in the history
* Bump prettier from 2.8.8 to 3.1.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.1.1.
- [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.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cameron Little <cameron@camlittle.com>
  • Loading branch information
dependabot[bot] and apexskier authored Dec 26, 2023
1 parent 647ee9e commit 7550e2e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"concurrently": "^6.5.1",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"prettier": "^2.8.8",
"prettier": "^3.1.1",
"ts-jest": "^26.5.6",
"typescript": "^4.9.5"
}
Expand Down
12 changes: 6 additions & 6 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ describe("tests", () => {
html_url: "http://prior_release",
},
],
})
}),
),
compareCommits: jest.fn(() =>
Promise.resolve({
data: { commits: [{ sha: "SHA1" }] },
})
}),
),
},
},
Expand All @@ -100,7 +100,7 @@ describe("tests", () => {
edges: [],
},
},
})
}),
),
};
});
Expand Down Expand Up @@ -132,12 +132,12 @@ describe("tests", () => {
html_url: "http://prior_release",
},
],
})
}),
),
compareCommits: jest.fn(() =>
Promise.resolve({
data: { commits: [{ sha: "SHA1" }, { sha: "SHA2" }] },
})
}),
),
},
},
Expand Down Expand Up @@ -210,7 +210,7 @@ describe("tests", () => {
],
},
},
})
}),
),
};

Expand Down
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const releaseTagTemplateRegex = /{release_tag}/g;
.trim()
.replace(
releaseLinkTemplateRegex,
`[${releaseLabel}](${currentRelease.html_url})`
`[${releaseLabel}](${currentRelease.html_url})`,
)
.replace(releaseNameTemplateRegex, releaseLabel)
.replace(releaseTagTemplateRegex, currentRelease.tag_name);
Expand Down Expand Up @@ -173,7 +173,7 @@ const releaseTagTemplateRegex = /{release_tag}/g;
response.resource.messageHeadlineHTML,
response.resource.messageBodyHTML,
...response.resource.associatedPullRequests.edges.map(
(pr) => pr.node.bodyHTML
(pr) => pr.node.bodyHTML,
),
].join(" ");
for (const match of html.matchAll(closesMatcher)) {
Expand All @@ -197,7 +197,7 @@ const releaseTagTemplateRegex = /{release_tag}/g;
// a skip labels is present on this PR
if (
skipLabels?.some((l) =>
associatedPR.node.labels.nodes.some(({ name }) => name === l)
associatedPR.node.labels.nodes.some(({ name }) => name === l),
)
) {
continue;
Expand All @@ -218,8 +218,8 @@ const releaseTagTemplateRegex = /{release_tag}/g;
seen.add(link.subject.number);
}
}
})()
)
})(),
),
);

const requests: Array<Promise<unknown>> = [];
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3411,10 +3411,10 @@ prelude-ls@~1.1.2:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=

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.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848"
integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==

pretty-format@^26.6.2:
version "26.6.2"
Expand Down

0 comments on commit 7550e2e

Please sign in to comment.