openid-client
Advanced tools
Comparing version 5.6.3 to 5.6.4
@@ -12,22 +12,3 @@ const jose = require('jose'); | ||
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(); | ||
} | ||
}); | ||
} | ||
const formUrlEncode = (value) => encodeURIComponent(value).replace(/%20/g, '+'); | ||
@@ -34,0 +15,0 @@ async function clientAssertion(endpoint, payload) { |
{ | ||
"name": "openid-client", | ||
"version": "5.6.3", | ||
"version": "5.6.4", | ||
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
134768
3682