New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-meteor

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-meteor - npm Package Compare versions

Comparing version 1.0.0-rc1 to 1.0.0-rc2

.babelrc

14

package.json
{
"name": "react-native-meteor",
"version": "1.0.0-rc1",
"version": "1.0.0-rc2",
"description": "Full Meteor Client for React Native",
"main": "src/Meteor.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha --compilers js:babel-core/register --require test/setup --recursive"
},

@@ -36,3 +36,13 @@ "repository": {

"wolfy87-eventemitter": "^4.3.0"
},
"devDependencies": {
"babel-core": "^6.7.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"chai": "^3.5.0",
"mocha": "^2.4.5",
"mock-socket": "^2.0.0",
"sinon": "^1.17.3"
}
}

@@ -155,2 +155,3 @@ # react-native-meteor [![react-native-meteor](http://img.shields.io/npm/dm/react-native-meteor.svg)](https://www.npmjs.org/package/react-native-meteor) [![npm version](https://badge.fury.io/js/react-native-meteor.svg)](http://badge.fury.io/js/react-native-meteor) [![Dependency Status](https://david-dm.org/inProgress-team/react-native-meteor.svg)](https://david-dm.org/inProgress-team/react-native-meteor)

- `options` **object**
- `listViewRef` [**string** / **function**] ref to ListView component.

@@ -175,2 +176,3 @@

- `elements` **function** *required* : a reactive function which returns an array of elements.
- `listViewRef` [**string** / **function**] ref to ListView component.

@@ -177,0 +179,0 @@ ### Example usage

7

src/components/ComplexListView.js

@@ -16,3 +16,4 @@ 'use strict';

elements: PropTypes.func.isRequired,
renderRow: PropTypes.func.isRequired
renderRow: PropTypes.func.isRequired,
listViewRef: PropTypes.oneOfType([ PropTypes.func, PropTypes.string ])
};

@@ -57,6 +58,8 @@ constructor(props) {

const { ds } = this.state;
const { listViewRef, ...props } = this.props;
return (
<ListView
{...this.props}
{...props}
ref={listViewRef}
dataSource={ds}

@@ -63,0 +66,0 @@ />

@@ -18,3 +18,4 @@ 'use strict';

options: PropTypes.oneOfType([ PropTypes.string, PropTypes.object ]),
renderRow: PropTypes.func.isRequired
renderRow: PropTypes.func.isRequired,
listViewRef: PropTypes.oneOfType([ PropTypes.func, PropTypes.string ])
};

@@ -64,6 +65,8 @@ static defaultProps = {

const { ds } = this.state;
const { listViewRef, ...props } = this.props;
return (
<ListView
{...this.props}
{...props}
ref={listViewRef}
dataSource={ds}

@@ -70,0 +73,0 @@ />

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