@modern-js/plugin-data-loader 2.33.0 → 2.33.1
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/package.json +7 -7
- package/CHANGELOG.md +0 -407
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.33.
|
|
18
|
+
"version": "2.33.1",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=14.17.6"
|
|
21
21
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@remix-run/node": "^1.12.0",
|
|
59
59
|
"path-to-regexp": "^6.2.0",
|
|
60
60
|
"@swc/helpers": "0.5.1",
|
|
61
|
-
"@modern-js/utils": "2.33.
|
|
61
|
+
"@modern-js/utils": "2.33.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/babel__core": "^7.20.0",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"webpack": "^5.88.1",
|
|
75
75
|
"react": "^18",
|
|
76
76
|
"react-dom": "^18",
|
|
77
|
-
"@modern-js/
|
|
78
|
-
"@modern-js/server-core": "2.33.
|
|
79
|
-
"@modern-js/
|
|
80
|
-
"@scripts/build": "2.33.
|
|
81
|
-
"@scripts/jest-config": "2.33.
|
|
77
|
+
"@modern-js/types": "2.33.1",
|
|
78
|
+
"@modern-js/server-core": "2.33.1",
|
|
79
|
+
"@modern-js/core": "2.33.1",
|
|
80
|
+
"@scripts/build": "2.33.1",
|
|
81
|
+
"@scripts/jest-config": "2.33.1"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"react": ">=17.0.0"
|
package/CHANGELOG.md
DELETED
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
# @modern-js/plugin-data-loader
|
|
2
|
-
|
|
3
|
-
## 2.33.0
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [fd82137]
|
|
8
|
-
- Updated dependencies [bc1f8da]
|
|
9
|
-
- @modern-js/utils@2.33.0
|
|
10
|
-
|
|
11
|
-
## 2.32.1
|
|
12
|
-
|
|
13
|
-
### Patch Changes
|
|
14
|
-
|
|
15
|
-
- @modern-js/utils@2.32.1
|
|
16
|
-
|
|
17
|
-
## 2.32.0
|
|
18
|
-
|
|
19
|
-
### Minor Changes
|
|
20
|
-
|
|
21
|
-
- a030aff: feat: support loader context
|
|
22
|
-
feat: 支持 loader context
|
|
23
|
-
- 4323e68: feat: support client-data file
|
|
24
|
-
feat: 支持 client-data 文件
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- 6076166: fix: packaging errors found by publint
|
|
29
|
-
|
|
30
|
-
fix: 修复 publint 检测到的 packaging 问题
|
|
31
|
-
|
|
32
|
-
- 3c91100: chore(builder): using unified version of webpack-chain
|
|
33
|
-
|
|
34
|
-
chore(builder): 使用统一的 webpack-chain 版本
|
|
35
|
-
|
|
36
|
-
- 5255eba: feat: report time for server loader
|
|
37
|
-
feat: 上报 server loader 执行的时间
|
|
38
|
-
- Updated dependencies [e5a3fb4]
|
|
39
|
-
- Updated dependencies [6076166]
|
|
40
|
-
- Updated dependencies [a030aff]
|
|
41
|
-
- Updated dependencies [3c91100]
|
|
42
|
-
- Updated dependencies [5255eba]
|
|
43
|
-
- @modern-js/utils@2.32.0
|
|
44
|
-
|
|
45
|
-
## 2.31.2
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- Updated dependencies [15d30abdc66]
|
|
50
|
-
- @modern-js/utils@2.31.2
|
|
51
|
-
|
|
52
|
-
## 2.31.1
|
|
53
|
-
|
|
54
|
-
### Patch Changes
|
|
55
|
-
|
|
56
|
-
- @modern-js/utils@2.31.1
|
|
57
|
-
|
|
58
|
-
## 2.31.0
|
|
59
|
-
|
|
60
|
-
### Patch Changes
|
|
61
|
-
|
|
62
|
-
- Updated dependencies [1882366]
|
|
63
|
-
- @modern-js/utils@2.31.0
|
|
64
|
-
|
|
65
|
-
## 2.30.0
|
|
66
|
-
|
|
67
|
-
### Patch Changes
|
|
68
|
-
|
|
69
|
-
- @modern-js/utils@2.30.0
|
|
70
|
-
|
|
71
|
-
## 2.29.0
|
|
72
|
-
|
|
73
|
-
### Patch Changes
|
|
74
|
-
|
|
75
|
-
- Updated dependencies [e6b5355]
|
|
76
|
-
- Updated dependencies [93db783]
|
|
77
|
-
- Updated dependencies [cba7675]
|
|
78
|
-
- Updated dependencies [99052ea]
|
|
79
|
-
- Updated dependencies [1d71d2e]
|
|
80
|
-
- @modern-js/utils@2.29.0
|
|
81
|
-
|
|
82
|
-
## 2.28.0
|
|
83
|
-
|
|
84
|
-
### Patch Changes
|
|
85
|
-
|
|
86
|
-
- Updated dependencies [00b58a7]
|
|
87
|
-
- @modern-js/utils@2.28.0
|
|
88
|
-
|
|
89
|
-
## 2.27.0
|
|
90
|
-
|
|
91
|
-
### Patch Changes
|
|
92
|
-
|
|
93
|
-
- Updated dependencies [91d14b8]
|
|
94
|
-
- Updated dependencies [6d7104d]
|
|
95
|
-
- @modern-js/utils@2.27.0
|
|
96
|
-
|
|
97
|
-
## 2.26.0
|
|
98
|
-
|
|
99
|
-
### Patch Changes
|
|
100
|
-
|
|
101
|
-
- @modern-js/utils@2.26.0
|
|
102
|
-
|
|
103
|
-
## 2.25.2
|
|
104
|
-
|
|
105
|
-
### Patch Changes
|
|
106
|
-
|
|
107
|
-
- 272646c: feat(builder): bump webpack v5.88, support top level await
|
|
108
|
-
|
|
109
|
-
feat(builder): 升级 webpack v5.88, 支持 top level await
|
|
110
|
-
|
|
111
|
-
- Updated dependencies [63d8247]
|
|
112
|
-
- Updated dependencies [6651684]
|
|
113
|
-
- Updated dependencies [272646c]
|
|
114
|
-
- Updated dependencies [358ed24]
|
|
115
|
-
- @modern-js/utils@2.25.2
|
|
116
|
-
|
|
117
|
-
## 2.25.1
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- Updated dependencies [9f78d0c]
|
|
122
|
-
- @modern-js/utils@2.25.1
|
|
123
|
-
|
|
124
|
-
## 2.25.0
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- Updated dependencies [5732c6a]
|
|
129
|
-
- @modern-js/utils@2.25.0
|
|
130
|
-
|
|
131
|
-
## 2.24.0
|
|
132
|
-
|
|
133
|
-
### Patch Changes
|
|
134
|
-
|
|
135
|
-
- 4a82c3b: fix: export `@remix-run/router` cjs instead of `react-router-dom`
|
|
136
|
-
fix: 暴露 `@remix-run/router` 的 cjs 导出代替 `react-router-dom`
|
|
137
|
-
- Updated dependencies [c882fbd]
|
|
138
|
-
- Updated dependencies [4a82c3b]
|
|
139
|
-
- @modern-js/utils@2.24.0
|
|
140
|
-
|
|
141
|
-
## 2.23.1
|
|
142
|
-
|
|
143
|
-
### Patch Changes
|
|
144
|
-
|
|
145
|
-
- Updated dependencies [f08bbfc]
|
|
146
|
-
- Updated dependencies [a6b313a]
|
|
147
|
-
- Updated dependencies [8f2cab0]
|
|
148
|
-
- @modern-js/utils@2.23.1
|
|
149
|
-
|
|
150
|
-
## 2.23.0
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- 7e6fb5f: chore: publishConfig add provenance config
|
|
155
|
-
|
|
156
|
-
chore: publishConfig 增加 provenance 配置
|
|
157
|
-
|
|
158
|
-
- a7a7ad7: chore: move some public code to the utils package
|
|
159
|
-
chore: 移动一些公共的代码到 utils 包
|
|
160
|
-
- 6dec7c2: test(utils): reuse the snapshot serializer of vitest config
|
|
161
|
-
|
|
162
|
-
test(utils): 复用 vitest 的 snapshot serializer
|
|
163
|
-
|
|
164
|
-
- e5259fb: fix: absoluteEntryDir should support directory entry
|
|
165
|
-
fix: absoluteEntryDir 应该支持配置目录 entry,这里 document 会使用
|
|
166
|
-
- Updated dependencies [7e6fb5f]
|
|
167
|
-
- Updated dependencies [a7a7ad7]
|
|
168
|
-
- Updated dependencies [6dec7c2]
|
|
169
|
-
- Updated dependencies [c3216b5]
|
|
170
|
-
- @modern-js/utils@2.23.0
|
|
171
|
-
|
|
172
|
-
## 2.22.1
|
|
173
|
-
|
|
174
|
-
### Patch Changes
|
|
175
|
-
|
|
176
|
-
- Updated dependencies [e2848a2]
|
|
177
|
-
- Updated dependencies [d4045ed]
|
|
178
|
-
- @modern-js/utils@2.22.1
|
|
179
|
-
|
|
180
|
-
## 2.22.0
|
|
181
|
-
|
|
182
|
-
### Patch Changes
|
|
183
|
-
|
|
184
|
-
- 3d48836: chore(deps): fix all missing peer dependencies
|
|
185
|
-
|
|
186
|
-
chore(deps): 修复缺少的 peer dependencies
|
|
187
|
-
|
|
188
|
-
- Updated dependencies [3d48836]
|
|
189
|
-
- Updated dependencies [5050e8e]
|
|
190
|
-
- @modern-js/utils@2.22.0
|
|
191
|
-
|
|
192
|
-
## 2.21.1
|
|
193
|
-
|
|
194
|
-
### Patch Changes
|
|
195
|
-
|
|
196
|
-
- @modern-js/utils@2.21.1
|
|
197
|
-
|
|
198
|
-
## 2.21.0
|
|
199
|
-
|
|
200
|
-
### Patch Changes
|
|
201
|
-
|
|
202
|
-
- e81eeaf: refactor: guard react-router version consistency
|
|
203
|
-
refactor: 保证 react-router 相关包的版本一致性
|
|
204
|
-
- 26dcf3a: chore: bump typescript to v5 in devDependencies
|
|
205
|
-
|
|
206
|
-
chore: 升级 devDependencies 中的 typescript 版本到 v5
|
|
207
|
-
|
|
208
|
-
- ad78387: chore(deps): bump babel-related dependencies to latest version
|
|
209
|
-
|
|
210
|
-
chore(deps): 升级 babel 相关依赖到最新版本
|
|
211
|
-
|
|
212
|
-
- Updated dependencies [e81eeaf]
|
|
213
|
-
- Updated dependencies [26dcf3a]
|
|
214
|
-
- Updated dependencies [056627f]
|
|
215
|
-
- Updated dependencies [0fc15ca]
|
|
216
|
-
- Updated dependencies [43b4e83]
|
|
217
|
-
- Updated dependencies [ad78387]
|
|
218
|
-
- @modern-js/utils@2.21.0
|
|
219
|
-
|
|
220
|
-
## 2.20.0
|
|
221
|
-
|
|
222
|
-
### Patch Changes
|
|
223
|
-
|
|
224
|
-
- 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config.
|
|
225
|
-
chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置
|
|
226
|
-
- Updated dependencies [3c4e0a5]
|
|
227
|
-
- Updated dependencies [6b9d90a]
|
|
228
|
-
- @modern-js/utils@2.20.0
|
|
229
|
-
|
|
230
|
-
## 2.19.1
|
|
231
|
-
|
|
232
|
-
### Patch Changes
|
|
233
|
-
|
|
234
|
-
- @modern-js/utils@2.19.1
|
|
235
|
-
|
|
236
|
-
## 2.19.0
|
|
237
|
-
|
|
238
|
-
### Patch Changes
|
|
239
|
-
|
|
240
|
-
- 1134fe2: chore(deps): bump webpack from 5.76.2 to 5.82.1
|
|
241
|
-
|
|
242
|
-
chore(deps): 将 webpack 从 5.76.2 升级至 5.82.1
|
|
243
|
-
|
|
244
|
-
- Updated dependencies [1134fe2]
|
|
245
|
-
- @modern-js/utils@2.19.0
|
|
246
|
-
|
|
247
|
-
## 2.18.1
|
|
248
|
-
|
|
249
|
-
### Patch Changes
|
|
250
|
-
|
|
251
|
-
- @modern-js/utils@2.18.1
|
|
252
|
-
|
|
253
|
-
## 2.18.0
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- @modern-js/utils@2.18.0
|
|
258
|
-
|
|
259
|
-
## 2.17.1
|
|
260
|
-
|
|
261
|
-
### Patch Changes
|
|
262
|
-
|
|
263
|
-
- @modern-js/utils@2.17.1
|
|
264
|
-
|
|
265
|
-
## 2.17.0
|
|
266
|
-
|
|
267
|
-
### Patch Changes
|
|
268
|
-
|
|
269
|
-
- @modern-js/utils@2.17.0
|
|
270
|
-
|
|
271
|
-
## 2.16.0
|
|
272
|
-
|
|
273
|
-
### Patch Changes
|
|
274
|
-
|
|
275
|
-
- 4e876ab: chore: package.json include the monorepo-relative directory
|
|
276
|
-
|
|
277
|
-
chore: 在 package.json 中声明 monorepo 的子路径
|
|
278
|
-
|
|
279
|
-
- Updated dependencies [5954330]
|
|
280
|
-
- Updated dependencies [7596520]
|
|
281
|
-
- Updated dependencies [4e876ab]
|
|
282
|
-
- @modern-js/utils@2.16.0
|
|
283
|
-
|
|
284
|
-
## 2.15.0
|
|
285
|
-
|
|
286
|
-
### Patch Changes
|
|
287
|
-
|
|
288
|
-
- @modern-js/utils@2.15.0
|
|
289
|
-
|
|
290
|
-
## 2.14.0
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- d05651a: fix: set encoding for defered loader
|
|
295
|
-
fix: 为 defer loader 设置 encoding
|
|
296
|
-
- Updated dependencies [4779152]
|
|
297
|
-
- Updated dependencies [9321bef]
|
|
298
|
-
- Updated dependencies [9b45c58]
|
|
299
|
-
- Updated dependencies [52d0cb1]
|
|
300
|
-
- Updated dependencies [60a81d0]
|
|
301
|
-
- Updated dependencies [dacef96]
|
|
302
|
-
- Updated dependencies [16399fd]
|
|
303
|
-
- @modern-js/utils@2.14.0
|
|
304
|
-
|
|
305
|
-
## 2.13.4
|
|
306
|
-
|
|
307
|
-
### Patch Changes
|
|
308
|
-
|
|
309
|
-
- @modern-js/utils@2.13.4
|
|
310
|
-
|
|
311
|
-
## 2.13.3
|
|
312
|
-
|
|
313
|
-
### Patch Changes
|
|
314
|
-
|
|
315
|
-
- @modern-js/utils@2.13.3
|
|
316
|
-
|
|
317
|
-
## 2.13.2
|
|
318
|
-
|
|
319
|
-
### Patch Changes
|
|
320
|
-
|
|
321
|
-
- @modern-js/utils@2.13.2
|
|
322
|
-
|
|
323
|
-
## 2.13.1
|
|
324
|
-
|
|
325
|
-
### Patch Changes
|
|
326
|
-
|
|
327
|
-
- @modern-js/utils@2.13.1
|
|
328
|
-
|
|
329
|
-
## 2.13.0
|
|
330
|
-
|
|
331
|
-
### Minor Changes
|
|
332
|
-
|
|
333
|
-
- 3d5086b: feat: the rspack unsupport inline loader, so we move data-loader to bundler.module.rules
|
|
334
|
-
feat: rspack 不支持 inline loader, 所以我们将 data-loader 移动到 bundler.module.rules 配置中去。
|
|
335
|
-
|
|
336
|
-
### Patch Changes
|
|
337
|
-
|
|
338
|
-
- @modern-js/utils@2.13.0
|
|
339
|
-
|
|
340
|
-
## 2.12.0
|
|
341
|
-
|
|
342
|
-
### Patch Changes
|
|
343
|
-
|
|
344
|
-
- Updated dependencies [c2ca6c8]
|
|
345
|
-
- Updated dependencies [6d86e34]
|
|
346
|
-
- @modern-js/utils@2.12.0
|
|
347
|
-
|
|
348
|
-
## 2.11.0
|
|
349
|
-
|
|
350
|
-
### Patch Changes
|
|
351
|
-
|
|
352
|
-
- 5d624fd: feat: assets and data prefetching is supported
|
|
353
|
-
feat: 支持资源和数据预加载
|
|
354
|
-
- e2466a1: fix: remove nestedRoutes file from @modern-js/utils
|
|
355
|
-
fix: 将 nestedRoutes 从 @modern-js/utils 中移除
|
|
356
|
-
- 381a3b9: feat(utils): move universal utils to the universal folder
|
|
357
|
-
|
|
358
|
-
feat(utils): 将运行时使用的 utils 移动到 universal 目录
|
|
359
|
-
|
|
360
|
-
- Updated dependencies [cfb058f]
|
|
361
|
-
- Updated dependencies [0bd018b]
|
|
362
|
-
- Updated dependencies [5d624fd]
|
|
363
|
-
- Updated dependencies [e2466a1]
|
|
364
|
-
- Updated dependencies [02bb383]
|
|
365
|
-
- Updated dependencies [381a3b9]
|
|
366
|
-
- Updated dependencies [7a60f10]
|
|
367
|
-
- Updated dependencies [274b2e5]
|
|
368
|
-
- Updated dependencies [b9e1c54]
|
|
369
|
-
- @modern-js/utils@2.11.0
|
|
370
|
-
|
|
371
|
-
## 2.10.0
|
|
372
|
-
|
|
373
|
-
### Patch Changes
|
|
374
|
-
|
|
375
|
-
- 3e0bd50: feat: when enable bff handle render, support use `useContext` to get framework plugin context in data loader.
|
|
376
|
-
feat: 当开启 BFF 托管渲染时,支持在 data loader 中使用 `useContext` 获取框架插件提供的上下文。
|
|
377
|
-
- 0da32d0: chore: upgrade jest and puppeteer
|
|
378
|
-
chore: 升级 jest 和 puppeteer 到 latest
|
|
379
|
-
- 0d9962b: fix: add types field in package.json
|
|
380
|
-
fix: 添加 package.json 中的 types 字段
|
|
381
|
-
- fbefa7e: chore(deps): bump webpack from 5.75.0 to 5.76.2
|
|
382
|
-
|
|
383
|
-
chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2
|
|
384
|
-
|
|
385
|
-
- d6b6e29: fix: split server and runtime code in plugin-data-loader
|
|
386
|
-
fix: 分离 plugin-data-loader 中服务端和客户端运行时的代码
|
|
387
|
-
- Updated dependencies [0da32d0]
|
|
388
|
-
- Updated dependencies [fbefa7e]
|
|
389
|
-
- Updated dependencies [4d54233]
|
|
390
|
-
- Updated dependencies [6db4864]
|
|
391
|
-
- @modern-js/utils@2.10.0
|
|
392
|
-
|
|
393
|
-
## 2.9.0
|
|
394
|
-
|
|
395
|
-
### Patch Changes
|
|
396
|
-
|
|
397
|
-
- @modern-js/utils@2.9.0
|
|
398
|
-
|
|
399
|
-
## 2.8.0
|
|
400
|
-
|
|
401
|
-
### Patch Changes
|
|
402
|
-
|
|
403
|
-
- 0cf8540ffe: fix: should match the most similar entry
|
|
404
|
-
fix: 应该匹配最相似的 entry
|
|
405
|
-
- Updated dependencies [1104a9f18b]
|
|
406
|
-
- Updated dependencies [1f6ca2c7fb]
|
|
407
|
-
- @modern-js/utils@2.8.0
|