Socket
Socket
Sign inDemoInstall

react-schema

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.0.0

Diff

Changelog

Source

[2.0.0] - 2016-10-27

Changed
  • Dropped dependency on React (thanks to @eliot-akira).
philcockfield
published 1.3.1 •

philcockfield
published 1.3.0 •

Changelog

Source

[1.3.0] - 2016-05-10

Changed
  • Updated to React 15.0.2
philcockfield
published 1.2.0 •

Changelog

Source

[1.2.0] - 2016-04-11

Added
  • schemaToObject(s: Function) -> Object Takes something like an introspectable PropTypes.shape() and yields a plain object that describes the structure of that schema so that consumers don't have to fiddle with the introspection internals.
Changed
  • Updated to react@0.14.6.
  • Updated to Babel 6.
philcockfield
published 1.1.1 •

philcockfield
published 1.1.0 •

Changelog

Source

[1.1.0]

Added
  • Added introspection support for arrayOf
  • Added "analyzers" that give us something close to an AST of the propType nodes (this is opt-in for those who need it just like the formatters)
  • Added more test coverage
Changed
  • Library can now handle introspecting & formatting of custom PropTypes

  • Simplified the validator code (got rid of the class, a single function for validating is easier to reason about for users like myself)

Removed
  • Implicit definition of custom toString() was dropped in favor of explicit formatting; one can now choose to use the formatter directly if they need to stringify a prop (and implement their own formatters if we do not support them out of the box)
philcockfield
published 1.0.5 •

Changelog

Source

[1.0.5] - 2015-11-7

Changed

Removed dependency on Ramda.

philcockfield
published 1.0.4 •

philcockfield
published 1.0.3 •

philcockfield
published 1.0.2 •

2Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc