Node.js initialisiert

This commit is contained in:
clerie
2018-04-03 11:42:35 +02:00
parent 368b09cc46
commit 49686db41d
643 changed files with 93064 additions and 0 deletions
index.js
node_modules
.bin
accepts
after
array-flatten
arraybuffer.slice
async-limiter
backo2
base64-arraybuffer
base64id
better-assert
blob
callsite
component-bind
component-emitter
component-inherit
content-disposition
content-type
cookie-signature
cookie
debug
depd
destroy
ee-first
encodeurl
engine.io-client
engine.io-parser
engine.io
escape-html
etag
express
finalhandler
forwarded
fresh
has-binary2
has-cors
http-errors
indexof
inherits
ipaddr.js
isarray
media-typer
merge-descriptors
methods
mime-db
mime-types
mime
ms
negotiator
object-component
on-finished
parseqs
parseuri
parseurl
path-to-regexp
proxy-addr
qs
range-parser
safe-buffer
send
serve-static
setprototypeof
socket.io-adapter
socket.io-client
socket.io-parser
socket.io
statuses
to-array
type-is
ultron
unpipe
utils-merge
vary
ws
xmlhttprequest-ssl
yeast
package-lock.jsonpackage.json
public

39
node_modules/has-binary2/History.md generated vendored Normal file

@@ -0,0 +1,39 @@
1.0.2 / 2017-04-27
==================
* fix(*): Fix Blob detection for iOS 8/9
1.0.1 / 2017-04-05
==================
* chore(*): restrict files included in npm package
1.0.0 / 2017-04-05
==================
* chore(*): update package name
* fix(*): do not call toJSON more than once (#7)
* fix(*): Ensure globals are functions before running `instanceof` checks against them. (#4)
* fix(*): fix the case when toJSON() returns a Buffer (#6)
* chore(*): Bump dependencies, add semistandard checkstyle and travis configuration (#5)
* perf(*): Performance improvements (#3)
0.1.7 / 2015-11-18
==================
* fix toJSON [@jderuere]
* fix `global.isBuffer` usage [@tonetheman]
* fix tests on modern versions of node
* bump mocha
0.1.6 / 2015-01-24
==================
* fix "undefined function" bug when iterating
an object created with Object.create(null) [gunta]
0.1.5 / 2014-09-04
==================
* prevent browserify from bundling `Buffer`

20
node_modules/has-binary2/LICENSE generated vendored Normal file

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2014 Kevin Roark
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.

4
node_modules/has-binary2/README.md generated vendored Normal file

@@ -0,0 +1,4 @@
has-binarydata.js
=================
Simple module to test if an object contains binary data

62
node_modules/has-binary2/index.js generated vendored Normal file

@@ -0,0 +1,62 @@
/* global Blob File */
/*
* Module requirements.
*/
var isArray = require('isarray');
var toString = Object.prototype.toString;
var withNativeBlob = typeof global.Blob === 'function' || toString.call(global.Blob) === '[object BlobConstructor]';
var withNativeFile = typeof global.File === 'function' || toString.call(global.File) === '[object FileConstructor]';
/**
* Module exports.
*/
module.exports = hasBinary;
/**
* Checks for binary data.
*
* Supports Buffer, ArrayBuffer, Blob and File.
*
* @param {Object} anything
* @api public
*/
function hasBinary (obj) {
if (!obj || typeof obj !== 'object') {
return false;
}
if (isArray(obj)) {
for (var i = 0, l = obj.length; i < l; i++) {
if (hasBinary(obj[i])) {
return true;
}
}
return false;
}
if ((typeof global.Buffer === 'function' && global.Buffer.isBuffer && global.Buffer.isBuffer(obj)) ||
(typeof global.ArrayBuffer === 'function' && obj instanceof ArrayBuffer) ||
(withNativeBlob && obj instanceof Blob) ||
(withNativeFile && obj instanceof File)
) {
return true;
}
// see: https://github.com/Automattic/has-binary/pull/4
if (obj.toJSON && typeof obj.toJSON === 'function' && arguments.length === 1) {
return hasBinary(obj.toJSON(), true);
}
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key) && hasBinary(obj[key])) {
return true;
}
}
return false;
}

51
node_modules/has-binary2/package.json generated vendored Normal file

@@ -0,0 +1,51 @@
{
"_from": "has-binary2@~1.0.2",
"_id": "has-binary2@1.0.2",
"_inBundle": false,
"_integrity": "sha1-6D26SfC5vk0CbSc2U1DZ8D9Uvpg=",
"_location": "/has-binary2",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "has-binary2@~1.0.2",
"name": "has-binary2",
"escapedName": "has-binary2",
"rawSpec": "~1.0.2",
"saveSpec": null,
"fetchSpec": "~1.0.2"
},
"_requiredBy": [
"/engine.io-parser",
"/socket.io",
"/socket.io-client"
],
"_resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.2.tgz",
"_shasum": "e83dba49f0b9be4d026d27365350d9f03f54be98",
"_spec": "has-binary2@~1.0.2",
"_where": "/home/twr/node/pixelnode/node_modules/socket.io",
"author": {
"name": "Kevin Roark"
},
"bundleDependencies": false,
"dependencies": {
"isarray": "2.0.1"
},
"deprecated": false,
"description": "A function that takes anything in javascript and returns true if its argument contains binary data.",
"devDependencies": {
"better-assert": "^1.0.2",
"mocha": "^3.2.0",
"semistandard": "^9.2.1"
},
"files": [
"index.js"
],
"license": "MIT",
"name": "has-binary2",
"scripts": {
"checkstyle": "semistandard",
"test": "npm run checkstyle && mocha --bail"
},
"version": "1.0.2"
}