node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

23
server/node_modules/is-class-hotfix/.editorconfig generated vendored Executable file
View File

@@ -0,0 +1,23 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
# use line feed
end_of_line = lf
# ensure file ends with a newline when saving
insert_final_newline = true
# soft tabs
indent_style = space
# number of columns used for each indentation level
indent_size = 2
# remove any whitespace characters preceding newline characters
trim_trailing_whitespace = true
# character set
charset = utf-8

2
server/node_modules/is-class-hotfix/.gitattributes generated vendored Executable file
View File

@@ -0,0 +1,2 @@
# Convert line endings to LF (Line Feed)
* text=auto

7
server/node_modules/is-class-hotfix/CHANGELOG.md generated vendored Executable file
View File

@@ -0,0 +1,7 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [0.0.2] - 2015-04-26
### Added
- Babel.js classes support

21
server/node_modules/is-class-hotfix/LICENSE.md generated vendored Executable file
View File

@@ -0,0 +1,21 @@
MIT license
Copyright (C) 2014 Miguel Mota
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.

35
server/node_modules/is-class-hotfix/README.md generated vendored Executable file
View File

@@ -0,0 +1,35 @@
# is-class
Check if function is an ES6 class.
# Install
```bash
npm install is-class
```
```bash
bower install is-class
```
# Usage
```javascript
var isClass = require('is-class');
class F {}
function G() {}
console.log(isClass(F)); // true
console.log(isClass(G)); // false
```
# Test
```bash
npm test
```
# License
MIT

24
server/node_modules/is-class-hotfix/bower.json generated vendored Executable file
View File

@@ -0,0 +1,24 @@
{
"name": "is-class",
"main": "is-class.js",
"version": "0.0.4",
"homepage": "https://github.com/miguelmota/is-class",
"authors": [
"Miguel Mota <miguelmota2@gmail.com>"
],
"description": "Check if function is an ES6 class.",
"keywords": [
"predicate",
"function",
"class",
"es6"
],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"license": "MIT"
}

28
server/node_modules/is-class-hotfix/is-class.js generated vendored Executable file
View File

@@ -0,0 +1,28 @@
(function(root) {
var toString = Function.prototype.toString;
function fnBody(fn) {
return toString.call(fn).replace(/^[^{]*{\s*/,'').replace(/\s*}[^}]*$/,'');
}
function isClass(fn) {
return (typeof fn === 'function' &&
(/^class(?:\s|{)/.test(toString.call(fn)) ||
(/^.*classCallCheck\(/.test(fnBody(fn)))) // babel.js
);
}
if (typeof exports !== 'undefined') {
if (typeof module !== 'undefined' && module.exports) {
exports = module.exports = isClass;
}
exports.isClass = isClass;
} else if (typeof define === 'function' && define.amd) {
define([], function() {
return isClass;
});
} else {
root.isClass = isClass;
}
})(this);

31
server/node_modules/is-class-hotfix/package.json generated vendored Executable file
View File

@@ -0,0 +1,31 @@
{
"name": "is-class-hotfix",
"version": "0.0.6",
"description": "Check if function is an ES6 class.",
"main": "is-class.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "tape test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/miguelmota/is-class"
},
"keywords": [
"predicate",
"function",
"class",
"es6"
],
"author": "Miguel Mota <hello@miguelmota.com> (http://www.miguelmota.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/miguelmota/is-class/issues"
},
"homepage": "https://github.com/miguelmota/is-class",
"devDependencies": {
"tape": "^3.0.3"
}
}

View File

@@ -0,0 +1,27 @@
'use strict';
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
var test = require('tape');
var isClass = require('../is-class');
test('isClass', function (t) {
t.plan(9);
var F = function F() {
_classCallCheck(this, F);
};
function G() {}
t.true(isClass(F));
t.false(isClass(G));
t.false(isClass(''));
t.false(isClass(0));
t.false(isClass(null));
t.false(isClass(undefined));
t.false(isClass(1));
t.false(isClass({}));
t.false(isClass([]));
});

31
server/node_modules/is-class-hotfix/test/is-class.js generated vendored Executable file
View File

@@ -0,0 +1,31 @@
'use strict';
var test = require('tape');
var isClass = require('../is-class');
test('isClass', function (t) {
t.plan(19);
class F {}
function G() {}
t.true(isClass(F));
t.true(isClass(class{}));
t.true(isClass(class{ }));
t.true(isClass(class{constructor(){}}));
t.true(isClass(class _{}));
t.true(isClass(class _FF {}));
t.true(isClass(class B extends(F){}));
t.true(isClass(class extends(F){}));
t.true(isClass(class extends F{}));
t.true(isClass(class extends F {}));
t.true(isClass(class extends F {}));
t.false(isClass(G));
t.false(isClass(''));
t.false(isClass(0));
t.false(isClass(null));
t.false(isClass(undefined));
t.false(isClass(1));
t.false(isClass({}));
t.false(isClass([]));
});