@podium/podlet 5.0.0-next.4 → 5.0.0-next.5

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,51 @@
1
+ # [5.0.0-next.5](https://github.com/podium-lib/podlet/compare/v5.0.0-next.4...v5.0.0-next.5) (2022-05-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update all dependencies ([37ed836](https://github.com/podium-lib/podlet/commit/37ed8364377d625097a11d31c4d28e7930d3d914))
7
+ * **deps:** update all dependencies ([0e4abcb](https://github.com/podium-lib/podlet/commit/0e4abcb6a10236d9fd9b8acdcad08d462ede6d28))
8
+ * **deps:** update all dependencies ([29e88ff](https://github.com/podium-lib/podlet/commit/29e88ff756f1eee69827847d15d35aedfa453d41))
9
+ * **deps:** update all dependencies ([f102755](https://github.com/podium-lib/podlet/commit/f10275597920e6b7d5190e97cb5b550258cde240))
10
+ * **deps:** update all dependencies ([938fe6c](https://github.com/podium-lib/podlet/commit/938fe6cb93e7cf582e4d83cfba8e0543578caa20))
11
+ * **deps:** update all dependencies ([f248848](https://github.com/podium-lib/podlet/commit/f248848bea2081735953658dc3eadbb2a21c2ac9))
12
+ * **deps:** update all dependencies ([42a93bf](https://github.com/podium-lib/podlet/commit/42a93bf95e2bc690641202277fe31bb59e04319a))
13
+ * **deps:** update all dependencies ([e93d3bc](https://github.com/podium-lib/podlet/commit/e93d3bc84b9dbfa4f9959506deb6c6a8ed5d210f))
14
+ * **deps:** update all dependencies ([8368aa0](https://github.com/podium-lib/podlet/commit/8368aa005431dd127cbb83ec1c8a8e808a6ce1d1))
15
+ * **deps:** update all dependencies ([82a9a4a](https://github.com/podium-lib/podlet/commit/82a9a4a35c61853460661a9ba173667ac33440b4))
16
+ * **deps:** update all dependencies ([83f4364](https://github.com/podium-lib/podlet/commit/83f43642321c7aa3b5d29a639a3dbfe45bcc7a77))
17
+ * **deps:** update all dependencies ([88302c8](https://github.com/podium-lib/podlet/commit/88302c854869bec4a8db1fa53ac8395a2465ecc4))
18
+ * **deps:** update all dependencies ([a4116ba](https://github.com/podium-lib/podlet/commit/a4116ba53a5c988678ae51bb84f467b41e0d73d9))
19
+ * **deps:** update all dependencies ([caa9fcf](https://github.com/podium-lib/podlet/commit/caa9fcf8f174144f62a92700af43839b2784de80))
20
+ * **deps:** update all dependencies ([d970008](https://github.com/podium-lib/podlet/commit/d9700085acb0779181cef168f84080bbd9d03f0e))
21
+ * **deps:** update all dependencies ([7fd8e49](https://github.com/podium-lib/podlet/commit/7fd8e494ea55043c65634f3c49d5e4dedcc03b73))
22
+ * **deps:** update all dependencies ([763da37](https://github.com/podium-lib/podlet/commit/763da374e57d935e93892f415a43a3c485e52cba))
23
+ * **deps:** update all dependencies (non-major) ([a26feeb](https://github.com/podium-lib/podlet/commit/a26feeb4ccdd85876be25a4dedfb2b3786ab30f7))
24
+ * **deps:** update dependency @podium/proxy to v4.2.45 ([81df855](https://github.com/podium-lib/podlet/commit/81df855ce6c15e3d36f30e3eb778d8e906edae78))
25
+ * **deps:** update dependency @podium/proxy to v4.2.53 ([59c66a6](https://github.com/podium-lib/podlet/commit/59c66a6525551e2fa7bd01516ea7620ac991befa))
26
+ * **deps:** update dependency @podium/proxy to v4.2.55 ([76cb389](https://github.com/podium-lib/podlet/commit/76cb389e9b19cc8c67534a15589d220ed6138ceb))
27
+ * **deps:** update dependency @podium/proxy to v4.2.62 ([c1f9159](https://github.com/podium-lib/podlet/commit/c1f915917ccb9b8981ab4248458652c77b81480a))
28
+ * **deps:** update dependency @podium/proxy to v4.2.65 ([2569533](https://github.com/podium-lib/podlet/commit/2569533fada1652d6070580c2fef55c63b1413cf))
29
+ * **deps:** update dependency @podium/proxy to v4.2.67 ([b9db2e6](https://github.com/podium-lib/podlet/commit/b9db2e626c22a15b90c9887c2dea710835926e0c))
30
+ * **deps:** update dependency @podium/proxy to v4.2.68 ([140c6a0](https://github.com/podium-lib/podlet/commit/140c6a0b31e39ea663b9cc58fe1c55a8806da195))
31
+ * **deps:** update dependency @podium/proxy to v4.2.72 ([fb00921](https://github.com/podium-lib/podlet/commit/fb00921a1607954c50168849a84a76625fc621bc))
32
+ * **deps:** update dependency @podium/proxy to v4.2.75 ([3d26c35](https://github.com/podium-lib/podlet/commit/3d26c356571f2f3f141a13f168aee0e64997c5ad))
33
+ * **deps:** update dependency @podium/schemas to v4.1.24 ([f8f44f2](https://github.com/podium-lib/podlet/commit/f8f44f2576c5e897a572fe0228a960599daf18ea))
34
+ * **deps:** update dependency @podium/schemas to v4.1.26 ([90e1339](https://github.com/podium-lib/podlet/commit/90e1339a746f568fa5589fe87e96a7d503051dfe))
35
+ * **deps:** update dependency @podium/schemas to v4.1.28 ([5c0fdde](https://github.com/podium-lib/podlet/commit/5c0fdde560fc2feabd33bb4d3496bb92c72e568d))
36
+ * **deps:** update dependency @podium/utils to v4.4.33 ([198324f](https://github.com/podium-lib/podlet/commit/198324fe0e6f9d18b4ad994ab55bb3fd381f02cc))
37
+ * **deps:** update dependency @podium/utils to v4.4.35 ([a5c53fb](https://github.com/podium-lib/podlet/commit/a5c53fb5310a46b16d360ddc27d2ddbac674fcab))
38
+ * **deps:** update dependency ajv to v8.10.0 ([5eeb704](https://github.com/podium-lib/podlet/commit/5eeb70431de127af3613b23762b4b98b14500915))
39
+ * **deps:** update dependency ajv to v8.5.0 ([2a0131b](https://github.com/podium-lib/podlet/commit/2a0131bd5126cd0a572cadf199d57185ef5cc7be))
40
+ * **deps:** update dependency ajv to v8.6.0 ([b5723a9](https://github.com/podium-lib/podlet/commit/b5723a93e5fe70c567d230b0e70c0895d6608561))
41
+ * **deps:** update dependency ajv to v8.6.1 ([1e112b3](https://github.com/podium-lib/podlet/commit/1e112b3faef4d4225b0a1f68e131a4eeaef8edf7))
42
+ * **deps:** update dependency ajv to v8.6.2 ([d57e0f6](https://github.com/podium-lib/podlet/commit/d57e0f6b4db4db415edf601e388b93e5f6aea6c7))
43
+ * **deps:** update dependency ajv to v8.6.3 ([cc4b489](https://github.com/podium-lib/podlet/commit/cc4b489d9605c112e9bdbc466ad76da57f247b47))
44
+ * **deps:** update dependency ajv to v8.7.1 ([3dfedfa](https://github.com/podium-lib/podlet/commit/3dfedfab2306f0e1c3a2e2b904746fc9cdc713ed))
45
+ * **deps:** update dependency ajv to v8.8.0 ([e1550ef](https://github.com/podium-lib/podlet/commit/e1550ef04ba12ee6f08af564b8697751d0c9d7e4))
46
+ * **deps:** update dependency ajv to v8.8.1 ([b9127d8](https://github.com/podium-lib/podlet/commit/b9127d89b9bfaa5fd72663e34313c4559fc1e563))
47
+ * update Proxy module to fix trailer header vulnerability ([0f67d23](https://github.com/podium-lib/podlet/commit/0f67d23307fc67bef9855835f5d3b3fcfcf6601d))
48
+
1
49
  # [5.0.0-next.4](https://github.com/podium-lib/podlet/compare/v5.0.0-next.3...v5.0.0-next.4) (2021-05-09)
2
50
 
3
51
 
@@ -11,6 +59,7 @@
11
59
  * Convert from CommonJS module to ESM
12
60
 
13
61
  # [5.0.0-next.3](https://github.com/podium-lib/podlet/compare/v5.0.0-next.2...v5.0.0-next.3) (2021-05-08)
62
+ ## [4.4.64](https://github.com/podium-lib/podlet/compare/v4.4.63...v4.4.64) (2022-05-09)
14
63
 
15
64
 
16
65
  ### Bug Fixes
@@ -61,6 +110,295 @@
61
110
  ### BREAKING CHANGES
62
111
 
63
112
  * Only support node 12 and 14.
113
+ * **deps:** update dependency @podium/proxy to v4.2.75 ([3d26c35](https://github.com/podium-lib/podlet/commit/3d26c356571f2f3f141a13f168aee0e64997c5ad))
114
+
115
+ ## [4.4.63](https://github.com/podium-lib/podlet/compare/v4.4.62...v4.4.63) (2022-04-05)
116
+
117
+
118
+ ### Bug Fixes
119
+
120
+ * update Proxy module to fix trailer header vulnerability ([0f67d23](https://github.com/podium-lib/podlet/commit/0f67d23307fc67bef9855835f5d3b3fcfcf6601d))
121
+
122
+ ## [4.4.62](https://github.com/podium-lib/podlet/compare/v4.4.61...v4.4.62) (2022-03-28)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * **deps:** update all dependencies (non-major) ([a26feeb](https://github.com/podium-lib/podlet/commit/a26feeb4ccdd85876be25a4dedfb2b3786ab30f7))
128
+
129
+ ## [4.4.61](https://github.com/podium-lib/podlet/compare/v4.4.60...v4.4.61) (2022-02-05)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * **deps:** update dependency @podium/proxy to v4.2.72 ([fb00921](https://github.com/podium-lib/podlet/commit/fb00921a1607954c50168849a84a76625fc621bc))
135
+
136
+ ## [4.4.60](https://github.com/podium-lib/podlet/compare/v4.4.59...v4.4.60) (2022-02-05)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * **deps:** update dependency @podium/utils to v4.4.35 ([a5c53fb](https://github.com/podium-lib/podlet/commit/a5c53fb5310a46b16d360ddc27d2ddbac674fcab))
142
+
143
+ ## [4.4.59](https://github.com/podium-lib/podlet/compare/v4.4.58...v4.4.59) (2022-02-05)
144
+
145
+
146
+ ### Bug Fixes
147
+
148
+ * **deps:** update all dependencies ([37ed836](https://github.com/podium-lib/podlet/commit/37ed8364377d625097a11d31c4d28e7930d3d914))
149
+
150
+ ## [4.4.58](https://github.com/podium-lib/podlet/compare/v4.4.57...v4.4.58) (2022-02-04)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * **deps:** update dependency ajv to v8.10.0 ([5eeb704](https://github.com/podium-lib/podlet/commit/5eeb70431de127af3613b23762b4b98b14500915))
156
+
157
+ ## [4.4.57](https://github.com/podium-lib/podlet/compare/v4.4.56...v4.4.57) (2022-01-16)
158
+
159
+
160
+ ### Bug Fixes
161
+
162
+ * **deps:** update all dependencies ([0e4abcb](https://github.com/podium-lib/podlet/commit/0e4abcb6a10236d9fd9b8acdcad08d462ede6d28))
163
+
164
+ ## [4.4.56](https://github.com/podium-lib/podlet/compare/v4.4.55...v4.4.56) (2022-01-02)
165
+
166
+
167
+ ### Bug Fixes
168
+
169
+ * **deps:** update dependency @podium/proxy to v4.2.68 ([140c6a0](https://github.com/podium-lib/podlet/commit/140c6a0b31e39ea663b9cc58fe1c55a8806da195))
170
+
171
+ ## [4.4.55](https://github.com/podium-lib/podlet/compare/v4.4.54...v4.4.55) (2022-01-02)
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * **deps:** update dependency @podium/utils to v4.4.33 ([198324f](https://github.com/podium-lib/podlet/commit/198324fe0e6f9d18b4ad994ab55bb3fd381f02cc))
177
+
178
+ ## [4.4.54](https://github.com/podium-lib/podlet/compare/v4.4.53...v4.4.54) (2021-11-22)
179
+
180
+
181
+ ### Bug Fixes
182
+
183
+ * **deps:** update dependency @podium/proxy to v4.2.67 ([b9db2e6](https://github.com/podium-lib/podlet/commit/b9db2e626c22a15b90c9887c2dea710835926e0c))
184
+
185
+ ## [4.4.53](https://github.com/podium-lib/podlet/compare/v4.4.52...v4.4.53) (2021-11-22)
186
+
187
+
188
+ ### Bug Fixes
189
+
190
+ * **deps:** update all dependencies ([29e88ff](https://github.com/podium-lib/podlet/commit/29e88ff756f1eee69827847d15d35aedfa453d41))
191
+
192
+ ## [4.4.52](https://github.com/podium-lib/podlet/compare/v4.4.51...v4.4.52) (2021-11-22)
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ * **deps:** update all dependencies ([f102755](https://github.com/podium-lib/podlet/commit/f10275597920e6b7d5190e97cb5b550258cde240))
198
+
199
+ ## [4.4.51](https://github.com/podium-lib/podlet/compare/v4.4.50...v4.4.51) (2021-11-17)
200
+
201
+
202
+ ### Bug Fixes
203
+
204
+ * **deps:** update dependency @podium/proxy to v4.2.65 ([2569533](https://github.com/podium-lib/podlet/commit/2569533fada1652d6070580c2fef55c63b1413cf))
205
+
206
+ ## [4.4.50](https://github.com/podium-lib/podlet/compare/v4.4.49...v4.4.50) (2021-11-17)
207
+
208
+
209
+ ### Bug Fixes
210
+
211
+ * **deps:** update all dependencies ([938fe6c](https://github.com/podium-lib/podlet/commit/938fe6cb93e7cf582e4d83cfba8e0543578caa20))
212
+
213
+ ## [4.4.49](https://github.com/podium-lib/podlet/compare/v4.4.48...v4.4.49) (2021-11-17)
214
+
215
+
216
+ ### Bug Fixes
217
+
218
+ * **deps:** update dependency @podium/schemas to v4.1.28 ([5c0fdde](https://github.com/podium-lib/podlet/commit/5c0fdde560fc2feabd33bb4d3496bb92c72e568d))
219
+
220
+ ## [4.4.48](https://github.com/podium-lib/podlet/compare/v4.4.47...v4.4.48) (2021-11-16)
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * **deps:** update dependency ajv to v8.8.1 ([b9127d8](https://github.com/podium-lib/podlet/commit/b9127d89b9bfaa5fd72663e34313c4559fc1e563))
226
+
227
+ ## [4.4.47](https://github.com/podium-lib/podlet/compare/v4.4.46...v4.4.47) (2021-11-15)
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+ * **deps:** update all dependencies ([f248848](https://github.com/podium-lib/podlet/commit/f248848bea2081735953658dc3eadbb2a21c2ac9))
233
+
234
+ ## [4.4.46](https://github.com/podium-lib/podlet/compare/v4.4.45...v4.4.46) (2021-11-14)
235
+
236
+
237
+ ### Bug Fixes
238
+
239
+ * **deps:** update dependency @podium/proxy to v4.2.62 ([c1f9159](https://github.com/podium-lib/podlet/commit/c1f915917ccb9b8981ab4248458652c77b81480a))
240
+
241
+ ## [4.4.45](https://github.com/podium-lib/podlet/compare/v4.4.44...v4.4.45) (2021-11-14)
242
+
243
+
244
+ ### Bug Fixes
245
+
246
+ * **deps:** update all dependencies ([42a93bf](https://github.com/podium-lib/podlet/commit/42a93bf95e2bc690641202277fe31bb59e04319a))
247
+
248
+ ## [4.4.44](https://github.com/podium-lib/podlet/compare/v4.4.43...v4.4.44) (2021-11-13)
249
+
250
+
251
+ ### Bug Fixes
252
+
253
+ * **deps:** update dependency ajv to v8.8.0 ([e1550ef](https://github.com/podium-lib/podlet/commit/e1550ef04ba12ee6f08af564b8697751d0c9d7e4))
254
+
255
+ ## [4.4.43](https://github.com/podium-lib/podlet/compare/v4.4.42...v4.4.43) (2021-11-09)
256
+
257
+
258
+ ### Bug Fixes
259
+
260
+ * **deps:** update all dependencies ([e93d3bc](https://github.com/podium-lib/podlet/commit/e93d3bc84b9dbfa4f9959506deb6c6a8ed5d210f))
261
+
262
+ ## [4.4.42](https://github.com/podium-lib/podlet/compare/v4.4.41...v4.4.42) (2021-11-09)
263
+
264
+
265
+ ### Bug Fixes
266
+
267
+ * **deps:** update dependency @podium/schemas to v4.1.26 ([90e1339](https://github.com/podium-lib/podlet/commit/90e1339a746f568fa5589fe87e96a7d503051dfe))
268
+
269
+ ## [4.4.41](https://github.com/podium-lib/podlet/compare/v4.4.40...v4.4.41) (2021-11-08)
270
+
271
+
272
+ ### Bug Fixes
273
+
274
+ * **deps:** update dependency ajv to v8.7.1 ([3dfedfa](https://github.com/podium-lib/podlet/commit/3dfedfab2306f0e1c3a2e2b904746fc9cdc713ed))
275
+
276
+ ## [4.4.40](https://github.com/podium-lib/podlet/compare/v4.4.39...v4.4.40) (2021-10-27)
277
+
278
+
279
+ ### Bug Fixes
280
+
281
+ * **deps:** update all dependencies ([8368aa0](https://github.com/podium-lib/podlet/commit/8368aa005431dd127cbb83ec1c8a8e808a6ce1d1))
282
+
283
+ ## [4.4.39](https://github.com/podium-lib/podlet/compare/v4.4.38...v4.4.39) (2021-09-13)
284
+
285
+
286
+ ### Bug Fixes
287
+
288
+ * **deps:** update all dependencies ([82a9a4a](https://github.com/podium-lib/podlet/commit/82a9a4a35c61853460661a9ba173667ac33440b4))
289
+
290
+ ## [4.4.38](https://github.com/podium-lib/podlet/compare/v4.4.37...v4.4.38) (2021-09-12)
291
+
292
+
293
+ ### Bug Fixes
294
+
295
+ * **deps:** update dependency ajv to v8.6.3 ([cc4b489](https://github.com/podium-lib/podlet/commit/cc4b489d9605c112e9bdbc466ad76da57f247b47))
296
+
297
+ ## [4.4.37](https://github.com/podium-lib/podlet/compare/v4.4.36...v4.4.37) (2021-08-14)
298
+
299
+
300
+ ### Bug Fixes
301
+
302
+ * **deps:** update dependency @podium/proxy to v4.2.55 ([76cb389](https://github.com/podium-lib/podlet/commit/76cb389e9b19cc8c67534a15589d220ed6138ceb))
303
+
304
+ ## [4.4.36](https://github.com/podium-lib/podlet/compare/v4.4.35...v4.4.36) (2021-08-14)
305
+
306
+
307
+ ### Bug Fixes
308
+
309
+ * **deps:** update all dependencies ([83f4364](https://github.com/podium-lib/podlet/commit/83f43642321c7aa3b5d29a639a3dbfe45bcc7a77))
310
+
311
+ ## [4.4.35](https://github.com/podium-lib/podlet/compare/v4.4.34...v4.4.35) (2021-08-14)
312
+
313
+
314
+ ### Bug Fixes
315
+
316
+ * **deps:** update dependency @podium/schemas to v4.1.24 ([f8f44f2](https://github.com/podium-lib/podlet/commit/f8f44f2576c5e897a572fe0228a960599daf18ea))
317
+
318
+ ## [4.4.34](https://github.com/podium-lib/podlet/compare/v4.4.33...v4.4.34) (2021-07-16)
319
+
320
+
321
+ ### Bug Fixes
322
+
323
+ * **deps:** update dependency @podium/proxy to v4.2.53 ([59c66a6](https://github.com/podium-lib/podlet/commit/59c66a6525551e2fa7bd01516ea7620ac991befa))
324
+
325
+ ## [4.4.33](https://github.com/podium-lib/podlet/compare/v4.4.32...v4.4.33) (2021-07-16)
326
+
327
+
328
+ ### Bug Fixes
329
+
330
+ * **deps:** update all dependencies ([88302c8](https://github.com/podium-lib/podlet/commit/88302c854869bec4a8db1fa53ac8395a2465ecc4))
331
+
332
+ ## [4.4.32](https://github.com/podium-lib/podlet/compare/v4.4.31...v4.4.32) (2021-07-15)
333
+
334
+
335
+ ### Bug Fixes
336
+
337
+ * **deps:** update dependency ajv to v8.6.2 ([d57e0f6](https://github.com/podium-lib/podlet/commit/d57e0f6b4db4db415edf601e388b93e5f6aea6c7))
338
+
339
+ ## [4.4.31](https://github.com/podium-lib/podlet/compare/v4.4.30...v4.4.31) (2021-07-04)
340
+
341
+
342
+ ### Bug Fixes
343
+
344
+ * **deps:** update all dependencies ([a4116ba](https://github.com/podium-lib/podlet/commit/a4116ba53a5c988678ae51bb84f467b41e0d73d9))
345
+
346
+ ## [4.4.30](https://github.com/podium-lib/podlet/compare/v4.4.29...v4.4.30) (2021-07-04)
347
+
348
+
349
+ ### Bug Fixes
350
+
351
+ * **deps:** update dependency ajv to v8.6.1 ([1e112b3](https://github.com/podium-lib/podlet/commit/1e112b3faef4d4225b0a1f68e131a4eeaef8edf7))
352
+
353
+ ## [4.4.29](https://github.com/podium-lib/podlet/compare/v4.4.28...v4.4.29) (2021-06-07)
354
+
355
+
356
+ ### Bug Fixes
357
+
358
+ * **deps:** update all dependencies ([caa9fcf](https://github.com/podium-lib/podlet/commit/caa9fcf8f174144f62a92700af43839b2784de80))
359
+
360
+ ## [4.4.28](https://github.com/podium-lib/podlet/compare/v4.4.27...v4.4.28) (2021-06-06)
361
+
362
+
363
+ ### Bug Fixes
364
+
365
+ * **deps:** update dependency ajv to v8.6.0 ([b5723a9](https://github.com/podium-lib/podlet/commit/b5723a93e5fe70c567d230b0e70c0895d6608561))
366
+
367
+ ## [4.4.27](https://github.com/podium-lib/podlet/compare/v4.4.26...v4.4.27) (2021-05-24)
368
+
369
+
370
+ ### Bug Fixes
371
+
372
+ * **deps:** update all dependencies ([d970008](https://github.com/podium-lib/podlet/commit/d9700085acb0779181cef168f84080bbd9d03f0e))
373
+
374
+ ## [4.4.26](https://github.com/podium-lib/podlet/compare/v4.4.25...v4.4.26) (2021-05-24)
375
+
376
+
377
+ ### Bug Fixes
378
+
379
+ * **deps:** update dependency ajv to v8.5.0 ([2a0131b](https://github.com/podium-lib/podlet/commit/2a0131bd5126cd0a572cadf199d57185ef5cc7be))
380
+
381
+ ## [4.4.25](https://github.com/podium-lib/podlet/compare/v4.4.24...v4.4.25) (2021-05-15)
382
+
383
+
384
+ ### Bug Fixes
385
+
386
+ * **deps:** update dependency @podium/proxy to v4.2.45 ([81df855](https://github.com/podium-lib/podlet/commit/81df855ce6c15e3d36f30e3eb778d8e906edae78))
387
+
388
+ ## [4.4.24](https://github.com/podium-lib/podlet/compare/v4.4.23...v4.4.24) (2021-05-15)
389
+
390
+
391
+ ### Bug Fixes
392
+
393
+ * **deps:** update all dependencies ([7fd8e49](https://github.com/podium-lib/podlet/commit/7fd8e494ea55043c65634f3c49d5e4dedcc03b73))
394
+
395
+ ## [4.4.23](https://github.com/podium-lib/podlet/compare/v4.4.22...v4.4.23) (2021-05-09)
396
+
397
+
398
+ ### Bug Fixes
399
+
400
+ * **deps:** update all dependencies ([763da37](https://github.com/podium-lib/podlet/commit/763da374e57d935e93892f415a43a3c485e52cba))
401
+
64
402
  ## [4.4.22](https://github.com/podium-lib/podlet/compare/v4.4.21...v4.4.22) (2021-05-05)
65
403
 
66
404
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podium/podlet",
3
- "version": "5.0.0-next.4",
3
+ "version": "5.0.0-next.5",
4
4
  "type": "module",
5
5
  "description": "Module for building page fragment servers in a micro frontend architecture.",
6
6
  "license": "MIT",
@@ -21,18 +21,12 @@
21
21
  "dist",
22
22
  "lib"
23
23
  ],
24
- "main": "./dist/podlet.js",
25
- "exports": {
26
- "require": "./dist/podlet.js",
27
- "import": "./lib/podlet.js"
28
- },
24
+ "main": "./lib/podlet.js",
29
25
  "types": "index.d.ts",
30
26
  "scripts": {
31
27
  "lint": "eslint .",
32
28
  "lint:fix": "eslint --fix .",
33
- "test": "tap --no-check-coverage",
34
- "prepare": "npm run -s build",
35
- "build": "rollup -c"
29
+ "test": "tap --no-check-coverage"
36
30
  },
37
31
  "dependencies": {
38
32
  "@metrics/client": "2.5.0",
@@ -40,27 +34,22 @@
40
34
  "@podium/schemas": "5.0.0-next.4",
41
35
  "@podium/utils": "5.0.0-next.6",
42
36
  "abslog": "2.4.0",
43
- "ajv": "8.2.0",
37
+ "ajv": "8.11.0",
44
38
  "objobj": "1.0.0"
45
39
  },
46
40
  "devDependencies": {
47
- "@podium/test-utils": "2.3.0",
48
- "@semantic-release/changelog": "5.0.1",
49
- "@semantic-release/commit-analyzer": "8.0.1",
50
- "@semantic-release/git": "9.0.0",
51
- "@semantic-release/github": "7.2.3",
52
- "@semantic-release/npm": "7.1.3",
53
- "@semantic-release/release-notes-generator": "9.0.2",
54
- "babel-eslint": "10.1.0",
55
- "eslint": "7.26.0",
56
- "eslint-config-airbnb-base": "14.2.1",
57
- "eslint-config-prettier": "8.3.0",
58
- "eslint-plugin-import": "2.22.1",
59
- "eslint-plugin-prettier": "3.4.0",
60
- "express": "4.17.1",
61
- "prettier": "2.2.1",
62
- "rollup": "2.45.2",
63
- "semantic-release": "17.4.2",
64
- "tap": "15.0.9"
41
+ "@semantic-release/changelog": "6.0.1",
42
+ "@semantic-release/git": "10.0.1",
43
+ "semantic-release": "19.0.2",
44
+ "@podium/test-utils": "2.5.2",
45
+ "@babel/eslint-parser": "7.17.0",
46
+ "eslint": "8.15.0",
47
+ "eslint-config-airbnb-base": "15.0.0",
48
+ "eslint-config-prettier": "8.5.0",
49
+ "eslint-plugin-import": "2.26.0",
50
+ "eslint-plugin-prettier": "4.0.0",
51
+ "express": "4.18.1",
52
+ "prettier": "2.6.2",
53
+ "tap": "16.2.0"
65
54
  }
66
55
  }
package/dist/package.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
package/dist/podlet.js DELETED
@@ -1,425 +0,0 @@
1
- 'use strict';
2
-
3
- var utils = require('@podium/utils');
4
- var schema = require('@podium/schemas');
5
- var Metrics = require('@metrics/client');
6
- var abslog = require('abslog');
7
- var objobj = require('objobj');
8
- var Proxy = require('@podium/proxy');
9
- var path = require('path');
10
- var url = require('url');
11
- var fs = require('fs');
12
-
13
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
-
15
- function _interopNamespace(e) {
16
- if (e && e.__esModule) return e;
17
- var n = Object.create(null);
18
- if (e) {
19
- Object.keys(e).forEach(function (k) {
20
- if (k !== 'default') {
21
- var d = Object.getOwnPropertyDescriptor(e, k);
22
- Object.defineProperty(n, k, d.get ? d : {
23
- enumerable: true,
24
- get: function () {
25
- return e[k];
26
- }
27
- });
28
- }
29
- });
30
- }
31
- n['default'] = e;
32
- return Object.freeze(n);
33
- }
34
-
35
- var utils__namespace = /*#__PURE__*/_interopNamespace(utils);
36
- var schema__namespace = /*#__PURE__*/_interopNamespace(schema);
37
- var Metrics__default = /*#__PURE__*/_interopDefaultLegacy(Metrics);
38
- var abslog__default = /*#__PURE__*/_interopDefaultLegacy(abslog);
39
- var objobj__default = /*#__PURE__*/_interopDefaultLegacy(objobj);
40
- var Proxy__default = /*#__PURE__*/_interopDefaultLegacy(Proxy);
41
- var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
42
-
43
- /* eslint-disable consistent-return */
44
-
45
- const currentDirectory = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('podlet.js', document.baseURI).href))));
46
- const pkgJson = fs__default['default'].readFileSync(path.join(currentDirectory, '../package.json'), 'utf-8');
47
- const pkg = JSON.parse(pkgJson);
48
-
49
- const { template } = utils__namespace;
50
-
51
- const _sanitize = Symbol('_sanitize');
52
- const _addCssAsset = Symbol('_addCssAsset');
53
- const _addJsAsset = Symbol('_addJsAsset');
54
-
55
-
56
- class PodiumPodlet {
57
- constructor({
58
- name = '',
59
- version = '',
60
- pathname = '',
61
- manifest = '/manifest.json',
62
- fallback = '',
63
- content = '/',
64
- logger = undefined,
65
- development = false,
66
- proxy = {},
67
- } = {}) {
68
- if (schema__namespace.name(name).error)
69
- throw new Error(
70
- `The value, "${name}", for the required argument "name" on the Podlet constructor is not defined or not valid.`,
71
- );
72
-
73
- if (schema__namespace.version(version).error)
74
- throw new Error(
75
- `The value, "${version}", for the required argument "version" on the Podlet constructor is not defined or not valid.`,
76
- );
77
-
78
- if (schema__namespace.uri(pathname).error)
79
- throw new Error(
80
- `The value, "${pathname}", for the required argument "pathname" on the Podlet constructor is not defined or not valid.`,
81
- );
82
-
83
- if (schema__namespace.uri(manifest).error)
84
- throw new Error(
85
- `The value, "${manifest}", for the optional argument "manifest" on the Podlet constructor is not valid.`,
86
- );
87
-
88
- if (schema__namespace.content(content).error)
89
- throw new Error(
90
- `The value, "${content}", for the optional argument "content" on the Podlet constructor is not valid.`,
91
- );
92
-
93
- if (schema__namespace.fallback(fallback).error)
94
- throw new Error(
95
- `The value, "${fallback}", for the optional argument "fallback" on the Podlet constructor is not valid.`,
96
- );
97
-
98
- Object.defineProperty(this, 'name', {
99
- value: name,
100
- });
101
-
102
- Object.defineProperty(this, 'version', {
103
- value: version,
104
- });
105
-
106
- Object.defineProperty(this, '_pathname', {
107
- value: this[_sanitize](pathname),
108
- });
109
-
110
- Object.defineProperty(this, 'manifestRoute', {
111
- value: this[_sanitize](manifest),
112
- });
113
-
114
- Object.defineProperty(this, 'contentRoute', {
115
- value: this[_sanitize](content),
116
- });
117
-
118
- Object.defineProperty(this, 'fallbackRoute', {
119
- value: this[_sanitize](fallback),
120
- });
121
-
122
- Object.defineProperty(this, 'cssRoute', {
123
- value: [],
124
- });
125
-
126
- Object.defineProperty(this, 'jsRoute', {
127
- value: [],
128
- });
129
-
130
- Object.defineProperty(this, 'proxyRoutes', {
131
- value: {},
132
- });
133
-
134
- Object.defineProperty(this, 'log', {
135
- value: abslog__default['default'](logger),
136
- });
137
-
138
- Object.defineProperty(this, 'development', {
139
- value: development,
140
- });
141
-
142
- Object.defineProperty(this, 'httpProxy', {
143
- enumerable: true,
144
- value: new Proxy__default['default'](
145
- ({ pathname: this._pathname,
146
- logger: this.log, ...proxy}),
147
- ),
148
- });
149
-
150
- Object.defineProperty(this, 'baseContext', {
151
- value: {
152
- debug: 'false',
153
- locale: 'en-US',
154
- deviceType: 'desktop',
155
- requestedBy: this.name,
156
- mountOrigin: '',
157
- mountPathname: this._pathname,
158
- publicPathname: utils.pathnameBuilder(
159
- this.httpProxy.pathname,
160
- this.httpProxy.prefix,
161
- this.name,
162
- ),
163
- },
164
- writable: false,
165
- });
166
-
167
- Object.defineProperty(this, 'defaultContext', {
168
- value: {},
169
- writable: true,
170
- });
171
-
172
- Object.defineProperty(this, 'metrics', {
173
- enumerable: true,
174
- value: new Metrics__default['default'](),
175
- });
176
-
177
- Object.defineProperty(this, '_view', {
178
- value: template,
179
- writable: true,
180
- });
181
-
182
- // Skip a tick to ensure the metric stream has been consumed
183
- setImmediate(() => {
184
- const moduleVersion = pkg.version;
185
- const segments = moduleVersion.split('.').map(value => parseInt(value, 10));
186
-
187
- const versionGauge = this.metrics.gauge({
188
- name: 'podium_podlet_version_info',
189
- description: '@podium/podlet version info',
190
- labels: {
191
- version: moduleVersion,
192
- major: segments[0],
193
- minor: segments[1],
194
- patch: segments[2],
195
- },
196
- });
197
-
198
- versionGauge.set(1);
199
- });
200
-
201
- this.metrics.on('error', error => {
202
- this.log.error(
203
- 'Error emitted by metric stream in @podium/podlet module',
204
- error,
205
- );
206
- });
207
- }
208
-
209
- get [Symbol.toStringTag]() {
210
- return 'PodiumPodlet';
211
- }
212
-
213
- pathname() {
214
- return this._pathname;
215
- }
216
-
217
- manifest({ prefix = true } = {}) {
218
- return this[_sanitize](this.manifestRoute, prefix);
219
- }
220
-
221
- content({ prefix = true } = {}) {
222
- return this[_sanitize](this.contentRoute, prefix);
223
- }
224
-
225
- fallback({ prefix = true } = {}) {
226
- return this[_sanitize](this.fallbackRoute, prefix);
227
- }
228
-
229
- [_addCssAsset](options = {}) {
230
- const clonedOptions = JSON.parse(JSON.stringify(options));
231
- clonedOptions.value = this[_sanitize](clonedOptions.value, clonedOptions.prefix);
232
- const args = { prefix: true, ...clonedOptions, pathname: this._pathname };
233
- this.cssRoute.push(new utils.AssetCss(args));
234
- }
235
-
236
- css(options = {}) {
237
- if (Array.isArray(options)) {
238
- for (const opts of options) {
239
- this[_addCssAsset](opts);
240
- }
241
- return;
242
- }
243
- this[_addCssAsset](options);
244
- }
245
-
246
- [_addJsAsset](options = {}) {
247
- const clonedOptions = JSON.parse(JSON.stringify(options));
248
- clonedOptions.value = this[_sanitize](clonedOptions.value, clonedOptions.prefix);
249
-
250
- const args = { prefix: true, ...clonedOptions, pathname: this._pathname };
251
-
252
- // Convert data attribute object structure to array of key value objects
253
- if (typeof args.data === 'object' && args.data !== null) {
254
- const data = [];
255
- Object.keys(args.data).forEach((key) => {
256
- data.push({
257
- value: args.data[key],
258
- key,
259
- });
260
- });
261
- args.data = data;
262
- }
263
-
264
- this.jsRoute.push(new utils.AssetJs(args));
265
- }
266
-
267
- js(options = {}) {
268
- if (Array.isArray(options)) {
269
- for (const opts of options) {
270
- this[_addJsAsset](opts);
271
- }
272
- return;
273
- }
274
- this[_addJsAsset](options);
275
- }
276
-
277
- proxy({ target = null, name = null } = {}) {
278
- if (schema__namespace.uri(target).error)
279
- throw new Error(
280
- `Value on argument variable "target", "${target}", is not valid`,
281
- );
282
-
283
- if (schema__namespace.name(name).error)
284
- throw new Error(
285
- `Value on argument variable "name", "${name}", is not valid`,
286
- );
287
-
288
- if (Object.keys(this.proxyRoutes).length >= 4) {
289
- throw new Error(
290
- `One can not define more than 4 proxy targets for each podlet`,
291
- );
292
- }
293
-
294
- this.proxyRoutes[name] = target;
295
-
296
- if (this.development) {
297
- this.httpProxy.register(this);
298
- }
299
-
300
- return target;
301
- }
302
-
303
- defaults(context = null) {
304
- if (context) {
305
- this.defaultContext = context;
306
- }
307
- return { ...this.baseContext, ...this.defaultContext };
308
- }
309
-
310
- view(fn = null) {
311
- if (!utils__namespace.isFunction(fn)) {
312
- throw new Error(
313
- `Value on argument variable "template" must be a function`,
314
- );
315
- }
316
- this._view = fn;
317
- }
318
-
319
- toJSON() {
320
- return {
321
- name: this.name,
322
- version: this.version,
323
- content: this.contentRoute,
324
- fallback: this.fallbackRoute,
325
- css: this.cssRoute,
326
- js: this.jsRoute,
327
- proxy: this.proxyRoutes,
328
- };
329
- }
330
-
331
- render(incoming, data, ...args) {
332
- if (!incoming.development) {
333
- return data;
334
- }
335
- return this._view(incoming, data, ...args);
336
- }
337
-
338
- async process(incoming, { proxy = true } = {}) {
339
- incoming.name = this.name;
340
- incoming.css = this.cssRoute;
341
- incoming.js = this.jsRoute;
342
-
343
- // Determine if request comes from layout server or not
344
- if (
345
- incoming.request.headers['user-agent'] &&
346
- incoming.request.headers['user-agent'].startsWith('@podium/client')
347
- ) {
348
- incoming.development = false;
349
- } else {
350
- incoming.development = this.development;
351
- }
352
-
353
- // Append development context
354
- if (incoming.development) {
355
- incoming.context = Object.assign(
356
- this.baseContext,
357
- { mountOrigin: incoming.url.origin },
358
- this.defaultContext,
359
- );
360
- this.log.debug(
361
- `Appending a default context to inbound request "${JSON.stringify(
362
- incoming.context,
363
- )}"`,
364
- );
365
- } else {
366
- incoming.context = utils__namespace.deserializeContext(
367
- incoming.request.headers,
368
- );
369
- this.log.debug(
370
- `Inbound request contains a context "${JSON.stringify(
371
- incoming.context,
372
- )}"`,
373
- );
374
- }
375
-
376
- // Determin if the request should be proxied and do if so
377
- if (incoming.development && proxy) {
378
- await this.httpProxy.process(incoming);
379
- }
380
-
381
- return incoming;
382
- }
383
-
384
- middleware() {
385
- return async (req, res, next) => {
386
- const incoming = new utils.HttpIncoming(req, res);
387
- incoming.url = new URL(
388
- req.originalUrl,
389
- `${req.protocol}://${req.get('host')}`,
390
- );
391
-
392
- try {
393
- await this.process(incoming);
394
- // if this is a proxy request then no further work should be done.
395
- if (incoming.proxy) return;
396
-
397
- // set "incoming" on res.locals.podium
398
- objobj__default['default'].set('locals.podium', incoming, res);
399
-
400
- if (res.header) {
401
- res.header('podlet-version', this.version);
402
- }
403
-
404
- res.podiumSend = (data, ...args) =>
405
- res.send(this.render(incoming, data, ...args));
406
-
407
- next();
408
- } catch (error) {
409
- next(error);
410
- }
411
- };
412
- }
413
-
414
- [_sanitize](uri, prefix = false) {
415
- const pathname = prefix ? this._pathname : '';
416
- if (uri) {
417
- return utils__namespace.uriIsRelative(uri)
418
- ? utils__namespace.pathnameBuilder(pathname, uri)
419
- : uri;
420
- }
421
- return uri;
422
- }
423
- }
424
-
425
- module.exports = PodiumPodlet;