mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-27 13:03:12 +03:00
99 lines
3.8 KiB
Diff
99 lines
3.8 KiB
Diff
diff --git a/node_modules/@esteemapp/react-native-multi-slider/MultiSlider.js b/node_modules/@esteemapp/react-native-multi-slider/MultiSlider.js
|
|
index 53e7553..4b73970 100755
|
|
--- a/node_modules/@esteemapp/react-native-multi-slider/MultiSlider.js
|
|
+++ b/node_modules/@esteemapp/react-native-multi-slider/MultiSlider.js
|
|
@@ -13,8 +13,6 @@ import {
|
|
import DefaultMarker from './DefaultMarker';
|
|
import { createArray, valueToPosition, positionToValue } from './converters';
|
|
|
|
-const ViewPropTypes = require('react-native').ViewPropTypes || View.propTypes;
|
|
-
|
|
export default class MultiSlider extends React.Component {
|
|
static defaultProps = {
|
|
values: [0],
|
|
diff --git a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
|
|
index cd8664f..77169be 100644
|
|
--- a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
|
|
+++ b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
|
|
@@ -10,7 +10,7 @@ buildscript {
|
|
}
|
|
repositories {
|
|
google()
|
|
- jcenter()
|
|
+ mavenCentral() //patched
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.2.0'
|
|
@@ -24,7 +24,7 @@ allprojects {
|
|
repositories {
|
|
google()
|
|
mavenLocal()
|
|
- jcenter()
|
|
+ mavenCentral() //patched
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
diff --git a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
|
|
index d878530..aaa2bdb 100644
|
|
--- a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
|
|
+++ b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
|
|
@@ -19,5 +19,57 @@
|
|
},
|
|
"jest": {
|
|
"preset": "react-native"
|
|
+ },
|
|
+ "react-native": {
|
|
+ "zlib": "browserify-zlib",
|
|
+ "console": "console-browserify",
|
|
+ "constants": "constants-browserify",
|
|
+ "crypto": "react-native-crypto",
|
|
+ "dns": "dns.js",
|
|
+ "net": "react-native-tcp",
|
|
+ "domain": "domain-browser",
|
|
+ "http": "@tradle/react-native-http",
|
|
+ "https": "https-browserify",
|
|
+ "os": "react-native-os",
|
|
+ "path": "path-browserify",
|
|
+ "querystring": "querystring-es3",
|
|
+ "fs": "react-native-level-fs",
|
|
+ "_stream_transform": "readable-stream/transform",
|
|
+ "_stream_readable": "readable-stream/readable",
|
|
+ "_stream_writable": "readable-stream/writable",
|
|
+ "_stream_duplex": "readable-stream/duplex",
|
|
+ "_stream_passthrough": "readable-stream/passthrough",
|
|
+ "dgram": "react-native-udp",
|
|
+ "stream": "stream-browserify",
|
|
+ "timers": "timers-browserify",
|
|
+ "tty": "tty-browserify",
|
|
+ "vm": "vm-browserify",
|
|
+ "tls": false
|
|
+ },
|
|
+ "browser": {
|
|
+ "zlib": "browserify-zlib",
|
|
+ "console": "console-browserify",
|
|
+ "constants": "constants-browserify",
|
|
+ "crypto": "react-native-crypto",
|
|
+ "dns": "dns.js",
|
|
+ "net": "react-native-tcp",
|
|
+ "domain": "domain-browser",
|
|
+ "http": "@tradle/react-native-http",
|
|
+ "https": "https-browserify",
|
|
+ "os": "react-native-os",
|
|
+ "path": "path-browserify",
|
|
+ "querystring": "querystring-es3",
|
|
+ "fs": "react-native-level-fs",
|
|
+ "_stream_transform": "readable-stream/transform",
|
|
+ "_stream_readable": "readable-stream/readable",
|
|
+ "_stream_writable": "readable-stream/writable",
|
|
+ "_stream_duplex": "readable-stream/duplex",
|
|
+ "_stream_passthrough": "readable-stream/passthrough",
|
|
+ "dgram": "react-native-udp",
|
|
+ "stream": "stream-browserify",
|
|
+ "timers": "timers-browserify",
|
|
+ "tty": "tty-browserify",
|
|
+ "vm": "vm-browserify",
|
|
+ "tls": false
|
|
}
|
|
}
|
|
\ No newline at end of file
|