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

saml2-js

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saml2-js - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0

7

lib-js/saml2.js

@@ -26,3 +26,3 @@ // Generated by CoffeeScript 1.12.7

xmldom = require('xmldom');
xmldom = require('@xmldom/xmldom');

@@ -348,5 +348,4 @@ xmlenc = require('xml-encryption');

check_saml_signature = function(_xml, certificate) {
var doc, sig, signature, valid, xml;
xml = _xml.replace(/\r\n?/g, '\n');
check_saml_signature = function(xml, certificate) {
var doc, sig, signature, valid;
doc = (new xmldom.DOMParser()).parseFromString(xml);

@@ -353,0 +352,0 @@ signature = xmlcrypto.xpath(doc.documentElement, "./*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']");

{
"name": "saml2-js",
"version": "3.1.0",
"version": "4.0.0",
"description": "SAML 2.0 node helpers",

@@ -13,4 +13,4 @@ "author": "Clever",

"build": "coffee --bare -c -o lib-js lib",
"test": "NODE_ENV=test mocha --require coffee-script/register test/*.coffee",
"test-cov": "NODE_ENV=test nyc --extension .coffee -r html -r text mocha --require coffee-script/register test/*.coffee",
"test": "NODE_ENV=test mocha --require coffeescript/register test/*.coffee",
"test-cov": "NODE_ENV=test nyc --extension .coffee -r html -r text mocha --require coffeescript/register test/*.coffee",
"prepare": "npm run build"

@@ -30,16 +30,16 @@ },

"devDependencies": {
"coffee-script": "^1.12.0",
"mocha": "^8.2.0",
"coffeescript": "^1.12.7",
"mocha": "^8.4.0",
"nyc": "^15.0.0"
},
"dependencies": {
"@xmldom/xmldom": "^0.8.3",
"async": "^3.2.0",
"debug": "^4.3.0",
"underscore": "^1.8.0",
"xml-crypto": "^2.0.0",
"xml-encryption": "^1.2.1",
"xml-crypto": "^3.0.0",
"xml-encryption": "^2.0.0",
"xml2js": "^0.4.0",
"xmlbuilder2": "^2.4.0",
"xmldom": "^0.4.0"
"xmlbuilder2": "^2.4.0"
}
}

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