Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

9
node_modules/tunnel-agent/index.js generated vendored
View File

@@ -7,7 +7,6 @@ var net = require('net')
, events = require('events')
, assert = require('assert')
, util = require('util')
, Buffer = require('safe-buffer').Buffer
;
exports.httpOverHttp = httpOverHttp
@@ -119,7 +118,7 @@ TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {
var placeholder = {}
self.sockets.push(placeholder)
var connectOptions = mergeOptions({}, self.proxyOptions,
var connectOptions = mergeOptions({}, self.proxyOptions,
{ method: 'CONNECT'
, path: options.host + ':' + options.port
, agent: false
@@ -128,7 +127,7 @@ TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {
if (connectOptions.proxyAuth) {
connectOptions.headers = connectOptions.headers || {}
connectOptions.headers['Proxy-Authorization'] = 'Basic ' +
Buffer.from(connectOptions.proxyAuth).toString('base64')
new Buffer(connectOptions.proxyAuth).toString('base64')
}
debug('making CONNECT request')
@@ -184,7 +183,7 @@ TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {
TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {
var pos = this.sockets.indexOf(socket)
if (pos === -1) return
this.sockets.splice(pos, 1)
var pending = this.requests.shift()
@@ -199,7 +198,7 @@ function createSecureSocket(options, cb) {
var self = this
TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {
// 0 is dummy port for v0.6
var secureSocket = tls.connect(0, mergeOptions({}, self.options,
var secureSocket = tls.connect(0, mergeOptions({}, self.options,
{ servername: options.host
, socket: socket
}

View File

@@ -1,56 +1,20 @@
{
"_from": "tunnel-agent@^0.6.0",
"_id": "tunnel-agent@0.6.0",
"_inBundle": false,
"_integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"_location": "/tunnel-agent",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "tunnel-agent@^0.6.0",
"name": "tunnel-agent",
"escapedName": "tunnel-agent",
"rawSpec": "^0.6.0",
"saveSpec": null,
"fetchSpec": "^0.6.0"
},
"_requiredBy": [
"/caw",
"/request"
],
"_resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"_shasum": "27a5dea06b36b04a0a9966774b290868f0fc40fd",
"_spec": "tunnel-agent@^0.6.0",
"_where": "/var/www/html/jason/WeihnachtenMelly/node_modules/caw",
"author": {
"name": "Mikeal Rogers",
"email": "mikeal.rogers@gmail.com",
"url": "http://www.futurealoof.com"
},
"bugs": {
"url": "https://github.com/mikeal/tunnel-agent/issues"
},
"bundleDependencies": false,
"dependencies": {
"safe-buffer": "^5.0.1"
},
"deprecated": false,
"author": "Mikeal Rogers <mikeal.rogers@gmail.com> (http://www.futurealoof.com)",
"name": "tunnel-agent",
"license": "Apache-2.0",
"description": "HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.",
"devDependencies": {},
"engines": {
"node": "*"
"version": "0.4.3",
"repository": {
"url": "https://github.com/mikeal/tunnel-agent"
},
"main": "index.js",
"files": [
"index.js"
],
"homepage": "https://github.com/mikeal/tunnel-agent#readme",
"license": "Apache-2.0",
"main": "index.js",
"name": "tunnel-agent",
"dependencies": {},
"devDependencies": {},
"optionalDependencies": {},
"repository": {
"url": "git+https://github.com/mikeal/tunnel-agent.git"
},
"version": "0.6.0"
"engines": {
"node": "*"
}
}