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

facebook-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-node-sdk - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

.gitignore

6

lib/basefacebook.js

@@ -309,3 +309,3 @@ var https = require('https');

var scopeParams = params.hasOwnProperty('scope') ? params.scope : null;
if (scopeParams && util.isArray(scopeParams)) {
if (scopeParams && isArray(scopeParams)) {
params.scope = scopeParams.join(',');

@@ -1199,2 +1199,6 @@ }

function isArray(ar) {
return Array.isArray(ar) || (typeof ar === 'object' && Object.prototype.toString.call(ar) === '[object Array]');
}
module.exports = BaseFacebook;

2

package.json
{
"name": "facebook-node-sdk",
"version": "0.1.6",
"version": "0.1.7",
"description": "Node.js SDK for the Facebook API",

@@ -5,0 +5,0 @@ "tags": ["facebook"],

@@ -547,3 +547,3 @@ var path = require('path');

assert.equal(err, null);
assert.ok(util.isArray(response));
assert.ok(isArray(response));
assert.equal(response.length, 1, 'Expect one row back.');

@@ -1412,1 +1412,5 @@ assert.equal(response[0].name, 'Mark Zuckerberg', 'Expect the name back.');

function isArray(ar) {
return Array.isArray(ar) || (typeof ar === 'object' && Object.prototype.toString.call(ar) === '[object Array]');
}

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