Update dependencies. Remove support for View.propTypes.

This commit is contained in:
Dylan Vann 2017-11-29 23:45:54 -05:00
parent a388be82cd
commit b4b1794258
6 changed files with 832 additions and 659 deletions

View File

@ -1,7 +1,11 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { Image, NativeModules, requireNativeComponent } from 'react-native'
import ViewPropTypes from './utils/ViewPropTypes'
import {
Image,
NativeModules,
requireNativeComponent,
ViewPropTypes,
} from 'react-native'
const resolveAssetSource = require('react-native/Libraries/Image/resolveAssetSource')

View File

@ -191,6 +191,12 @@ To update while developing you can re-pack and reinstall the tarball.
Hopefully [metro](https://github.com/facebook/metro) will add support for symlinks soon.
## Supported React Native Versions
This project only aims to support the latest version of React Native.
If you require new features or bug fixes for older versions you can fork this project.
## Credits
The idea for this modules came from

View File

@ -5610,7 +5610,7 @@
},
"react-native-fast-image": {
"version": "file:../react-native-fast-image-1.0.0.tgz",
"integrity": "sha1-CrqRYr+BCNtlnMKY2N89x728Q04=",
"integrity": "sha1-eZw9ZuaKAjUXUEfosT4DsVFGUH4=",
"requires": {
"prop-types": "15.6.0"
}

View File

@ -40,14 +40,14 @@
"prop-types": "^15.5.10"
},
"devDependencies": {
"babel-jest": "^20.0.3",
"babel-preset-react-native": "^2.0.0",
"jest": "^20.0.4",
"babel-jest": "^21.2.0",
"babel-preset-react-native": "^4.0.0",
"jest": "^21.2.1",
"prettier": "^1.5.2",
"prettier-check": "^1.0.0",
"react": "16.0.0-alpha.12",
"react-native": "^0.45.1",
"react-test-renderer": "16.0.0-alpha.12"
"prettier-check": "^2.0.0",
"react": "16.0.0",
"react-native": "^0.50.4",
"react-test-renderer": "16.0.0"
},
"engines": {
"node": "9.2.0",

View File

@ -1,3 +0,0 @@
import { ViewPropTypes as RNViewPropTypes, View } from 'react-native'
export default RNViewPropTypes || View.propTypes

1458
yarn.lock

File diff suppressed because it is too large Load Diff