Socket
Socket
Sign inDemoInstall

passport-saml

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-saml - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

test/static/response-with-uncomplete-attribute.xml

10

lib/passport-saml/saml.js

@@ -666,3 +666,7 @@ var zlib = require('zlib');

if (attributeStatement) {
var attributes = attributeStatement[0].Attribute;
var attributes = [].concat.apply([], attributeStatement.filter(function (attr) {
return Array.isArray(attr.Attribute);
}).map(function (attr) {
return attr.Attribute;
}));

@@ -675,2 +679,6 @@ var attrValueMapper = function(value) {

attributes.forEach(function (attribute) {
if(!attribute.hasOwnProperty('AttributeValue')) {
// if attributes has no AttributeValue child, continue
return;
}
var value = attribute.AttributeValue;

@@ -677,0 +685,0 @@ if (value.length === 1) {

2

lib/passport-saml/strategy.js

@@ -1,2 +0,2 @@

var passport = require('passport');
var passport = require('passport-strategy');
var util = require('util');

@@ -3,0 +3,0 @@ var saml = require('./saml');

{
"name": "passport-saml",
"version": "0.12.0",
"version": "0.13.0",
"licenses": [

@@ -33,6 +33,6 @@ {

"dependencies": {
"passport": "0.2.x",
"passport-strategy": "*",
"q": "1.1.x",
"xml2js": "0.4.x",
"xml-crypto": "0.6.x",
"xml-crypto": "0.8.x",
"xmldom": "0.1.x",

@@ -50,3 +50,4 @@ "xmlbuilder": "2.5.x",

"should": "*",
"sinon": "^1.10.2"
"sinon": "^1.10.2",
"passport": "0.3.x"
},

@@ -53,0 +54,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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