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

@jsenv/filesystem

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/filesystem - npm Package Compare versions

Comparing version 4.5.1 to 4.6.0

src/read_write/save_directory_content_sync.js

2

package.json
{
"name": "@jsenv/filesystem",
"version": "4.5.1",
"version": "4.6.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

@@ -42,2 +42,3 @@ // we might wanna expose the sync versions as follows:

export { writeFileStructureSync } from "./read_write/write_file_structure_sync.js";
export { saveDirectoryContentSync } from "./read_write/save_directory_content_sync.js";

@@ -44,0 +45,0 @@ // stat

@@ -5,5 +5,8 @@ import { readdirSync, statSync, readFileSync } from "node:fs";

import { assertAndNormalizeDirectoryUrl } from "../path_and_url/directory_url_validation.js";
import { comparePathnames } from "../path_and_url/compare_pathnames.js";
export const readFileStructureSync = (directoryUrl) => {
directoryUrl = assertAndNormalizeDirectoryUrl(directoryUrl);
const fileStructure = {};

@@ -10,0 +13,0 @@ const fileStructureNotOrdered = {};

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