Skip to content

Commit e40e4b4

Browse files
authored
Update dependencies in package.json for Prettier (facebook#4384)
1 parent f007b3f commit e40e4b4

File tree

20 files changed

+469
-295
lines changed

20 files changed

+469
-295
lines changed

docs/other-debugging-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Under Remote JavaScript Debugging, the web version of React DevTools in Chrome w
6464
:::
6565

6666
:::note
67-
On Android, if the times between the debugger and device have drifted, things such as animations and event behavior might not work properly. This can be fixed by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" ``. Root access is required if using a physical device.
67+
On Android, if the times between the debugger and device have drifted, things such as animations and event behavior might not work properly. This can be fixed by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"``. Root access is required if using a physical device.
6868
:::
6969

7070
### Debugging on a physical device

docs/timers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `Promise` implementation uses `setImmediate` as its asynchronicity implement
2020

2121
:::note
2222
When debugging on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate.
23-
Please correct this by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" `` on your debugger machine. Root access is required for the use in real device.
23+
Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on your debugger machine. Root access is required for the use in real device.
2424
:::
2525

2626
## InteractionManager

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"babel-eslint": "^10.1.0",
2626
"case-police": "^0.5.14",
2727
"eslint": "^8.20.0",
28-
"eslint-config-prettier": "^8.5.0",
29-
"eslint-plugin-mdx": "^1.16.0",
30-
"eslint-plugin-prettier": "^4.2.1",
28+
"eslint-config-prettier": "^9.1.0",
29+
"eslint-plugin-mdx": "^3.1.5",
30+
"eslint-plugin-prettier": "^5.2.1",
3131
"eslint-plugin-yml": "^1.2.0",
3232
"husky": "^4.3.8",
3333
"netlify-plugin-cache": "^1.0.3",
34-
"prettier": "^2.7.1",
35-
"pretty-quick": "^3.1.3",
34+
"prettier": "^3.4.2",
35+
"pretty-quick": "^4.0.0",
3636
"yarn-deduplicate": "^5.0.0"
3737
},
3838
"resolutions": {

website/blog/2017-03-13-idx-the-existential-function.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ In practice, try-catching every nested property access is slow, and differentiat
4040
props.user == null
4141
? props.user
4242
: props.user.friends == null
43-
? props.user.friends
44-
: props.user.friends[0] == null
45-
? props.user.friends[0]
46-
: props.user.friends[0].friends;
43+
? props.user.friends
44+
: props.user.friends[0] == null
45+
? props.user.friends[0]
46+
: props.user.friends[0].friends;
4747
```
4848

4949
Finally, we added a custom Flow type declaration for `idx` that allows the traversal in the second argument to be properly type-checked while permitting nested access on nullable properties.

website/src/css/customTheme.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,9 @@ button[class*="tocCollapsibleButton"] {
11421142
padding: 1.5rem !important;
11431143
border: 1px solid var(--ifm-color-emphasis-300) !important;
11441144
box-shadow: none !important;
1145-
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out !important;
1145+
transition:
1146+
background-color 0.2s ease-in-out,
1147+
border-color 0.2s ease-in-out !important;
11461148
background-color: var(--ifm-background-color);
11471149

11481150
&:hover {

website/versioned_docs/version-0.70/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To debug the JavaScript code in Chrome, select "Debug JS Remotely" from the Deve
5959

6060
Select `Tools → Developer Tools` from the Chrome Menu to open the [Developer Tools](https://developer.chrome.com/devtools). You may also access the DevTools using keyboard shortcuts (`⌘⌥I` on macOS, `Ctrl` `Shift` `I` on Windows). You may also want to enable [Pause On Caught Exceptions](http://stackoverflow.com/questions/2233339/javascript-is-there-a-way-to-get-chrome-to-break-on-all-errors/17324511#17324511) for a better debugging experience.
6161

62-
> Note: on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate. Please correct this by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" `` on your debugger machine. Root access is required for the use in real device.
62+
> Note: on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate. Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on your debugger machine. Root access is required for the use in real device.
6363
6464
> Note: the React Developer Tools Chrome extension does not work with React Native, but you can use its standalone version instead. Read [this section](debugging.md#react-developer-tools) to learn how.
6565

website/versioned_docs/version-0.70/timers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `Promise` implementation uses `setImmediate` as its asynchronicity implement
2020

2121
:::note
2222
When debugging on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate.
23-
Please correct this by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" `` on your debugger machine. Root access is required for the use in real device.
23+
Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on your debugger machine. Root access is required for the use in real device.
2424
:::
2525

2626
## InteractionManager

website/versioned_docs/version-0.71/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To debug the JavaScript code in Chrome, select "Debug JS Remotely" from the Deve
5959

6060
Select `Tools → Developer Tools` from the Chrome Menu to open the [Developer Tools](https://developer.chrome.com/devtools). You may also access the DevTools using keyboard shortcuts (`⌘⌥I` on macOS, `Ctrl` `Shift` `I` on Windows). You may also want to enable [Pause On Caught Exceptions](http://stackoverflow.com/questions/2233339/javascript-is-there-a-way-to-get-chrome-to-break-on-all-errors/17324511#17324511) for a better debugging experience.
6161

62-
> Note: on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate. Please correct this by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" `` on your debugger machine. Root access is required for the use in real device.
62+
> Note: on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate. Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on your debugger machine. Root access is required for the use in real device.
6363
6464
> Note: the React Developer Tools Chrome extension does not work with React Native, but you can use its standalone version instead. Read [this section](debugging.md#react-developer-tools) to learn how.
6565

website/versioned_docs/version-0.71/timers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `Promise` implementation uses `setImmediate` as its asynchronicity implement
2020

2121
:::note
2222
When debugging on Android, if the times between the debugger and device have drifted; things such as animation, event behavior, etc., might not work properly or the results may not be accurate.
23-
Please correct this by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" `` on your debugger machine. Root access is required for the use in real device.
23+
Please correct this by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"`` on your debugger machine. Root access is required for the use in real device.
2424
:::
2525

2626
## InteractionManager

website/versioned_docs/version-0.72/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The React Developer Tools Chrome extension does not work with React Native, but
7070
:::
7171

7272
:::note
73-
On Android, if the times between the debugger and device have drifted, things such as animations and event behavior might not work properly. This can be fixed by running `` adb shell "date `date +%m%d%H%M%Y.%S%3N`" ``. Root access is required if using a physical device.
73+
On Android, if the times between the debugger and device have drifted, things such as animations and event behavior might not work properly. This can be fixed by running ``adb shell "date `date +%m%d%H%M%Y.%S%3N`"``. Root access is required if using a physical device.
7474
:::
7575

7676
### Debugging on a physical device

0 commit comments

Comments
 (0)