Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn if PropType function is called manually #7132

Merged
merged 14 commits into from
Jul 5, 2016

Commits on Jul 2, 2016

  1. Warn if PropType function is called in production

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    094d294 View commit details
    Browse the repository at this point in the history
  2. Check if console is undefined before warning

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    be21348 View commit details
    Browse the repository at this point in the history
  3. Randomize value of ReactPropTypesSecret

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    88f745d View commit details
    Browse the repository at this point in the history
  4. Remove dev environment tests

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    dd5e978 View commit details
    Browse the repository at this point in the history
  5. Rename typeCheckPass to productionWarningCheck

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    ee0701b View commit details
    Browse the repository at this point in the history
  6. Rename productionWarningCheck to expectWarningInProduction

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    88141f2 View commit details
    Browse the repository at this point in the history
  7. Call toString on Math.random()

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    0fc728f View commit details
    Browse the repository at this point in the history
  8. Rename test block for React type checks

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    0bcd666 View commit details
    Browse the repository at this point in the history
  9. Make sure warning isnt emitted for failing props

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    43193e2 View commit details
    Browse the repository at this point in the history
  10. Cache warning by component and prop, warn in dev

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    35b0ac7 View commit details
    Browse the repository at this point in the history
  11. Pass ReactPropTypesSecret to internal checks

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    b550f5b View commit details
    Browse the repository at this point in the history
  12. Move tests to ReactPropTypes-test.js

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    48f796f View commit details
    Browse the repository at this point in the history
  13. Update the warning message to include link

    Brandon Dail authored and Brandon Dail committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    01d0f8b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2016

  1. Do not test warning for unions with invalid args

    Brandon Dail authored and Brandon Dail committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    df8f7c2 View commit details
    Browse the repository at this point in the history