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

@microsoft/mgt-element

Package Overview
Dependencies
Maintainers
2
Versions
831
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-element - npm Package Compare versions

Comparing version 2.2.0-next.file-picker.bcc3b0d to 2.2.0-preview.079643a

9

dist/es6/components/baseComponent.js

@@ -224,8 +224,11 @@ /**

const provider = Providers.globalProvider;
if (provider.state == ProviderState.SignedOut) {
if (!provider) {
return Promise.resolve();
}
if (provider.state === ProviderState.SignedOut) {
// Signed out, clear the component state
this.clearState();
return Promise.resolve();
return;
}
else if (provider.state == ProviderState.Loading) {
else if (provider.state === ProviderState.Loading) {
// The provider state is indeterminate. Do nothing.

@@ -232,0 +235,0 @@ return Promise.resolve();

{
"name": "@microsoft/mgt-element",
"version": "2.2.0-next.file-picker.bcc3b0d",
"version": "2.2.0-preview.079643a",
"description": "Microsoft Graph Toolkit base classes",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit",

@@ -231,7 +231,11 @@ /**

if (provider.state == ProviderState.SignedOut) {
if (!provider) {
return Promise.resolve();
}
if (provider.state === ProviderState.SignedOut) {
// Signed out, clear the component state
this.clearState();
return Promise.resolve();
} else if (provider.state == ProviderState.Loading) {
return;
} else if (provider.state === ProviderState.Loading) {
// The provider state is indeterminate. Do nothing.

@@ -238,0 +242,0 @@ return Promise.resolve();

Sorry, the diff of this file is not supported yet

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