@rsbuild/core 1.7.2 → 2.0.0-alpha.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.
Files changed (119) hide show
  1. package/compiled/css-loader/index.js +2 -2
  2. package/compiled/html-rspack-plugin/index.js +14 -14
  3. package/compiled/http-proxy-middleware/index.d.ts +2 -2
  4. package/compiled/postcss/index.js +1 -1
  5. package/compiled/postcss-loader/index.js +6 -6
  6. package/compiled/ws/index.js +59 -54
  7. package/compiled/ws/package.json +1 -1
  8. package/dist/131.js +1000 -1065
  9. package/dist/31.js +336 -0
  10. package/dist/710.js +445 -0
  11. package/dist/743.js +7 -0
  12. package/dist/{136.mjs → 88.js} +11 -13
  13. package/dist/client/hmr.js +0 -1
  14. package/dist/client/overlay.js +32 -21
  15. package/dist/connect.js +581 -0
  16. package/dist/connect.js.LICENSE.txt +54 -0
  17. package/dist/cors.js +188 -0
  18. package/dist/cors.js.LICENSE.txt +11 -0
  19. package/dist/launch-editor-middleware.js +439 -0
  20. package/dist/manifest-plugin.js +177 -0
  21. package/dist/memfs.js +3644 -0
  22. package/dist/{0~open.js → open.js} +21 -13
  23. package/dist/{0~range-parser.js → range-parser.js} +1 -1
  24. package/dist/remapping.js +196 -0
  25. package/dist/sirv.js +122 -0
  26. package/dist/tinyglobby.js +1463 -0
  27. package/dist/transformLoader.mjs +1 -1
  28. package/dist/transformRawLoader.mjs +1 -1
  29. package/dist-types/{provider/build.d.ts → build.d.ts} +2 -2
  30. package/dist-types/cli/commands.d.ts +1 -1
  31. package/dist-types/configChain.d.ts +0 -2
  32. package/dist-types/constants.d.ts +2 -3
  33. package/dist-types/{provider/createCompiler.d.ts → createCompiler.d.ts} +1 -1
  34. package/dist-types/defaultConfig.d.ts +1 -1
  35. package/dist-types/helpers/index.d.ts +1 -1
  36. package/dist-types/helpers/url.d.ts +0 -1
  37. package/dist-types/helpers/vendors.d.ts +0 -13
  38. package/dist-types/hooks.d.ts +3 -5
  39. package/dist-types/index.d.ts +1 -1
  40. package/dist-types/{provider/initConfigs.d.ts → initConfigs.d.ts} +1 -1
  41. package/dist-types/inspectConfig.d.ts +5 -33
  42. package/dist-types/pluginHelper.d.ts +1 -1
  43. package/dist-types/plugins/css.d.ts +1 -1
  44. package/dist-types/plugins/inlineChunk.d.ts +1 -1
  45. package/dist-types/plugins/minimize.d.ts +2 -2
  46. package/dist-types/{provider/rspackConfig.d.ts → rspackConfig.d.ts} +1 -1
  47. package/dist-types/server/assets-middleware/setupOutputFileSystem.d.ts +1 -1
  48. package/dist-types/server/browserLogs.d.ts +1 -1
  49. package/dist-types/server/devMiddlewares.d.ts +1 -1
  50. package/dist-types/server/devServer.d.ts +1 -1
  51. package/dist-types/server/gzipMiddleware.d.ts +1 -1
  52. package/dist-types/server/helper.d.ts +3 -2
  53. package/dist-types/server/proxy.d.ts +1 -1
  54. package/dist-types/server/socketServer.d.ts +1 -1
  55. package/dist-types/types/config.d.ts +7 -51
  56. package/dist-types/types/context.d.ts +3 -2
  57. package/dist-types/types/hooks.d.ts +9 -9
  58. package/dist-types/types/plugin.d.ts +3 -40
  59. package/dist-types/types/rsbuild.d.ts +6 -31
  60. package/dist-types/types/thirdParty.d.ts +1 -4
  61. package/package.json +14 -19
  62. package/compiled/@jridgewell/remapping/index.d.ts +0 -1
  63. package/compiled/@jridgewell/remapping/index.js +0 -1222
  64. package/compiled/@jridgewell/remapping/license +0 -19
  65. package/compiled/@jridgewell/remapping/package.json +0 -1
  66. package/compiled/@jridgewell/trace-mapping/index.d.ts +0 -194
  67. package/compiled/@jridgewell/trace-mapping/index.js +0 -1408
  68. package/compiled/@jridgewell/trace-mapping/license +0 -19
  69. package/compiled/@jridgewell/trace-mapping/package.json +0 -1
  70. package/compiled/connect/index.d.ts +0 -90
  71. package/compiled/connect/index.js +0 -1240
  72. package/compiled/connect/license +0 -25
  73. package/compiled/connect/package.json +0 -1
  74. package/compiled/cors/index.d.ts +0 -56
  75. package/compiled/cors/index.js +0 -371
  76. package/compiled/cors/license +0 -22
  77. package/compiled/cors/package.json +0 -1
  78. package/compiled/launch-editor-middleware/index.d.ts +0 -1
  79. package/compiled/launch-editor-middleware/index.js +0 -719
  80. package/compiled/launch-editor-middleware/license +0 -21
  81. package/compiled/launch-editor-middleware/package.json +0 -1
  82. package/compiled/memfs/index.d.ts +0 -1462
  83. package/compiled/memfs/index.js +0 -1
  84. package/compiled/memfs/license +0 -201
  85. package/compiled/memfs/package.json +0 -1
  86. package/compiled/mrmime/index.d.ts +0 -4
  87. package/compiled/mrmime/index.js +0 -456
  88. package/compiled/mrmime/package.json +0 -1
  89. package/compiled/picocolors/index.d.ts +0 -55
  90. package/compiled/picocolors/index.js +0 -108
  91. package/compiled/picocolors/license +0 -15
  92. package/compiled/picocolors/package.json +0 -1
  93. package/compiled/rspack-manifest-plugin/index.d.ts +0 -48
  94. package/compiled/rspack-manifest-plugin/index.js +0 -409
  95. package/compiled/rspack-manifest-plugin/license +0 -21
  96. package/compiled/rspack-manifest-plugin/package.json +0 -1
  97. package/compiled/sirv/index.d.ts +0 -1
  98. package/compiled/sirv/index.js +0 -274
  99. package/compiled/sirv/package.json +0 -1
  100. package/compiled/tinyglobby/index.d.ts +0 -46
  101. package/compiled/tinyglobby/index.js +0 -2664
  102. package/compiled/tinyglobby/license +0 -21
  103. package/compiled/tinyglobby/package.json +0 -1
  104. package/compiled/webpack-bundle-analyzer/index.d.ts +0 -160
  105. package/compiled/webpack-bundle-analyzer/index.js +0 -23
  106. package/compiled/webpack-bundle-analyzer/license +0 -20
  107. package/compiled/webpack-bundle-analyzer/package.json +0 -1
  108. package/compiled/webpack-bundle-analyzer/public/viewer.js +0 -16
  109. package/compiled/webpack-bundle-analyzer/public/viewer.js.LICENSE.txt +0 -10
  110. package/dist/2~open.cjs +0 -436
  111. package/dist/2~range-parser.cjs +0 -52
  112. package/dist/2~range-parser.cjs.LICENSE.txt +0 -6
  113. package/dist/index.cjs +0 -9456
  114. package/dist/index.cjs.LICENSE.txt +0 -26
  115. package/dist-types/plugins/bundleAnalyzer.d.ts +0 -2
  116. package/dist-types/plugins/performance.d.ts +0 -5
  117. package/dist-types/provider/helpers.d.ts +0 -12
  118. package/dist-types/provider/provider.d.ts +0 -2
  119. /package/dist/{0~range-parser.js.LICENSE.txt → range-parser.js.LICENSE.txt} +0 -0
