diff --git a/.prettierrc b/.prettierrc index 0da1b340ce5..400738d2546 100644 --- a/.prettierrc +++ b/.prettierrc @@ -8,7 +8,8 @@ "jsxBracketSameLine": true, "printWidth": 80, "singleQuote": true, - "trailingComma": "es5" + "trailingComma": "es5", + "endOfLine": "auto" } }, { @@ -18,9 +19,17 @@ "bracketSpacing": true, "jsxBracketSameLine": true, "printWidth": 66, - "proseWrap": "never", + "proseWrap": "preserve", "singleQuote": true, - "trailingComma": "none" + "trailingComma": "none", + "endOfLine": "auto" + } + }, + { + "files": ["*.scss", "*.css"], + "options": { + "printWidth": 80, + "endOfLine": "auto" } } ] diff --git a/docs/backhandler.md b/docs/backhandler.md index 42e507c46c6..f86a5730492 100644 --- a/docs/backhandler.md +++ b/docs/backhandler.md @@ -17,7 +17,7 @@ The event subscriptions are called in reverse order (i.e. the last registered su ## Pattern ```jsx -BackHandler.addEventListener('hardwareBackPress', function() { +BackHandler.addEventListener('hardwareBackPress', function () { /** * this.onMainScreen and this.goBack are just examples, * you need to use your own implementation here. diff --git a/docs/building-for-tv.md b/docs/building-for-tv.md index bd8c7b7b225..f5e52bf1400 100644 --- a/docs/building-for-tv.md +++ b/docs/building-for-tv.md @@ -57,7 +57,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { @@ -143,7 +143,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { diff --git a/docs/native-modules-ios.md b/docs/native-modules-ios.md index e1eed0f12ba..1cde5437000 100644 --- a/docs/native-modules-ios.md +++ b/docs/native-modules-ios.md @@ -249,21 +249,21 @@ NativeCalendarModule.createCalendarEvent('foo', 'bar'); When a native module method is invoked in JavaScript, React Native converts the arguments from JS objects to their Objective-C/Swift object analogues. So for example, if your Objective-C Native Module method accepts a NSNumber, in JS you need to call the method with a number. React Native will handle the conversion for you. Below is a list of the argument types supported for native module methods and the JavaScript equivalents they map to. -| Objective-C | JavaScript | -| --- | --- | -| NSString | string | -| NSString | ?string | -| BOOL | boolean | -| NSNumber | ?boolean | -| double | number | -| NSNumber | ?number | -| NSArray | Array | -| NSArray | ?Array | -| NSDictionary | Object | -| NSDictionary | ?Object | -| RCTResponseSenderBlock | Function (success) | +| Objective-C | JavaScript | +| --------------------------------------------- | ------------------ | +| NSString | string | +| NSString | ?string | +| BOOL | boolean | +| NSNumber | ?boolean | +| double | number | +| NSNumber | ?number | +| NSArray | Array | +| NSArray | ?Array | +| NSDictionary | Object | +| NSDictionary | ?Object | +| RCTResponseSenderBlock | Function (success) | | RCTResponseSenderBlock, RCTResponseErrorBlock | Function (failure) | -| RCTPromiseResolveBlock, RCTPromiseRejectBlock | Promise | +| RCTPromiseResolveBlock, RCTPromiseRejectBlock | Promise | > The following types are currently supported but will not be supported in TurboModules. Please avoid using them. > diff --git a/package.json b/package.json index bd5411a4a4d..c19d4512362 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "husky": "^4.2.5", - "prettier": "1.16.4", - "pretty-quick": "^1.11.1" + "prettier": "^2.2.1", + "pretty-quick": "^3.1.0" } } diff --git a/plugins/remark-snackplayer/src/index.js b/plugins/remark-snackplayer/src/index.js index 7734bd7bba8..86ae9374e7d 100644 --- a/plugins/remark-snackplayer/src/index.js +++ b/plugins/remark-snackplayer/src/index.js @@ -72,9 +72,7 @@ const SnackPlayer = () => { }); // Wait for all promises to be resolved - Promise.all(nodesToProcess) - .then(resolve()) - .catch(reject()); + Promise.all(nodesToProcess).then(resolve()).catch(reject()); }); }; diff --git a/sync-api-docs/generateMarkdown.js b/sync-api-docs/generateMarkdown.js index 8a572582519..ab73fb23377 100644 --- a/sync-api-docs/generateMarkdown.js +++ b/sync-api-docs/generateMarkdown.js @@ -100,9 +100,7 @@ function generateMethod(method, component) { obj.map(item => { if (item.description.trim() !== 'missing') - mdPoints += `- '${item.key}' (${item.value.name}) - ${ - item.description - }`; + mdPoints += `- '${item.key}' (${item.value.name}) - ${item.description}`; else mdPoints += `- '${item.key}' (${item.value.name})`; }); } @@ -203,7 +201,7 @@ function generateProps({props, composes}) { Object.keys(props) .sort((a, b) => a.localeCompare(b)) .sort((a, b) => props[b].required - props[a].required) - .map(function(propName) { + .map(function (propName) { return generateProp(propName, props[propName]); }) .join('\n\n---\n\n') @@ -226,7 +224,7 @@ function generateMethods(component) { b.name /* TODO @nocommit what's a neutral locale */ ) ) - .map(function(method) { + .map(function (method) { return generateMethod(method, component); }) .join('\n\n---\n\n') @@ -291,15 +289,11 @@ function preprocessDescription(desc) { return ( desc.substr(0, desc.search('```SnackPlayer')) + `\n## Example\n` + - `${playgroundTab}\n\n${functionalBlock}\n\n${'`' + - firstExample.substr( - 0, - firstExample.search('```') + 3 - )}\n\n${classBlock}\n\n${'`' + - secondExample.substr( - 0, - secondExample.search('```') + 3 - )}\n\n${endBlock}` + + `${playgroundTab}\n\n${functionalBlock}\n\n${ + '`' + firstExample.substr(0, firstExample.search('```') + 3) + }\n\n${classBlock}\n\n${ + '`' + secondExample.substr(0, secondExample.search('```') + 3) + }\n\n${endBlock}` + secondExample.substr(secondExample.search('```') + 3) ); } else { diff --git a/website/package.json b/website/package.json index 82ed99c7e3d..6d8754995a8 100644 --- a/website/package.json +++ b/website/package.json @@ -18,11 +18,13 @@ "clean": "docusaurus clean", "publish-gh-pages": "yarn deploy", "ci-check": "yarn prettier:diff && node image-check.js", - "format:source": "prettier --write \"{core/**/*.js,src/**/*.js,static/js/**/*.js}\"", - "format:markdown": "prettier --write \"{../docs/*.md,versioned_docs/**/*.md,blog/**/*.md}\"", - "nit:source": "prettier --list-different \"{core/**/*.js,src/**/*.js,static/js/**/*.js}\"", - "nit:markdown": "prettier --list-different \"{../docs/*.md,versioned_docs/**/*.md,blog/**/*.md}\"", - "prettier": "yarn format:source && yarn format:markdown", + "format:source": "prettier --write {{core,src}/**/*.js,*.js}", + "format:markdown": "prettier --write ../docs/*.md && prettier --write {{versioned_docs,src}/**/*.md,blog/*.md}", + "format:style": "prettier --write src/**/*.{scss,css}", + "nit:source": "prettier --list-different {{core,src}/**/*.js,*.js}", + "nit:markdown": "prettier --list-different ../docs/*.md && prettier --list-different {{versioned_docs,src}/**/*.md,blog/*.md}", + "nit:style": "&& prettier --write src/**/*.{scss,css}", + "prettier": "yarn format:source && yarn format:markdown && yarn format:style", "prettier:diff": "yarn nit:source", "test": "yarn build", "lint": "cd ../ && alex .", diff --git a/website/versioned_docs/version-0.60/backhandler.md b/website/versioned_docs/version-0.60/backhandler.md index 286992f75c2..2c9fc9db060 100644 --- a/website/versioned_docs/version-0.60/backhandler.md +++ b/website/versioned_docs/version-0.60/backhandler.md @@ -16,7 +16,7 @@ The event subscriptions are called in reverse order (i.e. last registered subscr Example: ```jsx -BackHandler.addEventListener('hardwareBackPress', function() { +BackHandler.addEventListener('hardwareBackPress', function () { // this.onMainScreen and this.goBack are just examples, you need to use your own implementation here // Typically you would use the navigator here to go to the last state. diff --git a/website/versioned_docs/version-0.60/building-for-tv.md b/website/versioned_docs/version-0.60/building-for-tv.md index 6341512205e..b55ac6d77c3 100644 --- a/website/versioned_docs/version-0.60/building-for-tv.md +++ b/website/versioned_docs/version-0.60/building-for-tv.md @@ -57,7 +57,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { @@ -139,7 +139,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { diff --git a/website/versioned_docs/version-0.60/listview.md b/website/versioned_docs/version-0.60/listview.md index 555f0c420f7..e5cab27e8e0 100644 --- a/website/versioned_docs/version-0.60/listview.md +++ b/website/versioned_docs/version-0.60/listview.md @@ -268,7 +268,7 @@ Exports some data, e.g. for perf investigations or analytics. ### `scrollTo()` ```jsx -scrollTo(...args: Array) +scrollTo((...args: Array)); ``` Scrolls to a given x, y offset, either immediately or with a smooth animation. diff --git a/website/versioned_docs/version-0.60/webview.md b/website/versioned_docs/version-0.60/webview.md index 3c262d976b7..2c12ba78977 100644 --- a/website/versioned_docs/version-0.60/webview.md +++ b/website/versioned_docs/version-0.60/webview.md @@ -203,7 +203,7 @@ Function that is invoked when the `WebView` loading starts or ends. ### `originWhitelist` -List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are "http://*" and "https://*". +List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are `"http://*"` and `"https://*"`. | Type | Required | | ---------------- | -------- | diff --git a/website/versioned_docs/version-0.61/backhandler.md b/website/versioned_docs/version-0.61/backhandler.md index 286992f75c2..2c9fc9db060 100644 --- a/website/versioned_docs/version-0.61/backhandler.md +++ b/website/versioned_docs/version-0.61/backhandler.md @@ -16,7 +16,7 @@ The event subscriptions are called in reverse order (i.e. last registered subscr Example: ```jsx -BackHandler.addEventListener('hardwareBackPress', function() { +BackHandler.addEventListener('hardwareBackPress', function () { // this.onMainScreen and this.goBack are just examples, you need to use your own implementation here // Typically you would use the navigator here to go to the last state. diff --git a/website/versioned_docs/version-0.61/building-for-tv.md b/website/versioned_docs/version-0.61/building-for-tv.md index 6341512205e..b55ac6d77c3 100644 --- a/website/versioned_docs/version-0.61/building-for-tv.md +++ b/website/versioned_docs/version-0.61/building-for-tv.md @@ -57,7 +57,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { @@ -139,7 +139,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { diff --git a/website/versioned_docs/version-0.61/listview.md b/website/versioned_docs/version-0.61/listview.md index 555f0c420f7..e5cab27e8e0 100644 --- a/website/versioned_docs/version-0.61/listview.md +++ b/website/versioned_docs/version-0.61/listview.md @@ -268,7 +268,7 @@ Exports some data, e.g. for perf investigations or analytics. ### `scrollTo()` ```jsx -scrollTo(...args: Array) +scrollTo((...args: Array)); ``` Scrolls to a given x, y offset, either immediately or with a smooth animation. diff --git a/website/versioned_docs/version-0.61/webview.md b/website/versioned_docs/version-0.61/webview.md index 3c262d976b7..2c12ba78977 100644 --- a/website/versioned_docs/version-0.61/webview.md +++ b/website/versioned_docs/version-0.61/webview.md @@ -203,7 +203,7 @@ Function that is invoked when the `WebView` loading starts or ends. ### `originWhitelist` -List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are "http://*" and "https://*". +List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are `"http://*"` and `"https://*"`. | Type | Required | | ---------------- | -------- | diff --git a/website/versioned_docs/version-0.62/backhandler.md b/website/versioned_docs/version-0.62/backhandler.md index 8920ae4d490..877ad168290 100644 --- a/website/versioned_docs/version-0.62/backhandler.md +++ b/website/versioned_docs/version-0.62/backhandler.md @@ -17,7 +17,7 @@ The event subscriptions are called in reverse order (i.e. the last registered su ## Pattern ```jsx -BackHandler.addEventListener('hardwareBackPress', function() { +BackHandler.addEventListener('hardwareBackPress', function () { /** * this.onMainScreen and this.goBack are just examples, * you need to use your own implementation here. diff --git a/website/versioned_docs/version-0.62/building-for-tv.md b/website/versioned_docs/version-0.62/building-for-tv.md index 06d6641c39f..df411f6c6a0 100644 --- a/website/versioned_docs/version-0.62/building-for-tv.md +++ b/website/versioned_docs/version-0.62/building-for-tv.md @@ -57,7 +57,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { @@ -143,7 +143,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { diff --git a/website/versioned_docs/version-0.62/listview.md b/website/versioned_docs/version-0.62/listview.md index 555f0c420f7..e5cab27e8e0 100644 --- a/website/versioned_docs/version-0.62/listview.md +++ b/website/versioned_docs/version-0.62/listview.md @@ -268,7 +268,7 @@ Exports some data, e.g. for perf investigations or analytics. ### `scrollTo()` ```jsx -scrollTo(...args: Array) +scrollTo((...args: Array)); ``` Scrolls to a given x, y offset, either immediately or with a smooth animation. diff --git a/website/versioned_docs/version-0.62/webview.md b/website/versioned_docs/version-0.62/webview.md index 3c262d976b7..2c12ba78977 100644 --- a/website/versioned_docs/version-0.62/webview.md +++ b/website/versioned_docs/version-0.62/webview.md @@ -203,7 +203,7 @@ Function that is invoked when the `WebView` loading starts or ends. ### `originWhitelist` -List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are "http://*" and "https://*". +List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are `"http://*"` and `"https://*"`. | Type | Required | | ---------------- | -------- | diff --git a/website/versioned_docs/version-0.63/backhandler.md b/website/versioned_docs/version-0.63/backhandler.md index 42e507c46c6..f86a5730492 100644 --- a/website/versioned_docs/version-0.63/backhandler.md +++ b/website/versioned_docs/version-0.63/backhandler.md @@ -17,7 +17,7 @@ The event subscriptions are called in reverse order (i.e. the last registered su ## Pattern ```jsx -BackHandler.addEventListener('hardwareBackPress', function() { +BackHandler.addEventListener('hardwareBackPress', function () { /** * this.onMainScreen and this.goBack are just examples, * you need to use your own implementation here. diff --git a/website/versioned_docs/version-0.63/building-for-tv.md b/website/versioned_docs/version-0.63/building-for-tv.md index 6341512205e..b55ac6d77c3 100644 --- a/website/versioned_docs/version-0.63/building-for-tv.md +++ b/website/versioned_docs/version-0.63/building-for-tv.md @@ -57,7 +57,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { @@ -139,7 +139,7 @@ class Game2048 extends React.Component { _enableTVEventHandler() { this._tvEventHandler = new TVEventHandler(); - this._tvEventHandler.enable(this, function(cmp, evt) { + this._tvEventHandler.enable(this, function (cmp, evt) { if (evt && evt.eventType === 'right') { cmp.setState({ board: cmp.state.board.move(2) }); } else if (evt && evt.eventType === 'up') { diff --git a/website/versioned_docs/version-0.63/listview.md b/website/versioned_docs/version-0.63/listview.md index 555f0c420f7..e5cab27e8e0 100644 --- a/website/versioned_docs/version-0.63/listview.md +++ b/website/versioned_docs/version-0.63/listview.md @@ -268,7 +268,7 @@ Exports some data, e.g. for perf investigations or analytics. ### `scrollTo()` ```jsx -scrollTo(...args: Array) +scrollTo((...args: Array)); ``` Scrolls to a given x, y offset, either immediately or with a smooth animation. diff --git a/website/versioned_docs/version-0.63/webview.md b/website/versioned_docs/version-0.63/webview.md index 3c262d976b7..2c12ba78977 100644 --- a/website/versioned_docs/version-0.63/webview.md +++ b/website/versioned_docs/version-0.63/webview.md @@ -203,7 +203,7 @@ Function that is invoked when the `WebView` loading starts or ends. ### `originWhitelist` -List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are "http://*" and "https://*". +List of origin strings to allow being navigated to. The strings allow wildcards and get matched against _only_ the origin (not the full URL). If the user taps to navigate to a new page but the new page is not in this safelist, the URL will be handled by the OS. The default safelistlisted origins are `"http://*"` and `"https://*"`. | Type | Required | | ---------------- | -------- | diff --git a/yarn.lock b/yarn.lock index 598cebc67e4..dfa056ebe56 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1760,7 +1760,7 @@ dependencies: "@types/unist" "*" -"@types/minimatch@*": +"@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== @@ -2249,10 +2249,10 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= -array-differ@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1" - integrity sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w== +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== array-filter@^1.0.0: version "1.0.0" @@ -2279,7 +2279,7 @@ array-iterate@^1.0.0: resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.4.tgz#add1522e9dd9749bb41152d08b845bd08d6af8b7" integrity sha512-sNRaPGh9nnmdC8Zf+pT3UqP8rnWj5Hf9wiFGsX3wUQ2yVSIhO2ShFwCoceIPpB41QF6i2OEmrHmCo36xronCVA== -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -2306,6 +2306,11 @@ arrify@^1.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + asap@~2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2967,7 +2972,7 @@ ccount@^1.0.0, ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== -chalk@2.4.2, chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3564,15 +3569,6 @@ cross-spawn@^3.0.0: lru-cache "^4.0.1" which "^1.2.9" -cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -4525,19 +4521,6 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -execa@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" - integrity sha1-2NdrvBtVIX7RkP1t1J08d07PyNo= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" @@ -4567,6 +4550,21 @@ execa@^3.4.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" + integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + expand-brackets@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" @@ -4864,13 +4862,6 @@ find-up@^1.0.0: path-exists "^2.0.0" pinkie-promise "^2.0.0" -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= - dependencies: - locate-path "^2.0.0" - find-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" @@ -5110,11 +5101,6 @@ get-stdin@^4.0.1: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= -get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= - get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -5862,7 +5848,7 @@ iferr@^0.1.5: resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= -ignore@^3.3.5, ignore@^3.3.7: +ignore@^3.3.5: version "3.3.10" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== @@ -6800,14 +6786,6 @@ loader-utils@^2.0.0: emojis-list "^3.0.0" json5 "^2.1.2" -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - locate-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" @@ -7496,7 +7474,7 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" -mri@^1.1.0: +mri@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.6.tgz#49952e1044db21dbf90f6cd92bc9c9a777d415a6" integrity sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ== @@ -7529,14 +7507,15 @@ multicast-dns@^6.0.1: dns-packet "^1.3.1" thunky "^1.0.2" -multimatch@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b" - integrity sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA== +multimatch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" + integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== dependencies: - array-differ "^2.0.3" - array-union "^1.0.2" - arrify "^1.0.1" + "@types/minimatch" "^3.0.3" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" minimatch "^3.0.4" mute-stream@0.0.8: @@ -8030,13 +8009,6 @@ p-finally@^2.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561" integrity sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw== -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -8051,13 +8023,6 @@ p-limit@^3.0.2: dependencies: p-try "^2.0.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= - dependencies: - p-limit "^1.1.0" - p-locate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" @@ -8098,11 +8063,6 @@ p-retry@^3.0.1: dependencies: retry "^0.12.0" -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -9085,10 +9045,10 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier@1.16.4: - version "1.16.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" - integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g== +prettier@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" + integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== pretty-error@^2.1.1: version "2.1.2" @@ -9098,17 +9058,17 @@ pretty-error@^2.1.1: lodash "^4.17.20" renderkid "^2.0.4" -pretty-quick@^1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-1.11.1.tgz#462ffa2b93d24c05b7a0c3a001e08601a0c55ee4" - integrity sha512-kSXCkcETfak7EQXz6WOkCeCqpbC4GIzrN/vaneTGMP/fAtD8NerA9bPhCUqHAks1geo7biZNl5uEMPceeneLuA== - dependencies: - chalk "^2.3.0" - execa "^0.8.0" - find-up "^2.1.0" - ignore "^3.3.7" - mri "^1.1.0" - multimatch "^3.0.0" +pretty-quick@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.1.0.tgz#cb172e9086deb57455dea7c7e8f136cd0a4aef6c" + integrity sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ== + dependencies: + chalk "^3.0.0" + execa "^4.0.0" + find-up "^4.1.0" + ignore "^5.1.4" + mri "^1.1.5" + multimatch "^4.0.0" pretty-time@^1.1.0: version "1.1.0"