Skip to content

Commit

Permalink
build(deps): upgrade dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Sep 4, 2021
1 parent 961de3d commit 901beb7
Show file tree
Hide file tree
Showing 9 changed files with 1,118 additions and 523 deletions.
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"@native-html/iframe-plugin": "workspace:*",
"@native-html/table-plugin": "workspace:*",
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/native": "^5.9.2",
"@react-navigation/stack": "^5.14.2",
"@react-navigation/native": "^5.9.8",
"@react-navigation/stack": "^5.14.9",
"expo": "^40.0.0",
"expo-status-bar": "~1.0.3",
"expo-web-browser": "~8.6.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
"react-native-gesture-handler": "~1.8.0",
"react-native-paper": "^4.7.1",
"react-native-paper": "^4.9.2",
"react-native-reanimated": "~1.13.2",
"react-native-render-html": "6.1.0",
"react-native-safe-area-context": "3.1.9",
Expand All @@ -31,7 +31,7 @@
"react-native-webview": "11.0.0"
},
"devDependencies": {
"@babel/core": "~7.12.13"
"@babel/core": "~7.15.5"
},
"private": true,
"installConfig": {
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@formidable-webview/eslint-config-webjs": "^1.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"eslint": "^7.14.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-tsdoc": "^0.2.7",
"husky": "^4.3.0",
"prettier": "^2.2.0"
"@react-native-community/eslint-config": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^4.3.8",
"prettier": "^2.3.2"
},
"resolutions": {
"react": "16.13.1",
Expand Down
30 changes: 15 additions & 15 deletions packages/iframe-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@
"plugins"
],
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@formidable-webview/ersatz": "^2.1.2",
"@formidable-webview/ersatz-testing": "^2.0.5",
"@microsoft/api-documenter": "^7.12.7",
"@microsoft/api-extractor": "7.13.1",
"@release-it/conventional-changelog": "^2.0.0",
"@testing-library/react-native": "^7.1.0",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.49",
"@types/react-native": "^0.63.22",
"@types/react-test-renderer": "^16.9.3",
"@release-it/conventional-changelog": "^2.0.1",
"@testing-library/react-native": "^7.2.0",
"@types/jest": "^26.0.24",
"@types/react": "^16.14.14",
"@types/react-native": "^0.63.53",
"@types/react-test-renderer": "^16.9.5",
"babel-jest": "^26.6.3",
"eslint": "^7.14.0",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"metro-react-native-babel-transformer": "^0.64.0",
Expand All @@ -58,12 +58,12 @@
"react-native-webview": "11.0.0",
"react-test-renderer": "16.13.1",
"release-it": "^14.3.0",
"typescript": "~4.1.3"
"typescript": "~4.4.2"
},
"dependencies": {
"@formidable-webview/webshell": "^2.5.0",
"@formidable-webview/webshell": "^2.6.0",
"@native-html/plugins-core": "workspace:*",
"@types/prop-types": "^15.7.3",
"@types/prop-types": "^15.7.4",
"prop-types": "^15.7.2"
},
"peerDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions packages/iframe-plugin/src/useHtmlIframeProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ const defaultIframeConfig: IframeConfig = {
* @public
*/
export default function useHtmlIframeProps(
{ key, style, tnode }: CustomRendererProps<TBlock>,
{ style, tnode }: CustomRendererProps<TBlock>,
iframeConfig?: IframeConfig
): (HTMLIframeProps & { key?: any }) | null {
): HTMLIframeProps | null {
const {
WebView,
defaultWebViewProps,
Expand Down Expand Up @@ -90,7 +90,6 @@ export default function useHtmlIframeProps(
return WebView
? {
...resolvedConfig,
key,
source,
onLinkPress,
htmlAttribs,
Expand Down
32 changes: 16 additions & 16 deletions packages/plugins-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
},
"keywords": [],
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@formidable-webview/webshell": "^2.5.0",
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@formidable-webview/webshell": "^2.6.0",
"@microsoft/api-extractor": "7.13.1",
"@release-it/conventional-changelog": "^2.0.0",
"@testing-library/react-native": "^7.1.0",
"@tsconfig/react-native": "^1.0.2",
"@types/html-validator": "^5.0.0",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.49",
"@types/react-native": "^0.63.22",
"@types/react-test-renderer": "^16.9.3",
"@release-it/conventional-changelog": "^2.0.1",
"@testing-library/react-native": "^7.2.0",
"@tsconfig/react-native": "^1.0.3",
"@types/html-validator": "^5.0.1",
"@types/jest": "^26.0.24",
"@types/react": "^16.14.14",
"@types/react-native": "^0.63.53",
"@types/react-test-renderer": "^16.9.5",
"babel-jest": "^26.6.3",
"eslint": "^7.14.0",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"metro-react-native-babel-transformer": "^0.64.0",
Expand All @@ -50,7 +50,7 @@
"react-native-render-html": "6.1.0",
"react-test-renderer": "16.13.1",
"release-it": "^14.3.0",
"typescript": "~4.1.3"
"typescript": "~4.4.2"
},
"peerDependencies": {
"@formidable-webview/webshell": "^2.3.0",
Expand Down
34 changes: 17 additions & 17 deletions packages/table-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@
"plugins"
],
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@formidable-webview/ersatz": "^2.1.2",
"@formidable-webview/ersatz-testing": "^2.0.5",
"@microsoft/api-documenter": "^7.12.7",
"@microsoft/api-extractor": "7.13.1",
"@release-it/conventional-changelog": "^2.0.0",
"@testing-library/react-native": "^7.1.0",
"@tsconfig/react-native": "^1.0.2",
"@types/html-validator": "^5.0.0",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.49",
"@types/react-native": "^0.63.22",
"@types/react-test-renderer": "^16.9.3",
"@release-it/conventional-changelog": "^2.0.1",
"@testing-library/react-native": "^7.2.0",
"@tsconfig/react-native": "^1.0.3",
"@types/html-validator": "^5.0.1",
"@types/jest": "^26.0.24",
"@types/react": "^16.14.14",
"@types/react-native": "^0.63.53",
"@types/react-test-renderer": "^16.9.5",
"babel-jest": "^26.6.3",
"babel-plugin-inline-import": "^3.0.0",
"eslint": "^7.14.0",
"eslint": "^7.32.0",
"html-validator": "^5.1.17",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
Expand All @@ -62,12 +62,12 @@
"react-native-webview": "11.0.0",
"react-test-renderer": "16.13.1",
"release-it": "^14.3.0",
"typescript": "~4.1.3"
"typescript": "~4.4.2"
},
"dependencies": {
"@formidable-webview/webshell": "2.5.0",
"@formidable-webview/webshell": "2.6.0",
"@native-html/plugins-core": "workspace:*",
"@types/prop-types": "^15.7.3",
"@types/prop-types": "^15.7.4",
"prop-types": "^15.7.2"
},
"peerDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions packages/table-plugin/src/useHtmlTableProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import type { TBlock } from '@native-html/transient-render-engine';
* @public
*/
export default function useHtmlTableProps(
{ key, style, tnode }: CustomRendererProps<TBlock>,
{ style, tnode }: CustomRendererProps<TBlock>,
tableConfig?: TableConfig
): (HTMLTableProps & { key?: string | number }) | null {
): HTMLTableProps | null {
const {
WebView,
defaultWebViewProps,
Expand Down Expand Up @@ -68,7 +68,6 @@ export default function useHtmlTableProps(
? {
...resolvedConfig,
...stats,
key,
html,
sourceBaseUrl: documentBaseUrl,
style: composedStyles,
Expand Down
4 changes: 3 additions & 1 deletion tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "@tsconfig/react-native/tsconfig.json",
"compilerOptions": {
"lib": ["ESNext"],
"allowJs": false,
"composite": false,
"noEmit": false,
"declaration": true,
"noImplicitAny": false,
"isolatedModules": false
"isolatedModules": false,
"skipLibCheck": true
}
}
Loading

0 comments on commit 901beb7

Please sign in to comment.