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

@pnp/queryable

Package Overview
Dependencies
Maintainers
13
Versions
918
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/queryable - npm Package Compare versions

Comparing version 3.0.0-v3nightly.20210902 to 3.0.0-v3nightly.20210905

3

behaviors/cachingPessimistic.d.ts
import { Queryable } from "../queryable.js";
import { TimelinePipe } from "@pnp/core";
/**

@@ -12,3 +11,3 @@ * Pessimistic Caching Behavior

*/
export declare function CachingPessimisticRefresh(type?: "local" | "session", keyFactory?: (url: string) => string, expireFunc?: () => Date): TimelinePipe<Queryable>;
export declare function CachingPessimisticRefresh(type?: "local" | "session", keyFactory?: (url: string) => string, expireFunc?: () => Date): (instance: Queryable) => Queryable;
//# sourceMappingURL=cachingPessimistic.d.ts.map

@@ -11,3 +11,2 @@ import { isFunc, getHashCode, PnPClientStorage, getGUID, extend } from "@pnp/core";

*/
// eslint-disable-next-line max-len
export function CachingPessimisticRefresh(type = "session", keyFactory, expireFunc) {

@@ -69,3 +68,2 @@ let store;

const requestId = getGUID();
// let requestUrl: URL;
const emitError = (e) => {

@@ -90,3 +88,3 @@ this.emit.log(`[id:${requestId}] Emitting error: "${e.message || e}"`, 3);

[requestUrl, result] = await this.emit.post(requestUrl, result);
this.emit.log(`[id:${requestId}] Emitted post`, 0);
this.emit.log(`[id:${requestId}] Emitted post`, 0 /* Verbose */);
return result;

@@ -93,0 +91,0 @@ };

{
"name": "@pnp/queryable",
"version": "3.0.0-v3nightly.20210902",
"version": "3.0.0-v3nightly.20210905",
"description": "pnp - provides shared odata functionality and base classes",

@@ -9,3 +9,3 @@ "main": "./index.js",

"tslib": "2.1.0",
"@pnp/core": "3.0.0"
"@pnp/core": "3.0.0-v3nightly.20210905"
},

@@ -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

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