Socket
Socket
Sign inDemoInstall

@pnp/sp

Package Overview
Dependencies
Maintainers
6
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 1.1.5-5 to 1.2.0

8

package.json
{
"name": "@pnp/sp",
"version": "1.1.5-5",
"version": "1.2.0",
"description": "pnp - provides a fluent api for working with SharePoint REST",

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

"peerDependencies": {
"@pnp/common": "1.1.5-5",
"@pnp/logging": "1.1.5-5",
"@pnp/odata": "1.1.5-5"
"@pnp/common": "1.2.0",
"@pnp/logging": "1.2.0",
"@pnp/odata": "1.2.0"
},

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

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

setContent(content: string | ArrayBuffer | Blob): Promise<AttachmentFile>;
private getParsed<T>(parser);
private getParsed;
}

@@ -70,0 +70,0 @@ export interface AttachmentFileAddResult {

@@ -20,3 +20,3 @@ import { List } from "./lists";

*/
Promoted = 2,
Promoted = 2
}

@@ -118,3 +118,3 @@ /**

*/
private setCommentsOn(on);
private setCommentsOn;
/**

@@ -125,3 +125,3 @@ * Merges the control into the tree of sections and columns for this page

*/
private mergePartToTree(control);
private mergePartToTree;
/**

@@ -133,3 +133,3 @@ * Merges the supplied column into the tree

*/
private mergeColumnToTree(column);
private mergeColumnToTree;
/**

@@ -141,3 +141,3 @@ * Updates the properties of the underlying ListItem associated with this ClientSidePage

*/
private updateProperties(properties, eTag?);
private updateProperties;
}

@@ -144,0 +144,0 @@ export declare class CanvasSection {

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

Major = 1,
Overwrite = 2,
Overwrite = 2
}

@@ -296,7 +296,7 @@ export interface FileAddResult {

User = 0,
Shared = 1,
Shared = 1
}
export declare enum MoveOperations {
Overwrite = 1,
AllowBrokenThickets = 8,
AllowBrokenThickets = 8
}

@@ -307,3 +307,3 @@ export declare enum TemplateFileType {

FormPage = 2,
ClientSidePage = 3,
ClientSidePage = 3
}

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

*/
private ensureListItemEntityTypeName(candidatelistItemEntityTypeFullName);
private ensureListItemEntityTypeName;
}

@@ -163,3 +163,3 @@ /**

*/
private ensureListItemEntityTypeName(candidatelistItemEntityTypeFullName);
private ensureListItemEntityTypeName;
}

@@ -166,0 +166,0 @@ export interface ItemAddResult {

@@ -97,4 +97,4 @@ import { SearchResults, SearchQueryInit } from "./search";

*/
private create<T>(fm, path?);
private create;
}
export declare const sp: SPRest;

@@ -71,3 +71,3 @@ import { SharePointQueryableInstance } from "./sharepointqueryable";

*/
private fixupProp(prop);
private fixupProp;
/**

@@ -78,3 +78,3 @@ * Translates one of the query initializers into a SearchQuery instance

*/
private parseQuery(query);
private parseQuery;
}

