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

@advanced-rest-client/oauth-authorization

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/oauth-authorization - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

package.json
{
"name": "@advanced-rest-client/oauth-authorization",
"description": "A set of elements that perform oauth authorization",
"version": "5.1.1",
"version": "5.1.2",
"license": "Apache-2.0",

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

@@ -35,3 +35,3 @@ /* eslint-disable class-methods-use-this */

async [authorizeHandler](e) {
e.detail.result = new Promise(resolve => { //here
e.detail.result = new Promise((resolve, reject) => {
setTimeout(() => {

@@ -42,3 +42,5 @@ if (e.defaultPrevented) {

const config = { ...e.detail };
this.authorize(config).then(result => resolve(result))
this.authorize(config)
.then(result => resolve(result))
.catch(error => reject(error))
}, 0);

@@ -45,0 +47,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