Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump passport-saml from 2.2.0 to 3.1.2 #332

Merged
merged 7 commits into from Sep 12, 2021
80 changes: 26 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"start": "NODE_ENV=production node server/app.js",
"test": "npm run test:unit && npm run test:integration && npm run test:behaviour",
"test:unit": "NODE_ENV=test ALLOW_CONFIG_MUTATIONS=true mocha --exit --no-warnings test/*.test.js",
"test:unit": "NODE_ENV=test ALLOW_CONFIG_MUTATIONS=true mocha --exit --no-warnings test/*.test.js --timeout 10000",
"test:integration": "NODE_ENV=test mocha --config .mocharc-integration.json --exit --no-warnings test/*.spec.js",
"test:behaviour": "NODE_ENV=test cucumber-js --exit test/features",
"cover": "npm run cover:unit && npm run cover:integration && npm run cover:report",
Expand Down Expand Up @@ -55,7 +55,7 @@
"passport-github": "^1.1.0",
"passport-google-oauth2": "^0.2.0",
"passport-oxd": "^4.1.0",
"passport-saml": "^2.2.0",
"passport-saml": "^3.1.2",
"passport-tumblr": "^0.1.2",
"passport-twitter": "git+https://github.com/GluuFederation/passport-twitter.git",
"passport-windowslive": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion test/sp-meta.test.js
Expand Up @@ -34,7 +34,7 @@ describe('Test SP Meta Helper', () => {
})

it('should generate metafile for provider in idp-metadata folder', async () => {
const oPassportSAMLStrategy = new PassportSAMLStrategy(testSAMLProvider, () => { /* */ })
const oPassportSAMLStrategy = new PassportSAMLStrategy(testSAMLProvider.options, () => { /* */ })

await generate(testSAMLProvider, oPassportSAMLStrategy)
assert.exists(metaFile, `${metaFile} file not found`)
Expand Down