@@ -430,3 +430,3 @@ /**

Descending = 1,
FQLFormula = 2,
FQLFormula = 2
}

@@ -462,3 +462,3 @@ /**

ResultHasTag = 7,
ManualCondition = 8,
ManualCondition = 8
}

@@ -474,3 +474,3 @@ /**

StringArrayType = 4,
UnSupportedType = 5,
UnSupportedType = 5
}

@@ -477,0 +477,0 @@ export declare class SearchBuiltInSourceId {

@@ -58,20 +58,20 @@ import { SharePointQueryableInstance } from "./sharepointqueryable";

execute(query: SearchSuggestQuery): Promise<SearchSuggestResult>;
private mapQueryToQueryString(query);
private mapQueryToQueryString;
}
export interface SearchSuggestResult {
PeopleNames: string[];
PersonalResults: PersonalResultSuggestion[];
Queries: any[];
readonly PeopleNames: string[];
readonly PersonalResults: PersonalResultSuggestion[];
readonly Queries: any[];
}
export declare class ESearchSuggestResult {
PeopleNames: string[];
PersonalResults: PersonalResultSuggestion[];
Queries: any[];
export interface ESearchSuggestResult {
readonly PeopleNames: string[];
readonly PersonalResults: PersonalResultSuggestion[];
readonly Queries: any[];
}
export interface PersonalResultSuggestion {
HighlightedTitle?: string;
IsBestBet?: boolean;
Title?: string;
TypeId?: string;
Url?: string;
readonly HighlightedTitle?: string;
readonly IsBestBet?: boolean;
readonly Title?: string;
readonly TypeId?: string;
readonly Url?: string;
}

@@ -80,4 +80,4 @@ import { SharePointQueryable, SharePointQueryableInstance } from "./sharepointqueryable";

protected getRoleValue(role: SharingRole, group: RoleType): Promise<string>;
private getShareObjectWeb(candidate);
private sendShareObjectRequest(options);
private getShareObjectWeb;
private sendShareObjectRequest;
}

@@ -84,0 +84,0 @@ export declare class SharePointQueryableShareableWeb extends SharePointQueryableSecurable {

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

SharePointGroup = 8,
All = 15,
All = 15
}

@@ -17,0 +17,0 @@ /**

@@ -46,3 +46,3 @@ import { SharePointQueryableInstance } from "./sharepointqueryable";

*/
private createSocialActorInfoRequestBody(actorInfo);
private createSocialActorInfoRequestBody;
}

@@ -119,3 +119,3 @@ /**

Site = 2,
Tag = 3,
Tag = 3
}

@@ -143,3 +143,3 @@ /**

*/
WithinLast24Hours = 1073741824,
WithinLast24Hours = 1073741824
}

@@ -154,3 +154,3 @@ /**

LimitReached = 2,
InternalError = 3,
InternalError = 3
}

@@ -236,3 +236,3 @@ /**

*/
DatabaseError = 18,
DatabaseError = 18
}

