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

@jsenv/filesystem

Package Overview
Dependencies
Maintainers
0
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.9.10 to 4.10.0

src/replace/replace_file_structure_sync.js

2

package.json
{
"name": "@jsenv/filesystem",
"version": "4.9.10",
"version": "4.10.0",
"license": "MIT",

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

@@ -90,2 +90,3 @@ // tslint:disable:ordered-imports

export { replaceFileSync } from "./replace/replace_file_sync.js";
export { replaceFileStructureSync } from "./replace/replace_file_structure_sync.js";

@@ -92,0 +93,0 @@ // lifecycle

import { ensureEmptyDirectorySync } from "../remove/ensure_empty_directory_sync.js";
import { readFileStructureSync } from "./read_file_structure_sync.js";
import { writeFileSync } from "./write_file_sync.js";

@@ -8,5 +7,2 @@

if (fileStructure) {
if (typeof fileStructure === "string" || fileStructure instanceof URL) {
fileStructure = readFileStructureSync(fileStructure);
}
Object.keys(fileStructure).forEach((relativeUrl) => {

@@ -13,0 +9,0 @@ const fileUrl = new URL(relativeUrl, directoryUrl);

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