Socket
Socket
Sign inDemoInstall

openid-client

Package Overview
Dependencies
5
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.6.2 to 5.6.3

21

lib/helpers/client.js

@@ -12,3 +12,22 @@ const jose = require('jose');

const formUrlEncode = (value) => encodeURIComponent(value).replace(/%20/g, '+');
function formUrlEncode(token) {
return encodeURIComponent(token).replace(/(?:[-_.!~*'()]|%20)/g, (substring) => {
switch (substring) {
case '-':
case '_':
case '.':
case '!':
case '~':
case '*':
case "'":
case '(':
case ')':
return `%${substring.charCodeAt(0).toString(16).toUpperCase()}`;
case '%20':
return '+';
default:
throw new Error();
}
});
}

@@ -15,0 +34,0 @@ async function clientAssertion(endpoint, payload) {

2

package.json
{
"name": "openid-client",
"version": "5.6.2",
"version": "5.6.3",
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc