Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-facebook

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-facebook - npm Package Compare versions

Comparing version 6.0.14 to 6.0.15

8

dist/Facebook.js

@@ -16,6 +16,2 @@ 'use strict';

var _debug = require('debug');
var _debug2 = _interopRequireDefault(_debug);
var _LoginStatus = require('./constants/LoginStatus');

@@ -27,4 +23,2 @@

const log = (0, _debug2.default)('react-facebook:facebook');
const Method = exports.Method = {

@@ -35,3 +29,2 @@ GET: 'get',

};
class Facebook {

@@ -88,3 +81,2 @@ constructor(options = {}) {

if (!fjs) {
log('Script tag does not exists in the DOM');
return;

@@ -91,0 +83,0 @@ }

@@ -22,6 +22,2 @@ 'use strict';

var _debug = require('debug');
var _debug2 = _interopRequireDefault(_debug);
var _LoginStatus = require('./constants/LoginStatus');

@@ -33,4 +29,2 @@

var log = (0, _debug2.default)('react-facebook:facebook');
var Method = exports.Method = {

@@ -106,3 +100,2 @@ GET: 'get',

if (!fjs) {
log('Script tag does not exists in the DOM');
return;

@@ -109,0 +102,0 @@ }

4

module/Facebook.js
import _asyncToGenerator from 'babel-runtime/helpers/asyncToGenerator';
import _extends from 'babel-runtime/helpers/extends';
import debug from 'debug';
import LoginStatus from './constants/LoginStatus';
const log = debug('react-facebook:facebook');
export const Method = {

@@ -65,3 +62,2 @@ GET: 'get',

if (!fjs) {
log('Script tag does not exists in the DOM');
return;

@@ -68,0 +64,0 @@ }

17

package.json
{
"name": "react-facebook",
"version": "6.0.14",
"version": "6.0.15",
"description": "Facebook components like a Login button, Like, Share, Comments, Embedded Post/Video, Messenger Chat and others",

@@ -59,3 +59,2 @@ "author": {

"dependencies": {
"debug": "^4.0.1",
"react-spinner-children": "^1.0.8",

@@ -78,15 +77,15 @@ "can-use-dom": "^0.1.0",

"cross-env": "^5.2.0",
"eslint": "^5.6.1",
"eslint": "^5.7.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-import": "^2.14.0",
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-test-renderer": "^16.5.2"
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-test-renderer": "^16.6.0"
},

@@ -93,0 +92,0 @@ "peerDependencies": {

@@ -1,6 +0,4 @@

import debug from 'debug';
// @flow
import LoginStatus from './constants/LoginStatus';
const log = debug('react-facebook:facebook');
export const Method = {

@@ -34,3 +32,3 @@ GET: 'get',

getAppId() {
getAppId(): string {
return this.options.appId;

@@ -62,3 +60,2 @@ }

if (!fjs) {
log('Script tag does not exists in the DOM');
return;

@@ -65,0 +62,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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