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