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

prop-types

Package Overview
Dependencies
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prop-types - npm Package Versions

23

15.8.1

Diff

Changelog

Source

15.8.1

  • [Fix] fix crash when a custom propType return lacks .data; call hasOwnProperty properly (#370)
  • [meta] Fix formatting in CHANGELOG.md (#367)
  • [Tests] add missing test coverage (#370)
  • [Tests] convert normal it functions to arrow functions (#370)
  • [Tests] do not fail fast; add react 17 (#366)
  • [Dev Deps] update eslint
ljharb
published 15.8.0 •

Changelog

Source

15.8.0

  • [New] add PropTypes.bigint (#365)
  • [New] oneOfType: Add expected types to warning (#198)
  • [New] Add type check for validator for 'shape' and 'exact' (#234)
  • [Fix] checkPropTypes: Friendlier message when using a type checker that is not a function (#51)
  • [Refactor] extract has (#261, #125, #124)
  • [readme] Fix branch name (master -> main) (#364)
  • [readme] Clarify usage of elementType (#335)
  • [docs] highlighted the func name (#321)
  • [docs] Typo fix in example (#300)
  • [docs] Add instructions for intentional inclusion of validation in production. (#262)
  • [docs] PropTypes.node: add link to react docs
  • [docs] Improve wording for checkPropTypes (#258)
  • [meta] Add a package sideEffects field. (#350)
  • [meta] use in-publish to avoid running the build on install
  • [deps] regenerate yarn.lock
  • [deps] update react-is (#347, #346, #345, #340, #338)
  • [eslint] enable some rules (#360)
  • [Tests] Use GH Actions (#363)
  • [Tests] Fix spelling (#318)
  • [Tests] Fixed typo: 'Any type should accept any value' (#281)
  • [Tests] fix broken tests; test the build process
  • [Dev Deps] update browserify, bundle-collapser, eslint, in-publish, react, uglifyify, uglifyjs
ljharb
published 15.7.2 •

Changelog

Source

15.7.2

  • [Fix] ensure nullish values in oneOf do not crash (#256)
  • [Fix] move loose-envify back to production deps, for browerify usage (#203)
ljharb
published 15.7.1 •

Changelog

Source

15.7.1

  • [Fix] avoid template literal syntax (#255, #254)
ljharb
published 15.7.0 •

Changelog

Source

15.7.0

  • [New] Add .elementType (#211)
  • [New] add PropTypes.resetWarningCache (#178)
  • oneOf: improve warning when multiple arguments are supplied (#244)
  • Fix oneOf when used with Symbols (#224)
  • Avoid relying on hasOwnProperty being present on values' prototypes (#112, #187)
  • Improve readme (#248, #233)
  • Clean up mistaken runtime dep, swap envify for loose-envify (#204)
gaearon
published 15.6.2 •

Changelog

Source

15.6.2

  • Remove the fbjs dependency by inlining some helpers from it (#194))
aweary
published 15.6.1 •

Changelog

Source

15.6.1

  • Fix an issue where outdated BSD license headers were still present in the published bundle #162
sophiebits
published 15.6.0 •

Changelog

Source

15.6.0

  • Switch from BSD + Patents to MIT license
  • Add PropTypes.exact, like PropTypes.shape but warns on extra object keys. (@thejameskyle and @aweary in #41 and #87)
gaearon
published 15.5.10 •

Changelog

Source

15.5.10

  • Fix a false positive warning when using a production UMD build of a third-party library with a DEV version of React. (@gaearon in #50)
gaearon
published 15.5.9 •

Changelog

Source

15.5.9

  • Add loose-envify Browserify transform for users who don't envify globally. (@mridgway in #45)
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