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

samlify

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

samlify - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

.nyc_output/0a1c1e627c58b7857554fb0b78d024a8.json

6

build/src/libsaml.js

@@ -642,3 +642,7 @@ "use strict";

return [2 /*return*/, new Promise(function (resolve, reject) {
xsd.parseFile(path.join(path.resolve(__dirname), '../schemas/saml-schema-protocol-2.0.xsd'), function (err, schema) {
// https://github.com/albanm/node-libxml-xsd/issues/11
var currentDirectory = path.resolve('');
process.chdir(path.resolve(__dirname, '../schemas'));
xsd.parseFile(path.resolve('saml-schema-protocol-2.0.xsd'), function (err, schema) {
process.chdir(currentDirectory);
if (err) {

@@ -645,0 +649,0 @@ return reject(err.message);

2

package.json
{
"name": "samlify",
"version": "2.3.1",
"version": "2.3.2",
"description": "High-level API for Single Sign On (SAML 2.0)",

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

@@ -205,4 +205,4 @@ /**

let rawSamlRequest;
if (initSetting.loginRequestTemplate) {
const template = customTagReplacement(initSetting.loginRequestTemplate.context);
if (initSetting.logoutRequestTemplate) {
const template = customTagReplacement(initSetting.logoutRequestTemplate.context);
id = get<string>(template, 'id');

@@ -209,0 +209,0 @@ rawSamlRequest = get<string>(template, 'context');

@@ -701,3 +701,7 @@ /**

return new Promise((resolve, reject) => {
xsd.parseFile(path.join(path.resolve(__dirname), '../schemas/saml-schema-protocol-2.0.xsd'), (err, schema) => {
// https://github.com/albanm/node-libxml-xsd/issues/11
const currentDirectory = path.resolve('');
process.chdir(path.resolve(__dirname, '../schemas'));
xsd.parseFile(path.resolve('saml-schema-protocol-2.0.xsd'), (err, schema) => {
process.chdir(currentDirectory);
if (err) {

@@ -704,0 +708,0 @@ return reject(err.message);

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