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

saml

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saml - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

4

package.json
{
"name": "saml",
"version": "0.4.3",
"version": "0.4.4",
"devDependencies": {

@@ -17,3 +17,3 @@ "mocha": "*",

"dependencies": {
"xml-crypto": "0.0.13",
"xml-crypto": "~0.0.17",
"xmldom": "=0.1.15",

@@ -20,0 +20,0 @@ "moment": "~1.7.2"

@@ -7,3 +7,3 @@ var xmlCrypto = require('xml-crypto'),

var doc = new xmldom.DOMParser().parseFromString(assertion);
var signature = xmlCrypto.xpath.SelectNodes(doc, "/*/*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']")[0];
var signature = xmlCrypto.xpath(doc, "/*/*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']")[0];
var sig = new xmlCrypto.SignedXml(null, { idAttribute: 'AssertionID' });

@@ -10,0 +10,0 @@ sig.keyInfoProvider = {

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