Skip to content

Commit

Permalink
V1.6.2 (#230)
Browse files Browse the repository at this point in the history
* index.js: import prop types from deprecated package (#229)

* package-lock.json: update to new version

This commit was generated by:

rm package-lock.json
npm install

Without this commit, I was getting errors downloading packages from
nexus.bybutter.com repositories. I'm not clear why those were the
resolved sources in the past, but they do not seem to be required.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

* index.js: import prop types from deprecated package

This new import path is required for newer versions of React Native.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

* Bump version to 1.6.2

Co-authored-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
iou90 and stevekuznetsov authored Jul 18, 2022
1 parent 4576c5f commit 1fab9c2
Show file tree
Hide file tree
Showing 3 changed files with 19,415 additions and 1,378 deletions.
2 changes: 1 addition & 1 deletion autoHeightWebView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {useState, useEffect, forwardRef} from 'react';

import {StyleSheet, Platform, ViewPropTypes} from 'react-native';

import PropTypes from 'prop-types';
import PropTypes from 'deprecated-react-native-prop-types';

import {WebView} from 'react-native-webview';

Expand Down
Loading

1 comment on commit 1fab9c2

@tranminhnhat1005
Copy link

@tranminhnhat1005 tranminhnhat1005 commented on 1fab9c2 Jul 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PropTypes.shape is not supported in deprecated-react-native-prop-types
My project in "react": "16.8.6","react-native": "0.60.5" and "react-native-autoheight-webview": "1.5.8" was good with PropTypes from prop-types

Please sign in to comment.