initial commit taken from gitlab.lrz.de

This commit is contained in:
privatereese
2018-08-24 18:09:42 +02:00
parent ae54ed4c48
commit fc05486403
28494 changed files with 2159823 additions and 0 deletions

8
node_modules/default-require-extensions/js.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
const fs = require('fs');
const stripBom = require('strip-bom');
module.exports = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8');
module._compile(stripBom(content), filename);
};

14
node_modules/default-require-extensions/json.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
'use strict';
const fs = require('fs');
const stripBom = require('strip-bom');
module.exports = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8');
try {
module.exports = JSON.parse(stripBom(content));
} catch (err) {
err.message = `${filename}: ${err.message}`;
throw err;
}
};

21
node_modules/default-require-extensions/license generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Node.js contributors, James Talmage <james@talmage.io> (github.com/jamestalmage)
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.

105
node_modules/default-require-extensions/package.json generated vendored Normal file
View File

@@ -0,0 +1,105 @@
{
"_args": [
[
"default-require-extensions@^2.0.0",
"/home/bernhard/freifunk-app/node_modules/append-transform"
]
],
"_from": "default-require-extensions@>=2.0.0 <3.0.0",
"_id": "default-require-extensions@2.0.0",
"_inCache": true,
"_installable": true,
"_location": "/default-require-extensions",
"_nodeVersion": "4.7.3",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/default-require-extensions-2.0.0.tgz_1490519551699_0.5343406901229173"
},
"_npmUser": {
"email": "sindresorhus@gmail.com",
"name": "sindresorhus"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"name": "default-require-extensions",
"raw": "default-require-extensions@^2.0.0",
"rawSpec": "^2.0.0",
"scope": null,
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/append-transform"
],
"_resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz",
"_shasum": "f5f8fbb18a7d6d50b21f641f649ebb522cfe24f7",
"_shrinkwrap": null,
"_spec": "default-require-extensions@^2.0.0",
"_where": "/home/bernhard/freifunk-app/node_modules/append-transform",
"author": {
"email": "james@talmage.io",
"name": "James Talmage",
"url": "github.com/jamestalmage"
},
"bugs": {
"url": "https://github.com/avajs/default-require-extensions/issues"
},
"dependencies": {
"strip-bom": "^3.0.0"
},
"description": "Node's default require extensions as a separate module",
"devDependencies": {
"ava": "^0.18.2",
"nyc": "^10.1.2",
"xo": "^0.18.1"
},
"directories": {},
"dist": {
"shasum": "f5f8fbb18a7d6d50b21f641f649ebb522cfe24f7",
"tarball": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"js.js",
"json.js"
],
"gitHead": "499a4ef35ed7192948a702c07f83bae8d5cc548b",
"homepage": "https://github.com/avajs/default-require-extensions#readme",
"keywords": [
"default",
"extension",
"node",
"require"
],
"license": "MIT",
"main": "js.js",
"maintainers": [
{
"name": "jamestalmage",
"email": "james@talmage.io"
},
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "default-require-extensions",
"nyc": {
"exclude": [
"fixture"
]
},
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/avajs/default-require-extensions.git"
},
"scripts": {
"test": "xo && nyc ava"
},
"version": "2.0.0"
}

32
node_modules/default-require-extensions/readme.md generated vendored Normal file
View File

@@ -0,0 +1,32 @@
# default-require-extensions [![Build Status](https://travis-ci.org/avajs/default-require-extensions.svg?branch=master)](https://travis-ci.org/avajs/default-require-extensions)
> Node's default require extensions as a separate module
Handy for require extension authors that want reliable access to the default extension implementations.
By the time your extension is loaded, the default extension may have already been replaced. This provides extensions functionally identical to the default ones, which you know you can access reliably, no matter what extensions have been installed previously.
## Install
```
$ npm install --save default-require-extensions
```
## Usage
```js
const js = require('default-require-extensions/js');
const json = require('default-require-extensions/json');
require.extensions['.js'] = js;
require.extensions['.js'] = json;
```
*Note:* You would never actually do the above. Use these in your custom require extensions instead.
## License
MIT © Node.js contributors, [James Talmage](https://github.com/jamestalmage)