diff --git a/browser-browserify.json b/browser-browserify.json index 52fa68a..64c795d 100644 --- a/browser-browserify.json +++ b/browser-browserify.json @@ -4,7 +4,7 @@ "constants": "constants-browserify", "crypto": "crypto-browserify", "dns": "dns.js", - "net": "react-native-tcp", + "net": "react-native-tcp-socket", "domain": "domain-browser", "http": "stream-http", "https": "https-browserify", diff --git a/browser.json b/browser.json index dad26ae..2496feb 100644 --- a/browser.json +++ b/browser.json @@ -4,7 +4,7 @@ "constants": "constants-browserify", "crypto": "react-native-crypto", "dns": "dns.js", - "net": "react-native-tcp", + "net": "react-native-tcp-socket", "domain": "domain-browser", "http": "@tradle/react-native-http", "https": "https-browserify", diff --git a/shims-browserify.js b/shims-browserify.js index 5952ae2..25e4ea5 100644 --- a/shims-browserify.js +++ b/shims-browserify.js @@ -17,7 +17,7 @@ module.exports = { "punycode": "^1.3.2", "querystring-es3": "~0.2.0", "react-native-level-fs": "^3.0.0", - "react-native-udp": "0.0.12", + "react-native-udp": "^3.2.0", // "readable-stream": "~1.0.33-1", "readable-stream": "^2.0.2", "stream-browserify": "^2.0.0", @@ -27,6 +27,6 @@ module.exports = { "url": "~0.10.1", "util": "~0.10.1", "utp": "0.0.8", - "react-native-tcp": "^3.2.1", + "react-native-tcp-socket": "^3.2.1", "vm-browserify": "~0.0.1" } diff --git a/shims.js b/shims.js index c0e00fa..4b53a01 100644 --- a/shims.js +++ b/shims.js @@ -18,7 +18,7 @@ module.exports = { "punycode": "^1.2.4", "querystring-es3": "~0.2.0", "react-native-level-fs": "^3.0.0", - "react-native-udp": "^2.1.0", + "react-native-udp": "^3.2.0", "readable-stream": "1.0.33", // "stream-browserify": "substack/stream-browserify#fa56e68", "stream-browserify": "^1.0.0", @@ -27,6 +27,6 @@ module.exports = { "tty-browserify": "0.0.0", "url": "~0.10.1", "util": "~0.10.3", - "react-native-tcp": "^3.2.1", + "react-native-tcp-socket": "^3.2.1", "vm-browserify": "0.0.4" }