@pnp/queryable
Advanced tools
Comparing version 3.0.0-v3nightly.20220028 to 3.0.0-v3nightly.20220030
@@ -46,2 +46,3 @@ import { delay } from "@pnp/core"; | ||
// if we have gotten a header, use that value as the delay value in seconds | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
wait = parseInt(response.headers.get("Retry-After"), 10) * 1000; | ||
@@ -48,0 +49,0 @@ } |
@@ -47,5 +47,4 @@ import { isFunc, getHashCode, PnPClientStorage, getGUID, extend } from "@pnp/core"; | ||
else { | ||
let cache = undefined; | ||
cache = store.getItem(key); | ||
if (cache !== undefined) { | ||
const cache = store.getItem(key); | ||
if (typeof cache === "string") { | ||
retVal = JSON.parse(cache); | ||
@@ -142,2 +141,3 @@ } | ||
refreshCache = true; | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
const key = keyFactory(url.toString()); | ||
@@ -144,0 +144,0 @@ const cached = getStorage(key); |
@@ -5,2 +5,3 @@ import { hOP } from "@pnp/core"; | ||
return parseBinderWithErrorCheck(async (response) => { | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
if ((response.headers.has("Content-Length") && parseFloat(response.headers.get("Content-Length")) === 0) || response.status === 204) { | ||
@@ -7,0 +8,0 @@ return {}; |
@@ -20,2 +20,3 @@ import { get, op } from "./operations.js"; | ||
const localThis = typeof this === "undefined" ? invokableInstance : this; | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
return Reflect.apply(invokeableAction, localThis, [init]); | ||
@@ -22,0 +23,0 @@ }, Reflect.construct(clz, args, newTarget)); |
{ | ||
"name": "@pnp/queryable", | ||
"version": "3.0.0-v3nightly.20220028", | ||
"version": "3.0.0-v3nightly.20220030", | ||
"description": "pnp - provides shared odata functionality and base classes", | ||
@@ -9,3 +9,3 @@ "main": "./index.js", | ||
"tslib": "2.3.1", | ||
"@pnp/core": "3.0.0-v3nightly.20220028" | ||
"@pnp/core": "3.0.0-v3nightly.20220030" | ||
}, | ||
@@ -12,0 +12,0 @@ "author": { |
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
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
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
Sorry, the diff of this file is not supported yet
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
72769
856
+ Added@pnp/core@3.0.0-v3nightly.20220030(transitive)
- Removed@pnp/core@3.0.0-v3nightly.20220028(transitive)