diff --git a/package.json b/package.json index 7bc8b6b..bde0953 100755 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "react-native-smooth-pincode-input", - "version": "1.0.9", + "version": "1.1.9", "description": "A cross-platform, smooth, lightweight, customizable PIN code input component for React Native.", "main": "src/index.js", - "scripts": { - }, + "scripts": {}, "repository": { "type": "git", "url": "https://github.com/xamous/react-native-smooth-pincode-input.git" @@ -25,6 +24,7 @@ "react-native": "*" }, "dependencies": { + "deprecated-react-native-prop-types": "^4.2.1", "prop-types": "^15.5.10", "react-native-animatable": "^1.3.0" } diff --git a/src/index.js b/src/index.js index 0a00f22..9a5c1ea 100644 --- a/src/index.js +++ b/src/index.js @@ -6,8 +6,9 @@ import { TextInput, StyleSheet, I18nManager, - ViewPropTypes, } from 'react-native'; + +import {ViewPropTypes} from 'deprecated-react-native-prop-types'; import * as Animatable from 'react-native-animatable'; const styles = StyleSheet.create({ diff --git a/yarn.lock b/yarn.lock index 3145a02..e8a361e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,11 +2,32 @@ # yarn lockfile v1 +"@react-native/normalize-colors@*": + version "0.73.0" + resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.73.0.tgz#23e15cf2a2b73ac7e5e6df8d5b86b173cfb35a3f" + integrity sha512-EmSCmJ0djeMJadeFsms6Pl/R85i9xSJMc+tyJu/GEMkKXBVyYQyqanK4RHFU0v8MO90OWj+SiFXjCkKYiJ6mkg== + +deprecated-react-native-prop-types@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-4.2.1.tgz#8cc990ff5319fec8306e7e8f30389a92978a7231" + integrity sha512-ef9AXisRrRhxuxd7d+noOEeGTtxIPVkfOQWf9WZUWuOqI+gs7P7hKTi49Rgb/dfvkmFULhwxO2UqAkH4nJsMfw== + dependencies: + "@react-native/normalize-colors" "*" + invariant "*" + prop-types "*" + +invariant@*: + version "2.2.4" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + "js-tokens@^3.0.0 || ^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" -loose-envify@^1.3.1: +loose-envify@^1.0.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" dependencies: @@ -16,9 +37,30 @@ object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" +prop-types@*, prop-types@^15.7.2: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + prop-types@^15.5.10: version "15.6.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" dependencies: loose-envify "^1.3.1" object-assign "^4.1.1" + +react-is@^16.13.1: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-native-animatable@^1.3.0: + version "1.3.3" + resolved "https://registry.yarnpkg.com/react-native-animatable/-/react-native-animatable-1.3.3.tgz#a13a4af8258e3bb14d0a9d839917e9bb9274ec8a" + integrity sha512-2ckIxZQAsvWn25Ho+DK3d1mXIgj7tITkrS4pYDvx96WyOttSvzzFeQnM2od0+FUMzILbdHDsDEqZvnz1DYNQ1w== + dependencies: + prop-types "^15.7.2"