Socket
Socket
Sign inDemoInstall

@pnp/sp

Package Overview
Dependencies
Maintainers
0
Versions
1035
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/sp - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0-v4nightly.20240813

2

behaviors/telemetry.js

@@ -5,3 +5,3 @@ import { stringIsNullOrEmpty } from "@pnp/core";

instance.on.pre(async function (url, init, result) {
let clientTag = "PnPCoreJS:4.3.0:";
let clientTag = "PnPCoreJS:4.4.0:";
// make our best guess based on url to the method called

@@ -8,0 +8,0 @@ const { pathname } = new URL(url);

{
"name": "@pnp/sp",
"version": "4.3.0",
"version": "4.4.0-v4nightly.20240813",
"description": "pnp - provides a fluent api for working with SharePoint REST",

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

"tslib": "2.6.3",
"@pnp/core": "4.3.0",
"@pnp/queryable": "4.3.0"
"@pnp/core": "4.4.0-v4nightly.20240813",
"@pnp/queryable": "4.4.0-v4nightly.20240813"
},

@@ -13,0 +13,0 @@ "type": "module",

@@ -26,3 +26,3 @@ import { PermissionKind } from "./types.js";

export async function breakRoleInheritance(copyRoleAssignments = false, clearSubscopes = false) {
await spPost(SPQueryable(this, `breakroleinheritance(copyroleassignments=${copyRoleAssignments}, clearsubscopes=${clearSubscopes})`));
return spPost(SPQueryable(this, `breakroleinheritance(copyroleassignments=${copyRoleAssignments}, clearsubscopes=${clearSubscopes})`));
}

@@ -34,3 +34,3 @@ /**

export async function resetRoleInheritance() {
await spPost(SPQueryable(this, "resetroleinheritance"));
return spPost(SPQueryable(this, "resetroleinheritance"));
}

@@ -37,0 +37,0 @@ /**

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