Add node modules and compiled JavaScript from main
This commit is contained in:
parent
d893f27da9
commit
4b42a5ec78
6750 changed files with 1745644 additions and 10860 deletions
21
node_modules/@types/graceful-fs/LICENSE
generated
vendored
Normal file
21
node_modules/@types/graceful-fs/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
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
|
16
node_modules/@types/graceful-fs/README.md
generated
vendored
Normal file
16
node_modules/@types/graceful-fs/README.md
generated
vendored
Normal file
|
@ -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: Wed, 13 Feb 2019 18:42:10 GMT
|
||||
* Dependencies: @types/node
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, BendingBender <https://github.com/BendingBender>.
|
80
node_modules/@types/graceful-fs/index.d.ts
generated
vendored
Normal file
80
node_modules/@types/graceful-fs/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
// 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
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import * as fs from 'fs';
|
||||
|
||||
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 & Lutimes;
|
||||
|
||||
export interface Lutimes {
|
||||
/**
|
||||
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
||||
* If path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps
|
||||
* of the symbolic link are changed.
|
||||
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
||||
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
||||
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
||||
*/
|
||||
lutimes: typeof fs.lutimes;
|
||||
/**
|
||||
* Synchronously change file timestamps of the file referenced by the supplied path.
|
||||
* If path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps
|
||||
* of the symbolic link are changed.
|
||||
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
||||
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
||||
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
||||
*/
|
||||
lutimesSync: typeof fs.lutimesSync;
|
||||
}
|
||||
|
||||
declare module 'fs' {
|
||||
/**
|
||||
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
||||
* If path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps
|
||||
* of the symbolic link are changed.
|
||||
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
||||
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
||||
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
||||
*/
|
||||
function lutimes(path: PathLike,
|
||||
atime: string | number | Date,
|
||||
mtime: string | number | Date,
|
||||
callback?: (err: NodeJS.ErrnoException | null) => void): void;
|
||||
|
||||
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
||||
namespace lutimes {
|
||||
/**
|
||||
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
||||
* If path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps
|
||||
* of the symbolic link are changed.
|
||||
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
||||
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
||||
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
||||
*/
|
||||
function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Synchronously change file timestamps of the file referenced by the supplied path.
|
||||
* If path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps
|
||||
* of the symbolic link are changed.
|
||||
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
||||
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
||||
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
||||
*/
|
||||
function lutimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void;
|
||||
}
|
30
node_modules/@types/graceful-fs/package.json
generated
vendored
Normal file
30
node_modules/@types/graceful-fs/package.json
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"name": "@types/graceful-fs",
|
||||
"version": "4.1.3",
|
||||
"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",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "7e459d70acc49c2972a15118724b3a8c901016e65a92fdb945c73b657dfcaf2d",
|
||||
"typeScriptVersion": "2.2"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue