chore(deps): update dependency prettier to v1.18.2 (#2407)
This commit is contained in:
parent
321ca9b0ed
commit
aded9d7c24
@ -104,7 +104,7 @@
|
||||
"nock": "^10.0.4",
|
||||
"node-fetch": "^2.3.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "1.17.1",
|
||||
"prettier": "1.18.2",
|
||||
"react-test-renderer": "^16.8.4",
|
||||
"react-testing-library": "^7.0.0",
|
||||
"rimraf": "^2.6.3",
|
||||
|
@ -324,9 +324,7 @@ export default class GitGateway {
|
||||
return this.backend.getMediaDisplayURL(original);
|
||||
}
|
||||
const err = new Error(
|
||||
`getMediaDisplayURL is not implemented by the ${
|
||||
this.backendType
|
||||
} backend, but the backend returned a displayURL which was not a string!`,
|
||||
`getMediaDisplayURL is not implemented by the ${this.backendType} backend, but the backend returned a displayURL which was not a string!`,
|
||||
);
|
||||
err.displayURL = displayURL;
|
||||
return Promise.reject(err);
|
||||
|
@ -108,9 +108,7 @@ class Authenticator {
|
||||
const left = screen.width / 2 - conf.width / 2;
|
||||
const top = screen.height / 2 - conf.height / 2;
|
||||
window.addEventListener('message', this.handshakeCallback(options, cb), false);
|
||||
let url = `${this.base_url}/${this.auth_endpoint}?provider=${
|
||||
options.provider
|
||||
}&site_id=${siteID}`;
|
||||
let url = `${this.base_url}/${this.auth_endpoint}?provider=${options.provider}&site_id=${siteID}`;
|
||||
if (options.scope) {
|
||||
url += '&scope=' + options.scope;
|
||||
}
|
||||
@ -151,9 +149,7 @@ class Authenticator {
|
||||
}),
|
||||
);
|
||||
}
|
||||
const url = `${this.base_url}/${
|
||||
this.auth_endpoint
|
||||
}/refresh?provider=${provider}&site_id=${siteID}&refresh_token=${refresh_token}`;
|
||||
const url = `${this.base_url}/${this.auth_endpoint}/refresh?provider=${provider}&site_id=${siteID}&refresh_token=${refresh_token}`;
|
||||
const refreshPromise = fetch(url, { method: 'POST', body: '' }).then(res => res.json());
|
||||
|
||||
// Return a promise if a callback wasn't provided
|
||||
|
@ -9687,10 +9687,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@^24.0.0, pretty-format@^24.7.0, pretty-format@^24.8.0:
|
||||
version "24.8.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user