Socket
Socket
Sign inDemoInstall

typescript-to-proptypes

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-to-proptypes - npm Package Versions

13

1.4.0

Diff

Changelog

Source

1.4.0 (2019-11-16)

Bug Fixes

  • parser: handle prop of type ReactElement (adfcca4)

Features

  • parser: support forwardRef (3f5c0c9), closes #2
merceyz
published 1.3.0 •

Changelog

Source

1.3.0 (2019-09-03)

Features

  • generator: add comment to proptype blocks (2c5627e)
merceyz
published 1.2.5 •

Changelog

Source

1.2.5 (2019-09-03)

Bug Fixes

  • parser: use doctrine to unwrap comments (53a9d43)

Tests

merceyz
published 1.2.4 •

Changelog

Source

1.2.4 (2019-08-16)

Bug Fixes

  • injector: use require.resolve (b9d04ea)
merceyz
published 1.2.3 •

Changelog

Source

1.2.3 (2019-07-24)

Bug Fixes

  • parser: handle return type of JSX.Element | null (cbe5564)
merceyz
published 1.2.2 •

Changelog

Source

1.2.2 (2019-07-23)

Bug Fixes

  • parser: remove leftover asterisk (2e720df)
merceyz
published 1.2.1 •

Changelog

Source

1.2.1 (2019-07-23)

Bug Fixes

  • parser: handle single line comments (0025d53)
merceyz
published 1.2.0 •

Changelog

Source

1.2.0 (2019-07-23)

Bug Fixes

  • generator: multiline comments (d576597)
  • generator: sort interface correctly (f88c5fb)
  • generator: wrap prop name in quotes (709a819)
  • parser: don't modify comments (95cd63e)
  • parser: fallback to object if element is undefined (eadaf3f)
  • parser: handle comments with just tags (d0b0a82)
  • parser: handle comments with tags (ad4dddd)
  • parser: handle optional any (30f56ec)
  • parser: handle optional React.ElementType (c7a87fd)
  • parser: treat ComponentType as elementType (53f1e21)
  • export typescript as ts (ba90e22)

Features

  • generator: support instanceOf (6bd563a)
  • injector: control included props (4f8eaa1)
  • injector: remove existing proptypes (d2a978c)
  • parser: check const declarations of React.ComponentType (cbd2eb6)
  • parser: handle React.Component and Element instanceOf (570d73b)
  • parser: support elementType (448d5a6)
merceyz
published 1.1.0 •

Changelog

Source

1.1.0 (2019-07-15)

Bug Fixes

  • generator: don't pass shouldInclude on interfaceNode (1302502)

Features

  • parser: circular references (7de51cc)
  • parser: control included proptypes (2952e78)
  • parser: objects / shapes (81f1a82)
merceyz
published 1.0.4 •

Changelog

Source

1.0.4 (2019-07-10)

Bug Fixes

  • generator: omit null if proptype is optional (21351a4)
  • parser: reactnode should make proptype optional (c84b611)
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