removed scrollable pager view from app

This commit is contained in:
noumantahir 2024-09-27 18:06:14 +05:00
parent 8b6ce47d0f
commit 681c5d6ed0
6 changed files with 0 additions and 240 deletions

View File

@ -150,7 +150,6 @@
"react-native-restart": "^0.0.24", "react-native-restart": "^0.0.24",
"react-native-safe-area-context": "^4.7.4", "react-native-safe-area-context": "^4.7.4",
"react-native-screens": "3.27.0", "react-native-screens": "3.27.0",
"react-native-scrollable-tab-view": "ecency/react-native-scrollable-tab-view",
"react-native-select-dropdown": "^3.4.0", "react-native-select-dropdown": "^3.4.0",
"react-native-slider": "^0.11.0", "react-native-slider": "^0.11.0",
"react-native-snap-carousel": "^3.8.0", "react-native-snap-carousel": "^3.8.0",

View File

@ -1,22 +0,0 @@
diff --git a/node_modules/react-native-pager-view/android/build.gradle b/node_modules/react-native-pager-view/android/build.gradle
index 260b52f..e929c19 100644
--- a/node_modules/react-native-pager-view/android/build.gradle
+++ b/node_modules/react-native-pager-view/android/build.gradle
@@ -4,7 +4,7 @@ buildscript {
repositories {
google()
- jcenter()
+ mavenCentral() //patched
}
dependencies {
@@ -51,7 +51,7 @@ android {
repositories {
mavenCentral()
- jcenter()
+ mavenCentral() //patched
google()
def found = false

View File

@ -1,188 +0,0 @@
diff --git a/node_modules/react-native-scrollable-tab-view/DefaultTabBar.js b/node_modules/react-native-scrollable-tab-view/DefaultTabBar.js
index da58b52..877603a 100644
--- a/node_modules/react-native-scrollable-tab-view/DefaultTabBar.js
+++ b/node_modules/react-native-scrollable-tab-view/DefaultTabBar.js
@@ -1,6 +1,7 @@
const React = require('react');
-const { ViewPropTypes } = ReactNative = require('react-native');
+const ReactNative = require('react-native');
const PropTypes = require('prop-types');
+const { TextPropTypes, ViewPropTypes } = require('deprecated-react-native-prop-types');
const createReactClass = require('create-react-class');
const {
StyleSheet,
@@ -18,7 +19,7 @@ const DefaultTabBar = createReactClass({
backgroundColor: PropTypes.string,
activeTextColor: PropTypes.string,
inactiveTextColor: PropTypes.string,
- textStyle: Text.propTypes.style,
+ textStyle: TextPropTypes.style,
tabStyle: ViewPropTypes.style,
renderTab: PropTypes.func,
underlineStyle: ViewPropTypes.style,
diff --git a/node_modules/react-native-scrollable-tab-view/Example/android/build.gradle b/node_modules/react-native-scrollable-tab-view/Example/android/build.gradle
index eed9972..61bdb60 100644
--- a/node_modules/react-native-scrollable-tab-view/Example/android/build.gradle
+++ b/node_modules/react-native-scrollable-tab-view/Example/android/build.gradle
@@ -2,7 +2,7 @@
buildscript {
repositories {
- jcenter()
+ mavenCentral() //patched
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
@@ -15,7 +15,7 @@ buildscript {
allprojects {
repositories {
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/react-native-scrollable-tab-view/Example/package.json b/node_modules/react-native-scrollable-tab-view/Example/package.json
index 43348c7..3b037c0 100644
--- a/node_modules/react-native-scrollable-tab-view/Example/package.json
+++ b/node_modules/react-native-scrollable-tab-view/Example/package.json
@@ -1,26 +1,78 @@
{
- "name": "Example",
- "version": "0.0.1",
- "private": true,
- "scripts": {
- "start": "node node_modules/react-native/local-cli/cli.js start",
- "test": "jest"
- },
- "dependencies": {
- "create-react-class": "^15.6.2",
- "react": "16.0.0",
- "react-native": "0.48.4",
- "react-native-scrollable-tab-view": "file:../",
- "react-native-vector-icons": "^4.4.0",
- "react-navigation": "^1.0.0-beta.13"
- },
- "devDependencies": {
- "babel-jest": "21.2.0",
- "babel-preset-react-native": "4.0.0",
- "jest": "21.2.1",
- "react-test-renderer": "16.0.0"
- },
- "jest": {
- "preset": "react-native"
- }
+ "name": "Example",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "start": "node node_modules/react-native/local-cli/cli.js start",
+ "test": "jest"
+ },
+ "dependencies": {
+ "create-react-class": "^15.6.2",
+ "react": "16.0.0",
+ "react-native": "0.48.4",
+ "react-native-scrollable-tab-view": "file:../",
+ "react-native-vector-icons": "^4.4.0",
+ "react-navigation": "^1.0.0-beta.13"
+ },
+ "devDependencies": {
+ "babel-jest": "21.2.0",
+ "babel-preset-react-native": "4.0.0",
+ "jest": "21.2.1",
+ "react-test-renderer": "16.0.0"
+ },
+ "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
+ }
}
diff --git a/node_modules/react-native-scrollable-tab-view/ScrollableTabBar.js b/node_modules/react-native-scrollable-tab-view/ScrollableTabBar.js
index 1500b2d..ff7a3d5 100644
--- a/node_modules/react-native-scrollable-tab-view/ScrollableTabBar.js
+++ b/node_modules/react-native-scrollable-tab-view/ScrollableTabBar.js
@@ -1,6 +1,7 @@
const React = require('react');
-const { ViewPropTypes } = ReactNative = require('react-native');
+const ReactNative = require('react-native');
const PropTypes = require('prop-types');
+const { TextPropTypes, ViewPropTypes } = require('deprecated-react-native-prop-types');
const createReactClass = require('create-react-class');
const {
View,
@@ -27,7 +28,7 @@ const ScrollableTabBar = createReactClass({
style: ViewPropTypes.style,
tabStyle: ViewPropTypes.style,
tabsContainerStyle: ViewPropTypes.style,
- textStyle: Text.propTypes.style,
+ textStyle: TextPropTypes.style,
renderTab: PropTypes.func,
underlineStyle: ViewPropTypes.style,
onScroll: PropTypes.func,
diff --git a/node_modules/react-native-scrollable-tab-view/index.js b/node_modules/react-native-scrollable-tab-view/index.js
index 24a4a3b..94d1d9a 100644
--- a/node_modules/react-native-scrollable-tab-view/index.js
+++ b/node_modules/react-native-scrollable-tab-view/index.js
@@ -9,9 +9,9 @@ import {
Platform,
StyleSheet,
InteractionManager,
- ViewPropTypes
} from 'react-native';
+import { ViewPropTypes } from 'deprecated-react-native-prop-types';
import TimerMixin from 'react-timer-mixin';
import PagerView from 'react-native-pager-view';

View File

@ -1,7 +1,6 @@
import React, { useRef } from 'react'; import React, { useRef } from 'react';
import { useIntl } from 'react-intl'; import { useIntl } from 'react-intl';
import { View } from 'react-native'; import { View } from 'react-native';
import ScrollableTabView from 'react-native-scrollable-tab-view';
// Components // Components
import { gestureHandlerRootHOC } from 'react-native-gesture-handler'; import { gestureHandlerRootHOC } from 'react-native-gesture-handler';

View File

@ -1,6 +1,5 @@
import React, { memo, useState } from 'react'; import React, { memo, useState } from 'react';
import { View } from 'react-native'; import { View } from 'react-native';
import ScrollableTabView from 'react-native-scrollable-tab-view';
import { useIntl } from 'react-intl'; import { useIntl } from 'react-intl';
import { gestureHandlerRootHOC } from 'react-native-gesture-handler'; import { gestureHandlerRootHOC } from 'react-native-gesture-handler';
import useDebounce from '../../../utils/useDebounceHook'; import useDebounce from '../../../utils/useDebounceHook';

View File

@ -5331,14 +5331,6 @@ create-jest@^29.7.0:
jest-util "^29.7.0" jest-util "^29.7.0"
prompts "^2.0.1" prompts "^2.0.1"
create-react-class@^15.6.2:
version "15.7.0"
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.7.0.tgz#7499d7ca2e69bb51d13faf59bd04f0c65a1d6c1e"
integrity sha512-QZv4sFWG9S5RUvkTYWbflxeZX+JG7Cz0Tn33rQBJ+WFQTqTfUTjMjiv9tnfXazjsO5r0KhPs+AqCjyrQX6h2ng==
dependencies:
loose-envify "^1.3.1"
object-assign "^4.1.1"
cross-fetch@^3.0.4, cross-fetch@^3.0.6, cross-fetch@^3.1.5: cross-fetch@^3.0.4, cross-fetch@^3.0.6, cross-fetch@^3.1.5:
version "3.1.8" version "3.1.8"
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82" resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82"
@ -11523,11 +11515,6 @@ react-native-os@^1.2.6:
resolved "https://registry.yarnpkg.com/react-native-os/-/react-native-os-1.2.6.tgz#1bb16d78ccad1143972183a04f443cf1af9fbefa" resolved "https://registry.yarnpkg.com/react-native-os/-/react-native-os-1.2.6.tgz#1bb16d78ccad1143972183a04f443cf1af9fbefa"
integrity sha512-OlT+xQAcvkcnf7imgXiu+myMkqDt4xw2bP5SlVo19hEn5XHBkPMLX7dk3sSGxxncH/ToMDsf1KLyrPabNVtadA== integrity sha512-OlT+xQAcvkcnf7imgXiu+myMkqDt4xw2bP5SlVo19hEn5XHBkPMLX7dk3sSGxxncH/ToMDsf1KLyrPabNVtadA==
react-native-pager-view@^5.4.22:
version "5.4.25"
resolved "https://registry.yarnpkg.com/react-native-pager-view/-/react-native-pager-view-5.4.25.tgz#cd639d5387a7f3d5581b55a33c5faa1cbc200f97"
integrity sha512-3drrYwaLat2fYszymZe3nHMPASJ4aJMaxiejfA1V5SK3OygYmdtmV2u5prX7TnjueJzGSyyaCYEr2JlrRt4YPg==
react-native-pager-view@^6.4.1: react-native-pager-view@^6.4.1:
version "6.4.1" version "6.4.1"
resolved "https://registry.yarnpkg.com/react-native-pager-view/-/react-native-pager-view-6.4.1.tgz#82d04107229c19967a503de53a231dd95fcccd10" resolved "https://registry.yarnpkg.com/react-native-pager-view/-/react-native-pager-view-6.4.1.tgz#82d04107229c19967a503de53a231dd95fcccd10"
@ -11619,15 +11606,6 @@ react-native-screens@3.27.0:
react-freeze "^1.0.0" react-freeze "^1.0.0"
warn-once "^0.1.0" warn-once "^0.1.0"
react-native-scrollable-tab-view@ecency/react-native-scrollable-tab-view:
version "1.1.0"
resolved "https://codeload.github.com/ecency/react-native-scrollable-tab-view/tar.gz/d35f17472eb2608c4895dcaac472f499cf6552cf"
dependencies:
create-react-class "^15.6.2"
prop-types "^15.6.0"
react-native-pager-view "^5.4.22"
react-timer-mixin "^0.13.3"
react-native-select-dropdown@^3.4.0: react-native-select-dropdown@^3.4.0:
version "3.4.0" version "3.4.0"
resolved "https://registry.yarnpkg.com/react-native-select-dropdown/-/react-native-select-dropdown-3.4.0.tgz#3ce31dc2e5ffa1abf4c47e3297bf0da7144f1ea3" resolved "https://registry.yarnpkg.com/react-native-select-dropdown/-/react-native-select-dropdown-3.4.0.tgz#3ce31dc2e5ffa1abf4c47e3297bf0da7144f1ea3"
@ -11863,11 +11841,6 @@ react-test-renderer@18.2.0:
react-shallow-renderer "^16.15.0" react-shallow-renderer "^16.15.0"
scheduler "^0.23.0" scheduler "^0.23.0"
react-timer-mixin@^0.13.3:
version "0.13.4"
resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.4.tgz#75a00c3c94c13abe29b43d63b4c65a88fc8264d3"
integrity sha512-4+ow23tp/Tv7hBM5Az5/Be/eKKF7DIvJ09voz5LyHGQaqqz9WV8YMs31eFvcYQs7d451LSg7kDJV70XYN/Ug/Q==
react@18.2.0: react@18.2.0:
version "18.2.0" version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"