@@ -1,456 +0,0 @@
1
- (() => {
2
- if (typeof __nccwpck_require__ !== "undefined")
3
- __nccwpck_require__.ab = __dirname + "/";
4
- var __webpack_exports__ = {};
5
- (() => {
6
- var exports = __webpack_exports__;
7
- const mimes = {
8
- "3g2": "video/3gpp2",
9
- "3gp": "video/3gpp",
10
- "3gpp": "video/3gpp",
11
- "3mf": "model/3mf",
12
- aac: "audio/aac",
13
- ac: "application/pkix-attr-cert",
14
- adp: "audio/adpcm",
15
- adts: "audio/aac",
16
- ai: "application/postscript",
17
- aml: "application/automationml-aml+xml",
18
- amlx: "application/automationml-amlx+zip",
19
- amr: "audio/amr",
20
- apng: "image/apng",
21
- appcache: "text/cache-manifest",
22
- appinstaller: "application/appinstaller",
23
- appx: "application/appx",
24
- appxbundle: "application/appxbundle",
25
- asc: "application/pgp-keys",
26
- atom: "application/atom+xml",
27
- atomcat: "application/atomcat+xml",
28
- atomdeleted: "application/atomdeleted+xml",
29
- atomsvc: "application/atomsvc+xml",
30
- au: "audio/basic",
31
- avci: "image/avci",
32
- avcs: "image/avcs",
33
- avif: "image/avif",
34
- aw: "application/applixware",
35
- bdoc: "application/bdoc",
36
- bin: "application/octet-stream",
37
- bmp: "image/bmp",
38
- bpk: "application/octet-stream",
39
- btf: "image/prs.btif",
40
- btif: "image/prs.btif",
41
- buffer: "application/octet-stream",
42
- ccxml: "application/ccxml+xml",
43
- cdfx: "application/cdfx+xml",
44
- cdmia: "application/cdmi-capability",
45
- cdmic: "application/cdmi-container",
46
- cdmid: "application/cdmi-domain",
47
- cdmio: "application/cdmi-object",
48
- cdmiq: "application/cdmi-queue",
49
- cer: "application/pkix-cert",
50
- cgm: "image/cgm",
51
- cjs: "application/node",
52
- class: "application/java-vm",
53
- coffee: "text/coffeescript",
54
- conf: "text/plain",
55
- cpl: "application/cpl+xml",
56
- cpt: "application/mac-compactpro",
57
- crl: "application/pkix-crl",
58
- css: "text/css",
59
- csv: "text/csv",
60
- cu: "application/cu-seeme",
61
- cwl: "application/cwl",
62
- cww: "application/prs.cww",
63
- davmount: "application/davmount+xml",
64
- dbk: "application/docbook+xml",
65
- deb: "application/octet-stream",
66
- def: "text/plain",
67
- deploy: "application/octet-stream",
68
- dib: "image/bmp",
69
- "disposition-notification": "message/disposition-notification",
70
- dist: "application/octet-stream",
71
- distz: "application/octet-stream",
72
- dll: "application/octet-stream",
73
- dmg: "application/octet-stream",
74
- dms: "application/octet-stream",
75
- doc: "application/msword",
76
- dot: "application/msword",
77
- dpx: "image/dpx",
78
- drle: "image/dicom-rle",
79
- dsc: "text/prs.lines.tag",
80
- dssc: "application/dssc+der",
81
- dtd: "application/xml-dtd",
82
- dump: "application/octet-stream",
83
- dwd: "application/atsc-dwd+xml",
84
- ear: "application/java-archive",
85
- ecma: "application/ecmascript",
86
- elc: "application/octet-stream",
87
- emf: "image/emf",
88
- eml: "message/rfc822",
89
- emma: "application/emma+xml",
90
- emotionml: "application/emotionml+xml",
91
- eps: "application/postscript",
92
- epub: "application/epub+zip",
93
- exe: "application/octet-stream",
94
- exi: "application/exi",
95
- exp: "application/express",
96
- exr: "image/aces",
97
- ez: "application/andrew-inset",
98
- fdf: "application/fdf",
99
- fdt: "application/fdt+xml",
100
- fits: "image/fits",
101
- g3: "image/g3fax",
102
- gbr: "application/rpki-ghostbusters",
103
- geojson: "application/geo+json",
104
- gif: "image/gif",
105
- glb: "model/gltf-binary",
106
- gltf: "model/gltf+json",
107
- gml: "application/gml+xml",
108
- gpx: "application/gpx+xml",
109
- gram: "application/srgs",
110
- grxml: "application/srgs+xml",
111
- gxf: "application/gxf",
112
- gz: "application/gzip",
113
- h261: "video/h261",
114
- h263: "video/h263",
115
- h264: "video/h264",
116
- heic: "image/heic",
117
- heics: "image/heic-sequence",
118
- heif: "image/heif",
119
- heifs: "image/heif-sequence",
120
- hej2: "image/hej2k",
121
- held: "application/atsc-held+xml",
122
- hjson: "application/hjson",
123
- hlp: "application/winhlp",
124
- hqx: "application/mac-binhex40",
125
- hsj2: "image/hsj2",
126
- htm: "text/html",
127
- html: "text/html",
128
- ics: "text/calendar",
129
- ief: "image/ief",
130
- ifb: "text/calendar",
131
- iges: "model/iges",
132
- igs: "model/iges",
133
- img: "application/octet-stream",
134
- in: "text/plain",
135
- ini: "text/plain",
136
- ink: "application/inkml+xml",
137
- inkml: "application/inkml+xml",
138
- ipfix: "application/ipfix",
139
- iso: "application/octet-stream",
140
- its: "application/its+xml",
141
- jade: "text/jade",
142
- jar: "application/java-archive",
143
- jhc: "image/jphc",
144
- jls: "image/jls",
145
- jp2: "image/jp2",
146
- jpe: "image/jpeg",
147
- jpeg: "image/jpeg",
148
- jpf: "image/jpx",
149
- jpg: "image/jpeg",
150
- jpg2: "image/jp2",
151
- jpgm: "image/jpm",
152
- jpgv: "video/jpeg",
153
- jph: "image/jph",
154
- jpm: "image/jpm",
155
- jpx: "image/jpx",
156
- js: "text/javascript",
157
- json: "application/json",
158
- json5: "application/json5",
159
- jsonld: "application/ld+json",
160
- jsonml: "application/jsonml+json",
161
- jsx: "text/jsx",
162
- jt: "model/jt",
163
- jxl: "image/jxl",
164
- jxr: "image/jxr",
165
- jxra: "image/jxra",
166
- jxrs: "image/jxrs",
167
- jxs: "image/jxs",
168
- jxsc: "image/jxsc",
169
- jxsi: "image/jxsi",
170
- jxss: "image/jxss",
171
- kar: "audio/midi",
172
- ktx: "image/ktx",
173
- ktx2: "image/ktx2",
174
- less: "text/less",
175
- lgr: "application/lgr+xml",
176
- list: "text/plain",
177
- litcoffee: "text/coffeescript",
178
- log: "text/plain",
179
- lostxml: "application/lost+xml",
180
- lrf: "application/octet-stream",
181
- m1v: "video/mpeg",
182
- m21: "application/mp21",
183
- m2a: "audio/mpeg",
184
- m2t: "video/mp2t",
185
- m2ts: "video/mp2t",
186
- m2v: "video/mpeg",
187
- m3a: "audio/mpeg",
188
- m4a: "audio/mp4",
189
- m4p: "application/mp4",
190
- m4s: "video/iso.segment",
191
- ma: "application/mathematica",
192
- mads: "application/mads+xml",
193
- maei: "application/mmt-aei+xml",
194
- man: "text/troff",
195
- manifest: "text/cache-manifest",
196
- map: "application/json",
197
- mar: "application/octet-stream",
198
- markdown: "text/markdown",
199
- mathml: "application/mathml+xml",
200
- mb: "application/mathematica",
201
- mbox: "application/mbox",
202
- md: "text/markdown",
203
- mdx: "text/mdx",
204
- me: "text/troff",
205
- mesh: "model/mesh",
206
- meta4: "application/metalink4+xml",
207
- metalink: "application/metalink+xml",
208
- mets: "application/mets+xml",
209
- mft: "application/rpki-manifest",
210
- mid: "audio/midi",
211
- midi: "audio/midi",
212
- mime: "message/rfc822",
213
- mj2: "video/mj2",
214
- mjp2: "video/mj2",
215
- mjs: "text/javascript",
216
- mml: "text/mathml",
217
- mods: "application/mods+xml",
218
- mov: "video/quicktime",
219
- mp2: "audio/mpeg",
220
- mp21: "application/mp21",
221
- mp2a: "audio/mpeg",
222
- mp3: "audio/mpeg",
223
- mp4: "video/mp4",
224
- mp4a: "audio/mp4",
225
- mp4s: "application/mp4",
226
- mp4v: "video/mp4",
227
- mpd: "application/dash+xml",
228
- mpe: "video/mpeg",
229
- mpeg: "video/mpeg",
230
- mpf: "application/media-policy-dataset+xml",
231
- mpg: "video/mpeg",
232
- mpg4: "video/mp4",
233
- mpga: "audio/mpeg",
234
- mpp: "application/dash-patch+xml",
235
- mrc: "application/marc",
236
- mrcx: "application/marcxml+xml",
237
- ms: "text/troff",
238
- mscml: "application/mediaservercontrol+xml",
239
- msh: "model/mesh",
240
- msi: "application/octet-stream",
241
- msix: "application/msix",
242
- msixbundle: "application/msixbundle",
243
- msm: "application/octet-stream",
244
- msp: "application/octet-stream",
245
- mtl: "model/mtl",
246
- mts: "video/mp2t",
247
- musd: "application/mmt-usd+xml",
248
- mxf: "application/mxf",
249
- mxmf: "audio/mobile-xmf",
250
- mxml: "application/xv+xml",
251
- n3: "text/n3",
252
- nb: "application/mathematica",
253
- nq: "application/n-quads",
254
- nt: "application/n-triples",
255
- obj: "model/obj",
256
- oda: "application/oda",
257
- oga: "audio/ogg",
258
- ogg: "audio/ogg",
259
- ogv: "video/ogg",
260
- ogx: "application/ogg",
261
- omdoc: "application/omdoc+xml",
262
- onepkg: "application/onenote",
263
- onetmp: "application/onenote",
264
- onetoc: "application/onenote",
265
- onetoc2: "application/onenote",
266
- opf: "application/oebps-package+xml",
267
- opus: "audio/ogg",
268
- otf: "font/otf",
269
- owl: "application/rdf+xml",
270
- oxps: "application/oxps",
271
- p10: "application/pkcs10",
272
- p7c: "application/pkcs7-mime",
273
- p7m: "application/pkcs7-mime",
274
- p7s: "application/pkcs7-signature",
275
- p8: "application/pkcs8",
276
- pdf: "application/pdf",
277
- pfr: "application/font-tdpfr",
278
- pgp: "application/pgp-encrypted",
279
- pkg: "application/octet-stream",
280
- pki: "application/pkixcmp",
281
- pkipath: "application/pkix-pkipath",
282
- pls: "application/pls+xml",
283
- png: "image/png",
284
- prc: "model/prc",
285
- prf: "application/pics-rules",
286
- provx: "application/provenance+xml",
287
- ps: "application/postscript",
288
- pskcxml: "application/pskc+xml",
289
- pti: "image/prs.pti",
290
- qt: "video/quicktime",
291
- raml: "application/raml+yaml",
292
- rapd: "application/route-apd+xml",
293
- rdf: "application/rdf+xml",
294
- relo: "application/p2p-overlay+xml",
295
- rif: "application/reginfo+xml",
296
- rl: "application/resource-lists+xml",
297
- rld: "application/resource-lists-diff+xml",
298
- rmi: "audio/midi",
299
- rnc: "application/relax-ng-compact-syntax",
300
- rng: "application/xml",
301
- roa: "application/rpki-roa",
302
- roff: "text/troff",
303
- rq: "application/sparql-query",
304
- rs: "application/rls-services+xml",
305
- rsat: "application/atsc-rsat+xml",
306
- rsd: "application/rsd+xml",
307
- rsheet: "application/urc-ressheet+xml",
308
- rss: "application/rss+xml",
309
- rtf: "text/rtf",
310
- rtx: "text/richtext",
311
- rusd: "application/route-usd+xml",
312
- s3m: "audio/s3m",
313
- sbml: "application/sbml+xml",
314
- scq: "application/scvp-cv-request",
315
- scs: "application/scvp-cv-response",
316
- sdp: "application/sdp",
317
- senmlx: "application/senml+xml",
318
- sensmlx: "application/sensml+xml",
319
- ser: "application/java-serialized-object",
320
- setpay: "application/set-payment-initiation",
321
- setreg: "application/set-registration-initiation",
322
- sgi: "image/sgi",
323
- sgm: "text/sgml",
324
- sgml: "text/sgml",
325
- shex: "text/shex",
326
- shf: "application/shf+xml",
327
- shtml: "text/html",
328
- sieve: "application/sieve",
329
- sig: "application/pgp-signature",
330
- sil: "audio/silk",
331
- silo: "model/mesh",
332
- siv: "application/sieve",
333
- slim: "text/slim",
334
- slm: "text/slim",
335
- sls: "application/route-s-tsid+xml",
336
- smi: "application/smil+xml",
337
- smil: "application/smil+xml",
338
- snd: "audio/basic",
339
- so: "application/octet-stream",
340
- spdx: "text/spdx",
341
- spp: "application/scvp-vp-response",
342
- spq: "application/scvp-vp-request",
343
- spx: "audio/ogg",
344
- sql: "application/sql",
345
- sru: "application/sru+xml",
346
- srx: "application/sparql-results+xml",
347
- ssdl: "application/ssdl+xml",
348
- ssml: "application/ssml+xml",
349
- stk: "application/hyperstudio",
350
- stl: "model/stl",
351
- stpx: "model/step+xml",
352
- stpxz: "model/step-xml+zip",
353
- stpz: "model/step+zip",
354
- styl: "text/stylus",
355
- stylus: "text/stylus",
356
- svg: "image/svg+xml",
357
- svgz: "image/svg+xml",
358
- swidtag: "application/swid+xml",
359
- t: "text/troff",
360
- t38: "image/t38",
361
- td: "application/urc-targetdesc+xml",
362
- tei: "application/tei+xml",
363
- teicorpus: "application/tei+xml",
364
- text: "text/plain",
365
- tfi: "application/thraud+xml",
366
- tfx: "image/tiff-fx",
367
- tif: "image/tiff",
368
- tiff: "image/tiff",
369
- toml: "application/toml",
370
- tr: "text/troff",
371
- trig: "application/trig",
372
- ts: "video/mp2t",
373
- tsd: "application/timestamped-data",
374
- tsv: "text/tab-separated-values",
375
- ttc: "font/collection",
376
- ttf: "font/ttf",
377
- ttl: "text/turtle",
378
- ttml: "application/ttml+xml",
379
- txt: "text/plain",
380
- u3d: "model/u3d",
381
- u8dsn: "message/global-delivery-status",
382
- u8hdr: "message/global-headers",
383
- u8mdn: "message/global-disposition-notification",
384
- u8msg: "message/global",
385
- ubj: "application/ubjson",
386
- uri: "text/uri-list",
387
- uris: "text/uri-list",
388
- urls: "text/uri-list",
389
- vcard: "text/vcard",
390
- vrml: "model/vrml",
391
- vtt: "text/vtt",
392
- vxml: "application/voicexml+xml",
393
- war: "application/java-archive",
394
- wasm: "application/wasm",
395
- wav: "audio/wav",
396
- weba: "audio/webm",
397
- webm: "video/webm",
398
- webmanifest: "application/manifest+json",
399
- webp: "image/webp",
400
- wgsl: "text/wgsl",
401
- wgt: "application/widget",
402
- wif: "application/watcherinfo+xml",
403
- wmf: "image/wmf",
404
- woff: "font/woff",
405
- woff2: "font/woff2",
406
- wrl: "model/vrml",
407
- wsdl: "application/wsdl+xml",
408
- wspolicy: "application/wspolicy+xml",
409
- x3d: "model/x3d+xml",
410
- x3db: "model/x3d+fastinfoset",
411
- x3dbz: "model/x3d+binary",
412
- x3dv: "model/x3d-vrml",
413
- x3dvz: "model/x3d+vrml",
414
- x3dz: "model/x3d+xml",
415
- xaml: "application/xaml+xml",
416
- xav: "application/xcap-att+xml",
417
- xca: "application/xcap-caps+xml",
418
- xcs: "application/calendar+xml",
419
- xdf: "application/xcap-diff+xml",
420
- xdssc: "application/dssc+xml",
421
- xel: "application/xcap-el+xml",
422
- xenc: "application/xenc+xml",
423
- xer: "application/patch-ops-error+xml",
424
- xfdf: "application/xfdf",
425
- xht: "application/xhtml+xml",
426
- xhtml: "application/xhtml+xml",
427
- xhvml: "application/xv+xml",
428
- xlf: "application/xliff+xml",
429
- xm: "audio/xm",
430
- xml: "text/xml",
431
- xns: "application/xcap-ns+xml",
432
- xop: "application/xop+xml",
433
- xpl: "application/xproc+xml",
434
- xsd: "application/xml",
435
- xsf: "application/prs.xsf+xml",
436
- xsl: "application/xml",
437
- xslt: "application/xml",
438
- xspf: "application/xspf+xml",
439
- xvm: "application/xv+xml",
440
- xvml: "application/xv+xml",
441
- yaml: "text/yaml",
442
- yang: "application/yang",
443
- yin: "application/yin+xml",
444
- yml: "text/yaml",
445
- zip: "application/zip",
446
- };
447
- function lookup(extn) {
448
- let tmp = ("" + extn).trim().toLowerCase();
449
- let idx = tmp.lastIndexOf(".");
450
- return mimes[!~idx ? tmp : tmp.substring(++idx)];
451
- }
452
- exports.mimes = mimes;
453
- exports.lookup = lookup;
454
- })();
455
- module.exports = __webpack_exports__;
456
- })();
@@ -1 +0,0 @@
1
- {"name":"mrmime","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"https://lukeed.com"},"version":"2.0.1","license":"MIT","types":"index.d.ts","type":"commonjs"}
@@ -1,55 +0,0 @@
1
- type Formatter = (input: string | number | null | undefined) => string
2
-
3
- interface Colors {
4
- isColorSupported: boolean
5
-
6
- reset: Formatter
7
- bold: Formatter
8
- dim: Formatter
9
- italic: Formatter
10
- underline: Formatter
11
- inverse: Formatter
12
- hidden: Formatter
13
- strikethrough: Formatter
14
-
15
- black: Formatter
16
- red: Formatter
17
- green: Formatter
18
- yellow: Formatter
19
- blue: Formatter
20
- magenta: Formatter
21
- cyan: Formatter
22
- white: Formatter
23
- gray: Formatter
24
-
25
- bgBlack: Formatter
26
- bgRed: Formatter
27
- bgGreen: Formatter
28
- bgYellow: Formatter
29
- bgBlue: Formatter
30
- bgMagenta: Formatter
31
- bgCyan: Formatter
32
- bgWhite: Formatter
33
-
34
- blackBright: Formatter
35
- redBright: Formatter
36
- greenBright: Formatter
37
- yellowBright: Formatter
38
- blueBright: Formatter
39
- magentaBright: Formatter
40
- cyanBright: Formatter
41
- whiteBright: Formatter
42
-
43
- bgBlackBright: Formatter
44
- bgRedBright: Formatter
45
- bgGreenBright: Formatter
46
- bgYellowBright: Formatter
47
- bgBlueBright: Formatter
48
- bgMagentaBright: Formatter
49
- bgCyanBright: Formatter
50
- bgWhiteBright: Formatter
51
- }
52
-
53
- declare const picocolors: Colors & { createColors: (enabled?: boolean) => Colors }
54
-
55
- export { picocolors as default };
@@ -1,108 +0,0 @@
1
- (() => {
2
- var __webpack_modules__ = {
3
- 831: (module) => {
4
- let p = process || {},
5
- argv = p.argv || [],
6
- env = p.env || {};
7
- let isColorSupported =
8
- !(!!env.NO_COLOR || argv.includes("--no-color")) &&
9
- (!!env.FORCE_COLOR ||
10
- argv.includes("--color") ||
11
- p.platform === "win32" ||
12
- ((p.stdout || {}).isTTY && env.TERM !== "dumb") ||
13
- !!env.CI);
14
- let formatter =
15
- (open, close, replace = open) =>
16
- (input) => {
17
- let string = "" + input,
18
- index = string.indexOf(close, open.length);
19
- return ~index
20
- ? open + replaceClose(string, close, replace, index) + close
21
- : open + string + close;
22
- };
23
- let replaceClose = (string, close, replace, index) => {
24
- let result = "",
25
- cursor = 0;
26
- do {
27
- result += string.substring(cursor, index) + replace;
28
- cursor = index + close.length;
29
- index = string.indexOf(close, cursor);
30
- } while (~index);
31
- return result + string.substring(cursor);
32
- };
33
- let createColors = (enabled = isColorSupported) => {
34
- let f = enabled ? formatter : () => String;
35
- return {
36
- isColorSupported: enabled,
37
- reset: f("", ""),
38
- bold: f("", "", ""),
39
- dim: f("", "", ""),
40
- italic: f("", ""),
41
- underline: f("", ""),
42
- inverse: f("", ""),
43
- hidden: f("", ""),
44
- strikethrough: f("", ""),
45
- black: f("", ""),
46
- red: f("", ""),
47
- green: f("", ""),
48
- yellow: f("", ""),
49
- blue: f("", ""),
50
- magenta: f("", ""),
51
- cyan: f("", ""),
52
- white: f("", ""),
53
- gray: f("", ""),
54
- bgBlack: f("", ""),
55
- bgRed: f("", ""),
56
- bgGreen: f("", ""),
57
- bgYellow: f("", ""),
58
- bgBlue: f("", ""),
59
- bgMagenta: f("", ""),
60
- bgCyan: f("", ""),
61
- bgWhite: f("", ""),
62
- blackBright: f("", ""),
63
- redBright: f("", ""),
64
- greenBright: f("", ""),
65
- yellowBright: f("", ""),
66
- blueBright: f("", ""),
67
- magentaBright: f("", ""),
68
- cyanBright: f("", ""),
69
- whiteBright: f("", ""),
70
- bgBlackBright: f("", ""),
71
- bgRedBright: f("", ""),
72
- bgGreenBright: f("", ""),
73
- bgYellowBright: f("", ""),
74
- bgBlueBright: f("", ""),
75
- bgMagentaBright: f("", ""),
76
- bgCyanBright: f("", ""),
77
- bgWhiteBright: f("", ""),
78
- };
79
- };
80
- module.exports = createColors();
81
- module.exports.createColors = createColors;
82
- },
83
- };
84
- var __webpack_module_cache__ = {};
85
- function __nccwpck_require__(moduleId) {
86
- var cachedModule = __webpack_module_cache__[moduleId];
87
- if (cachedModule !== undefined) {
88
- return cachedModule.exports;
89
- }
90
- var module = (__webpack_module_cache__[moduleId] = { exports: {} });
91
- var threw = true;
92
- try {
93
- __webpack_modules__[moduleId](
94
- module,
95
- module.exports,
96
- __nccwpck_require__,
97
- );
98
- threw = false;
99
- } finally {
100
- if (threw) delete __webpack_module_cache__[moduleId];
101
- }
102
- return module.exports;
103
- }
104
- if (typeof __nccwpck_require__ !== "undefined")
105
- __nccwpck_require__.ab = __dirname + "/";
106
- var __webpack_exports__ = __nccwpck_require__(831);
107
- module.exports = __webpack_exports__;
108
- })();
@@ -1,15 +0,0 @@
1
- ISC License
2
-
3
- Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1 +0,0 @@
1
- {"name":"picocolors","author":"Alexey Raspopov","version":"1.1.1","license":"ISC","types":"index.d.ts","type":"commonjs"}
@@ -1,48 +0,0 @@
1
- import { Chunk, Compiler, RspackPluginInstance, Compilation } from '@rspack/core';
2
-
3
- interface FileDescriptor {
4
- chunk?: Chunk;
5
- isAsset: boolean;
6
- isChunk: boolean;
7
- isInitial: boolean;
8
- isModuleAsset: boolean;
9
- name: string;
10
- path: string;
11
- integrity?: string;
12
- }
13
-
14
- declare const getCompilerHooks: (compiler: Compiler) => any;
15
-
16
- type Manifest = Record<string, any>;
17
- interface InternalOptions {
18
- [key: string]: any;
19
- assetHookStage: number;
20
- basePath: string;
21
- fileName: string;
22
- filter: (file: FileDescriptor) => boolean;
23
- generate: (seed: Record<any, any>, files: FileDescriptor[], entries: Record<string, string[]>, context: {
24
- compilation: Compilation;
25
- }) => Manifest;
26
- map: (file: FileDescriptor) => FileDescriptor;
27
- publicPath: string;
28
- removeKeyHash: RegExp | false;
29
- seed: Record<any, any>;
30
- serialize: (manifest: Manifest) => string;
31
- sort: (fileA: FileDescriptor, fileB: FileDescriptor) => Number;
32
- transformExtensions: RegExp;
33
- useEntryKeys: boolean;
34
- useLegacyEmit: boolean;
35
- writeToFileEmit: boolean;
36
- }
37
- type ManifestPluginOptions = Partial<InternalOptions>;
38
- type EmitCountMap = Map<any, any>;
39
- declare class WebpackManifestPlugin implements RspackPluginInstance {
40
- private options;
41
- constructor(opts: ManifestPluginOptions);
42
- apply(compiler: Compiler): void;
43
- }
44
-
45
- declare const RspackManifestPlugin: typeof WebpackManifestPlugin;
46
-
47
- export { RspackManifestPlugin, WebpackManifestPlugin, getCompilerHooks };
48
- export type { EmitCountMap, FileDescriptor, InternalOptions, Manifest, ManifestPluginOptions };