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

@pnp/azidjsclient

Package Overview
Dependencies
Maintainers
12
Versions
594
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/azidjsclient - npm Package Compare versions

Comparing version 3.14.0 to 3.15.0-v3nightly.20230515

4

index.js
import { PnPClientStorage, getHashCode } from "@pnp/core/index.js";
export function AzureIdentity(credential, scopes = ["https://graph.microsoft.com/.default"], options) {
const key = `AzureIdentityCredential${getHashCode(scopes.join())}`;
const key = `AzureIdentityCredential${Math.abs(getHashCode(scopes.join()))}`;
const storage = new PnPClientStorage();

@@ -12,3 +12,3 @@ return (instance) => {

const storedToken = JSON.parse(tokenStore);
if (storedToken.expires < (new Date())) {
if (new Date(storedToken.expires) > (new Date())) {
token = storedToken.token;

@@ -15,0 +15,0 @@ }

{
"name": "@pnp/azidjsclient",
"version": "3.14.0",
"description": "pnp - provides an Azure Identity wrapper client for use with PnPjs",
"main": "./index.js",
"typings": "./index",
"dependencies": {
"@pnp/core": "3.14.0",
"@pnp/queryable": "3.14.0",
"@azure/identity": "3.1.4",
"tslib": "2.4.1"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/patrick-rodgers/"
},
"type": "module",
"engines": {
"node": ">=14.15.1"
},
"author": {
"name": "Microsoft and other contributors"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/pnp/pnpjs/issues"
},
"homepage": "https://github.com/pnp/pnpjs",
"repository": {
"type": "git",
"url": "git:github.com/pnp/pnpjs"
}
"name": "@pnp/azidjsclient",
"version": "3.15.0-v3nightly.20230515",
"description": "pnp - provides an Azure Identity wrapper client for use with PnPjs",
"main": "./index.js",
"typings": "./index",
"dependencies": {
"@pnp/core": "3.15.0-v3nightly.20230515",
"@pnp/queryable": "3.15.0-v3nightly.20230515",
"@azure/identity": "3.2.1",
"tslib": "2.5.0"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/patrick-rodgers/"
},
"type": "module",
"engines": {
"node": ">=14.15.1"
},
"author": {
"name": "Microsoft and other contributors"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/pnp/pnpjs/issues"
},
"homepage": "https://github.com/pnp/pnpjs",
"repository": {
"type": "git",
"url": "git:github.com/pnp/pnpjs"
}
}

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