@@ -239,0 +239,0 @@ export interface SocialActor {

@@ -1,38 +0,39 @@

export { odataUrlFrom, spODataEntity, spODataEntityArray } from "./odata";
export { SharePointQueryable, SharePointQueryableInstance, SharePointQueryableCollection, SharePointQueryableConstructor } from "./sharepointqueryable";
export { SharePointQueryableSecurable } from "./sharepointqueryablesecurable";
export { FileFolderShared, SharePointQueryableShareable, SharePointQueryableShareableFile, SharePointQueryableShareableFolder, SharePointQueryableShareableItem, SharePointQueryableShareableWeb } from "./sharepointqueryableshareable";
export { AppCatalog, AppAddResult, App } from "./appcatalog";
export { AttachmentFileAddResult, AttachmentFileInfo } from "./attachmentfiles";
export { odataUrlFrom, spODataEntity, spODataEntityArray, } from "./odata";
export { SharePointQueryable, SharePointQueryableInstance, SharePointQueryableCollection, SharePointQueryableConstructor, } from "./sharepointqueryable";
export { SharePointQueryableSecurable, } from "./sharepointqueryablesecurable";
export { FileFolderShared, SharePointQueryableShareable, SharePointQueryableShareableFile, SharePointQueryableShareableFolder, SharePointQueryableShareableItem, SharePointQueryableShareableWeb, } from "./sharepointqueryableshareable";
export { AppCatalog, AppAddResult, App, } from "./appcatalog";
export { AttachmentFileAddResult, AttachmentFileInfo, } from "./attachmentfiles";
export { SPBatch, } from "./batch";
export * from "./clientsidepages";
export * from "./comments";
export { ContentType, ContentTypes, ContentTypeAddResult, FieldLink, FieldLinks } from "./contenttypes";
export { SPConfiguration, SPConfigurationPart } from "./config/splibconfig";
export { Field, Fields, FieldAddResult, FieldUpdateResult } from "./fields";
export { CheckinType, FileAddResult, WebPartsPersonalizationScope, MoveOperations, TemplateFileType, ChunkedFileUploadProgressData, File, Files } from "./files";
export { FeatureAddResult } from "./features";
export { FolderAddResult, Folder, Folders } from "./folders";
export { SPHttpClient } from "./net/sphttpclient";
export { Item, Items, ItemVersion, ItemVersions, ItemAddResult, ItemUpdateResult, ItemUpdateResultData, PagedItemCollection } from "./items";
export { NavigationNodeAddResult, NavigationNodes, NavigationNode, NavigationService, INavigationService } from "./navigation";
export { List, Lists, ListAddResult, ListUpdateResult, ListEnsureResult } from "./lists";
export { RegionalSettings, InstalledLanguages, TimeZone, TimeZones } from "./regionalsettings";
export { RelatedItem, RelatedItemManger } from "./relateditems";
export { sp, SPRest } from "./rest";
export { RoleDefinitionUpdateResult, RoleDefinitionAddResult, RoleDefinitionBindings } from "./roles";
export { Search, SearchProperty, SearchPropertyValue, SearchQuery, SearchQueryBuilder, ISearchQueryBuilder, SearchResult, SearchResults, Sort, SortDirection, ReorderingRule, ReorderingRuleMatchType, QueryPropertyValueType, SearchBuiltInSourceId, SearchResponse, ResultTableCollection, ResultTable } from "./search";
export { SearchSuggest, SearchSuggestQuery, SearchSuggestResult, PersonalResultSuggestion } from "./searchsuggest";
export { Site, OpenWebByIdResult } from "./site";
export { SiteGroupAddResult } from "./sitegroups";
export { UserUpdateResult, SiteUserProps } from "./siteusers";
export { ContentType, ContentTypes, ContentTypeAddResult, FieldLink, FieldLinks, } from "./contenttypes";
export { SPConfiguration, SPConfigurationPart, } from "./config/splibconfig";
export { Field, Fields, FieldAddResult, FieldUpdateResult, } from "./fields";
export { CheckinType, FileAddResult, WebPartsPersonalizationScope, MoveOperations, TemplateFileType, ChunkedFileUploadProgressData, File, Files, } from "./files";
export { FeatureAddResult, } from "./features";
export { FolderAddResult, Folder, Folders, } from "./folders";
export { SPHttpClient, } from "./net/sphttpclient";
export { Item, Items, ItemVersion, ItemVersions, ItemAddResult, ItemUpdateResult, ItemUpdateResultData, PagedItemCollection, } from "./items";
export { NavigationNodeAddResult, NavigationNodes, NavigationNode, NavigationService, INavigationService, } from "./navigation";
export { List, Lists, ListAddResult, ListUpdateResult, ListEnsureResult, } from "./lists";
export { RegionalSettings, InstalledLanguages, TimeZone, TimeZones, } from "./regionalsettings";
export { RelatedItem, RelatedItemManger, } from "./relateditems";
export { sp, SPRest, } from "./rest";
export { RoleDefinitionUpdateResult, RoleDefinitionAddResult, RoleDefinitionBindings, } from "./roles";
export { Search, SearchProperty, SearchPropertyValue, SearchQuery, SearchQueryBuilder, ISearchQueryBuilder, SearchResult, SearchResults, Sort, SortDirection, ReorderingRule, ReorderingRuleMatchType, QueryPropertyValueType, SearchBuiltInSourceId, SearchResponse, ResultTableCollection, ResultTable, } from "./search";
export { SearchSuggest, SearchSuggestQuery, SearchSuggestResult, PersonalResultSuggestion, } from "./searchsuggest";
export { Site, OpenWebByIdResult, } from "./site";
export { SiteGroupAddResult, } from "./sitegroups";
export { UserUpdateResult, SiteUserProps, } from "./siteusers";
export * from "./social";
export { SubscriptionAddResult, SubscriptionUpdateResult } from "./subscriptions";
export { SubscriptionAddResult, SubscriptionUpdateResult, } from "./subscriptions";
export * from "./types";
export { UserCustomActionAddResult, UserCustomActionUpdateResult } from "./usercustomactions";
export { UserProfileQuery } from "./userprofiles";
export { toAbsoluteUrl } from "./utils/toabsoluteurl";
export { extractWebUrl } from "./utils/extractweburl";
export { UtilityMethod, CreateWikiPageResult } from "./utilities";
export { View, Views, ViewFields, ViewAddResult, ViewUpdateResult } from "./views";
export { WebPartDefinitions, WebPartDefinition, WebPart } from "./webparts";
export { Web, WebAddResult, WebUpdateResult, GetCatalogResult, WebEnsureUserResult } from "./webs";
export { UserCustomActionAddResult, UserCustomActionUpdateResult, } from "./usercustomactions";
export { UserProfileQuery, } from "./userprofiles";
export { toAbsoluteUrl, } from "./utils/toabsoluteurl";
export { extractWebUrl, } from "./utils/extractweburl";
export { UtilityMethod, CreateWikiPageResult, } from "./utilities";
export { View, Views, ViewFields, ViewAddResult, ViewUpdateResult, } from "./views";
export { WebPartDefinitions, WebPartDefinition, WebPart, } from "./webparts";
export { Web, WebAddResult, WebUpdateResult, GetCatalogResult, WebEnsureUserResult, } from "./webs";

@@ -205,3 +205,3 @@ import { TypedHash } from "@pnp/common";

Edit = 2,
New = 3,
New = 3
}

