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

gd-sprest

Package Overview
Dependencies
Maintainers
1
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 0.5.0 to 0.5.1

2

package.json
{
"name": "gd-sprest",
"version": "0.5.0",
"version": "0.5.1",
"description": "An easy way to develop against the SharePoint REST API.",

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

@@ -186,3 +186,3 @@ module $REST {

// See if this is a field
if(/^field/.test(objType) && objType != "fields") {
if((/^field/.test(objType) || /field$/.test(objType)) && objType != "fields") {
// Update the type

@@ -259,3 +259,3 @@ objType = "field" + (isCollection ? "s" : "");

// See if this is a field
if(/^SP.Field/.test(metadata.type)) {
if(/^SP.Field/.test(metadata.type) || /^SP\..*Field$/.test(metadata.type)) {
// Fix the uri reference

@@ -262,0 +262,0 @@ targetInfo.url = targetInfo.url.replace(/AvailableFields/, "fields");

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