@biorate/axios 1.114.0 → 1.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,30 +23,30 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">94.73% </span>
26
+ <span class="strong">95.4% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>72/76</span>
28
+ <span class='fraction'>83/87</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">83.33% </span>
33
+ <span class="strong">80.64% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>45/54</span>
35
+ <span class='fraction'>50/62</span>
36
36
  </div>
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
- <span class="strong">91.66% </span>
40
+ <span class="strong">92% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>22/24</span>
42
+ <span class='fraction'>23/25</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">95.77% </span>
47
+ <span class="strong">96.34% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>68/71</span>
49
+ <span class='fraction'>79/82</span>
50
50
  </div>
51
51
 
52
52
 
@@ -79,6 +79,21 @@
79
79
  </tr>
80
80
  </thead>
81
81
  <tbody><tr>
82
+ <td class="file high" data-value="fake-response.ts"><a href="fake-response.ts.html">fake-response.ts</a></td>
83
+ <td data-value="100" class="pic high">
84
+ <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
85
+ </td>
86
+ <td data-value="100" class="pct high">100%</td>
87
+ <td data-value="7" class="abs high">7/7</td>
88
+ <td data-value="100" class="pct high">100%</td>
89
+ <td data-value="0" class="abs high">0/0</td>
90
+ <td data-value="100" class="pct high">100%</td>
91
+ <td data-value="1" class="abs high">1/1</td>
92
+ <td data-value="100" class="pct high">100%</td>
93
+ <td data-value="7" class="abs high">7/7</td>
94
+ </tr>
95
+
96
+ <tr>
82
97
  <td class="file high" data-value="index.ts"><a href="index.ts.html">index.ts</a></td>
83
98
  <td data-value="94.11" class="pic high">
84
99
  <div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
@@ -110,17 +125,17 @@
110
125
 
111
126
  <tr>
112
127
  <td class="file high" data-value="stubs.ts"><a href="stubs.ts.html">stubs.ts</a></td>
113
- <td data-value="95.45" class="pic high">
114
- <div class="chart"><div class="cover-fill" style="width: 95%"></div><div class="cover-empty" style="width: 5%"></div></div>
128
+ <td data-value="96.15" class="pic high">
129
+ <div class="chart"><div class="cover-fill" style="width: 96%"></div><div class="cover-empty" style="width: 4%"></div></div>
115
130
  </td>
116
- <td data-value="95.45" class="pct high">95.45%</td>
117
- <td data-value="22" class="abs high">21/22</td>
118
- <td data-value="83.87" class="pct high">83.87%</td>
119
- <td data-value="31" class="abs high">26/31</td>
131
+ <td data-value="96.15" class="pct high">96.15%</td>
132
+ <td data-value="26" class="abs high">25/26</td>
133
+ <td data-value="79.48" class="pct medium">79.48%</td>
134
+ <td data-value="39" class="abs medium">31/39</td>
120
135
  <td data-value="100" class="pct high">100%</td>
121
136
  <td data-value="5" class="abs high">5/5</td>
122
137
  <td data-value="100" class="pct high">100%</td>
123
- <td data-value="19" class="abs high">19/19</td>
138
+ <td data-value="23" class="abs high">23/23</td>
124
139
  </tr>
125
140
 
126
141
  </tbody>
@@ -131,7 +146,7 @@
131
146
  <div class='footer quiet pad2 space-top1 center small'>
132
147
  Code coverage generated by
133
148
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2025-04-15T10:21:23.410Z
149
+ at 2025-04-16T15:06:19.299Z
135
150
  </div>
136
151
  <script src="prettify.js"></script>
137
152
  <script>
@@ -103,7 +103,7 @@ Error: Unable to lookup source: /www/biorate/core/packages/@biorate/axios/src/fi
103
103
  <div class='footer quiet pad2 space-top1 center small'>
104
104
  Code coverage generated by
105
105
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
106
- at 2025-04-15T10:21:23.410Z
106
+ at 2025-04-16T15:06:19.299Z
107
107
  </div>
108
108
  <script src="prettify.js"></script>
109
109
  <script>
@@ -103,7 +103,7 @@ Error: Unable to lookup source: /www/biorate/core/packages/@biorate/axios/src/fi
103
103
  <div class='footer quiet pad2 space-top1 center small'>
104
104
  Code coverage generated by
105
105
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
106
- at 2025-04-15T10:21:23.410Z
106
+ at 2025-04-16T15:06:19.299Z
107
107
  </div>
108
108
  <script src="prettify.js"></script>
109
109
  <script>
@@ -23,16 +23,16 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">95.45% </span>
26
+ <span class="strong">96.15% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>21/22</span>
28
+ <span class='fraction'>25/26</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">83.87% </span>
33
+ <span class="strong">79.48% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>26/31</span>
35
+ <span class='fraction'>31/39</span>
36
36
  </div>
37
37
 
38
38
 
@@ -46,7 +46,7 @@
46
46
  <div class='fl pad1y space-right2'>
47
47
  <span class="strong">100% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>19/19</span>
49
+ <span class='fraction'>23/23</span>
50
50
  </div>
51
51
 
52
52
 
@@ -103,7 +103,7 @@ Error: Unable to lookup source: /www/biorate/core/packages/@biorate/axios/src/fi
103
103
  <div class='footer quiet pad2 space-top1 center small'>
104
104
  Code coverage generated by
105
105
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
106
- at 2025-04-15T10:21:23.410Z
106
+ at 2025-04-16T15:06:19.299Z
107
107
  </div>
108
108
  <script src="prettify.js"></script>
109
109
  <script>
@@ -1,4 +1,22 @@
1
1
  TN:
2
+ SF:src/file:/www/biorate/core/packages/@biorate/axios/src/fake-response.ts
3
+ FN:4,(anonymous_0)
4
+ FNF:1
5
+ FNH:1
6
+ FNDA:6,(anonymous_0)
7
+ DA:3,1
8
+ DA:5,6
9
+ DA:6,6
10
+ DA:7,6
11
+ DA:8,6
12
+ DA:9,6
13
+ DA:10,6
14
+ LF:7
15
+ LH:7
16
+ BRF:0
17
+ BRH:0
18
+ end_of_record
19
+ TN:
2
20
  SF:src/file:/www/biorate/core/packages/@biorate/axios/src/index.ts
3
21
  FN:47,(anonymous_6)
4
22
  FN:55,(anonymous_7)
@@ -19,11 +37,11 @@ FN:185,(anonymous_21)
19
37
  FN:193,(anonymous_22)
20
38
  FNF:17
21
39
  FNH:15
22
- FNDA:14,(anonymous_6)
23
- FNDA:8,(anonymous_7)
24
- FNDA:4,(anonymous_8)
40
+ FNDA:13,(anonymous_6)
41
+ FNDA:7,(anonymous_7)
42
+ FNDA:3,(anonymous_8)
25
43
  FNDA:11,(anonymous_9)
26
- FNDA:7,(anonymous_10)
44
+ FNDA:6,(anonymous_10)
27
45
  FNDA:1,(anonymous_11)
28
46
  FNDA:2,(anonymous_12)
29
47
  FNDA:1,(anonymous_13)
@@ -48,10 +66,10 @@ DA:14,1
48
66
  DA:22,1
49
67
  DA:47,1
50
68
  DA:51,1
51
- DA:56,8
52
- DA:62,4
69
+ DA:56,7
70
+ DA:62,3
53
71
  DA:68,11
54
- DA:74,7
72
+ DA:74,6
55
73
  DA:80,1
56
74
  DA:86,2
57
75
  DA:92,1
@@ -64,7 +82,7 @@ DA:121,4
64
82
  DA:123,9
65
83
  DA:124,6
66
84
  DA:125,6
67
- DA:130,14
85
+ DA:130,13
68
86
  DA:137,9
69
87
  DA:138,9
70
88
  DA:139,9
@@ -131,70 +149,82 @@ BRH:0
131
149
  end_of_record
132
150
  TN:
133
151
  SF:src/file:/www/biorate/core/packages/@biorate/axios/src/stubs.ts
134
- FN:8,(anonymous_1)
135
- FN:17,(anonymous_2)
136
- FN:19,(anonymous_3)
137
- FN:28,(anonymous_4)
138
- FN:42,(anonymous_5)
152
+ FN:10,(anonymous_1)
153
+ FN:19,(anonymous_2)
154
+ FN:21,(anonymous_3)
155
+ FN:38,(anonymous_4)
156
+ FN:56,(anonymous_5)
139
157
  FNF:5
140
158
  FNH:5
