Skip to content

Commit bab5bd0

Browse files
fix!: remove vulnerable node-saml dependency (#126)
BREAKING CHANGE: Requires NodeJS >= 12 See https://github.com/auth0/node-saml/releases/tag/v2.0.0
1 parent 54d8715 commit bab5bd0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ SAML Protocol middleware to create SAMLP identity providers for node.js.
66

77
npm install samlp
88

9+
### Supported Node Versions
10+
11+
node >= 12
12+
913
## Introduction
1014

1115
This middleware is meant to generate a valid SAML Protocol identity provider endpoint that speaks saml.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "samlp",
33
"version": "6.0.2",
4+
"engines": {
5+
"node": ">=12"
6+
},
47
"description": "SAML Protocol server middleware",
58
"main": "lib/index.js",
69
"scripts": {
@@ -25,7 +28,7 @@
2528
"ejs": "2.5.5",
2629
"flowstate": "^0.4.0",
2730
"querystring": "^0.2.0",
28-
"saml": "^1.0.0",
31+
"saml": "^2.0.1",
2932
"xml-crypto": "^2.0.0",
3033
"@auth0/xmldom": "0.1.21",
3134
"xpath": "0.0.5",

0 commit comments

Comments
 (0)