Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deprecated-react-native-prop-types

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deprecated-react-native-prop-types - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

8

DeprecatedTransformPropTypes.js

@@ -78,5 +78,7 @@ /**

return function validate(props, propName, componentName, ...rest) {
console.warn(
`\`${propName}\` supplied to \`${componentName}\` has been deprecated. ${explanation}`,
);
if (props[propName] !== undefined) {
console.warn(
`\`${propName}\` supplied to \`${componentName}\` has been deprecated. ${explanation}`,
);
}

@@ -83,0 +85,0 @@ return propType(props, propName, componentName, ...rest);

{
"name": "deprecated-react-native-prop-types",
"version": "2.0.0",
"version": "2.1.0",
"description": "Deprecated prop-types from React Native.",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc