@pnp/queryable
Advanced tools
Comparing version 3.0.0-v3nightly.20211010 to 3.0.0-v3nightly.20211011
@@ -174,3 +174,2 @@ import { isFunc, getHashCode, PnPClientStorage, getGUID, extend } from "@pnp/core"; | ||
class MemoryStorage { | ||
_store; | ||
constructor(_store = new Map()) { | ||
@@ -177,0 +176,0 @@ this._store = _store; |
@@ -74,6 +74,2 @@ import { hOP } from "@pnp/core"; | ||
export class HttpRequestError extends Error { | ||
response; | ||
status; | ||
statusText; | ||
isHttpRequestError = true; | ||
constructor(message, response, status = response.status, statusText = response.statusText) { | ||
@@ -84,2 +80,3 @@ super(message); | ||
this.statusText = statusText; | ||
this.isHttpRequestError = true; | ||
} | ||
@@ -86,0 +83,0 @@ static async init(r) { |
{ | ||
"name": "@pnp/queryable", | ||
"version": "3.0.0-v3nightly.20211010", | ||
"version": "3.0.0-v3nightly.20211011", | ||
"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-v3nightly.20211010" | ||
"@pnp/core": "3.0.0-v3nightly.20211011" | ||
}, | ||
@@ -12,0 +12,0 @@ "author": { |
@@ -13,9 +13,8 @@ import { __decorate } from "tslib"; | ||
let Queryable = class Queryable extends Timeline { | ||
_query; | ||
_url; | ||
InternalResolveEvent = Symbol.for("Queryable_Resolve"); | ||
InternalRejectEvent = Symbol.for("Queryable_Reject"); | ||
constructor(init, path) { | ||
super(DefaultMoments); | ||
this.InternalResolveEvent = Symbol.for("Queryable_Resolve"); | ||
this.InternalRejectEvent = Symbol.for("Queryable_Reject"); | ||
let url = ""; | ||
let observers; | ||
let observers = undefined; | ||
if (typeof init === "string") { | ||
@@ -38,3 +37,6 @@ url = combine(init, path); | ||
} | ||
super(DefaultMoments, observers); | ||
if (typeof observers !== "undefined") { | ||
this.observers = observers; | ||
this._inheritingObservers = true; | ||
} | ||
this._url = url; | ||
@@ -41,0 +43,0 @@ this._query = new Map(); |
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
73906
838
+ Added@pnp/core@3.0.0-v3nightly.20211011(transitive)
- Removed@pnp/core@3.0.0-v3nightly.20211010(transitive)