@expo/react-native-action-sheet
Advanced tools
Comparing version 1.0.0 to 1.0.1
// @flow | ||
import React, { PropTypes } from 'react'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { | ||
@@ -5,0 +6,0 @@ Animated, |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import ActionSheet from './ActionSheet'; | ||
@@ -6,7 +7,7 @@ | ||
static propTypes = { | ||
children: React.PropTypes.any, | ||
children: PropTypes.any, | ||
}; | ||
static childContextTypes = { | ||
showActionSheetWithOptions: React.PropTypes.func, | ||
showActionSheetWithOptions: PropTypes.func, | ||
}; | ||
@@ -13,0 +14,0 @@ |
import hoistStatics from 'hoist-non-react-statics'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
@@ -15,3 +16,3 @@ export default function connectActionSheet(WrappedComponent) { | ||
ConnectedActionSheet.contextTypes = { | ||
showActionSheetWithOptions: React.PropTypes.func, | ||
showActionSheetWithOptions: PropTypes.func, | ||
}; | ||
@@ -18,0 +19,0 @@ |
{ | ||
"name": "@expo/react-native-action-sheet", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A cross-platform ActionSheet for React Native", | ||
@@ -32,9 +32,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"hoist-non-react-statics": "^1.2.0" | ||
"hoist-non-react-statics": "^2.2.2", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"devDependencies": { | ||
"flow-bin": "^0.26.0", | ||
"react": "^15.2.0", | ||
"react": "^15.6.1", | ||
"react-native": "^0.28.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
14137
425
2
+ Addedprop-types@^15.5.10
+ Addedhoist-non-react-statics@2.5.5(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact-is@16.13.1(transitive)
- Removedhoist-non-react-statics@1.2.0(transitive)