New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@criipto/oidc

Package Overview
Dependencies
Maintainers
2
Versions
16
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.1 to 1.1.2

27

dist/index.js

@@ -42,19 +42,20 @@ "use strict";

function parseAuthorizeOptionsFromUrl(input) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
const url = typeof input === "string" ? new URL(input) : input;
const acr_values = url.searchParams.get('acr_values');
return {
domain: url.host,
client_id: url.searchParams.get('client_id'),
acr_values: (_b = (_a = url.searchParams.get('acr_values')) === null || _a === void 0 ? void 0 : _a.split(' ')) !== null && _b !== void 0 ? _b : undefined,
redirect_uri: (_c = url.searchParams.get('redirect_uri')) !== null && _c !== void 0 ? _c : undefined,
response_type: (_d = url.searchParams.get('response_type')) !== null && _d !== void 0 ? _d : undefined,
response_mode: (_e = url.searchParams.get('response_mode')) !== null && _e !== void 0 ? _e : undefined,
code_challenge: (_f = url.searchParams.get('code_challenge')) !== null && _f !== void 0 ? _f : undefined,
code_challenge_method: (_g = url.searchParams.get('code_challenge_method')) !== null && _g !== void 0 ? _g : undefined,
state: (_h = url.searchParams.get('state')) !== null && _h !== void 0 ? _h : undefined,
login_hint: (_j = url.searchParams.get('login_hint')) !== null && _j !== void 0 ? _j : undefined,
ui_locales: (_k = url.searchParams.get('ui_locales')) !== null && _k !== void 0 ? _k : undefined,
scope: (_l = url.searchParams.get('scope')) !== null && _l !== void 0 ? _l : undefined,
nonce: (_m = url.searchParams.get('nonce')) !== null && _m !== void 0 ? _m : undefined,
prompt: (_o = url.searchParams.get('prompt')) !== null && _o !== void 0 ? _o : undefined
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
};

@@ -61,0 +62,0 @@ }

{
"name": "@criipto/oidc",
"version": "1.1.1",
"version": "1.1.2",
"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