Unverified Commit 3f5b54f5 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1164 from hypothesis/dependabot/npm_and_yarn/prettier-1.18.2

Bump prettier from 1.17.1 to 1.18.2
parents fdbcb1e1 67b7e622
......@@ -89,7 +89,7 @@
"postcss": "^7.0.13",
"postcss-url": "^8.0.0",
"preact": "10.0.0-beta.2",
"prettier": "1.17.1",
"prettier": "1.18.2",
"query-string": "^3.0.1",
"raf": "^3.1.0",
"raven-js": "^3.7.0",
......
......@@ -36,9 +36,7 @@ function httpRequest(opts) {
/** Create a release in Sentry. Returns a Promise. */
function createRelease(opts, project, release) {
return httpRequest({
uri: `${SENTRY_API_ROOT}/projects/${
opts.organization
}/${project}/releases/`,
uri: `${SENTRY_API_ROOT}/projects/${opts.organization}/${project}/releases/`,
method: 'POST',
auth: {
user: opts.key,
......@@ -66,9 +64,7 @@ function createRelease(opts, project, release) {
/** Upload a named file to a release in Sentry. Returns a Promise. */
function uploadReleaseFile(opts, project, release, file) {
return httpRequest({
uri: `${SENTRY_API_ROOT}/projects/${
opts.organization
}/${project}/releases/${release}/files/`,
uri: `${SENTRY_API_ROOT}/projects/${opts.organization}/${project}/releases/${release}/files/`,
method: 'POST',
auth: {
user: opts.key,
......
......@@ -53,7 +53,7 @@ function MenuItem({
'is-selected': isSelected,
})}
role="menuitem"
{...onClick && onActivate('menuitem', onClick)}
{...(onClick && onActivate('menuitem', onClick))}
>
{icon !== undefined && (
<div className="menu-item__icon-container">
......
......@@ -78,9 +78,7 @@ describe('Menu', () => {
new Event('click'),
((e = new Event('keypress')), (e.key = 'Escape'), e),
].forEach(event => {
it(`closes when the user clicks or presses the mouse outside (${
event.type
})`, () => {
it(`closes when the user clicks or presses the mouse outside (${event.type})`, () => {
const wrapper = createMenu({ defaultOpen: true });
act(() => {
......
......@@ -112,9 +112,7 @@ class ReactController {
function wrapReactComponent(type) {
if (!type.propTypes) {
throw new Error(
`React component ${
type.name
} does not specify its inputs using "propTypes"`
`React component ${type.name} does not specify its inputs using "propTypes"`
);
}
......
......@@ -6918,10 +6918,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@1.17.1:
version "1.17.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db"
integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg==
prettier@1.18.2:
version "1.18.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
pretty-format@^3.8.0:
version "3.8.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment