1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.deps = {
|
4 | get proxy() {
|
5 | return fetch('./proxy').default;
|
6 | },
|
7 | get isStream() {
|
8 | return fetch('is-stream');
|
9 | },
|
10 | get contentType() {
|
11 | return fetch('content-type');
|
12 | },
|
13 | get http() {
|
14 | return fetch('http');
|
15 | },
|
16 | get https() {
|
17 | return fetch('https');
|
18 | },
|
19 | };
|
20 | const cache = {};
|
21 | function fetch(s) {
|
22 | if (!cache[s]) {
|
23 | cache[s] = require(s);
|
24 | }
|
25 | return cache[s];
|
26 | }
|