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
2
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.0.1-next.electron-provider.669ff52 to 4.0.1-next.electron-provider.74fa189

7

dist/Authenticator/ElectronAuthenticator.js

@@ -20,2 +20,3 @@ "use strict";

const msal_node_1 = require("@azure/msal-node");
const mgt_element_1 = require("@microsoft/mgt-element");
const electron_1 = require("electron");

@@ -64,4 +65,6 @@ const CustomFileProtocol_1 = require("./CustomFileProtocol");

set approvedScopes(value) {
this._approvedScopes = value;
this.mainWindow.webContents.send('mgtApprovedScopes', value);
if (!(0, mgt_element_1.arraysAreEqual)(value, this._approvedScopes)) {
this._approvedScopes = value;
this.mainWindow.webContents.send('approvedScopes', value);
}
}

@@ -68,0 +71,0 @@ /**

{
"name": "@microsoft/mgt-electron-provider",
"version": "4.0.1-next.electron-provider.669ff52",
"version": "4.0.1-next.electron-provider.74fa189",
"description": "The Microsoft Graph Toolkit Electron Provider",

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

"@azure/msal-node": "^1.0.3",
"@microsoft/mgt-element": "4.0.1-next.electron-provider.669ff52",
"@microsoft/mgt-element": "4.0.1-next.electron-provider.74fa189",
"@microsoft/microsoft-graph-client": "3.0.2"
},
"peerDependencies": {
"electron": ">22.3.25 <29.0.0"
"electron": ">=11.0.2 <29.0.0"
},

@@ -58,6 +58,3 @@ "devDependencies": {

"directory": "dist"
},
"resolutions": {
"responselike": "2.0.0"
}
}

@@ -21,3 +21,3 @@ /**

import { AuthenticationProviderOptions } from '@microsoft/microsoft-graph-client';
import { GraphEndpoint } from '@microsoft/mgt-element';
import { arraysAreEqual, GraphEndpoint } from '@microsoft/mgt-element';
import { BrowserWindow, ipcMain } from 'electron';

@@ -205,4 +205,6 @@ import { CustomFileProtocolListener } from './CustomFileProtocol';

protected set approvedScopes(value: string[]) {
this._approvedScopes = value;
this.mainWindow.webContents.send('mgtApprovedScopes', value);
if (!arraysAreEqual(value, this._approvedScopes)) {
this._approvedScopes = value;
this.mainWindow.webContents.send('approvedScopes', value);
}
}

@@ -209,0 +211,0 @@

Sorry, the diff of this file is not supported yet

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