react-facebook
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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) | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55770
1255
116
25
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removedacorn@5.7.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedast-types@0.9.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase62@1.2.8(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcommoner@0.10.8(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddefined@1.0.1(transitive)
- Removeddetective@4.7.1(transitive)
- Removedenvify@3.4.1(transitive)
- Removedesprima@3.1.3(transitive)
- Removedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
- Removedfbjs@0.6.1(transitive)
- Removedglob@5.0.15(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjstransform@11.0.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedobject-assign@2.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprivate@0.1.8(transitive)
- Removedq@1.5.1(transitive)
- Removedreact@0.14.1016.14.0(transitive)
- Removedrecast@0.11.23(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedthrough@2.3.8(transitive)
- Removedwhatwg-fetch@0.9.0(transitive)
- Removedwrappy@1.0.2(transitive)