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

@illgrenoble/node-fs-api

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@illgrenoble/node-fs-api - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

22

dist/services/files.service.js

@@ -154,6 +154,8 @@ "use strict";

fileStats = _a.sent();
if (file === '..') {
fileStats.path = "".concat(fileStats.path.split('/').slice(0, -2).join('/'));
if (fileStats != null) {
if (file === '..') {
fileStats.path = "".concat(fileStats.path.split('/').slice(0, -2).join('/'));
}
contents.push(fileStats);
}
contents.push(fileStats);
_a.label = 5;

@@ -391,2 +393,5 @@ case 5:

case 0:
if (!path.endsWith('/')) {
path = "".concat(path, "/");
}
fullPath = "".concat(process.env.HOME).concat(path);

@@ -406,4 +411,4 @@ return [4 /*yield*/, getStats(path)];

folderName = folderNameIndex === 0 ? folderNamePrefix : "".concat(folderNamePrefix, " ").concat(folderNameIndex);
folderPath = "".concat(path, "/").concat(folderName);
fullFolderPath = "".concat(fullPath, "/").concat(folderName);
folderPath = "".concat(path).concat(folderName);
fullFolderPath = "".concat(fullPath).concat(folderName);
folderExists = exists(folderPath);

@@ -435,2 +440,5 @@ folderNameIndex++;

case 0:
if (!path.endsWith('/')) {
path = "".concat(path, "/");
}
fullPath = "".concat(process.env.HOME).concat(path);

@@ -450,4 +458,4 @@ return [4 /*yield*/, getStats(path)];

fileName = fileNameIndex === 0 ? "".concat(fileNamePrefix, ".txt") : "".concat(fileNamePrefix).concat(fileNameIndex, ".txt");
filePath = "".concat(path, "/").concat(fileName);
fullFilePath = "".concat(fullPath, "/").concat(fileName);
filePath = "".concat(path).concat(fileName);
fullFilePath = "".concat(fullPath).concat(fileName);
fileExists = exists(filePath);

@@ -454,0 +462,0 @@ fileNameIndex++;

{
"name": "@illgrenoble/node-fs-api",
"version": "0.9.3",
"version": "0.9.4",
"description": "Provides a REST API to access the file system",

@@ -5,0 +5,0 @@ "main": "index.js",

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