mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-01 01:13:37 +00:00
fix
This commit is contained in:
21
node_modules/fs-constants/LICENSE
generated
vendored
Normal file
21
node_modules/fs-constants/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 Mathias Buus
|
||||
|
||||
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.
|
26
node_modules/fs-constants/README.md
generated
vendored
Normal file
26
node_modules/fs-constants/README.md
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# fs-constants
|
||||
|
||||
Small module that allows you to get the fs constants across
|
||||
Node and the browser.
|
||||
|
||||
```
|
||||
npm install fs-constants
|
||||
```
|
||||
|
||||
Previously you would use `require('constants')` for this in node but that has been
|
||||
deprecated and changed to `require('fs').constants` which does not browserify.
|
||||
|
||||
This module uses `require('constants')` in the browser and `require('fs').constants` in node to work around this
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
``` js
|
||||
var constants = require('fs-constants')
|
||||
|
||||
console.log('constants:', constants)
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
1
node_modules/fs-constants/browser.js
generated
vendored
Normal file
1
node_modules/fs-constants/browser.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('constants')
|
1
node_modules/fs-constants/index.js
generated
vendored
Normal file
1
node_modules/fs-constants/index.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('fs').constants || require('constants')
|
47
node_modules/fs-constants/package.json
generated
vendored
Normal file
47
node_modules/fs-constants/package.json
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"_from": "fs-constants@^1.0.0",
|
||||
"_id": "fs-constants@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
|
||||
"_location": "/fs-constants",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "fs-constants@^1.0.0",
|
||||
"name": "fs-constants",
|
||||
"escapedName": "fs-constants",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/tar-stream"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
|
||||
"_shasum": "6be0de9be998ce16af8afc24497b9ee9b7ccd9ad",
|
||||
"_spec": "fs-constants@^1.0.0",
|
||||
"_where": "C:\\Users\\matia\\Musix\\node_modules\\tar-stream",
|
||||
"author": {
|
||||
"name": "Mathias Buus",
|
||||
"url": "@mafintosh"
|
||||
},
|
||||
"browser": "browser.js",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mafintosh/fs-constants/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Require constants across node and the browser",
|
||||
"devDependencies": {},
|
||||
"homepage": "https://github.com/mafintosh/fs-constants",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "fs-constants",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mafintosh/fs-constants.git"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
Reference in New Issue
Block a user