Skip to content

Commit 0106c61

Browse files
fix!: remove vulnerable node-forge dependency
BREAKING CHANGE: Requires NodeJS >= 12 Upgraded the xml-encryption package which removes the vulnerable node-forge dependency See GHSA-8fr3-hfg3-gpgp
1 parent d281fdd commit 0106c61

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Create SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.
44

55
[![Build Status](https://travis-ci.org/auth0/node-saml.png)](https://travis-ci.org/auth0/node-saml)
66

7+
### Supported Node Versions
8+
9+
node >= 12
10+
711
### Usage
812

913
```js

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "saml",
33
"version": "1.0.1",
4+
"engines": {
5+
"node": ">=12"
6+
},
47
"devDependencies": {
58
"@commitlint/cli": "^11.0.0",
69
"@commitlint/config-conventional": "^11.0.0",
@@ -24,7 +27,7 @@
2427
"moment": "2.19.3",
2528
"valid-url": "~1.0.9",
2629
"xml-crypto": "^2.1.3",
27-
"xml-encryption": "^1.2.1",
30+
"xml-encryption": "^2.0.0",
2831
"xml-name-validator": "~2.0.1",
2932
"xpath": "0.0.5"
3033
},

0 commit comments

Comments
 (0)