@rspack/dev-server 2.0.0-rc.3 → 2.0.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.
- package/dist/0~chokidar.js +1 -1
- package/dist/0~connect-history-api-fallback.js +2 -2
- package/dist/0~debug.js +2 -2
- package/dist/0~http-proxy-middleware.js +958 -1842
- package/dist/0~http-proxy-middleware.js.LICENSE.txt +0 -35
- package/dist/0~launch-editor.js +2 -2
- package/dist/0~serve-static.js +2 -2
- package/dist/{937.js → 198.js} +3 -9
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Array of passes.
|
|
3
|
-
*
|
|
4
|
-
* A `pass` is just a function that is executed on `req, res, options`
|
|
5
|
-
* so that you can easily add new checks while still keeping the base
|
|
6
|
-
* flexible.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/*!
|
|
10
|
-
* Array of passes.
|
|
11
|
-
*
|
|
12
|
-
* A `pass` is just a function that is executed on `req, socket, options`
|
|
13
|
-
* so that you can easily add new checks while still keeping the base
|
|
14
|
-
* flexible.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/*!
|
|
18
|
-
* Caron dimonio, con occhi di bragia
|
|
19
|
-
* loro accennando, tutte le raccoglie;
|
|
20
|
-
* batte col remo qualunque s’adagia
|
|
21
|
-
*
|
|
22
|
-
* Charon the demon, with the eyes of glede,
|
|
23
|
-
* Beckoning to them, collects them all together,
|
|
24
|
-
* Beats with his oar whoever lags behind
|
|
25
|
-
*
|
|
26
|
-
* Dante - The Divine Comedy (Canto III)
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
1
|
/*!
|
|
30
2
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
31
3
|
*
|
|
@@ -54,13 +26,6 @@
|
|
|
54
26
|
* Released under the MIT License.
|
|
55
27
|
*/
|
|
56
28
|
|
|
57
|
-
/*!
|
|
58
|
-
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
59
|
-
*
|
|
60
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
61
|
-
* Released under the MIT License.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
29
|
/*!
|
|
65
30
|
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
66
31
|
*
|
package/dist/0~launch-editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __webpack_require__ } from "./
|
|
2
|
-
import "./
|
|
1
|
+
import { __webpack_require__ } from "./198.js";
|
|
2
|
+
import "./198.js";
|
|
3
3
|
__webpack_require__.add({
|
|
4
4
|
"./node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/linux.js" (module) {
|
|
5
5
|
module.exports = {
|
package/dist/0~serve-static.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! LICENSE: 0~serve-static.js.LICENSE.txt */
|
|
2
|
-
import { __webpack_require__ } from "./
|
|
3
|
-
import "./
|
|
2
|
+
import { __webpack_require__ } from "./198.js";
|
|
3
|
+
import "./198.js";
|
|
4
4
|
import "./0~debug.js";
|
|
5
5
|
__webpack_require__.add({
|
|
6
6
|
"./node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
package/dist/{937.js → 198.js}
RENAMED
|
@@ -85,8 +85,8 @@ var __webpack_require__temp = __webpack_require__;
|
|
|
85
85
|
})();
|
|
86
86
|
(()=>{
|
|
87
87
|
var installedChunks = {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
198: 0,
|
|
89
|
+
410: 0
|
|
90
90
|
};
|
|
91
91
|
var installChunk = (data)=>{
|
|
92
92
|
var __rspack_esm_ids = data.__rspack_esm_ids;
|
|
@@ -3701,9 +3701,6 @@ __webpack_require__.add({
|
|
|
3701
3701
|
}
|
|
3702
3702
|
}
|
|
3703
3703
|
},
|
|
3704
|
-
assert (module) {
|
|
3705
|
-
module.exports = __rspack_createRequire_require("assert");
|
|
3706
|
-
},
|
|
3707
3704
|
async_hooks (module) {
|
|
3708
3705
|
module.exports = __rspack_createRequire_require("async_hooks");
|
|
3709
3706
|
},
|
|
@@ -3737,9 +3734,6 @@ __webpack_require__.add({
|
|
|
3737
3734
|
path (module) {
|
|
3738
3735
|
module.exports = __rspack_createRequire_require("path");
|
|
3739
3736
|
},
|
|
3740
|
-
querystring (module) {
|
|
3741
|
-
module.exports = __rspack_createRequire_require("querystring");
|
|
3742
|
-
},
|
|
3743
3737
|
stream (module) {
|
|
3744
3738
|
module.exports = __rspack_createRequire_require("stream");
|
|
3745
3739
|
},
|
|
@@ -4721,7 +4715,7 @@ class Server {
|
|
|
4721
4715
|
}
|
|
4722
4716
|
});
|
|
4723
4717
|
if (this.options.proxy) {
|
|
4724
|
-
const { createProxyMiddleware } = await import("./0~http-proxy-middleware.js")
|
|
4718
|
+
const { createProxyMiddleware } = await import("./0~http-proxy-middleware.js");
|
|
4725
4719
|
const getProxyMiddleware = (proxyConfig)=>{
|
|
4726
4720
|
const { context, ...proxyOptions } = proxyConfig;
|
|
4727
4721
|
const pathFilter = proxyOptions.pathFilter ?? context;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RspackDevServer } from "./
|
|
1
|
+
export { RspackDevServer } from "./198.js";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/dev-server",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Development server for Rspack",
|
|
5
|
-
"homepage": "https://rspack
|
|
5
|
+
"homepage": "https://github.com/rstackjs/rspack-dev-server",
|
|
6
6
|
"bugs": "https://github.com/rstackjs/rspack-dev-server/issues",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"hono": "^4.12.14",
|
|
71
71
|
"http-compression": "^1.1.3",
|
|
72
72
|
"http-proxy": "^1.18.1",
|
|
73
|
-
"http-proxy-middleware": "
|
|
73
|
+
"http-proxy-middleware": "4.0.0-beta.3",
|
|
74
74
|
"ipaddr.js": "^2.3.0",
|
|
75
75
|
"launch-editor": "^2.13.2",
|
|
76
76
|
"nano-staged": "^0.9.0",
|