Socket
Socket
Sign inDemoInstall

@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.7.0 to 4.7.1

src/list/visit_structure_sync.js

4

package.json
{
"name": "@jsenv/filesystem",
"version": "4.7.0",
"version": "4.7.1",
"license": "MIT",

@@ -36,3 +36,3 @@ "repository": {

"@jsenv/urls": "2.2.7",
"@jsenv/url-meta": "8.4.0",
"@jsenv/url-meta": "8.4.1",
"@jsenv/abort": "4.3.0",

@@ -39,0 +39,0 @@ "@jsenv/utils": "2.1.1"

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

export { listFilesMatching } from "./list/list_files_matching.js";
export { visitStructureSync } from "./list/visit_structure_sync.js";

@@ -25,0 +26,0 @@ // read and write

@@ -9,10 +9,18 @@ import { readdirSync, statSync } from "node:fs";

{
clear: {
[pattern]: true,
"**/.*": false,
"**/.*/": false,
...(pattern.includes("node_modules")
? {}
: { "**/node_modules/": false }),
},
clear:
typeof pattern === "string"
? {
[pattern]: true,
"**/.*": false,
"**/.*/": false,
...(pattern.includes("node_modules")
? {}
: { "**/node_modules/": false }),
}
: {
"**/.*": false,
"**/.*/": false,
"**/node_modules/": false,
...pattern,
},
},

@@ -19,0 +27,0 @@ initialDirectoryUrl,

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