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

@criipto/oidc

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@criipto/oidc - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

23

dist/index.js

@@ -42,3 +42,2 @@ "use strict";

function parseAuthorizeOptionsFromUrl(input) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
const url = typeof input === "string" ? new URL(input) : input;

@@ -50,13 +49,13 @@ const acr_values = url.searchParams.get('acr_values');

acr_values: acr_values ? acr_values.split(" ") : undefined,
redirect_uri: (_a = url.searchParams.get('redirect_uri')) !== null && _a !== void 0 ? _a : undefined,
response_type: (_b = url.searchParams.get('response_type')) !== null && _b !== void 0 ? _b : undefined,
response_mode: (_c = url.searchParams.get('response_mode')) !== null && _c !== void 0 ? _c : undefined,
code_challenge: (_d = url.searchParams.get('code_challenge')) !== null && _d !== void 0 ? _d : undefined,
code_challenge_method: (_e = url.searchParams.get('code_challenge_method')) !== null && _e !== void 0 ? _e : undefined,
state: (_f = url.searchParams.get('state')) !== null && _f !== void 0 ? _f : undefined,
login_hint: (_g = url.searchParams.get('login_hint')) !== null && _g !== void 0 ? _g : undefined,
ui_locales: (_h = url.searchParams.get('ui_locales')) !== null && _h !== void 0 ? _h : undefined,
scope: (_j = url.searchParams.get('scope')) !== null && _j !== void 0 ? _j : undefined,
nonce: (_k = url.searchParams.get('nonce')) !== null && _k !== void 0 ? _k : undefined,
prompt: (_l = url.searchParams.get('prompt')) !== null && _l !== void 0 ? _l : undefined
redirect_uri: url.searchParams.get('redirect_uri') || undefined,
response_type: url.searchParams.get('response_type') || undefined,
response_mode: url.searchParams.get('response_mode') || undefined,
code_challenge: url.searchParams.get('code_challenge') || undefined,
code_challenge_method: url.searchParams.get('code_challenge_method') || undefined,
state: url.searchParams.get('state') || undefined,
login_hint: url.searchParams.get('login_hint') || undefined,
ui_locales: url.searchParams.get('ui_locales') || undefined,
scope: url.searchParams.get('scope') || undefined,
nonce: url.searchParams.get('nonce') || undefined,
prompt: url.searchParams.get('prompt') || undefined
};

@@ -63,0 +62,0 @@ }

{
"name": "@criipto/oidc",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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