Socket
Socket
Sign inDemoInstall

@platform/fs

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/fs - npm Package Compare versions

Comparing version 0.6.3 to 0.6.5

2

lib/common/libs.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fs = exports.yaml = void 0;
exports.dirname = exports.extname = exports.basename = exports.resolve = exports.join = exports.fs = exports.yaml = void 0;
var yaml = require("js-yaml");

@@ -5,0 +5,0 @@ exports.yaml = yaml;

@@ -165,3 +165,4 @@ /// <reference types="node" />

mkdir(path: fsExtra.PathLike, options: string | number | fsExtra.MakeDirectoryOptions | null, callback: (err: NodeJS.ErrnoException) => void): void;
mkdir(path: fsExtra.PathLike): Promise<void>;
mkdir(path: fsExtra.PathLike, options?: string | number | fsExtra.MakeDirectoryOptions | null | undefined): Promise<void>;
mkdirSync(path: fsExtra.PathLike, options?: string | number | fsExtra.MakeDirectoryOptions | null | undefined): void;
open(path: fsExtra.PathLike, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void;

@@ -290,9 +291,2 @@ open(path: fsExtra.PathLike, flags: string | number, mode: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void;

rmSync(path: fsExtra.PathLike, options?: fsExtra.RmOptions | undefined): void;
mkdirSync(path: fsExtra.PathLike, options: fsExtra.MakeDirectoryOptions & {
recursive: true;
}): string;
mkdirSync(path: fsExtra.PathLike, options?: string | number | (fsExtra.MakeDirectoryOptions & {
recursive?: false | undefined;
}) | null | undefined): void;
mkdirSync(path: fsExtra.PathLike, options?: string | number | fsExtra.MakeDirectoryOptions | null | undefined): string | undefined;
mkdtempSync(prefix: string, options?: "utf-8" | "ascii" | "utf8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | fsExtra.BaseEncodingOptions | null | undefined): string;

@@ -335,3 +329,3 @@ mkdtempSync(prefix: string, options: fsExtra.BufferEncodingOption): Buffer;

}) | null | undefined): string | Buffer;
writeFileSync(path: string | number | Buffer | import("url").URL, data: string | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array | DataView, options?: string | (fsExtra.BaseEncodingOptions & {
writeFileSync(path: string | number | Buffer | import("url").URL, data: string | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | BigUint64Array | BigInt64Array | Float32Array | Float64Array | DataView, options?: string | (fsExtra.BaseEncodingOptions & {
mode?: string | number | undefined;

@@ -338,0 +332,0 @@ flag?: string | undefined;

{
"name": "@platform/fs",
"version": "0.6.3",
"version": "0.6.5",
"description": "POSIX style file-system tools.",

@@ -14,5 +14,5 @@ "main": "lib/index",

"dependencies": {
"@platform/fs.types": "0.1.2",
"@platform/types": "0.5.11",
"@types/fs-extra": "9.0.4",
"@platform/fs.types": "0.1.3",
"@platform/types": "0.5.13",
"@types/fs-extra": "9.0.5",
"@types/js-yaml": "3.12.5",

@@ -25,8 +25,8 @@ "archiver": "5.1.0",

"glob": "7.1.6",
"js-yaml": "3.14.0",
"js-yaml": "3.14.1",
"minimatch": "3.0.4"
},
"devDependencies": {
"@platform/test": "0.2.0",
"@platform/ts.libs": "4.1.0",
"@platform/test": "0.2.1",
"@platform/ts.libs": "4.1.1",
"@types/archiver": "5.1.0",

@@ -33,0 +33,0 @@ "@types/dotenv": "8.2.0",

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