141
- FNDA:12,(anonymous_1)
142
- FNDA:7,(anonymous_2)
143
- FNDA:7,(anonymous_3)
144
- FNDA:10,(anonymous_4)
159
+ FNDA:10,(anonymous_1)
160
+ FNDA:6,(anonymous_2)
161
+ FNDA:6,(anonymous_3)
162
+ FNDA:9,(anonymous_4)
145
163
  FNDA:2,(anonymous_5)
164
+ DA:1,1
146
165
  DA:2,1
147
- DA:3,1
166
+ DA:4,1
148
167
  DA:5,1
149
- DA:6,1
150
- DA:9,12
151
- DA:10,12
152
- DA:13,7
153
- DA:15,7
154
- DA:17,7
155
- DA:26,7
156
- DA:27,7
157
- DA:28,7
158
- DA:29,10
159
- DA:30,10
160
- DA:31,10
161
- DA:35,2
162
- DA:38,8
163
- DA:43,2
164
- DA:44,2
165
- LF:19
166
- LH:19
167
- BRDA:9,0,0,7
168
- BRDA:9,0,1,5
169
- BRDA:24,1,0,0
170
- BRDA:26,2,0,4
171
- BRDA:26,2,1,3
172
- BRDA:26,3,0,7
173
- BRDA:26,3,1,7
174
- BRDA:26,4,0,0
175
- BRDA:26,4,1,7
176
- BRDA:26,5,0,7
177
- BRDA:26,5,1,7
178
- BRDA:30,6,0,1
179
- BRDA:30,6,1,9
180
- BRDA:31,7,0,2
181
- BRDA:31,7,1,8
182
- BRDA:32,8,0,10
183
- BRDA:32,8,1,8
184
- BRDA:33,9,0,8
185
- BRDA:33,9,1,0
186
- BRDA:33,10,0,8
187
- BRDA:33,10,1,8
188
- BRDA:33,11,0,0
189
- BRDA:33,11,1,8
190
- BRDA:33,12,0,8
191
- BRDA:33,12,1,8
192
- BRDA:36,13,0,1
193
- BRDA:36,13,1,1
194
- BRDA:36,14,0,2
195
- BRDA:36,14,1,2
196
- BRDA:43,15,0,0
197
- BRDA:43,15,1,2
198
- BRF:31
199
- BRH:26
168
+ DA:7,1
169
+ DA:8,1
170
+ DA:11,10
171
+ DA:12,10
172
+ DA:15,6
173
+ DA:17,6
174
+ DA:19,6
175
+ DA:28,6
176
+ DA:29,6
177
+ DA:30,6
178
+ DA:37,6
179
+ DA:38,6
180
+ DA:39,9
181
+ DA:40,9
182
+ DA:41,9
183
+ DA:45,1
184
+ DA:52,8
185
+ DA:57,2
186
+ DA:58,2
187
+ LF:23
188
+ LH:23
189
+ BRDA:11,0,0,6
190
+ BRDA:11,0,1,4
191
+ BRDA:26,1,0,0
192
+ BRDA:28,2,0,3
193
+ BRDA:28,2,1,3
194
+ BRDA:28,3,0,6
195
+ BRDA:28,3,1,6
196
+ BRDA:28,4,0,0
197
+ BRDA:28,4,1,6
198
+ BRDA:28,5,0,6
199
+ BRDA:28,5,1,6
200
+ BRDA:29,6,0,6
201
+ BRDA:29,6,1,0
202
+ BRDA:29,7,0,6
203
+ BRDA:29,7,1,6
204
+ BRDA:34,8,0,0
205
+ BRDA:34,8,1,6
206
+ BRDA:34,9,0,6
207
+ BRDA:34,9,1,6
208
+ BRDA:35,10,0,0
209
+ BRDA:35,10,1,6
210
+ BRDA:35,11,0,6
211
+ BRDA:35,11,1,6
212
+ BRDA:40,12,0,1
213
+ BRDA:40,12,1,8
214
+ BRDA:41,13,0,1
215
+ BRDA:41,13,1,8
216
+ BRDA:42,14,0,9
217
+ BRDA:42,14,1,8
218
+ BRDA:43,15,0,8
219
+ BRDA:43,15,1,0
220
+ BRDA:43,16,0,8
221
+ BRDA:43,16,1,8
222
+ BRDA:43,17,0,0
223
+ BRDA:43,17,1,8
224
+ BRDA:43,18,0,8
225
+ BRDA:43,18,1,8
226
+ BRDA:57,19,0,0
227
+ BRDA:57,19,1,2
228
+ BRF:39
229
+ BRH:31
200
230
  end_of_record
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FakeResponse = void 0;
4
+ class FakeResponse {
5
+ constructor(data, status, statusText, headers, config, request) {
6
+ this.data = data;
7
+ this.status = status;
8
+ this.statusText = statusText;
9
+ this.headers = headers;
10
+ this.config = config;
11
+ this.request = request;
12
+ }
13
+ }
14
+ exports.FakeResponse = FakeResponse;
15
+ //# sourceMappingURL=fake-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fake-response.js","sourceRoot":"","sources":["../../src/fake-response.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;IACvB,YACS,IAAO,EACP,MAAc,EACd,UAAkB,EAClB,OAA6B,EAC7B,MAA6B,EAC7B,OAAa;QALb,SAAI,GAAJ,IAAI,CAAG;QACP,WAAM,GAAN,MAAM,CAAQ;QACd,eAAU,GAAV,UAAU,CAAQ;QAClB,YAAO,GAAP,OAAO,CAAsB;QAC7B,WAAM,GAAN,MAAM,CAAuB;QAC7B,YAAO,GAAP,OAAO,CAAM;IACnB,CAAC;CACL;AATD,oCASC"}
package/dist/src/stubs.js CHANGED
@@ -7,8 +7,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
7
7
  var _a, _Stubs_cache;
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Stubs = void 0;
10
- const options_1 = require("./options");
11
10
  const axios_1 = require("axios");
