@visulima/fs
Advanced tools
Comparing version 2.1.18 to 2.2.0
@@ -0,1 +1,7 @@ | ||
## @visulima/fs [2.2.0](https://github.com/visulima/visulima/compare/@visulima/fs@2.1.18...@visulima/fs@2.2.0) (2024-09-29) | ||
### Features | ||
* **fs:** added allowSymlinks to findUp and findUpSync ([1ef8c03](https://github.com/visulima/visulima/commit/1ef8c039e4e7b054177d25f74b98b56d79f2d27b)) | ||
## @visulima/fs [2.1.18](https://github.com/visulima/visulima/compare/@visulima/fs@2.1.17...@visulima/fs@2.1.18) (2024-09-24) | ||
@@ -2,0 +8,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { W as WalkOptions, M as Match, F as FindUpOptions, a as WalkEntry, R as ReadFileOptions, C as ContentType, J as JsonValue, b as ReadJsonOptions, c as JsonReviver, d as ReadYamlOptions, Y as YamlReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions, g as YamlReplacer } from './packem_shared/observable-like.d-CpT5ICZl.d.mjs'; | ||
export { l as CodeFrameLocation, i as FIND_UP_STOP, h as F_OK, m as JsonReplacer, j as R_OK, n as ReadFileEncoding, k as W_OK, X as X_OK } from './packem_shared/observable-like.d-CpT5ICZl.d.mjs'; | ||
import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, J as JsonValue, d as ReadJsonOptions, e as JsonReviver, f as ReadYamlOptions, Y as YamlReviver, E as EmptyDirOptions, g as WriteFileOptions, h as WriteJsonOptions, i as YamlReplacer } from './packem_shared/observable-like.d-BIpsmTbZ.d.mjs'; | ||
export { n as CodeFrameLocation, k as FIND_UP_STOP, j as F_OK, o as JsonReplacer, l as R_OK, p as ReadFileEncoding, m as W_OK, X as X_OK } from './packem_shared/observable-like.d-BIpsmTbZ.d.mjs'; | ||
import { symlink } from 'node:fs'; | ||
@@ -32,5 +32,5 @@ import { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToStringOptions } from 'yaml'; | ||
declare const findUp: (name: ReadonlyArray<string> | string[] | string | ((directory: string) => Match | Promise<Match>), options?: FindUpOptions) => Promise<string | undefined>; | ||
declare const findUp: (name: FindUpName, options?: FindUpOptions) => Promise<string | undefined>; | ||
declare const findUpSync: (name: ReadonlyArray<string> | string[] | string | ((directory: string) => Match), options?: FindUpOptions) => string | undefined; | ||
declare const findUpSync: (name: FindUpNameSync, options?: FindUpOptions) => string | undefined; | ||
@@ -37,0 +37,0 @@ declare function walk(directory: URL | string, { extensions, followSymlinks, includeDirs: includeDirectories, includeFiles, includeSymlinks, match, maxDepth, skip, }?: WalkOptions): AsyncIterableIterator<WalkEntry>; |
export { J as JSONError } from './packem_shared/json-error-ZPgZIXcg.d.mjs'; | ||
import { J as JsonValue, o as CodeFrameOptions, c as JsonReviver } from './packem_shared/observable-like.d-CpT5ICZl.d.mjs'; | ||
import { J as JsonValue, q as CodeFrameOptions, e as JsonReviver } from './packem_shared/observable-like.d-BIpsmTbZ.d.mjs'; | ||
export { toPath } from '@visulima/path/utils'; | ||
@@ -4,0 +4,0 @@ import 'node:fs'; |
{ | ||
"name": "@visulima/fs", | ||
"version": "2.1.18", | ||
"version": "2.2.0", | ||
"description": "Human friendly file system utilities for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -194,3 +194,4 @@ <div align="center"> | ||
Type: `string | string[] | (dir: string) => string | symbole | undefined` | ||
Type: `string[] | string | ((directory: PathLike) => PathLike | Promise<PathLike | typeof FIND_UP_STOP> | typeof FIND_UP_STOP)` \ | ||
Sync Type: `string[] | string | ((directory: PathLike) => PathLike | typeof FIND_UP_STOP)` | ||
@@ -231,2 +232,9 @@ The name of the file or directory to find. | ||
##### allowSymlinks | ||
Type: `boolean`\ | ||
Default: `true` | ||
Allow symbolic links to match if they point to the target file or directory. | ||
## readFile | ||
@@ -233,0 +241,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
178493
621
471