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

linkedin-js

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedin-js - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

18

lib/linkedin_client.js

@@ -45,2 +45,16 @@ var url = require('url')

function requestCallback(callback) {
return function (error, data, response) {
if (error) {
callback(error, null);
} else {
try {
callback(null, JSON.parse(data));
} catch (exc) {
callback(exc, null);
}
}
};
}
if (method.toUpperCase() === 'GET') {

@@ -53,3 +67,3 @@ params.format = 'json';

, token.oauth_token_secret
, callback
, requestCallback(callback)
);

@@ -63,3 +77,3 @@ } else if (method.toUpperCase() === 'POST') {

, 'application/json; charset=UTF-8'
, callback
, requestCallback(callback)
);

@@ -66,0 +80,0 @@ }

2

package.json
{
"name": "linkedin-js",
"description": "Minimalistic linkedin API client",
"version": "0.1.2",
"version": "0.1.3",
"author": "Pau Ramon <masylum@gmail.com>",

@@ -6,0 +6,0 @@ "keywords": ["linkedin"],

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