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

@microsoft/mgt-electron-provider

Package Overview
Dependencies
Maintainers
0
Versions
805
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-electron-provider - npm Package Compare versions

Comparing version 4.2.3 to 4.2.4-preview.1f3deb8

3

dist/Authenticator/ElectronAuthenticator.js

@@ -195,5 +195,6 @@ "use strict";

getAccessToken(options) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
let authResponse = null;
const scopes = (options === null || options === void 0 ? void 0 : options.scopes) ? options.scopes : this.authCodeUrlParams.scopes;
const scopes = ((_a = options === null || options === void 0 ? void 0 : options.scopes) === null || _a === void 0 ? void 0 : _a.length) ? options.scopes : this.authCodeUrlParams.scopes;
const account = this.account || (yield this.getAccount());

@@ -200,0 +201,0 @@ if (account) {

{
"name": "@microsoft/mgt-electron-provider",
"version": "4.2.3",
"version": "4.2.4-preview.1f3deb8",
"description": "The Microsoft Graph Toolkit Electron Provider",

@@ -46,3 +46,3 @@ "keywords": [

"@azure/msal-node": "^1.18.4",
"@microsoft/mgt-element": "4.2.3",
"@microsoft/mgt-element": "4.2.4-preview.1f3deb8",
"@microsoft/microsoft-graph-client": "3.0.2"

@@ -49,0 +49,0 @@ },

@@ -347,3 +347,3 @@ /**

let authResponse: AuthenticationResult | null = null;
const scopes = options?.scopes ? options.scopes : this.authCodeUrlParams.scopes;
const scopes = options?.scopes?.length ? options.scopes : this.authCodeUrlParams.scopes;
const account = this.account || (await this.getAccount());

@@ -350,0 +350,0 @@ if (account) {

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