aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@types/graceful-fs
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@types/graceful-fs')
-rw-r--r--node_modules/@types/graceful-fs/LICENSE21
-rw-r--r--node_modules/@types/graceful-fs/README.md16
-rw-r--r--node_modules/@types/graceful-fs/index.d.ts19
-rw-r--r--node_modules/@types/graceful-fs/package.json31
4 files changed, 87 insertions, 0 deletions
diff --git a/node_modules/@types/graceful-fs/LICENSE b/node_modules/@types/graceful-fs/LICENSE
new file mode 100644
index 0000000..9e841e7
--- /dev/null
+++ b/node_modules/@types/graceful-fs/LICENSE
@@ -0,0 +1,21 @@
+ MIT License
+
+ Copyright (c) Microsoft Corporation.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE
diff --git a/node_modules/@types/graceful-fs/README.md b/node_modules/@types/graceful-fs/README.md
new file mode 100644
index 0000000..04c3a24
--- /dev/null
+++ b/node_modules/@types/graceful-fs/README.md
@@ -0,0 +1,16 @@
+# Installation
+> `npm install --save @types/graceful-fs`
+
+# Summary
+This package contains type definitions for graceful-fs (https://github.com/isaacs/node-graceful-fs).
+
+# Details
+Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graceful-fs.
+
+### Additional Details
+ * Last updated: Thu, 11 Feb 2021 21:48:33 GMT
+ * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
+ * Global values: none
+
+# Credits
+These definitions were written by [Bart van der Schoor](https://github.com/Bartvds), and [BendingBender](https://github.com/BendingBender).
diff --git a/node_modules/@types/graceful-fs/index.d.ts b/node_modules/@types/graceful-fs/index.d.ts
new file mode 100644
index 0000000..f6c2201
--- /dev/null
+++ b/node_modules/@types/graceful-fs/index.d.ts
@@ -0,0 +1,19 @@
+// Type definitions for graceful-fs 4.1
+// Project: https://github.com/isaacs/node-graceful-fs
+// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
+// BendingBender <https://github.com/BendingBender>
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// Minimum TypeScript Version: 3.9
+
+/// <reference types="node" />
+
+export * from 'fs';
+
+/**
+ * Use this method to patch the global fs module (or any other fs-like module).
+ * NOTE: This should only ever be done at the top-level application layer, in order to delay on
+ * EMFILE errors from any fs-using dependencies. You should **not** do this in a library, because
+ * it can cause unexpected delays in other parts of the program.
+ * @param fsModule The reference to the fs module or an fs-like module.
+ */
+export function gracefulify<T>(fsModule: T): T;
diff --git a/node_modules/@types/graceful-fs/package.json b/node_modules/@types/graceful-fs/package.json
new file mode 100644
index 0000000..60c06c3
--- /dev/null
+++ b/node_modules/@types/graceful-fs/package.json
@@ -0,0 +1,31 @@
+{
+ "name": "@types/graceful-fs",
+ "version": "4.1.5",
+ "description": "TypeScript definitions for graceful-fs",
+ "license": "MIT",
+ "contributors": [
+ {
+ "name": "Bart van der Schoor",
+ "url": "https://github.com/Bartvds",
+ "githubUsername": "Bartvds"
+ },
+ {
+ "name": "BendingBender",
+ "url": "https://github.com/BendingBender",
+ "githubUsername": "BendingBender"
+ }
+ ],
+ "main": "",
+ "types": "index.d.ts",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "directory": "types/graceful-fs"
+ },
+ "scripts": {},
+ "dependencies": {
+ "@types/node": "*"
+ },
+ "typesPublisherContentHash": "3e053765471f17a5b5cdd161ea0773a8d7dc77e032922e2c4cae1393e2c66ac4",
+ "typeScriptVersion": "3.9"
+} \ No newline at end of file