@@ -263,7 +263,7 @@ /**

AllDayEvent = 29,
WorkflowEventType = 30,
WorkflowEventType = 30
}
export declare enum DateTimeFieldFormatType {
DateOnly = 0,
DateTime = 1,
DateTime = 1
}

@@ -301,3 +301,3 @@ /**

*/
AddFieldCheckDisplayName = 32,
AddFieldCheckDisplayName = 32
}

@@ -323,7 +323,7 @@ export interface XmlSchemaFieldCreationInformation {

SakaEra = 16,
UmAlQura = 23,
UmAlQura = 23
}
export declare enum UrlFieldFormatType {
Hyperlink = 0,
Image = 1,
Image = 1
}

@@ -496,3 +496,3 @@ export interface BasePermissions {

*/
FullMask = 65,
FullMask = 65
}

@@ -606,3 +606,3 @@ export interface FollowedContent {

*/
All = 15,
All = 15
}

@@ -636,3 +636,3 @@ /**

*/
All = 15,
All = 15
}

@@ -645,3 +645,3 @@ export declare enum RoleType {

WebDesigner = 4,
Administrator = 5,
Administrator = 5
}

@@ -696,3 +696,3 @@ export interface PrincipalInfo {

SolutionForm = 10,
PAGE_MAXITEMS = 11,
PAGE_MAXITEMS = 11
}

@@ -778,3 +778,3 @@ export interface ListFormData {

*/
Flexible = 6,
Flexible = 6
}

@@ -798,3 +798,3 @@ export interface ShareObjectOptions {

Edit = 2,
Owner = 3,
Owner = 3
}

@@ -924,3 +924,3 @@ /**

*/
NestedGroupsNotSupported = -9,
NestedGroupsNotSupported = -9
}

@@ -1269,3 +1269,3 @@ export interface SharingResult {

Web = 5,
Max = 6,
Max = 6
}

@@ -1275,3 +1275,3 @@ export declare enum SharingDomainRestrictionMode {

AllowList = 1,
BlockList = 2,
BlockList = 2
}

@@ -1314,3 +1314,3 @@ export interface EmailProperties {

PageContextInfo = 16384,
ClientSideComponentManifest = 32768,
ClientSideComponentManifest = 32768
}

@@ -1353,3 +1353,3 @@ export interface RenderListDataParameters {

PeopleAndGroups = 1,
PeopleOnly = 0,
PeopleOnly = 0
}

@@ -1371,3 +1371,3 @@ export interface FieldCreationProperties extends TypedHash<string | number | boolean> {

Dropdown = 0,
RadioButtons = 1,
RadioButtons = 1
}

@@ -1498,3 +1498,3 @@ /**

*/
Extranet = 4,
Extranet = 4
}

@@ -1501,0 +1501,0 @@ export interface StorageEntity {

@@ -32,3 +32,3 @@ import { SharePointQueryable } from "./sharepointqueryable";

constructor(baseUrl: string | SharePointQueryable, methodName: string);
private static getBaseUrl(candidate);
private static getBaseUrl;
excute<T>(props: any): Promise<T>;

@@ -35,0 +35,0 @@ /**

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

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