mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-18 21:54:23 +01:00
generated
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Thu May 26 04:31:04 UTC 2022
|
Fri May 27 04:32:12 UTC 2022
|
||||||
|
|||||||
23
node_modules/follow-redirects/index.js
generated
vendored
23
node_modules/follow-redirects/index.js
generated
vendored
@@ -274,21 +274,26 @@ RedirectableRequest.prototype._performRequest = function () {
|
|||||||
this._options.agent = this._options.agents[scheme];
|
this._options.agent = this._options.agents[scheme];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the native request
|
// Create the native request and set up its event handlers
|
||||||
var request = this._currentRequest =
|
var request = this._currentRequest =
|
||||||
nativeProtocol.request(this._options, this._onNativeResponse);
|
nativeProtocol.request(this._options, this._onNativeResponse);
|
||||||
this._currentUrl = url.format(this._options);
|
|
||||||
|
|
||||||
// Set up event handlers
|
|
||||||
request._redirectable = this;
|
request._redirectable = this;
|
||||||
for (var e = 0; e < events.length; e++) {
|
for (var event of events) {
|
||||||
request.on(events[e], eventHandlers[events[e]]);
|
request.on(event, eventHandlers[event]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RFC7230§5.3.1: When making a request directly to an origin server, […]
|
||||||
|
// a client MUST send only the absolute path […] as the request-target.
|
||||||
|
this._currentUrl = /^\//.test(this._options.path) ?
|
||||||
|
url.format(this._options) :
|
||||||
|
// When making a request to a proxy, […]
|
||||||
|
// a client MUST send the target URI in absolute-form […].
|
||||||
|
this._currentUrl = this._options.path;
|
||||||
|
|
||||||
// End a redirected request
|
// End a redirected request
|
||||||
// (The first request must be ended explicitly with RedirectableRequest#end)
|
// (The first request must be ended explicitly with RedirectableRequest#end)
|
||||||
if (this._isRedirect) {
|
if (this._isRedirect) {
|
||||||
// Write the request entity and end.
|
// Write the request entity and end
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var self = this;
|
var self = this;
|
||||||
var buffers = this._requestBodyBuffers;
|
var buffers = this._requestBodyBuffers;
|
||||||
@@ -576,8 +581,8 @@ function createErrorType(code, defaultMessage) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function abortRequest(request) {
|
function abortRequest(request) {
|
||||||
for (var e = 0; e < events.length; e++) {
|
for (var event of events) {
|
||||||
request.removeListener(events[e], eventHandlers[events[e]]);
|
request.removeListener(event, eventHandlers[event]);
|
||||||
}
|
}
|
||||||
request.on("error", noop);
|
request.on("error", noop);
|
||||||
request.abort();
|
request.abort();
|
||||||
|
|||||||
10
node_modules/follow-redirects/package.json
generated
vendored
10
node_modules/follow-redirects/package.json
generated
vendored
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"_from": "follow-redirects@^1.14.8",
|
"_from": "follow-redirects@^1.14.8",
|
||||||
"_id": "follow-redirects@1.15.0",
|
"_id": "follow-redirects@1.15.1",
|
||||||
"_inBundle": false,
|
"_inBundle": false,
|
||||||
"_integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==",
|
"_integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==",
|
||||||
"_location": "/follow-redirects",
|
"_location": "/follow-redirects",
|
||||||
"_phantomChildren": {},
|
"_phantomChildren": {},
|
||||||
"_requested": {
|
"_requested": {
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"/axios"
|
"/axios"
|
||||||
],
|
],
|
||||||
"_resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz",
|
"_resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz",
|
||||||
"_shasum": "06441868281c86d0dda4ad8bdaead2d02dca89d4",
|
"_shasum": "0ca6a452306c9b276e4d3127483e29575e207ad5",
|
||||||
"_spec": "follow-redirects@^1.14.8",
|
"_spec": "follow-redirects@^1.14.8",
|
||||||
"_where": "/home/runner/work/satshkd-vercel/satshkd-vercel/node_modules/axios",
|
"_where": "/home/runner/work/satshkd-vercel/satshkd-vercel/node_modules/axios",
|
||||||
"author": {
|
"author": {
|
||||||
@@ -91,5 +91,5 @@
|
|||||||
"mocha": "nyc mocha",
|
"mocha": "nyc mocha",
|
||||||
"test": "npm run lint && npm run mocha"
|
"test": "npm run lint && npm run mocha"
|
||||||
},
|
},
|
||||||
"version": "1.15.0"
|
"version": "1.15.1"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user