Content-Length: 3048 | pFad | http://github.com/jmurzy/react-native-foldview/pull/25.patch

67977CF3 From 066176c0868e94691216d8cfd66ba6a9464fd5cf Mon Sep 17 00:00:00 2001 From: Yuhan <=> Date: Sat, 19 May 2018 20:35:21 -0400 Subject: [PATCH 1/2] fix propTypes issue --- src/FoldView.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/FoldView.js b/src/FoldView.js index 6f9f913..c72079f 100644 --- a/src/FoldView.js +++ b/src/FoldView.js @@ -1,8 +1,9 @@ import React, { Component, - PropTypes, } from 'react'; +import PropTypes from 'prop-types'; + import { View, Animated, @@ -439,7 +440,7 @@ export default class FoldingCell extends Component { onLayout={this.handleBaseLayout} style={baseStyle} > - { children } + {children} ); } @@ -447,9 +448,9 @@ export default class FoldingCell extends Component { render() { return ( - { this.renderBase() } - { this.renderBackface() } - { this.renderFrontface() } + {this.renderBase()} + {this.renderBackface()} + {this.renderFrontface()} ); } From 74b66cf84a079ef58d4a6fcca1e59f8a08abe229 Mon Sep 17 00:00:00 2001 From: Yuhan Lee <=> Date: Thu, 21 Jun 2018 15:01:15 -0400 Subject: [PATCH 2/2] added explicit dependency in package --- package-lock.json | 35 +++++++++++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 36 insertions(+) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..a5b405d --- /dev/null +++ b/package-lock.json @@ -0,0 +1,35 @@ +{ + "name": "react-native-foldview", + "version": "1.1.1", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + }, + "loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "requires": { + "js-tokens": "3.0.2" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + } + } +} diff --git a/package.json b/package.json index 1da52ed..33ef29c 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ }, "dependencies": { "invariant": "^2.2.2", + "prop-types": "^15.6.2", "warning": "^3.0.0" }, "devDependencies": {








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jmurzy/react-native-foldview/pull/25.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy