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

Update dependency babel-plugin-transform-react-remove-prop-types to v0.4.19 #26

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 27, 2018

This PR contains the following updates:

Package Type Update Change References
babel-plugin-transform-react-remove-prop-types devDependencies minor 0.3.3 -> 0.4.19 source

Release Notes

oliviertassinari/babel-plugin-transform-react-remove-prop-types

v0.4.19

Compare Source

v0.4.18

Compare Source

  • Avoid removeNewlyUnusedIdentifiers when destructuring Arrays (#​162)

v0.4.17

Compare Source

  • [fix] Avoid removeNewlyUnusedIdentifiers when encountering destructuring (#​161)

v0.4.16

Compare Source

  • [new] update Babel 7 (#​155)
  • [fix] Remove unused MemberExpression root identifiers (#​158)
  • [fix] Use regex.test(str) instead of str.match(regex) (#​152)
  • [fix] Replace Set with WeakSet for collecting removed paths (#​151)

v0.4.15

Compare Source

  • Remove newly unreferenced VariableDeclarators (#​146)

v0.4.14

Compare Source

  • Handle recursive code (#​148)
  • [core] Upgrade the dependencies (#​141)

v0.4.13

Compare Source

Fixes / Enhancements
  • Add a classNameMatchers option to make Component resolution flexible (#​135) @​vieron
  • [core] Upgrade the dependencies (#​136)

v0.4.12

Compare Source

Fixes / Enhancements

v0.4.11

Compare Source

Fixes / Enhancements

v0.4.10

Compare Source

Fixes / Enhancements

v0.4.9

Compare Source

Fixes / Enhancements

v0.4.8

Compare Source

A correct release of the previous one (v0.4.7).

v0.4.7

Compare Source

Fixes / Enhancements

v0.4.6

Compare Source

Fixes / Enhancements

v0.4.5

Compare Source

Fixes / Enhancements
  • fix: more aggressive remove-proptypes exploration (#​108)

v0.4.4

Compare Source

Fixes / Enhancements
  • fix(flow): support tricky use case with flow and the wrap mode (#​105)
// In
type Props = {
  bar?: string,
};

function MyComponent(props: Props) {
  return <div {...props} />;
}

// Babel Transformations
[
  'babel-plugin-flow-react-proptypes',
  'babel-plugin-transform-flow-strip-types',
  'babel-plugin-transform-react-remove-prop-types',
]

// Out
function MyComponent(props) {
  return React.createElement('div', props);
}

MyComponent.propTypes = process.env.NODE_ENV !== 'production' ? {
  bar: require('prop-types').string
} : {};

v0.4.3

Compare Source

Fixes / Enhancements

v0.4.2

Compare Source

Fixes / Enhancements
  • feat(lib): change the wrap mode and add a unsafe-wrap mode (#​101)

v0.4.1

Compare Source

Fixes / Enhancements

This PR is adding a removeImport option to remove the following import statements:

import PropTypes from 'prop-types';

It's disabled by default waiting for people to try it out.

v0.4.0

Compare Source

Breaking changes
  • feat(react): support create-react-class over createClass (#​93)
    Dropped the support of React.createClass for the new create-react-class package.
    Notice that we rely on the createReactClass() function name to remove the prop types.
Fixes / Enhancements
  • test(react): update the tests for the v15.5.3 release of React (#​88)
  • fix(react): support React.cloneElement with a stateless functional component (#​94)

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot. View repository job log here.

@CaptainGlac1er CaptainGlac1er merged commit ee58e2d into master Oct 27, 2018
@renovate renovate bot deleted the renovate/babel-plugin-transform-react-remove-prop-types-0.x branch October 27, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants