Update deps (#24)

* updated deps

* updated saml20
This commit is contained in:
Deepak Prabhakara 2022-07-26 22:48:29 +01:00 committed by GitHub
parent f915a7672d
commit 2c428759ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1501 additions and 2098 deletions

3559
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,33 +11,33 @@
"lint": "next lint"
},
"dependencies": {
"@boxyhq/saml20": "1.0.1",
"daisyui": "^2.19.0",
"next": "12.1.4",
"react": "18.0.0",
"react-dom": "18.0.0",
"@boxyhq/saml20": "1.0.4",
"daisyui": "2.20.0",
"next": "12.2.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-gtm-module": "2.0.11",
"xml-crypto": "2.1.3",
"xml-crypto": "2.1.4",
"xml2js": "0.4.23",
"xmlbuilder": "15.1.1"
},
"devDependencies": {
"@types/node": "17.0.23",
"@types/node-forge": "1.0.1",
"@types/react": "18.0.0",
"@types/node": "18.0.4",
"@types/node-forge": "1.0.4",
"@types/react": "18.0.15",
"@types/react-gtm-module": "2.0.1",
"@types/xml-crypto": "1.4.2",
"@types/xml2js": "0.4.9",
"autoprefixer": "10.4.4",
"eslint": "8.12.0",
"eslint-config-next": "12.1.4",
"postcss": "8.4.12",
"prettier": "2.6.2",
"prettier-plugin-tailwindcss": "0.1.8",
"tailwindcss": "3.0.23",
"typescript": "4.6.3"
"@types/xml2js": "0.4.11",
"autoprefixer": "10.4.7",
"eslint": "8.19.0",
"eslint-config-next": "12.2.2",
"postcss": "8.4.14",
"prettier": "2.7.1",
"prettier-plugin-tailwindcss": "0.1.12",
"tailwindcss": "3.1.6",
"typescript": "4.7.4"
},
"engines": {
"node": ">=14.18.1 <=16.x"
}
}
}

View File

@ -7,7 +7,7 @@ const inflateRawAsync = promisify(inflateRaw);
// Parse XML
const parseXML = (xml: string): Promise<Record<string, any>> => {
return new Promise((resolve, reject) => {
xml2js.parseString(xml, (err: Error, result: any) => {
xml2js.parseString(xml, (err: Error | null, result: any) => {
if (err) {
reject(err);
}