mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 21:00:04 +02:00
add node modules to repo
This commit is contained in:
35
app/node_modules/builtin-modules/builtin-modules.json
generated
vendored
Normal file
35
app/node_modules/builtin-modules/builtin-modules.json
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
[
|
||||
"assert",
|
||||
"buffer",
|
||||
"child_process",
|
||||
"cluster",
|
||||
"console",
|
||||
"constants",
|
||||
"crypto",
|
||||
"dgram",
|
||||
"dns",
|
||||
"domain",
|
||||
"events",
|
||||
"fs",
|
||||
"http",
|
||||
"https",
|
||||
"module",
|
||||
"net",
|
||||
"os",
|
||||
"path",
|
||||
"process",
|
||||
"punycode",
|
||||
"querystring",
|
||||
"readline",
|
||||
"repl",
|
||||
"stream",
|
||||
"string_decoder",
|
||||
"timers",
|
||||
"tls",
|
||||
"tty",
|
||||
"url",
|
||||
"util",
|
||||
"v8",
|
||||
"vm",
|
||||
"zlib"
|
||||
]
|
10
app/node_modules/builtin-modules/index.js
generated
vendored
Normal file
10
app/node_modules/builtin-modules/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var blacklist = [
|
||||
'freelist',
|
||||
'sys'
|
||||
];
|
||||
|
||||
module.exports = Object.keys(process.binding('natives')).filter(function (el) {
|
||||
return !/^_|^internal|\//.test(el) && blacklist.indexOf(el) === -1;
|
||||
}).sort();
|
21
app/node_modules/builtin-modules/license
generated
vendored
Normal file
21
app/node_modules/builtin-modules/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
76
app/node_modules/builtin-modules/package.json
generated
vendored
Normal file
76
app/node_modules/builtin-modules/package.json
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"builtin-modules@1.1.1",
|
||||
"/home/s2/Documents/Code/gitlit/app"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "builtin-modules@1.1.1",
|
||||
"_id": "builtin-modules@1.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
|
||||
"_location": "/builtin-modules",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "builtin-modules@1.1.1",
|
||||
"name": "builtin-modules",
|
||||
"escapedName": "builtin-modules",
|
||||
"rawSpec": "1.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-builtin-module"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
|
||||
"_spec": "1.1.1",
|
||||
"_where": "/home/s2/Documents/Code/gitlit/app",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/builtin-modules/issues"
|
||||
},
|
||||
"description": "List of the Node.js builtin modules",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"static.js",
|
||||
"builtin-modules.json"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/builtin-modules#readme",
|
||||
"keywords": [
|
||||
"builtin",
|
||||
"built-in",
|
||||
"builtins",
|
||||
"node",
|
||||
"modules",
|
||||
"core",
|
||||
"bundled",
|
||||
"list",
|
||||
"array",
|
||||
"names"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "builtin-modules",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/builtin-modules.git"
|
||||
},
|
||||
"scripts": {
|
||||
"make": "node make.js",
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.1.1"
|
||||
}
|
41
app/node_modules/builtin-modules/readme.md
generated
vendored
Normal file
41
app/node_modules/builtin-modules/readme.md
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# builtin-modules [](https://travis-ci.org/sindresorhus/builtin-modules)
|
||||
|
||||
> List of the Node.js builtin modules
|
||||
|
||||
The list is just a [JSON file](builtin-modules.json) and can be used wherever.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save builtin-modules
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
console.log(builinModules);
|
||||
//=> ['assert', 'buffer', ...]
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
Returns an array of builtin modules fetched from the running Node.js version.
|
||||
|
||||
### Static list
|
||||
|
||||
This module also comes bundled with a static array of builtin modules generated from the latest Node.js version. You can get it with `require('builtin-modules/static');`
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [is-builtin-module](https://github.com/sindresorhus/is-builtin-module) - Check if a string matches the name of a Node.js builtin module
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
2
app/node_modules/builtin-modules/static.js
generated
vendored
Normal file
2
app/node_modules/builtin-modules/static.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
'use strict';
|
||||
module.exports = require('./builtin-modules.json');
|
Reference in New Issue
Block a user