@node-saml/node-saml
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -173,5 +173,2 @@ "use strict"; | ||
} | ||
if (Array.from(dom.childNodes).filter((n) => n.tagName != null && n.childNodes != null).length !== 1) { | ||
return reject(new Error("Malformed XML; multiple roots detected")); | ||
} | ||
return resolve(dom); | ||
@@ -178,0 +175,0 @@ }); |
{ | ||
"name": "@node-saml/node-saml", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "SAML 2.0 implementation for Node.js", | ||
@@ -60,5 +60,5 @@ "keywords": [ | ||
"@types/xml2js": "^0.4.11", | ||
"@xmldom/xmldom": "^0.8.3", | ||
"@xmldom/xmldom": "^0.8.6", | ||
"debug": "^4.3.4", | ||
"xml-crypto": "^3.0.0", | ||
"xml-crypto": "^3.0.1", | ||
"xml-encryption": "^3.0.1", | ||
@@ -73,6 +73,6 @@ "xml2js": "^0.4.23", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^14.18.32", | ||
"@types/node": "^14.18.33", | ||
"@types/sinon": "^10.0.13", | ||
"@typescript-eslint/eslint-plugin": "^5.41.0", | ||
"@typescript-eslint/parser": "^5.41.0", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"body-parser": "^1.20.1", | ||
@@ -95,3 +95,3 @@ "chai": "^4.3.6", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
"typescript": ">=4.0.0 <4.9.0" | ||
}, | ||
@@ -98,0 +98,0 @@ "engines": { |
@@ -11,6 +11,4 @@ # Node SAML | ||
This is a [SAML 2.0](http://en.wikipedia.org/wiki/SAML_2.0) authentication provider for Node.js. This was forked from `passport-saml` at v3.0.0 and will become the SAML implementation for `passport-saml`. When this is mature, `passport-saml` will have code removed and replaced by a dependency on this library. | ||
This is a [SAML 2.0](http://en.wikipedia.org/wiki/SAML_2.0) authentication provider for Node.js. | ||
The code was originally based on Michael Bosworth's [express-saml](https://github.com/bozzltron/express-saml) library. | ||
## Installation | ||
@@ -24,3 +22,3 @@ | ||
$ npm install node-saml | ||
$ npm install @node-saml/node-saml | ||
@@ -36,3 +34,3 @@ ## Usage | ||
```javascript | ||
const { SAML } = require("node-saml"); | ||
const { SAML } = require("@node-saml/node-saml"); | ||
@@ -39,0 +37,0 @@ const options = {}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252744
2030
316
Updated@xmldom/xmldom@^0.8.6
Updatedxml-crypto@^3.0.1