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

oidc-provider

Package Overview
Dependencies
Maintainers
1
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-provider - npm Package Compare versions

Comparing version 8.2.2 to 8.3.0

9

lib/helpers/request.js

@@ -18,4 +18,2 @@ import * as dns from 'node:dns';

});
// eslint-disable-next-line no-param-reassign
options.headers['user-agent'] = undefined;
const {

@@ -40,2 +38,9 @@ signal = AbortSignal.timeout(2500),

if (helperOptions['user-agent'] !== undefined && typeof helperOptions['user-agent'] !== 'string') {
throw new TypeError('"user-agent" http request option must be a string');
}
// eslint-disable-next-line no-param-reassign
options.headers['user-agent'] = helperOptions['user-agent'];
return got({

@@ -42,0 +47,0 @@ ...options,

@@ -1,2 +0,2 @@

import { render } from 'eta';
import { Eta } from 'eta';

@@ -7,4 +7,17 @@ import layoutTemplate from './layout.js';

export const interaction = (locals) => render(interactionTemplate, locals, { useWith: true });
export const layout = (locals) => render(layoutTemplate, locals, { useWith: true });
export const login = (locals) => render(loginTemplate, locals, { useWith: true });
let eta;
export const interaction = (locals) => {
eta ||= new Eta({ useWith: true });
return eta.renderString(interactionTemplate, locals);
};
export const layout = (locals) => {
eta ||= new Eta({ useWith: true });
return eta.renderString(layoutTemplate, locals);
};
export const login = (locals) => {
eta ||= new Eta({ useWith: true });
return eta.renderString(loginTemplate, locals);
};
{
"name": "oidc-provider",
"version": "8.2.2",
"version": "8.3.0",
"description": "OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect",

@@ -62,3 +62,3 @@ "keywords": [

"debug": "^4.3.4",
"eta": "^2.2.0",
"eta": "^3.1.1",
"got": "^13.0.0",

@@ -79,11 +79,11 @@ "jose": "^4.14.4",

"base64url": "^3.0.1",
"chai": "^4.3.7",
"chai": "^4.3.8",
"clear-module": "^4.1.2",
"connect": "^3.7.0",
"desm": "^1.3.0",
"eslint": "^8.41.0",
"eslint": "^8.48.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import": "^2.28.1",
"express": "^4.18.2",
"fastify": "^4.17.0",
"fastify": "^4.22.0",
"helmet": "^7.0.0",

@@ -96,8 +96,8 @@ "koa-body": "^6.0.1",

"moment": "^2.29.4",
"nock": "^13.3.1",
"nock": "^13.3.3",
"selfsigned": "^2.1.1",
"sinon": "^15.1.0",
"sinon": "^15.2.0",
"supertest": "^6.3.3",
"timekeeper": "^2.2.0"
"timekeeper": "^2.3.1"
}
}

Sorry, the diff of this file is too big to display

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