first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

26
build/node_modules/attempt-x/.editorconfig generated vendored Normal file
View File

@@ -0,0 +1,26 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# top-most EditorConfig file
root = true
# every file
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
[*.md]
trim_trailing_whitespace = false

1
build/node_modules/attempt-x/.eslintignore generated vendored Normal file
View File

@@ -0,0 +1 @@
lib/*

6
build/node_modules/attempt-x/.eslintrc.json generated vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"root": true,
"extends": [
"@xotic750/eslint-config-standard-x"
]
}

1
build/node_modules/attempt-x/.nvmrc generated vendored Normal file
View File

@@ -0,0 +1 @@
lts/*

99
build/node_modules/attempt-x/.travis.yml generated vendored Normal file
View File

@@ -0,0 +1,99 @@
sudo: false
language: node_js
branches:
only:
- master
- /^greenkeeper/.*$/
notifications:
email: false
node_js:
- "8.4"
- "8.3"
- "8.2"
- "8.1"
- "8.0"
- "7.10"
- "7.9"
- "7.8"
- "7.7"
- "7.6"
- "7.5"
- "7.4"
- "7.3"
- "7.2"
- "7.1"
- "7.0"
- "6.11"
- "6.10"
- "6.9"
- "6.8"
- "6.7"
- "6.6"
- "6.5"
- "6.4"
- "6.3"
- "6.2"
- "6.1"
- "6.0"
- "5.12"
- "5.11"
- "5.10"
- "5.9"
- "5.8"
- "5.7"
- "5.6"
- "5.5"
- "5.4"
- "5.3"
- "5.2"
- "5.1"
- "5.0"
- "4.8"
- "4.7"
- "4.6"
- "4.5"
- "4.4"
- "4.3"
- "4.2"
- "4.1"
- "4.0"
- "iojs-v3.3"
- "iojs-v3.2"
- "iojs-v3.1"
- "iojs-v3.0"
- "iojs-v2.5"
- "iojs-v2.4"
- "iojs-v2.3"
- "iojs-v2.2"
- "iojs-v2.1"
- "iojs-v2.0"
- "iojs-v1.8"
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ; esac ; fi'
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5; elif [[ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" =~ ^[4-5]+$ ]]; then npm install -g npm@5.3; else npm install -g npm; fi; fi'
install:
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use --delete-prefix "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
script:
- 'npm test'
matrix:
fast_finish: true
allow_failures:
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.6"
- node_js: "0.4"

17
build/node_modules/attempt-x/.uglifyjsrc.json generated vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"warnings": false,
"parse": {},
"compress": {
"keep_fnames": true
},
"mangle": false,
"output": {
"ascii_only": true,
"beautify": false,
"comments": "some"
},
"sourceMap": {},
"nameCache": null,
"toplevel": false,
"ie8": true
}

21
build/node_modules/attempt-x/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
https://opensource.org/licenses/MIT
Copyright (c) 2017 Graham Fairweather.
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.

80
build/node_modules/attempt-x/README.md generated vendored Normal file
View File

@@ -0,0 +1,80 @@
<a href="https://travis-ci.org/Xotic750/attempt-x"
title="Travis status">
<img
src="https://travis-ci.org/Xotic750/attempt-x.svg?branch=master"
alt="Travis status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/attempt-x"
title="Dependency status">
<img src="https://david-dm.org/Xotic750/attempt-x.svg"
alt="Dependency status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/attempt-x#info=devDependencies"
title="devDependency status">
<img src="https://david-dm.org/Xotic750/attempt-x/dev-status.svg"
alt="devDependency status" height="18"/>
</a>
<a href="https://badge.fury.io/js/attempt-x" title="npm version">
<img src="https://badge.fury.io/js/attempt-x.svg"
alt="npm version" height="18"/>
</a>
<a name="module_attempt-x"></a>
## attempt-x
Invokes function, returning an object of the results.
**Version**: 1.1.1
**Author**: Xotic750 <Xotic750@gmail.com>
**License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)
**Copyright**: Xotic750
<a name="exp_module_attempt-x--module.exports"></a>
### `module.exports(fn, [...args])` ⇒ <code>Object</code> ⏏
This method attempts to invoke the function, returning either the result or
the caught error object. Any additional arguments are provided to the
function when it's invoked.
**Kind**: Exported function
**Returns**: <code>Object</code> - Returns an object of the result.
| Param | Type | Description |
| --- | --- | --- |
| fn | <code>function</code> | The function to attempt. |
| [...args] | <code>\*</code> | The arguments to invoke the function with. |
**Example**
```js
var attempt = require('attempt-x');
function thrower() {
throw new Error('Threw');
}
attempt(thrower, 1, 2);
// {
// threw: true,
// value: // Error('Threw') object
// }
function sumArgs(a, b) {
return a + b;
}
attempt(sumArgs, 1, 2);
// {
// threw: false,
// value: 3
// }
var thisArg = [];
function pusher(a, b) {
return this.push(a, b);
}
attempt.call(thisArg, pusher, 1, 2);
// {
// threw: false,
// value: 2
// }
// thisArg => [1, 2];
```

20
build/node_modules/attempt-x/badges.html generated vendored Normal file
View File

@@ -0,0 +1,20 @@
<a href="https://travis-ci.org/Xotic750/@{PACKAGE-NAME}"
title="Travis status">
<img
src="https://travis-ci.org/Xotic750/@{PACKAGE-NAME}.svg?branch=master"
alt="Travis status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/@{PACKAGE-NAME}"
title="Dependency status">
<img src="https://david-dm.org/Xotic750/@{PACKAGE-NAME}.svg"
alt="Dependency status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/@{PACKAGE-NAME}#info=devDependencies"
title="devDependency status">
<img src="https://david-dm.org/Xotic750/@{PACKAGE-NAME}/dev-status.svg"
alt="devDependency status" height="18"/>
</a>
<a href="https://badge.fury.io/js/@{PACKAGE-NAME}" title="npm version">
<img src="https://badge.fury.io/js/@{PACKAGE-NAME}.svg"
alt="npm version" height="18"/>
</a>

83
build/node_modules/attempt-x/index.js generated vendored Normal file
View File

@@ -0,0 +1,83 @@
/**
* @file Invokes function, returning an object of the results.
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module attempt-x
*/
'use strict';
var getArgs = function _getArgs(args) {
var length = args.length >>> 0;
var array = [];
var argLength = length - 1;
if (argLength < 1) {
return array;
}
array.length = argLength;
for (var index = 1; index < length; index += 1) {
array[index - 1] = args[index];
}
return array;
};
/**
* This method attempts to invoke the function, returning either the result or
* the caught error object. Any additional arguments are provided to the
* function when it's invoked.
*
* @param {Function} fn - The function to attempt.
* @param {...*} [args] - The arguments to invoke the function with.
* @returns {Object} Returns an object of the result.
* @example
* var attempt = require('attempt-x');
*
* function thrower() {
* throw new Error('Threw');
* }
*
* attempt(thrower, 1, 2);
* // {
* // threw: true,
* // value: // Error('Threw') object
* // }
*
* function sumArgs(a, b) {
* return a + b;
* }
*
* attempt(sumArgs, 1, 2);
* // {
* // threw: false,
* // value: 3
* // }
*
* var thisArg = [];
* function pusher(a, b) {
* return this.push(a, b);
* }
*
* attempt.call(thisArg, pusher, 1, 2);
* // {
* // threw: false,
* // value: 2
* // }
* // thisArg => [1, 2];
*/
module.exports = function attempt(fn) {
try {
return {
threw: false,
value: fn.apply(this, getArgs(arguments))
};
} catch (e) {
return {
threw: true,
value: e
};
}
};

