Socket
Socket
Sign inDemoInstall

@platform/fs

Package Overview
Dependencies
65
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.17 to 0.5.19

4

lib/file/util.d.ts

@@ -7,7 +7,7 @@ export declare type IBeforeFileSaveArgs = {

export declare function loadAndParseSync<T>(path: string, defaultValue?: T): T;
export declare function stringifyAndSave<T extends object>(path: string, data: T, options?: {
export declare function stringifyAndSave<T extends Record<string, unknown>>(path: string, data: T, options?: {
beforeSave?: (e: IBeforeFileSaveArgs) => Promise<string | void>;
}): Promise<string>;
export declare function stringifyAndSaveSync<T extends object>(path: string, data: T, options?: {
export declare function stringifyAndSaveSync<T extends Record<string, unknown>>(path: string, data: T, options?: {
beforeSave?: (e: IBeforeFileSaveArgs) => string | void;
}): string;
export declare type IGlobOptions = {
includeDirs?: boolean;
dot?: boolean;
cache?: {};
statCache?: {};
realpathCache?: {};
cache?: {
[path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string>;
};
statCache?: {
[path: string]: false | {
isDirectory(): boolean;
} | undefined;
};
realpathCache?: {
[path: string]: string;
};
ignore?: string | string[];
};
export declare function find(pattern: string, options?: IGlobOptions): Promise<string[]>;
{
"name": "@platform/fs",
"version": "0.5.17",
"version": "0.5.19",
"description": "POSIX style file-system tools.",

@@ -15,17 +15,17 @@ "main": "lib/index",

"dependencies": {
"@platform/fs.types": "0.0.12",
"@platform/fs.types": "0.0.14",
"@types/fs-extra": "9.0.1",
"@types/js-yaml": "3.12.4",
"archiver": "4.0.1",
"@types/js-yaml": "3.12.5",
"archiver": "4.0.2",
"dotenv": "8.2.0",
"extract-zip": "2.0.0",
"extract-zip": "2.0.1",
"filesize": "6.1.0",
"fs-extra": "9.0.0",
"fs-extra": "9.0.1",
"glob": "7.1.6",
"js-yaml": "3.13.1",
"js-yaml": "3.14.0",
"minimatch": "3.0.4"
},
"devDependencies": {
"@platform/test": "0.1.12",
"@platform/ts.libs": "3.9.7",
"@platform/test": "0.1.14",
"@platform/ts.libs": "3.9.9",
"@types/archiver": "3.1.0",

@@ -35,3 +35,3 @@ "@types/dotenv": "8.2.0",

"@types/filesize": "5.0.0",
"@types/glob": "7.1.1"
"@types/glob": "7.1.3"
},

@@ -38,0 +38,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc