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

@pnp/sp

Package Overview
Dependencies
Maintainers
6
Versions
1075
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 1.0.0-beta.0 to 1.0.0-beta.1

8

package.json
{
"name": "@pnp/sp",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "pnp - provides SharePoint query functionality",

@@ -9,5 +9,5 @@ "main": "./dist/sp.es5.umd.js",

"peerDependencies": {
"@pnp/common": "1.0.0-beta.0",
"@pnp/logging": "1.0.0-beta.0",
"@pnp/odata": "1.0.0-beta.0"
"@pnp/common": "1.0.0-beta.1",
"@pnp/logging": "1.0.0-beta.1",
"@pnp/odata": "1.0.0-beta.1"
},

@@ -14,0 +14,0 @@ "author": {

@@ -41,2 +41,3 @@ import { SharePointQueryable, SharePointQueryableCollection, SharePointQueryableInstance } from "./sharepointqueryable";

* @param properties The new items's properties
* @param listItemEntityTypeFullName The type name of the list's entities
*/

@@ -106,4 +107,5 @@ add(properties?: TypedHash<any>, listItemEntityTypeFullName?: string): Promise<ItemAddResult>;

* @param eTag Value used in the IF-Match header, by default "*"
* @param listItemEntityTypeFullName The type name of the list's entities
*/
update(properties: TypedHash<any>, eTag?: string): Promise<ItemUpdateResult>;
update(properties: TypedHash<any>, eTag?: string, listItemEntityTypeFullName?: string): Promise<ItemUpdateResult>;
/**

@@ -133,2 +135,8 @@ * Delete this item

validateUpdateListItem(formValues: ListItemFormUpdateValue[], newDocumentUpdate?: boolean): Promise<ListItemFormUpdateValue[]>;
/**
* Ensures we have the proper list item entity type name, either from the value provided or from the list
*
* @param candidatelistItemEntityTypeFullName The potential type name
*/
private ensureListItemEntityTypeName(candidatelistItemEntityTypeFullName);
}

@@ -135,0 +143,0 @@ export interface ItemAddResult {

@@ -10,3 +10,3 @@ import { Items } from "./items";

import { TypedHash } from "@pnp/common";
import { ControlMode, RenderListData, ChangeQuery, CamlQuery, ChangeLogitemQuery, ListFormData } from "./types";
import { ControlMode, RenderListData, ChangeQuery, CamlQuery, ChangeLogitemQuery, ListFormData, RenderListDataParameters } from "./types";
import { UserCustomActions } from "./usercustomactions";

@@ -190,2 +190,9 @@ import { Folder } from "./folders";

/**
* Returns the data for the specified query view
*
* @param parameters The parameters to be used to render list data as JSON string.
* @param overrideParameters The parameters that are used to override and extend the regular SPRenderListDataParameters.
*/
renderListDataAsStream(parameters: RenderListDataParameters, overrideParameters?: any): Promise<any>;
/**
* Gets the field values and field schema attributes for a list item.

@@ -192,0 +199,0 @@ */

@@ -1241,1 +1241,14 @@ import { TypedHash } from "@pnp/common";

}
export declare enum RenderListDataOptions {
None = 0,
ContextInfo = 1,
ListData = 2,
ListSchema = 4,
MenuView = 8,
}
export interface RenderListDataParameters {
ViewXml?: string;
Paging?: string;
FolderServerRelativeUrl?: string;
RenderOptions?: RenderListDataOptions;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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