87
build/node_modules/attempt-x/lib/attempt-x.js generated vendored Normal file
View File

@@ -0,0 +1,87 @@
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
* @file Invokes function, returning an object of the results.
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module attempt-x
*/
'use strict';
var getArgs = function _getArgs(args) {
var length = args.length >>> 0;
var array = [];
var argLength = length - 1;
if (argLength < 1) {
return array;
}
array.length = argLength;
for (var index = 1; index < length; index += 1) {
array[index - 1] = args[index];
}
return array;
};
/**
* This method attempts to invoke the function, returning either the result or
* the caught error object. Any additional arguments are provided to the
* function when it's invoked.
*
* @param {Function} fn - The function to attempt.
* @param {...*} [args] - The arguments to invoke the function with.
* @returns {Object} Returns an object of the result.
* @example
* var attempt = require('attempt-x');
*
* function thrower() {
* throw new Error('Threw');
* }
*
* attempt(thrower, 1, 2);
* // {
* // threw: true,
* // value: // Error('Threw') object
* // }
*
* function sumArgs(a, b) {
* return a + b;
* }
*
* attempt(sumArgs, 1, 2);
* // {
* // threw: false,
* // value: 3
* // }
*
* var thisArg = [];
* function pusher(a, b) {
* return this.push(a, b);
* }
*
* attempt.call(thisArg, pusher, 1, 2);
* // {
* // threw: false,
* // value: 2
* // }
* // thisArg => [1, 2];
*/
module.exports = function attempt(fn) {
try {
return {
threw: false,
value: fn.apply(this, getArgs(arguments))
};
} catch (e) {
return {
threw: true,
value: e
};
}
};
},{}]},{},[1])(1)
});

9
build/node_modules/attempt-x/lib/attempt-x.min.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
* @file Invokes function, returning an object of the results.
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>
* @copyright Xotic750
* @license {@link <https://opensource.org/licenses/MIT> MIT}
* @module attempt-x
*/
"use strict";var getArgs=function _getArgs(args){var length=args.length>>>0,array=[],argLength=length-1;if(argLength<1)return array;array.length=argLength;for(var index=1;index<length;index+=1)array[index-1]=args[index];return array};module.exports=function attempt(fn){try{return{threw:!1,value:fn.apply(this,getArgs(arguments))}}catch(e){return{threw:!0,value:e}}}},{}]},{},[1])(1)});

View File

@@ -0,0 +1 @@
{"version":3,"sources":["lib/attempt-x.js"],"names":["f","exports","module","define","amd","window","global","self","this","returnExports","e","t","n","r","s","o","u","a","require","i","Error","code","l","call","length","1","_dereq_","getArgs","_getArgs","args","array","argLength","index","attempt","fn","threw","value","apply","arguments"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,iBAAVC,SAAoC,oBAATC,OAAsBA,OAAOD,QAAQD,SAAS,GAAmB,mBAATG,QAAqBA,OAAOC,IAAKD,UAAUH,OAAO,EAA0B,oBAATK,OAAwBA,OAA+B,oBAATC,OAAwBA,OAA6B,oBAAPC,KAAsBA,KAAYC,MAAOC,cAAgBT,KAAlU,CAAyU,WAAqC,OAAO,SAAUU,EAAEC,EAAEC,EAAEC,GAAG,SAASC,EAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,IAAIE,EAAkB,mBAATC,SAAqBA,QAAQ,IAAIF,GAAGC,EAAE,OAAOA,EAAEF,GAAE,GAAI,GAAGI,EAAE,OAAOA,EAAEJ,GAAE,GAAI,IAAIf,EAAE,IAAIoB,MAAM,uBAAuBL,EAAE,KAAK,MAAMf,EAAEqB,KAAK,mBAAmBrB,EAAE,IAAIsB,EAAEV,EAAEG,IAAId,YAAYU,EAAEI,GAAG,GAAGQ,KAAKD,EAAErB,QAAQ,SAASS,GAAG,IAAIE,EAAED,EAAEI,GAAG,GAAGL,GAAG,OAAOI,EAAEF,GAAIF,IAAIY,EAAEA,EAAErB,QAAQS,EAAEC,EAAEC,EAAEC,GAAG,OAAOD,EAAEG,GAAGd,QAAkD,IAAI,IAA1CkB,EAAkB,mBAATD,SAAqBA,QAAgBH,EAAE,EAAEA,EAAEF,EAAEW,OAAOT,IAAID,EAAED,EAAEE,IAAI,OAAOD,EAAvb,EAA4bW,GAAG,SAASC,QAAQxB,OAAOD;;;;;;;;AAU50B,aAEA,IAAI0B,QAAU,SAASC,SAASC,MAC9B,IAAIL,OAASK,KAAKL,SAAW,EACzBM,SACAC,UAAYP,OAAS,EACzB,GAAIO,UAAY,EACd,OAAOD,MAGTA,MAAMN,OAASO,UACf,IAAK,IAAIC,MAAQ,EAAGA,MAAQR,OAAQQ,OAAS,EAC3CF,MAAME,MAAQ,GAAKH,KAAKG,OAG1B,OAAOF,OA8CT5B,OAAOD,QAAU,SAASgC,QAAQC,IAChC,IACE,OACEC,OAAO,EACPC,MAAOF,GAAGG,MAAM7B,KAAMmB,QAAQW,aAEhC,MAAO5B,GACP,OACEyB,OAAO,EACPC,MAAO1B,eAKF,GArF0W,CAqFtW"}

112
build/node_modules/attempt-x/package.json generated vendored Normal file
View File

@@ -0,0 +1,112 @@
{
"_from": "attempt-x@^1.1.0",
"_id": "attempt-x@1.1.1",
"_inBundle": false,
"_integrity": "sha512-hIp37ojJRRW8ExWSxxLpkDHUufk/DFfsb7/cUC1cVbBg7JV4gJTkCTRa44dlL9e5jx1P3VNrjL7QOQfi4MyltA==",
"_location": "/attempt-x",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "attempt-x@^1.1.0",
"name": "attempt-x",
"escapedName": "attempt-x",
"rawSpec": "^1.1.0",
"saveSpec": null,
"fetchSpec": "^1.1.0"
},
"_requiredBy": [
"/is-array-buffer-x",
"/is-function-x",
"/object-get-own-property-descriptor-x"
],
"_resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-1.1.1.tgz",
"_shasum": "fba64e96ce03c3e0bd92c92622061c4df387cb76",
"_spec": "attempt-x@^1.1.0",
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build/node_modules/is-array-buffer-x",
"author": {
"name": "Graham Fairweather",
"email": "xotic750@gmail.com"
},
"bugs": {
"url": "https://github.com/Xotic750/attempt-x/issues"
},
"bundleDependencies": false,
"copyright": "Copyright (c) 2017",
"dependencies": {},
"deprecated": false,
"description": "Invokes function, returning an object of the results.",
"devDependencies": {
"@xotic750/eslint-config-standard-x": "^2.2.1",
"browserify": "^14.4.0",
"browserify-derequire": "^0.9.4",
"cross-env": "^5.0.1",
"es5-shim": "^4.5.9",
"es6-shim": "^0.35.3",
"es7-shim": "^6.0.0",
"eslint": "^4.2.0",
"eslint-plugin-compat": "^1.0.4",
"eslint-plugin-css-modules": "^2.7.2",
"eslint-plugin-eslint-comments": "^1.0.2",
"eslint-plugin-jsdoc": "^3.1.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-no-use-extend-native": "^0.3.12",
"husky": "^0.13.4",
"jasmine-node": "^1.14.5",
"jsdoc-to-markdown": "^3.0.0",
"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.3.0",
"ncp": "^2.0.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"parallelshell": "^3.0.1",
"replace-x": "^1.5.0",
"rimraf": "^2.6.1",
"serve": "^6.0.2",
"uglify-js": "^3.0.24"
},
"engines": {
"node": "*"
},
"homepage": "https://github.com/Xotic750/attempt-x",
"keywords": [
"utility",
"attempt",
"module",
"javascript",
"nodejs",
"browser"
],
"license": "MIT",
"main": "index.js",
"name": "attempt-x",
"repository": {
"type": "git",
"url": "git+https://github.com/Xotic750/attempt-x.git"
},
"scripts": {
"browserify": "browserify -p browserify-derequire -e index.js -o lib/attempt-x.js -u 'crypto' -s returnExports",
"build": "npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security",
"build:description": "replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js",
"build:jasmine": "npm run clean:jasmine && make-jasmine-spec-runner-html",
"build:name": "replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js",
"build:replace": "npm run build:setver && npm run build:name && npm run build:description",
"build:setver": "replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js",
"clean": "rimraf README.md lib/*",
"clean:all": "npm run clean:jasmine && npm run clean",
"clean:jasmine": "rimraf tests/index.html tests/run.js",
"docs": "npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md",
"docs:badges": "ncp badges.html README.md && npm run docs:name",
"docs:name": "replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md",
"lint": "eslint *.js tests/spec/*.js",
"lint-fix": "npm run lint -- --fix",
"precommit": "npm run production",
"prepush": "npm run production",
"production": "npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build",
"security": "nsp check",
"start": "parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"",
"test": "jasmine-node --matchall tests/spec/",
"uglify": "uglifyjs lib/attempt-x.js -o lib/attempt-x.min.js --config-file .uglifyjsrc.json"
},
"version": "1.1.1"
}