From ab341780f903cd04b59d6e446d6590fa0bb908c4 Mon Sep 17 00:00:00 2001 From: YanYuan Date: Thu, 24 Aug 2023 21:51:05 +0800 Subject: [PATCH] chore: update webview deps --- example/sign-app/package-lock.json | 37 ++++++++++++++---------------- example/sign-app/package.json | 5 ++-- package.json | 4 ++-- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/example/sign-app/package-lock.json b/example/sign-app/package-lock.json index a983ca8..0b6acd8 100644 --- a/example/sign-app/package-lock.json +++ b/example/sign-app/package-lock.json @@ -12,8 +12,9 @@ "expo-status-bar": "~1.4.2", "react": "18.1.0", "react-native": "0.70.5", - "react-native-signature-canvas": "^4.5.1", - "react-native-view-shot": "3.4.0" + "react-native-signature-canvas": "^4.6.1", + "react-native-view-shot": "3.4.0", + "react-native-webview": "^13.3.1" }, "devDependencies": { "@babel/core": "^7.12.9" @@ -9955,11 +9956,11 @@ "integrity": "sha512-oOanj84fJEXUg9FoEAQomA8ISG+DVIrTZ3qF7m69VQUJyOGYyDZmPqKcjvRku4KXlEH6hWO9i4ACLzNBh8gC0A==" }, "node_modules/react-native-signature-canvas": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-4.5.1.tgz", - "integrity": "sha512-YCiyIMWXiv9fn1JdKAb++b3AkKG5R1GQIXh+cAipxHV1GGZXKVuBukVo5WQ2rL1P9NOGpIOpWyeq0NXdGk41Rw==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-4.6.1.tgz", + "integrity": "sha512-GFFb58P+Q0l1XkW/Yo6MKLTlTBWSG9GuVLFY8jmU0lQwpXnDnOGymrBcafTCIqMMdCl05e8z1Nim/IgDT6x/0w==", "peerDependencies": { - "react-native-webview": ">11.18.1" + "react-native-webview": ">=13" } }, "node_modules/react-native-view-shot": { @@ -9972,10 +9973,9 @@ } }, "node_modules/react-native-webview": { - "version": "11.25.0", - "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.25.0.tgz", - "integrity": "sha512-yq3con7vDQUQKAyl9a7pJaR3A1/cI0K2AeRhGugXfWQfdsne18pddJwQuOsc63khecipeCbB8pthCqw0UlsgVw==", - "peer": true, + "version": "13.3.1", + "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-13.3.1.tgz", + "integrity": "sha512-jTRC7bZB1gedAbZGGzQUnsaU+avZcZrKLT8g+RR0bsGW80tUOvwezwznKvQ+m1xXOpGFTD1B3+AazUP7+jy4mg==", "dependencies": { "escape-string-regexp": "2.0.0", "invariant": "2.2.4" @@ -9989,7 +9989,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "peer": true, "engines": { "node": ">=8" } @@ -19564,9 +19563,9 @@ "integrity": "sha512-oOanj84fJEXUg9FoEAQomA8ISG+DVIrTZ3qF7m69VQUJyOGYyDZmPqKcjvRku4KXlEH6hWO9i4ACLzNBh8gC0A==" }, "react-native-signature-canvas": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-4.5.1.tgz", - "integrity": "sha512-YCiyIMWXiv9fn1JdKAb++b3AkKG5R1GQIXh+cAipxHV1GGZXKVuBukVo5WQ2rL1P9NOGpIOpWyeq0NXdGk41Rw==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-4.6.1.tgz", + "integrity": "sha512-GFFb58P+Q0l1XkW/Yo6MKLTlTBWSG9GuVLFY8jmU0lQwpXnDnOGymrBcafTCIqMMdCl05e8z1Nim/IgDT6x/0w==", "requires": {} }, "react-native-view-shot": { @@ -19576,10 +19575,9 @@ "requires": {} }, "react-native-webview": { - "version": "11.25.0", - "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.25.0.tgz", - "integrity": "sha512-yq3con7vDQUQKAyl9a7pJaR3A1/cI0K2AeRhGugXfWQfdsne18pddJwQuOsc63khecipeCbB8pthCqw0UlsgVw==", - "peer": true, + "version": "13.3.1", + "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-13.3.1.tgz", + "integrity": "sha512-jTRC7bZB1gedAbZGGzQUnsaU+avZcZrKLT8g+RR0bsGW80tUOvwezwznKvQ+m1xXOpGFTD1B3+AazUP7+jy4mg==", "requires": { "escape-string-regexp": "2.0.0", "invariant": "2.2.4" @@ -19588,8 +19586,7 @@ "escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "peer": true + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==" } } }, diff --git a/example/sign-app/package.json b/example/sign-app/package.json index 7a898e4..db8b9f8 100644 --- a/example/sign-app/package.json +++ b/example/sign-app/package.json @@ -13,8 +13,9 @@ "expo-status-bar": "~1.4.2", "react": "18.1.0", "react-native": "0.70.5", - "react-native-signature-canvas": "^4.5.1", - "react-native-view-shot": "3.4.0" + "react-native-signature-canvas": "^4.6.1", + "react-native-view-shot": "3.4.0", + "react-native-webview": "^13.3.1" }, "devDependencies": { "@babel/core": "^7.12.9" diff --git a/package.json b/package.json index 1ff4ee9..b1dd120 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-signature-canvas", - "version": "4.5.1", + "version": "4.6.1", "description": "React Native Signature Component based Canvas for Android && IOS && expo", "main": "index.js", "scripts": { @@ -29,6 +29,6 @@ }, "homepage": "https://github.com/YanYuanFE/react-native-signature-canvas#readme", "peerDependencies": { - "react-native-webview": ">11.18.1" + "react-native-webview": ">=13" } }