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.4-2 to 1.0.4-3

8

package.json
{
"name": "@pnp/sp",
"version": "1.0.4-2",
"version": "1.0.4-3",
"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.0.4-2",
"@pnp/logging": "1.0.4-2",
"@pnp/odata": "1.0.4-2"
"@pnp/common": "1.0.4-3",
"@pnp/logging": "1.0.4-3",
"@pnp/odata": "1.0.4-3"
},

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

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

*/
findControlById<T extends CanvasControl = CanvasControl>(id: string): T;
findControlById<T extends ClientSidePart = ClientSidePart>(id: string): T;
/**

@@ -112,3 +112,3 @@ * Finds a control within this page's control tree using the supplied predicate

*/
findControl<T extends CanvasControl = CanvasControl>(predicate: (c: CanvasControl) => boolean): T;
findControl<T extends ClientSidePart = ClientSidePart>(predicate: (c: ClientSidePart) => boolean): T;
/**

@@ -125,3 +125,3 @@ * Sets the comments flag for a page

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

@@ -146,2 +146,6 @@ * Merges the supplied column into the tree

columns: CanvasColumn[];
/**
* Used to track this object inside the collection at runtime
*/
private _memId;
constructor(page: ClientSidePage, order: number, columns?: CanvasColumn[]);

@@ -161,8 +165,12 @@ /**

*/
addControl(control: CanvasControl): this;
addControl(control: ClientSidePart): this;
toHtml(): string;
/**
* Removes this section and all contained columns and controls from the collection
*/
remove(): void;
}
export declare abstract class CanvasControl {
protected controlType: number;
protected dataVersion: string;
dataVersion: string;
column: CanvasColumn;

@@ -185,11 +193,24 @@ order: number;

factor: CanvasColumnFactorType;
controls: CanvasControl[];
constructor(section: CanvasSection, order: number, factor?: CanvasColumnFactorType, controls?: CanvasControl[], dataVersion?: string);
addControl(control: CanvasControl): this;
getControl<T extends CanvasControl>(index: number): T;
controls: ClientSidePart[];
constructor(section: CanvasSection, order: number, factor?: CanvasColumnFactorType, controls?: ClientSidePart[], dataVersion?: string);
addControl(control: ClientSidePart): this;
getControl<T extends ClientSidePart>(index: number): T;
toHtml(): string;
fromHtml(html: string): void;
getControlData(): ClientSideControlData;
/**
* Removes this column and all contained controls from the collection
*/
remove(): void;
}
export declare class ClientSideText extends CanvasControl {
/**
* Avstract class with shared functionality for parts
*/
export declare abstract class ClientSidePart extends CanvasControl {
/**
* Removes this column and all contained controls from the collection
*/
remove(): void;
}
export declare class ClientSideText extends ClientSidePart {
private _text;

@@ -205,3 +226,3 @@ constructor(text?: string);

}
export declare class ClientSideWebpart extends CanvasControl {
export declare class ClientSideWebpart extends ClientSidePart {
title: string;

@@ -208,0 +229,0 @@ description: string;

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