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

oauth2-pkce

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth2-pkce - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

7

index.js

@@ -256,3 +256,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

this.saveState();
return { accessToken: this.state.accessToken, scopes: scope ? this.state.scopes : [] };
return {
accessToken: this.state.accessToken,
idToken: this.state.idToken,
refreshToken: this.state.refreshToken,
scopes: scope ? this.state.scopes : []
};
}

@@ -259,0 +264,0 @@ recoverState() {

@@ -641,2 +641,4 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.OAuth2Pkce = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){

accessToken: this.state.accessToken,
idToken: this.state.idToken,
refreshToken: this.state.refreshToken,
scopes: scope ? this.state.scopes : []

@@ -643,0 +645,0 @@ };

4

package.json
{
"name": "oauth2-pkce",
"version": "1.1.3",
"version": "1.1.4",
"description": "An OAuth 2.0 client library for the Authorization Code flow with PKCE",

@@ -16,3 +16,3 @@ "main": "index.js",

"build:code": "npm run build:code:esm && npm run build:code:browser",
"build": "npm run clean && npm run build:code",
"build": "npm run build:code",
"clean": "rm -f *.d.ts *.js"

@@ -19,0 +19,0 @@ },

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