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

@pnp/common

Package Overview
Dependencies
Maintainers
10
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/common - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

safe-global.d.ts

1

index.d.ts

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

6

libconfig.js

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

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