Socket
Socket
Sign inDemoInstall

react-facebook

Package Overview
Dependencies
23
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

33

package.json
{
"name": "react-facebook",
"version": "1.0.2",
"version": "1.0.3",
"description": "Facebook components like a Login button, Like, Share or Embedded Post",

@@ -41,18 +41,19 @@ "author": {

"keymirror": "^0.1.1",
"react-spinner-children": "^1.0.4"
"react-spinner-children": "^1.0.5"
},
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-core": "^6.5.2",
"babel-eslint": "^5.0.0",
"babel-plugin-transform-decorators": "^6.5.0",
"babel-plugin-transform-class-properties": "^6.5.2",
"babel-preset-es2015": "^6.5.0",
"babel-cli": "^6.7.5",
"babel-core": "^6.7.6",
"babel-eslint": "^6.0.3",
"babel-plugin-transform-decorators": "^6.6.5",
"babel-plugin-transform-class-properties": "^6.6.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^0.1.1",
"eslint": "^2.8.0",
"eslint-config-airbnb": "^7.0.0",
"eslint-loader": "^1.3.0",
"eslint-plugin-react": "^3.15.0",
"eslint-plugin-react": "^4.3.0",
"eslint-plugin-jsx-a11y": "^0.6.2",
"gulp": "^3.9.1",

@@ -63,6 +64,6 @@ "gulp-babel": "^6.1.2",

"gulp-util": "^3.0.7",
"react": "^0.14.7",
"react-addons-test-utils": "^0.14.7",
"react-dom": "^0.14.7",
"should": "^8.2.2",
"react": "^15.0.1",
"react-addons-test-utils": "^15.0.1",
"react-dom": "^15.0.1",
"should": "^8.3.1",
"mocha": "^2.4.5",

@@ -72,4 +73,4 @@ "jsdom": "^3.1.2 || ^6.5.1"

"peerDependencies": {
"react": "0.14.x"
"react": "15.x || 0.14.x"
}
}

@@ -70,4 +70,5 @@ # React Facebook Components

export default class Example extends Component {
onFacebookSubmit(data) {
onFacebookSubmit(data, user_data) {
console.log(data);
console.log(user_data);
}

@@ -78,3 +79,3 @@

<FacebookProvider appID="123456789">
<Login scope="email" onSubmit={this.onFacebookSubmit.bind(this)}/>
<Login scope="email" onSubmit={this.onFacebookSubmit.bind(this)} children="Log in with Facebook"/>
</FacebookProvider>

@@ -81,0 +82,0 @@ );

@@ -9,3 +9,3 @@ import React from 'react';

describe('Provider', () => {
it('should be able to create simple instance', (done) => {
it('should be able to create simple instance', () => {
const node = renderJSX(

@@ -17,3 +17,4 @@ <FacebookProvider appID="123456789">

//findDOMNode(node)});
//findDOMNode(node)
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc