@pnp/common
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@pnp/common", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -230,3 +230,3 @@ import { __awaiter, __generator } from "tslib"; | ||
if (this._local === null) { | ||
this._local = PnPClientStorageWrapper.bind(localStorage); | ||
this._local = new PnPClientStorageWrapper(typeof (localStorage) === "undefined" ? new MemoryStorage() : localStorage); | ||
} | ||
@@ -244,3 +244,3 @@ return this._local; | ||
if (this._session === null) { | ||
this._session = PnPClientStorageWrapper.bind(sessionStorage); | ||
this._session = new PnPClientStorageWrapper(typeof (sessionStorage) === "undefined" ? new MemoryStorage() : sessionStorage); | ||
} | ||
@@ -247,0 +247,0 @@ return this._session; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43670