Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

passport-saml-metadata

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-saml-metadata - npm Package Compare versions

Comparing version 1.6.0 to 2.0.0

mocha.opts

45

package.json
{
"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 = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc