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

passport-oneauth

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-oneauth - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "passport-oneauth",
"version": "1.2.1",
"version": "1.2.2",
"description": "Passport strategy for oneauth server",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,3 +6,3 @@ /**

exports.parse = function(json) {
if ('string' == typeof json) {
if ('string' === typeof json) {
json = JSON.parse(json);

@@ -17,2 +17,3 @@ }

profile.photo = json.photo;
profile.verifiedemail = json.verifiedemail;
if(json.userfacebook) profile.facebook = json.userfacebook;

@@ -19,0 +20,0 @@ if(json.usergithub) profile.github = json.usergithub;

@@ -48,2 +48,3 @@ import {Strategy as OAuth2Strategy} from 'passport-oauth2'

photo: string,
verifiedemail?: string,
facebook?: {},

@@ -50,0 +51,0 @@ github?: {},

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