passport-saml-metadata
Advanced tools
Comparing version 1.6.0 to 2.0.0
{ | ||
"name": "passport-saml-metadata", | ||
"version": "1.6.0", | ||
"version": "2.0.0", | ||
"description": "SAML2 metadata loader", | ||
@@ -29,15 +29,38 @@ "author": { | ||
"scripts": { | ||
"test": "mocha test/ --recursive --exit --timeout=15000", | ||
"pretest": "eslint src/. test/. --config .eslintrc.json" | ||
"publish": "git push origin --tags && npm run changelog && git push origin", | ||
"release:pre": "npm version prerelease && npm publish --tag pre", | ||
"release:patch": "npm version patch && npm publish", | ||
"release:minor": "npm version minor && npm publish", | ||
"release:major": "npm version major && npm publish", | ||
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -am \"Updating changelog\"", | ||
"lint": "semistandard lib/*.js lib/**/*.js test/*.js test/**/*.js --fix", | ||
"mocha": "mocha --opts mocha.opts", | ||
"coverage": "nyc npm run mocha", | ||
"test": "npm run lint && npm run coverage" | ||
}, | ||
"semistandard": { | ||
"env": [ | ||
"mocha" | ||
] | ||
}, | ||
"nyc": { | ||
"cache": true, | ||
"cacheDir": ".nyc_cache", | ||
"include": [ | ||
"src/**/*.js" | ||
], | ||
"reporter": [ | ||
"lcov", | ||
"text" | ||
] | ||
}, | ||
"engines": { | ||
"node": ">= 6.10", | ||
"node": ">= 8", | ||
"npm": ">= 3" | ||
}, | ||
"dependencies": { | ||
"core-js": "^2.6.2", | ||
"debug": "^4.1.1", | ||
"lodash": "^4.17.11", | ||
"passport-saml": "^1.0.0", | ||
"superagent": "^4.1.0", | ||
"lodash": "^4.17.15", | ||
"passport-saml": "^1.1.0", | ||
"superagent": "^5.1.0", | ||
"xmldom": "^0.1.27", | ||
@@ -47,5 +70,7 @@ "xpath": "0.0.27" | ||
"devDependencies": { | ||
"eslint": "^5.12.1", | ||
"mocha": "^5.1.1" | ||
"eslint": "^6.1.0", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1", | ||
"semistandard": "^13.0.1" | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
const entries = require('core-js/library/fn/object/entries'); | ||
const debug = require('debug')('passport-saml-metadata'); | ||
@@ -23,3 +22,3 @@ | ||
for (let [key, value] of entries(claims)) { | ||
for (let [key, value] of Object.entries(claims)) { | ||
try { | ||
@@ -26,0 +25,0 @@ obj[claimSchema[key].camelCase] = value; |
const assert = require('assert'); | ||
const debug = require('debug')('passport-saml-metadata'); | ||
const camelCase = require('lodash/camelCase'); | ||
const merge = require('lodash/merge'); | ||
const find = require('lodash/find'); | ||
const sortBy = require('lodash/sortBy'); | ||
const { DOMParser } = require('xmldom'); | ||
const xpath = require('xpath'); | ||
const { | ||
camelCase, | ||
merge, | ||
find, | ||
sortBy | ||
} = require('lodash'); | ||
const debug = require('debug')('passport-saml-metadata'); | ||
@@ -12,0 +10,0 @@ const defaultOptions = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15454
6
4
268
+ Addedfast-safe-stringify@2.1.1(transitive)
+ Addedform-data@3.0.2(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedsuperagent@5.3.1(transitive)
- Removedcore-js@^2.6.2
- Removedcore-js@2.6.12(transitive)
- Removedform-data@2.5.2(transitive)
- Removedsuperagent@4.1.0(transitive)
Updatedlodash@^4.17.15
Updatedpassport-saml@^1.1.0
Updatedsuperagent@^5.1.0