New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spsave

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spsave - npm Package Compare versions

Comparing version

to
1.0.11

5

lib/folders.js

@@ -107,3 +107,3 @@ /* global Buffer */

function getFolderPathsArray(folder) {
if(folder.endsWith("/") && folder !== "/"){
if(endsWith(folder, "/") && folder !== "/"){
folder = folder.slice(0,-1);

@@ -124,2 +124,5 @@ }

function endsWith(str, suffix) {
return str.indexOf(suffix, str.length - suffix.length) !== -1;
}

@@ -126,0 +129,0 @@ module.exports = {

2

package.json
{
"name": "spsave",
"description": "Save files in SharePoint using node.js easily",
"version": "1.0.10",
"version": "1.0.11",
"author": {

@@ -6,0 +6,0 @@ "name": "s-KaiNet",