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

gd-sprest

Package Overview
Dependencies
Maintainers
0
Versions
841
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest - npm Package Compare versions

Comparing version 8.6.5 to 8.6.6

8

@types/v2/sites.d.ts

@@ -61,7 +61,4 @@ import { IBaseExecution, IBaseQuery } from "gd-sprest-def/lib/base";

/** Returns the current site. */
static getCurrentSite(): IBaseQuery<site> & siteMethods;
static getCurrent(): IBaseQuery<site> & siteMethods;
/** Returns the current web. */
static getCurrentWeb(): IBaseQuery<site> & siteMethods;
/** Returns a drive for a site. */

@@ -78,2 +75,5 @@ static getDrive(props: IsiteGetDriveProps): PromiseLike<IBaseQuery<drive> & driveMethods>;

static getIdByUrl(url: string): PromiseLike<IsiteIdResult>;
/** Returns the root site of the current site. */
static getRoot(): IBaseQuery<site> & siteMethods;
}

@@ -12,3 +12,3 @@ "use strict";

exports.$REST = {
__ver: 8.65,
__ver: 8.66,
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },

@@ -15,0 +15,0 @@ Apps: Lib.Apps,

@@ -21,3 +21,3 @@ "use strict";

sites.targetInfo.defaultToWebFl = true;
sites.targetInfo.endpoint = "_api/v2.0/sites" + (props.siteId ? "/" + props.siteId : "");
sites.targetInfo.endpoint = "_api/v2.0/sites";
sites.targetInfo.requestType = utils_1.RequestType.GraphGet;

@@ -42,10 +42,4 @@ // Default the url

/** Returns the current site. */
exports.sites.getCurrentSite = function () {
exports.sites.getCurrent = function () {
return exports.sites({
siteId: contextInfo_1.ContextInfo.siteId
});
};
/** Returns the current web. */
exports.sites.getCurrentWeb = function () {
return exports.sites({
siteId: contextInfo_1.ContextInfo.siteId,

@@ -181,1 +175,7 @@ webId: contextInfo_1.ContextInfo.webId

};
/** Returns the root site of the current site. */
exports.sites.getRoot = function () {
return exports.sites({
siteId: contextInfo_1.ContextInfo.siteId
});
};
{
"name": "gd-sprest",
"version": "8.6.5",
"version": "8.6.6",
"description": "An easy way to develop against the SharePoint REST API.",

@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",

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

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

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

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