Skip to content

Commit db420dd

Browse files
committed
build(deps): upgrade dev dependencies
1 parent 214fcf4 commit db420dd

File tree

7 files changed

+1920
-1766
lines changed

7 files changed

+1920
-1766
lines changed

example/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22

33
module.exports = {
44
projectRoot: __dirname,
5-
watchFolders: [path.resolve('../table-plugin')],
5+
watchFolders: [path.resolve('../packages/table-plugin')],
66
resolver: {
77
extraNodeModules: new Proxy(
88
{},

example/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"@react-native-community/masked-view": "0.1.10",
1414
"@react-navigation/native": "^5.7.5",
1515
"@react-navigation/stack": "^5.9.2",
16-
"expo": "~39.0.2",
17-
"expo-status-bar": "~1.0.2",
16+
"expo": "~39.0.5",
17+
"expo-status-bar": "~1.0.3",
1818
"expo-web-browser": "~8.5.0",
19-
"react": "16.13.1",
20-
"react-dom": "16.13.1",
19+
"react": "16.14.0",
20+
"react-dom": "16.14.0",
2121
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",
2222
"react-native-gesture-handler": "~1.7.0",
2323
"react-native-picker-select": "^8.0.0",
@@ -30,7 +30,7 @@
3030
"react-native-webview": "10.7.0"
3131
},
3232
"devDependencies": {
33-
"@babel/core": "~7.11.6"
33+
"@babel/core": "~7.12.9"
3434
},
3535
"private": true,
3636
"installConfig": {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"@commitlint/config-conventional": "^11.0.0",
1616
"@formidable-webview/eslint-config-webjs": "^1.0.0",
1717
"@react-native-community/eslint-config": "^2.0.0",
18-
"@typescript-eslint/eslint-plugin": "^4.4.0",
19-
"@typescript-eslint/parser": "^4.4.0",
20-
"eslint": "^7.10.0",
18+
"@typescript-eslint/eslint-plugin": "^4.8.2",
19+
"@typescript-eslint/parser": "^4.8.2",
20+
"eslint": "^7.14.0",
2121
"eslint-plugin-compat": "^3.8.0",
2222
"eslint-plugin-tsdoc": "^0.2.7",
2323
"husky": "^4.3.0",
24-
"prettier": "^2.1.2"
24+
"prettier": "^2.2.0"
2525
},
2626
"resolutions": {
2727
"react": "16.13.1",

packages/table-plugin/docs/table-plugin.tablecontentheightstate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ An object describing the present knowledge of content height.
1111
```typescript
1212
export declare type TableContentHeightState = TableHeuristicContentHeightState | TableAccurateContentHeightState;
1313
```
14+
<b>References:</b> [TableHeuristicContentHeightState](./table-plugin.tableheuristiccontentheightstate.md)<!-- -->, [TableAccurateContentHeightState](./table-plugin.tableaccuratecontentheightstate.md)
15+

packages/table-plugin/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
"table"
3030
],
3131
"devDependencies": {
32-
"@babel/cli": "^7.11.6",
33-
"@babel/core": "^7.11.6",
34-
"@babel/plugin-transform-react-jsx": "^7.10.4",
35-
"@babel/preset-typescript": "^7.10.4",
36-
"@babel/runtime": "^7.11.2",
37-
"@formidable-webview/ersatz": "^2.0.3",
38-
"@formidable-webview/ersatz-testing": "^2.0.2",
32+
"@babel/cli": "^7.12.8",
33+
"@babel/core": "^7.12.9",
34+
"@babel/plugin-transform-react-jsx": "^7.12.7",
35+
"@babel/preset-typescript": "^7.12.7",
36+
"@babel/runtime": "^7.12.5",
37+
"@formidable-webview/ersatz": "^2.1.2",
38+
"@formidable-webview/ersatz-testing": "^2.0.5",
3939
"@microsoft/api-documenter": "^7.8.56",
4040
"@microsoft/api-extractor": "7.9.22",
4141
"@react-native-community/bob": "^0.16.2",
@@ -47,26 +47,26 @@
4747
"@types/react": "^16.9.49",
4848
"@types/react-native": "^0.63.22",
4949
"@types/react-test-renderer": "^16.9.3",
50-
"babel-jest": "^26.3.0",
50+
"babel-jest": "^26.6.3",
5151
"babel-plugin-inline-import": "^3.0.0",
52-
"eslint": "^7.10.0",
52+
"eslint": "^7.14.0",
5353
"html-validator": "^5.1.17",
54-
"jest": "^26.4.2",
55-
"metro-react-native-babel-preset": "^0.63.0",
56-
"metro-react-native-babel-transformer": "^0.63.0",
57-
"react": "16.13.1",
54+
"jest": "^26.6.3",
55+
"metro-react-native-babel-preset": "^0.64.0",
56+
"metro-react-native-babel-transformer": "^0.64.0",
57+
"react": "16.14.0",
5858
"react-native": "^0.63.2",
5959
"react-native-render-html": "^4.2.4",
6060
"react-native-webview": "^10.9.0",
6161
"react-test-renderer": "16.13.1",
62-
"release-it": "^14.0.3",
62+
"release-it": "^14.2.2",
6363
"typescript": "~3.9.7"
6464
},
6565
"dependencies": {
66-
"@formidable-webview/webshell": "2.0.0",
66+
"@formidable-webview/webshell": "2.0.2",
6767
"@types/prop-types": "^15.7.3",
6868
"prop-types": "^15.7.2",
69-
"stringify-entities": "^3.0.1"
69+
"stringify-entities": "^3.1.0"
7070
},
7171
"peerDependencies": {
7272
"react": ">= 16.8.0",

packages/table-plugin/src/HTMLTable.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ function useAnimatedAutoheight<WVP extends MinimalWebViewProps>({
130130
>
131131
>) {
132132
const animatedHeight = useRef(new Animated.Value(0)).current;
133-
const { autoheightWebshellProps, contentSize, syncState } = useAutoheight<
134-
WVP
135-
>({
133+
const {
134+
autoheightWebshellProps,
135+
contentSize,
136+
syncState
137+
} = useAutoheight<WVP>({
136138
webshellProps: webViewProps as any,
137139
resetHeightOnViewportWidthChange: false
138140
});

0 commit comments

Comments
 (0)