Skip to content

Commit 6d1215b

Browse files
committed
Update deps to latest
1 parent 8f3253b commit 6d1215b

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

lib/passport-saml/saml.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -917,13 +917,13 @@ SAML.prototype.generateServiceProviderMetadata = function( decryptionCert ) {
917917
}
918918
}
919919
},
920-
'#list' : [
920+
'EncryptionMethod' : [
921921
// this should be the set that the xmlenc library supports
922-
{ 'EncryptionMethod': { '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' } },
923-
{ 'EncryptionMethod': { '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' } },
924-
{ 'EncryptionMethod': { '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' } },
922+
{ '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' },
923+
{ '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' },
924+
{ '@Algorithm': 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' }
925925
]
926-
};
926+
}
927927
}
928928

929929
if (this.options.logoutCallbackUrl) {

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
"main": "./lib/passport-saml",
3232
"dependencies": {
3333
"passport-strategy": "*",
34-
"q": "1.1.x",
34+
"q": "^1.5.0",
35+
"xml-crypto": "^0.9.0",
36+
"xml-encryption": "~0.10",
3537
"xml2js": "0.4.x",
36-
"xml-crypto": "0.8.x",
37-
"xmldom": "0.1.x",
38-
"xmlbuilder": "2.5.x",
39-
"xml-encryption": "~0.10"
38+
"xmlbuilder": "^8.2.2",
39+
"xmldom": "0.1.x"
4040
},
4141
"devDependencies": {
42-
"body-parser": "1.9.x",
42+
"body-parser": "^1.17.1",
4343
"express": "4.x",
4444
"jshint": "*",
4545
"mocha": "*",
46+
"passport": "0.3.x",
4647
"request": "*",
4748
"should": "*",
48-
"sinon": "^1.10.2",
49-
"passport": "0.3.x"
49+
"sinon": "^2.1.0"
5050
},
5151
"engines": {
5252
"node": ">= 0.8.0"

0 commit comments

Comments
 (0)