flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
21
BACK_BACK/node_modules/@parcel/fs/LICENSE
generated
vendored
Executable file
21
BACK_BACK/node_modules/@parcel/fs/LICENSE
generated
vendored
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017-present Devon Govett
|
||||
|
||||
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.
|
||||
5
BACK_BACK/node_modules/@parcel/fs/index.js
generated
vendored
Executable file
5
BACK_BACK/node_modules/@parcel/fs/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
// Node 8 supports native async functions - no need to use compiled code!
|
||||
module.exports =
|
||||
parseInt(process.versions.node, 10) < 8
|
||||
? require('./lib/fs')
|
||||
: require('./src/fs');
|
||||
31
BACK_BACK/node_modules/@parcel/fs/package.json
generated
vendored
Executable file
31
BACK_BACK/node_modules/@parcel/fs/package.json
generated
vendored
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"name": "@parcel/fs",
|
||||
"version": "1.11.0",
|
||||
"description": "Blazing fast, zero configuration web application bundler",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/parcel-bundler/parcel.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 6.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo this package has no tests yet",
|
||||
"test-ci": "yarn build && yarn test",
|
||||
"format": "prettier --write \"./{src,bin,test}/**/*.{js,json,md}\"",
|
||||
"lint": "eslint . && prettier \"./{src,bin,test}/**/*.{js,json,md}\" --list-different",
|
||||
"build": "babel src -d lib",
|
||||
"prepublish": "yarn build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@parcel/utils": "^1.11.0",
|
||||
"mkdirp": "^0.5.1",
|
||||
"rimraf": "^2.6.2"
|
||||
},
|
||||
"gitHead": "34eb91e8e6991073e594bff731c333d09b0403b5"
|
||||
}
|
||||
8
BACK_BACK/node_modules/@parcel/fs/src/.babelrc
generated
vendored
Executable file
8
BACK_BACK/node_modules/@parcel/fs/src/.babelrc
generated
vendored
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"presets": [["@babel/preset-env", {
|
||||
"targets": {
|
||||
"node": "6"
|
||||
}
|
||||
}]],
|
||||
"plugins": ["@babel/plugin-transform-runtime"]
|
||||
}
|
||||
3
BACK_BACK/node_modules/@parcel/fs/src/.eslintrc.json
generated
vendored
Executable file
3
BACK_BACK/node_modules/@parcel/fs/src/.eslintrc.json
generated
vendored
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../../../.eslintrc.json"
|
||||
}
|
||||
29
BACK_BACK/node_modules/@parcel/fs/src/fs.js
generated
vendored
Executable file
29
BACK_BACK/node_modules/@parcel/fs/src/fs.js
generated
vendored
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
const {promisify} = require('@parcel/utils');
|
||||
const fs = require('fs');
|
||||
const mkdirp = require('mkdirp');
|
||||
const rimraf = require('rimraf');
|
||||
|
||||
exports.readFile = promisify(fs.readFile);
|
||||
exports.writeFile = promisify(fs.writeFile);
|
||||
exports.stat = promisify(fs.stat);
|
||||
exports.readdir = promisify(fs.readdir);
|
||||
exports.unlink = promisify(fs.unlink);
|
||||
exports.rimraf = promisify(rimraf);
|
||||
exports.realpath = async function(path) {
|
||||
const realpath = promisify(fs.realpath);
|
||||
try {
|
||||
path = await realpath(path);
|
||||
} catch (e) {
|
||||
// do nothing
|
||||
}
|
||||
return path;
|
||||
};
|
||||
exports.lstat = promisify(fs.lstat);
|
||||
|
||||
exports.exists = function(filename) {
|
||||
return new Promise(resolve => {
|
||||
fs.exists(filename, resolve);
|
||||
});
|
||||
};
|
||||
|
||||
exports.mkdirp = promisify(mkdirp);
|
||||
Loading…
Add table
Add a link
Reference in a new issue