Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@types/fs-extra

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/fs-extra - npm Package Compare versions

Comparing version
11.0.1
to
11.0.4
+38
-38
fs-extra/esm.d.mts

@@ -1,63 +0,63 @@

import * as fse from './index.js';
import * as fse from "./index.js";
export {
copy,
CopyFilterAsync,
CopyFilterSync,
CopyOptions,
CopyOptionsSync,
copySync,
createFile,
createFileSync,
createLink,
createLinkSync,
createSymlink,
createSymlinkSync,
emptyDir,
emptydir,
emptyDirSync,
emptydirSync,
emptyDir,
emptydir,
createFile,
createFileSync,
ensureDir,
EnsureDirOptions,
ensureDirSync,
ensureFile,
ensureFileSync,
createLink,
createLinkSync,
ensureLink,
ensureLinkSync,
createSymlink,
createSymlinkSync,
ensureSymlink,
ensureSymlinkSync,
readJson,
readJSON,
readJsonSync,
readJSONSync,
writeJson,
writeJSON,
writeJsonSync,
writeJSONSync,
outputJson,
outputJSON,
outputJsonSync,
outputJSONSync,
JsonOutputOptions,
JsonReadOptions,
JsonWriteOptions,
mkdirp,
mkdirpSync,
mkdirs,
mkdirsSync,
mkdirp,
mkdirpSync,
ensureDir,
ensureDirSync,
move,
MoveOptions,
moveSync,
NoParamCallback,
NoParamCallbackWithUndefined,
outputFile,
outputFileSync,
outputJSON,
outputJson,
outputJSONSync,
outputJsonSync,
pathExists,
pathExistsSync,
PathLike,
readJSON,
readJson,
readJSONSync,
readJsonSync,
remove,
removeSync,
PathLike,
NoParamCallback,
NoParamCallbackWithUndefined,
SymlinkType,
CopyFilterSync,
CopyFilterAsync,
CopyOptions,
CopyOptionsSync,
EnsureDirOptions,
MoveOptions,
WriteFileOptions,
JsonReadOptions,
JsonWriteOptions,
JsonOutputOptions,
} from './index.js';
writeJSON,
writeJson,
writeJSONSync,
writeJsonSync,
} from "./index.js";

@@ -64,0 +64,0 @@ declare const fsExtra: {

@@ -1,23 +0,8 @@

// Type definitions for fs-extra 11.0
// Project: https://github.com/jprichardson/node-fs-extra
// Definitions by: Alan Agius <https://github.com/alan-agius4>,
// midknight41 <https://github.com/midknight41>,
// Brendan Forster <https://github.com/shiftkey>,
// Mees van Dijk <https://github.com/mees->,
// Justin Rockwood <https://github.com/jrockwood>,
// Sang Dang <https://github.com/sangdth>,
// Florian Keller <https://github.com/ffflorian>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Tiger Oakes <https://github.com/NotWoods>
// BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.5
/// <reference types="node" />
import * as fs from 'fs';
import * as jsonfile from 'jsonfile';
import { StringifyOptions } from 'jsonfile/utils';
import * as fs from "fs";
import * as jsonfile from "jsonfile";
import { StringifyOptions } from "jsonfile/utils";
export * from 'fs';
export * from "fs";

@@ -928,4 +913,6 @@ /**

export const readlink: typeof fs.readlink.__promisify__ & typeof fs.readlink;
export const realpath: typeof fs.realpath.__promisify__ &
typeof fs.realpath & {
export const realpath:
& typeof fs.realpath.__promisify__
& typeof fs.realpath
& {
native(path: fs.PathLike, options?: fs.EncodingOption): Promise<string>;

@@ -1008,4 +995,4 @@ native(path: fs.PathLike, options: fs.BufferEncodingOption): Promise<Buffer>;

export { JFReadOptions as JsonReadOptions, JFWriteOptions as JsonWriteOptions } from 'jsonfile';
export { JFReadOptions as JsonReadOptions, JFWriteOptions as JsonWriteOptions } from "jsonfile";
export type JsonOutputOptions = fs.WriteFileOptions & StringifyOptions;
{
"name": "@types/fs-extra",
"version": "11.0.1",
"version": "11.0.4",
"description": "TypeScript definitions for fs-extra",

@@ -10,49 +10,49 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fs-extra",

"name": "Alan Agius",
"url": "https://github.com/alan-agius4",
"githubUsername": "alan-agius4"
"githubUsername": "alan-agius4",
"url": "https://github.com/alan-agius4"
},
{
"name": "midknight41",
"url": "https://github.com/midknight41",
"githubUsername": "midknight41"
"githubUsername": "midknight41",
"url": "https://github.com/midknight41"
},
{
"name": "Brendan Forster",
"url": "https://github.com/shiftkey",
"githubUsername": "shiftkey"
"githubUsername": "shiftkey",
"url": "https://github.com/shiftkey"
},
{
"name": "Mees van Dijk",
"url": "https://github.com/mees-",
"githubUsername": "mees-"
"githubUsername": "mees-",
"url": "https://github.com/mees-"
},
{
"name": "Justin Rockwood",
"url": "https://github.com/jrockwood",
"githubUsername": "jrockwood"
"githubUsername": "jrockwood",
"url": "https://github.com/jrockwood"
},
{
"name": "Sang Dang",
"url": "https://github.com/sangdth",
"githubUsername": "sangdth"
"githubUsername": "sangdth",
"url": "https://github.com/sangdth"
},
{
"name": "Florian Keller",
"url": "https://github.com/ffflorian",
"githubUsername": "ffflorian"
"githubUsername": "ffflorian",
"url": "https://github.com/ffflorian"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
"githubUsername": "peterblazejewicz",
"url": "https://github.com/peterblazejewicz"
},
{
"name": "Tiger Oakes",
"url": "https://github.com/NotWoods",
"githubUsername": "NotWoods"
"githubUsername": "NotWoods",
"url": "https://github.com/NotWoods"
},
{
"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
"githubUsername": "BendingBender",
"url": "https://github.com/BendingBender"
}

@@ -62,2 +62,13 @@ ],

"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts"
},
"./esm": {
"types": {
"import": "./esm.d.mts"
}
},
"./package.json": "./package.json"
},
"repository": {

@@ -73,15 +84,4 @@ "type": "git",

},
"typesPublisherContentHash": "9244941e71bf5edda5456eb8aee9bd3d796ad970d74fb7991788553ac18c5d83",
"typeScriptVersion": "4.5",
"exports": {
".": {
"types": "./index.d.ts"
},
"./esm": {
"types": {
"import": "./esm.d.mts"
}
},
"./package.json": "./package.json"
}
"typesPublisherContentHash": "2929b595f5fdba90096984c89127b1a93f583ee50680a2ad02fad15b1f571bb0",
"typeScriptVersion": "4.5"
}

@@ -11,7 +11,6 @@ # Installation

### Additional Details
* Last updated: Tue, 10 Jan 2023 19:32:54 GMT
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
* Dependencies: [@types/jsonfile](https://npmjs.com/package/@types/jsonfile), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by [Alan Agius](https://github.com/alan-agius4), [midknight41](https://github.com/midknight41), [Brendan Forster](https://github.com/shiftkey), [Mees van Dijk](https://github.com/mees-), [Justin Rockwood](https://github.com/jrockwood), [Sang Dang](https://github.com/sangdth), [Florian Keller](https://github.com/ffflorian), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Tiger Oakes](https://github.com/NotWoods), and [BendingBender](https://github.com/BendingBender).