11
+ const http_status_1 = require("http-status");
12
+ const options_1 = require("./options");
13
+ const fake_response_1 = require("./fake-response");
12
14
  class Stubs {
13
15
  static get(Class) {
14
16
  if (!__classPrivateFieldGet(this, _a, "f", _Stubs_cache).has(Class))
@@ -21,18 +23,20 @@ class Stubs {
21
23
  this.fetch = new WeakMap();
22
24
  }
23
25
  stub(instance, params, persist = false) {
24
- var _b;
26
+ var _b, _c, _d, _e;
25
27
  const status = (_b = params === null || params === void 0 ? void 0 : params.status) !== null && _b !== void 0 ? _b : 200;
28
+ const statusText = String((_c = http_status_1.status[status]) !== null && _c !== void 0 ? _c : http_status_1.status[500]);
29
+ const response = new fake_response_1.FakeResponse(params.data, status, statusText, (_d = params.headers) !== null && _d !== void 0 ? _d : {}, (_e = params.config) !== null && _e !== void 0 ? _e : {});
26
30
  this.fetch.set(this.Class, this.Class.fetch);
27
31
  this.Class.fetch = async (options) => {
28
- var _b, _c;
32
+ var _b;
29
33
  this.options.push(options);
30
34
  if (!persist)
31
35
  this.unstub();
32
36
  if (['4', '5'].includes(String(status)[0]) ||
33
37
  ((_b = instance === null || instance === void 0 ? void 0 : instance.validateStatus) === null || _b === void 0 ? void 0 : _b.call(instance, status)) === false)
34
- throw ((_c = params.error) !== null && _c !== void 0 ? _c : new axios_1.AxiosError('Internal Server Error', '500', params.config));
35
- return Object.assign({ config: {}, headers: {}, statusText: '', status }, params);
38
+ throw new axios_1.AxiosError(statusText, String(status), params.config, params.headers, response);
39
+ return response;
36
40
  };
37
41
  }
38
42
  unstub() {
@@ -1 +1 @@
1
- {"version":3,"file":"stubs.js","sourceRoot":"","sources":["../../src/stubs.ts"],"names":[],"mappings":";;;;;;;;;AACA,uCAAoC;AACpC,iCAAmC;AAEnC,MAAa,KAAK;IAGT,MAAM,CAAC,GAAG,CAAC,KAAmB;QACnC,IAAI,CAAC,uBAAA,IAAI,wBAAO,CAAC,GAAG,CAAC,KAAK,CAAC;YAAE,uBAAA,IAAI,wBAAO,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACrE,OAAO,uBAAA,IAAI,wBAAO,CAAC,GAAG,CAAC,KAAK,CAAE,CAAC;IACjC,CAAC;IAMD,YAAgC,KAAmB;QAAnB,UAAK,GAAL,KAAK,CAAc;QAJnC,YAAO,GAAY,IAAI,iBAAO,EAAE,CAAC;QAEvC,UAAK,GAAG,IAAI,OAAO,EAAoC,CAAC;IAEZ,CAAC;IAEhD,IAAI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