@pnp/common
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -7,2 +7,3 @@ export * from "./collections"; | ||
export * from "./util"; | ||
export * from "./safe-global"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,2 +6,3 @@ export * from "./collections"; | ||
export * from "./util"; | ||
export * from "./safe-global"; | ||
//# sourceMappingURL=index.js.map |
@@ -82,7 +82,3 @@ import { mergeMaps, objectToMap } from "./collections"; | ||
get: function () { | ||
var v = this.get(s[6]); | ||
if (v) { | ||
console.warn("PnPjs is running in ie11 compat mode. Not all features may work as expected."); | ||
} | ||
return v; | ||
return this.get(s[6]); | ||
}, | ||
@@ -89,0 +85,0 @@ enumerable: true, |
import { __awaiter, __extends, __generator } from "tslib"; | ||
import { assign, objectDefinedNotNull } from "./util"; | ||
import { safeGlobal } from "./safe-global"; | ||
export function mergeHeaders(target, source) { | ||
@@ -34,3 +35,3 @@ if (objectDefinedNotNull(source)) { | ||
FetchClient.prototype.fetch = function (url, options) { | ||
return global.fetch(url, options); | ||
return safeGlobal.fetch(url, options); | ||
}; | ||
@@ -37,0 +38,0 @@ return FetchClient; |
{ | ||
"name": "@pnp/common", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
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
43546
19
1126