mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
chore:更换到主分支
This commit is contained in:
2
node_modules/follow-redirects/README.md
generated
vendored
2
node_modules/follow-redirects/README.md
generated
vendored
@@ -3,7 +3,7 @@
|
||||
Drop-in replacement for Node's `http` and `https` modules that automatically follows redirects.
|
||||
|
||||
[](https://www.npmjs.com/package/follow-redirects)
|
||||
[](https://travis-ci.org/follow-redirects/follow-redirects)
|
||||
[](https://github.com/follow-redirects/follow-redirects/actions)
|
||||
[](https://coveralls.io/r/follow-redirects/follow-redirects?branch=master)
|
||||
[](https://www.npmjs.com/package/follow-redirects)
|
||||
[](https://github.com/sponsors/RubenVerborgh)
|
||||
|
||||
21
node_modules/follow-redirects/debug.js
generated
vendored
21
node_modules/follow-redirects/debug.js
generated
vendored
@@ -1,9 +1,14 @@
|
||||
var debug;
|
||||
try {
|
||||
/* eslint global-require: off */
|
||||
debug = require("debug")("follow-redirects");
|
||||
}
|
||||
catch (error) {
|
||||
debug = function () { /* */ };
|
||||
}
|
||||
module.exports = debug;
|
||||
|
||||
module.exports = function () {
|
||||
if (!debug) {
|
||||
try {
|
||||
/* eslint global-require: off */
|
||||
debug = require("debug")("follow-redirects");
|
||||
}
|
||||
catch (error) {
|
||||
debug = function () { /* */ };
|
||||
}
|
||||
}
|
||||
debug.apply(null, arguments);
|
||||
};
|
||||
|
||||
20
node_modules/follow-redirects/index.js
generated
vendored
20
node_modules/follow-redirects/index.js
generated
vendored
@@ -400,7 +400,7 @@ function wrap(protocols) {
|
||||
var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
||||
|
||||
// Executes a request, following redirects
|
||||
wrappedProtocol.request = function (input, options, callback) {
|
||||
function request(input, options, callback) {
|
||||
// Parse parameters
|
||||
if (typeof input === "string") {
|
||||
var urlStr = input;
|
||||
@@ -435,14 +435,20 @@ function wrap(protocols) {
|
||||
assert.equal(options.protocol, protocol, "protocol mismatch");
|
||||
debug("options", options);
|
||||
return new RedirectableRequest(options, callback);
|
||||
};
|
||||
}
|
||||
|
||||
// Executes a GET request, following redirects
|
||||
wrappedProtocol.get = function (input, options, callback) {
|
||||
var request = wrappedProtocol.request(input, options, callback);
|
||||
request.end();
|
||||
return request;
|
||||
};
|
||||
function get(input, options, callback) {
|
||||
var wrappedRequest = wrappedProtocol.request(input, options, callback);
|
||||
wrappedRequest.end();
|
||||
return wrappedRequest;
|
||||
}
|
||||
|
||||
// Expose the properties on the wrapped protocol
|
||||
Object.defineProperties(wrappedProtocol, {
|
||||
request: { value: request, configurable: true, enumerable: true, writable: true },
|
||||
get: { value: get, configurable: true, enumerable: true, writable: true },
|
||||
});
|
||||
});
|
||||
return exports;
|
||||
}
|
||||
|
||||
28
node_modules/follow-redirects/package.json
generated
vendored
28
node_modules/follow-redirects/package.json
generated
vendored
@@ -1,32 +1,31 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"follow-redirects@1.13.0",
|
||||
"follow-redirects@1.13.2",
|
||||
"J:\\Github\\CURD-TS"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "follow-redirects@1.13.0",
|
||||
"_id": "follow-redirects@1.13.0",
|
||||
"_from": "follow-redirects@1.13.2",
|
||||
"_id": "follow-redirects@1.13.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-tC6Nk6Kn7qXtiGM2dtZZe8jjhNs=",
|
||||
"_integrity": "sha1-3XPI7/wScoulz0JZ12DqX7g+MUc=",
|
||||
"_location": "/follow-redirects",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "follow-redirects@1.13.0",
|
||||
"raw": "follow-redirects@1.13.2",
|
||||
"name": "follow-redirects",
|
||||
"escapedName": "follow-redirects",
|
||||
"rawSpec": "1.13.0",
|
||||
"rawSpec": "1.13.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.13.0"
|
||||
"fetchSpec": "1.13.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/http-proxy"
|
||||
"/axios"
|
||||
],
|
||||
"_resolved": "http://192.168.250.101:4873/follow-redirects/-/follow-redirects-1.13.0.tgz",
|
||||
"_spec": "1.13.0",
|
||||
"_resolved": "http://192.168.250.101:4873/follow-redirects/-/follow-redirects-1.13.2.tgz",
|
||||
"_spec": "1.13.2",
|
||||
"_where": "J:\\Github\\CURD-TS",
|
||||
"author": {
|
||||
"name": "Ruben Verborgh",
|
||||
@@ -81,6 +80,11 @@
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "follow-redirects",
|
||||
"peerDependenciesMeta": {
|
||||
"debug": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/follow-redirects/follow-redirects.git"
|
||||
@@ -90,5 +94,5 @@
|
||||
"mocha": "nyc mocha",
|
||||
"test": "npm run lint && npm run mocha"
|
||||
},
|
||||
"version": "1.13.0"
|
||||
"version": "1.13.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user