Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 901beb7

Browse files
committed
build(deps): upgrade dev dependencies
1 parent 961de3d commit 901beb7

File tree

9 files changed

+1118
-523
lines changed

9 files changed

+1118
-523
lines changed

example/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
"@native-html/iframe-plugin": "workspace:*",
1414
"@native-html/table-plugin": "workspace:*",
1515
"@react-native-community/masked-view": "0.1.10",
16-
"@react-navigation/native": "^5.9.2",
17-
"@react-navigation/stack": "^5.14.2",
16+
"@react-navigation/native": "^5.9.8",
17+
"@react-navigation/stack": "^5.14.9",
1818
"expo": "^40.0.0",
1919
"expo-status-bar": "~1.0.3",
2020
"expo-web-browser": "~8.6.0",
2121
"react": "16.13.1",
2222
"react-dom": "16.13.1",
2323
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
2424
"react-native-gesture-handler": "~1.8.0",
25-
"react-native-paper": "^4.7.1",
25+
"react-native-paper": "^4.9.2",
2626
"react-native-reanimated": "~1.13.2",
2727
"react-native-render-html": "6.1.0",
2828
"react-native-safe-area-context": "3.1.9",
@@ -31,7 +31,7 @@
3131
"react-native-webview": "11.0.0"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "~7.12.13"
34+
"@babel/core": "~7.15.5"
3535
},
3636
"private": true,
3737
"installConfig": {

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
"@commitlint/cli": "^11.0.0",
2828
"@commitlint/config-conventional": "^11.0.0",
2929
"@formidable-webview/eslint-config-webjs": "^1.0.0",
30-
"@react-native-community/eslint-config": "^2.0.0",
31-
"@typescript-eslint/eslint-plugin": "^4.8.2",
32-
"@typescript-eslint/parser": "^4.8.2",
33-
"eslint": "^7.14.0",
34-
"eslint-plugin-compat": "^3.8.0",
35-
"eslint-plugin-tsdoc": "^0.2.7",
36-
"husky": "^4.3.0",
37-
"prettier": "^2.2.0"
30+
"@react-native-community/eslint-config": "^3.0.1",
31+
"@typescript-eslint/eslint-plugin": "^4.30.0",
32+
"@typescript-eslint/parser": "^4.30.0",
33+
"eslint": "^7.32.0",
34+
"eslint-plugin-compat": "^3.13.0",
35+
"eslint-plugin-tsdoc": "^0.2.14",
36+
"husky": "^4.3.8",
37+
"prettier": "^2.3.2"
3838
},
3939
"resolutions": {
4040
"react": "16.13.1",

packages/iframe-plugin/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@
3131
"plugins"
3232
],
3333
"devDependencies": {
34-
"@babel/cli": "^7.12.13",
35-
"@babel/core": "^7.12.13",
36-
"@babel/plugin-transform-react-jsx": "^7.12.13",
37-
"@babel/preset-typescript": "^7.12.13",
38-
"@babel/runtime": "^7.12.13",
34+
"@babel/cli": "^7.15.4",
35+
"@babel/core": "^7.15.5",
36+
"@babel/plugin-transform-react-jsx": "^7.14.9",
37+
"@babel/preset-typescript": "^7.15.0",
38+
"@babel/runtime": "^7.15.4",
3939
"@formidable-webview/ersatz": "^2.1.2",
4040
"@formidable-webview/ersatz-testing": "^2.0.5",
4141
"@microsoft/api-documenter": "^7.12.7",
4242
"@microsoft/api-extractor": "7.13.1",
43-
"@release-it/conventional-changelog": "^2.0.0",
44-
"@testing-library/react-native": "^7.1.0",
45-
"@types/jest": "^26.0.14",
46-
"@types/react": "^16.9.49",
47-
"@types/react-native": "^0.63.22",
48-
"@types/react-test-renderer": "^16.9.3",
43+
"@release-it/conventional-changelog": "^2.0.1",
44+
"@testing-library/react-native": "^7.2.0",
45+
"@types/jest": "^26.0.24",
46+
"@types/react": "^16.14.14",
47+
"@types/react-native": "^0.63.53",
48+
"@types/react-test-renderer": "^16.9.5",
4949
"babel-jest": "^26.6.3",
50-
"eslint": "^7.14.0",
50+
"eslint": "^7.32.0",
5151
"jest": "^26.6.3",
5252
"metro-react-native-babel-preset": "^0.64.0",
5353
"metro-react-native-babel-transformer": "^0.64.0",
@@ -58,12 +58,12 @@
5858
"react-native-webview": "11.0.0",
5959
"react-test-renderer": "16.13.1",
6060
"release-it": "^14.3.0",
61-
"typescript": "~4.1.3"
61+
"typescript": "~4.4.2"
6262
},
6363
"dependencies": {
64-
"@formidable-webview/webshell": "^2.5.0",
64+
"@formidable-webview/webshell": "^2.6.0",
6565
"@native-html/plugins-core": "workspace:*",
66-
"@types/prop-types": "^15.7.3",
66+
"@types/prop-types": "^15.7.4",
6767
"prop-types": "^15.7.2"
6868
},
6969
"peerDependencies": {

packages/iframe-plugin/src/useHtmlIframeProps.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const defaultIframeConfig: IframeConfig = {
2929
* @public
3030
*/
3131
export default function useHtmlIframeProps(
32-
{ key, style, tnode }: CustomRendererProps<TBlock>,
32+
{ style, tnode }: CustomRendererProps<TBlock>,
3333
iframeConfig?: IframeConfig
34-
): (HTMLIframeProps & { key?: any }) | null {
34+
): HTMLIframeProps | null {
3535
const {
3636
WebView,
3737
defaultWebViewProps,
@@ -90,7 +90,6 @@ export default function useHtmlIframeProps(
9090
return WebView
9191
? {
9292
...resolvedConfig,
93-
key,
9493
source,
9594
onLinkPress,
9695
htmlAttribs,

packages/plugins-core/package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@
2424
},
2525
"keywords": [],
2626
"devDependencies": {
27-
"@babel/cli": "^7.12.13",
28-
"@babel/core": "^7.12.13",
29-
"@babel/plugin-transform-react-jsx": "^7.12.13",
30-
"@babel/preset-typescript": "^7.12.13",
31-
"@babel/runtime": "^7.12.13",
32-
"@formidable-webview/webshell": "^2.5.0",
27+
"@babel/cli": "^7.15.4",
28+
"@babel/core": "^7.15.5",
29+
"@babel/plugin-transform-react-jsx": "^7.14.9",
30+
"@babel/preset-typescript": "^7.15.0",
31+
"@babel/runtime": "^7.15.4",
32+
"@formidable-webview/webshell": "^2.6.0",
3333
"@microsoft/api-extractor": "7.13.1",
34-
"@release-it/conventional-changelog": "^2.0.0",
35-
"@testing-library/react-native": "^7.1.0",
36-
"@tsconfig/react-native": "^1.0.2",
37-
"@types/html-validator": "^5.0.0",
38-
"@types/jest": "^26.0.14",
39-
"@types/react": "^16.9.49",
40-
"@types/react-native": "^0.63.22",
41-
"@types/react-test-renderer": "^16.9.3",
34+
"@release-it/conventional-changelog": "^2.0.1",
35+
"@testing-library/react-native": "^7.2.0",
36+
"@tsconfig/react-native": "^1.0.3",
37+
"@types/html-validator": "^5.0.1",
38+
"@types/jest": "^26.0.24",
39+
"@types/react": "^16.14.14",
40+
"@types/react-native": "^0.63.53",
41+
"@types/react-test-renderer": "^16.9.5",
4242
"babel-jest": "^26.6.3",
43-
"eslint": "^7.14.0",
43+
"eslint": "^7.32.0",
4444
"jest": "^26.6.3",
4545
"metro-react-native-babel-preset": "^0.64.0",
4646
"metro-react-native-babel-transformer": "^0.64.0",
@@ -50,7 +50,7 @@
5050
"react-native-render-html": "6.1.0",
5151
"react-test-renderer": "16.13.1",
5252
"release-it": "^14.3.0",
53-
"typescript": "~4.1.3"
53+
"typescript": "~4.4.2"
5454
},
5555
"peerDependencies": {
5656
"@formidable-webview/webshell": "^2.3.0",

packages/table-plugin/package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@
3131
"plugins"
3232
],
3333
"devDependencies": {
34-
"@babel/cli": "^7.12.13",
35-
"@babel/core": "^7.12.13",
36-
"@babel/plugin-transform-react-jsx": "^7.12.13",
37-
"@babel/preset-typescript": "^7.12.13",
38-
"@babel/runtime": "^7.12.13",
34+
"@babel/cli": "^7.15.4",
35+
"@babel/core": "^7.15.5",
36+
"@babel/plugin-transform-react-jsx": "^7.14.9",
37+
"@babel/preset-typescript": "^7.15.0",
38+
"@babel/runtime": "^7.15.4",
3939
"@formidable-webview/ersatz": "^2.1.2",
4040
"@formidable-webview/ersatz-testing": "^2.0.5",
4141
"@microsoft/api-documenter": "^7.12.7",
4242
"@microsoft/api-extractor": "7.13.1",
43-
"@release-it/conventional-changelog": "^2.0.0",
44-
"@testing-library/react-native": "^7.1.0",
45-
"@tsconfig/react-native": "^1.0.2",
46-
"@types/html-validator": "^5.0.0",
47-
"@types/jest": "^26.0.14",
48-
"@types/react": "^16.9.49",
49-
"@types/react-native": "^0.63.22",
50-
"@types/react-test-renderer": "^16.9.3",
43+
"@release-it/conventional-changelog": "^2.0.1",
44+
"@testing-library/react-native": "^7.2.0",
45+
"@tsconfig/react-native": "^1.0.3",
46+
"@types/html-validator": "^5.0.1",
47+
"@types/jest": "^26.0.24",
48+
"@types/react": "^16.14.14",
49+
"@types/react-native": "^0.63.53",
50+
"@types/react-test-renderer": "^16.9.5",
5151
"babel-jest": "^26.6.3",
5252
"babel-plugin-inline-import": "^3.0.0",
53-
"eslint": "^7.14.0",
53+
"eslint": "^7.32.0",
5454
"html-validator": "^5.1.17",
5555
"jest": "^26.6.3",
5656
"metro-react-native-babel-preset": "^0.64.0",
@@ -62,12 +62,12 @@
6262
"react-native-webview": "11.0.0",
6363
"react-test-renderer": "16.13.1",
6464
"release-it": "^14.3.0",
65-
"typescript": "~4.1.3"
65+
"typescript": "~4.4.2"
6666
},
6767
"dependencies": {
68-
"@formidable-webview/webshell": "2.5.0",
68+
"@formidable-webview/webshell": "2.6.0",
6969
"@native-html/plugins-core": "workspace:*",
70-
"@types/prop-types": "^15.7.3",
70+
"@types/prop-types": "^15.7.4",
7171
"prop-types": "^15.7.2"
7272
},
7373
"peerDependencies": {

packages/table-plugin/src/useHtmlTableProps.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import type { TBlock } from '@native-html/transient-render-engine';
2020
* @public
2121
*/
2222
export default function useHtmlTableProps(
23-
{ key, style, tnode }: CustomRendererProps<TBlock>,
23+
{ style, tnode }: CustomRendererProps<TBlock>,
2424
tableConfig?: TableConfig
25-
): (HTMLTableProps & { key?: string | number }) | null {
25+
): HTMLTableProps | null {
2626
const {
2727
WebView,
2828
defaultWebViewProps,
@@ -68,7 +68,6 @@ export default function useHtmlTableProps(
6868
? {
6969
...resolvedConfig,
7070
...stats,
71-
key,
7271
html,
7372
sourceBaseUrl: documentBaseUrl,
7473
style: composedStyles,

tsconfig-base.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
"$schema": "http://json.schemastore.org/tsconfig",
33
"extends": "@tsconfig/react-native/tsconfig.json",
44
"compilerOptions": {
5+
"lib": ["ESNext"],
56
"allowJs": false,
67
"composite": false,
78
"noEmit": false,
89
"declaration": true,
910
"noImplicitAny": false,
10-
"isolatedModules": false
11+
"isolatedModules": false,
12+
"skipLibCheck": true
1113
}
1214
}

0 commit comments

Comments
 (0)