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

@bity/oauth2-auth-code-pkce

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bity/oauth2-auth-code-pkce - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

index.js

@@ -332,3 +332,3 @@ /**

var jsonPromise = res.json()
.catch(function (jsonDecodeError) { return ({ error: 'invalid_json' }); });
.catch(function (_) { return ({ error: 'invalid_json' }); });
if (!res.ok) {

@@ -335,0 +335,0 @@ return jsonPromise.then(function (_a) {

@@ -162,3 +162,3 @@ /**

*/
private isReturningFromAuthServer(): Promise<boolean> {
public isReturningFromAuthServer(): Promise<boolean> {
const error = OAuth2AuthCodePKCE.extractParamFromUrl(location.href, 'error');

@@ -227,3 +227,3 @@ if (error) {

const jsonPromise = res.json()
.catch(jsonDecodeError => ({ error: 'invalid_json' }));
.catch(_ => ({ error: 'invalid_json' }));

@@ -230,0 +230,0 @@ if (!res.ok) {

@@ -427,3 +427,3 @@ module.exports =

var jsonPromise = res.json()
.catch(function (jsonDecodeError) { return ({ error: 'invalid_json' }); });
.catch(function (_) { return ({ error: 'invalid_json' }); });
if (!res.ok) {

@@ -430,0 +430,0 @@ return jsonPromise.then(function (_a) {

{
"name": "@bity/oauth2-auth-code-pkce",
"version": "2.1.0",
"version": "2.1.1",
"description": "An OAuth 2.0 client that ONLY supports Authorization Code flow with PKCE support.",

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

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