passport-saml-metadata
Advanced tools
Comparing version 2.2.0 to 2.3.0
# Change Log | ||
## [v2.2.0](https://github.com/compwright/passport-saml-metadata/tree/v2.2.0) (2019-12-23) | ||
[Full Changelog](https://github.com/compwright/passport-saml-metadata/compare/v2.1.0...v2.2.0) | ||
**Closed issues:** | ||
- pem\_read\_bio\_pubkey failed, started sometime after 1.4 series [\#18](https://github.com/compwright/passport-saml-metadata/issues/18) | ||
**Merged pull requests:** | ||
- Update nyc to the latest version 🚀 [\#27](https://github.com/compwright/passport-saml-metadata/pull/27) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Update xmldom to the latest version 🚀 [\#26](https://github.com/compwright/passport-saml-metadata/pull/26) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- feat\(passport\): passport config to support multiple signing certs [\#25](https://github.com/compwright/passport-saml-metadata/pull/25) ([rob-gijsens](https://github.com/rob-gijsens)) | ||
- Update semistandard to the latest version 🚀 [\#24](https://github.com/compwright/passport-saml-metadata/pull/24) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
## [v2.1.0](https://github.com/compwright/passport-saml-metadata/tree/v2.1.0) (2019-08-17) | ||
[Full Changelog](https://github.com/compwright/passport-saml-metadata/compare/v2.0.1...v2.1.0) | ||
**Closed issues:** | ||
- Adding option for adding a CA [\#17](https://github.com/compwright/passport-saml-metadata/issues/17) | ||
- fetch dosn't support self signed certificate [\#16](https://github.com/compwright/passport-saml-metadata/issues/16) | ||
- reader.claimSchema dosn't find any claims in my metadata.xml [\#15](https://github.com/compwright/passport-saml-metadata/issues/15) | ||
**Merged pull requests:** | ||
- Make fetch\(\) configurable [\#23](https://github.com/compwright/passport-saml-metadata/pull/23) ([compwright](https://github.com/compwright)) | ||
## [v2.0.1](https://github.com/compwright/passport-saml-metadata/tree/v2.0.1) (2019-08-17) | ||
@@ -27,3 +54,2 @@ [Full Changelog](https://github.com/compwright/passport-saml-metadata/compare/v2.0.0...v2.0.1) | ||
- Update superagent to the latest version 🚀 [\#10](https://github.com/compwright/passport-saml-metadata/pull/10) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- toPassportConfig: use entryPoint for passport-saml [\#1](https://github.com/compwright/passport-saml-metadata/pull/1) ([leachiM2k](https://github.com/leachiM2k)) | ||
@@ -38,6 +64,2 @@ ## [v1.5.2](https://github.com/compwright/passport-saml-metadata/tree/v1.5.2) (2018-09-11) | ||
**Merged pull requests:** | ||
- Update debug to the latest version 🚀 [\#9](https://github.com/compwright/passport-saml-metadata/pull/9) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
## [v1.5.1](https://github.com/compwright/passport-saml-metadata/tree/v1.5.1) (2018-08-29) | ||
@@ -59,2 +81,3 @@ [Full Changelog](https://github.com/compwright/passport-saml-metadata/compare/v1.5.0...v1.5.1) | ||
- Update debug to the latest version 🚀 [\#9](https://github.com/compwright/passport-saml-metadata/pull/9) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Adding support for alternate authorization bindings \(\#4\) [\#5](https://github.com/compwright/passport-saml-metadata/pull/5) ([TigerC10](https://github.com/TigerC10)) | ||
@@ -72,2 +95,3 @@ | ||
- Updating Dependencies \(\#2\) [\#3](https://github.com/compwright/passport-saml-metadata/pull/3) ([TigerC10](https://github.com/TigerC10)) | ||
- toPassportConfig: use entryPoint for passport-saml [\#1](https://github.com/compwright/passport-saml-metadata/pull/1) ([leachiM2k](https://github.com/leachiM2k)) | ||
@@ -74,0 +98,0 @@ ## [v1.3.0](https://github.com/compwright/passport-saml-metadata/tree/v1.3.0) (2018-02-05) |
{ | ||
"name": "passport-saml-metadata", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "SAML2 metadata loader", | ||
@@ -61,16 +61,16 @@ "author": { | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios": "^0.19.2", | ||
"debug": "^4.1.1", | ||
"lodash": "^4.17.15", | ||
"passport-saml": "^1.2.0", | ||
"xmldom": "^0.2.1", | ||
"passport-saml": "^1.3.3", | ||
"xmldom": "^0.3.0", | ||
"xpath": "0.0.27" | ||
}, | ||
"devDependencies": { | ||
"axios-mock-adapter": "^1.17.0", | ||
"eslint": "^6.8.0", | ||
"mocha": "^6.2.2", | ||
"nyc": "^15.0.0", | ||
"axios-mock-adapter": "^1.18.1", | ||
"eslint": "^7.1.0", | ||
"mocha": "^7.2.0", | ||
"nyc": "^15.1.0", | ||
"semistandard": "^14.2.0" | ||
} | ||
} |
@@ -115,3 +115,3 @@ const assert = require('assert'); | ||
return this.query('//md:IDPSSODescriptor/md:KeyDescriptor[@use="encryption" or not(@use)]/sig:KeyInfo/sig:X509Data/sig:X509Certificate') | ||
.map((node) => node.firstChild.data); | ||
.map((node) => node.firstChild.data.replace(/[\r\n\t\s]/gm, '')); | ||
} catch (e) { | ||
@@ -128,3 +128,3 @@ if (this.options.throwExceptions) { | ||
try { | ||
return this.encryptionCerts[0]; | ||
return this.encryptionCerts[0].replace(/[\r\n\t\s]/gm, ''); | ||
} catch (e) { | ||
@@ -142,3 +142,3 @@ if (this.options.throwExceptions) { | ||
return this.query('//md:IDPSSODescriptor/md:KeyDescriptor[@use="signing" or not(@use)]/sig:KeyInfo/sig:X509Data/sig:X509Certificate') | ||
.map((node) => node.firstChild.data); | ||
.map((node) => node.firstChild.data.replace(/[\r\n\t\s]/gm, '')); | ||
} catch (e) { | ||
@@ -155,3 +155,3 @@ if (this.options.throwExceptions) { | ||
try { | ||
return this.signingCerts[0]; | ||
return this.signingCerts[0].replace(/[\r\n\t\s]/gm, ''); | ||
} catch (e) { | ||
@@ -158,0 +158,0 @@ if (this.options.throwExceptions) { |
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
23078
+ Addedxmldom@0.3.0(transitive)
- Removedxmldom@0.2.1(transitive)
Updatedaxios@^0.19.2
Updatedpassport-saml@^1.3.3
Updatedxmldom@^0.3.0