@rspack-debug/core 2.0.0-canary.20260120 → 2.0.0-rc.2
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/README.md +1 -1
- package/compiled/@rspack/lite-tapable/dist/index.d.ts +175 -0
- package/compiled/@rspack/lite-tapable/license +22 -0
- package/compiled/@rspack/lite-tapable/package.json +1 -0
- package/compiled/@swc/types/index.d.ts +15 -9
- package/compiled/@swc/types/package.json +1 -1
- package/compiled/connect-next/index.d.ts +56 -0
- package/compiled/connect-next/license +26 -0
- package/compiled/connect-next/package.json +1 -0
- package/compiled/http-proxy-middleware/index.d.ts +544 -0
- package/compiled/http-proxy-middleware/license +22 -0
- package/compiled/http-proxy-middleware/package.json +1 -0
- package/compiled/open/index.d.ts +161 -0
- package/compiled/open/package.json +1 -0
- package/compiled/watchpack/index.d.ts +2 -0
- package/compiled/webpack-sources/index.js +188 -131
- package/compiled/webpack-sources/package.json +1 -1
- package/compiled/webpack-sources/types.d.ts +6 -3
- package/dist/BuildInfo.d.ts +1 -1
- package/dist/Compilation.d.ts +5 -2
- package/dist/Compiler.d.ts +4 -3
- package/dist/ContextModuleFactory.d.ts +1 -1
- package/dist/FileSystem.d.ts +1 -1
- package/dist/Module.d.ts +1 -1
- package/dist/ModuleGraph.d.ts +3 -1
- package/dist/ModuleGraphConnection.d.ts +10 -0
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/MultiWatching.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +1 -2
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/RuntimeGlobals.d.ts +1 -1
- package/dist/Watching.d.ts +1 -1
- package/dist/builtin-loader/swc/pluginImport.d.ts +1 -1
- package/dist/builtin-loader/swc/types.d.ts +37 -2
- package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +4 -2
- package/dist/builtin-plugin/EsmNodeTargetPlugin.d.ts +9 -0
- package/dist/builtin-plugin/HashedModuleIdsPlugin.d.ts +10 -0
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +5 -4
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +9 -9
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +2 -1
- package/dist/builtin-plugin/WorkerPlugin.d.ts +1 -0
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +1 -1
- package/dist/builtin-plugin/index.d.ts +3 -0
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +3 -3
- package/dist/builtin-plugin/rsc/Coordinator.d.ts +8 -0
- package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +13 -0
- package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +39 -0
- package/dist/builtin-plugin/rsc/index.d.ts +24 -0
- package/dist/checkNodeVersion.d.ts +1 -0
- package/dist/config/adapterRuleUse.d.ts +1 -1
- package/dist/config/devServer.d.ts +102 -237
- package/dist/config/normalization.d.ts +4 -4
- package/dist/config/types.d.ts +184 -71
- package/dist/container/ContainerPlugin.d.ts +3 -2
- package/dist/container/ContainerReferencePlugin.d.ts +4 -3
- package/dist/container/ModuleFederationManifestPlugin.d.ts +10 -3
- package/dist/container/ModuleFederationPlugin.d.ts +20 -1
- package/dist/container/ModuleFederationPluginV1.d.ts +2 -2
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +4 -0
- package/dist/exports.d.ts +17 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1751 -636
- package/dist/lib/Cache.d.ts +1 -1
- package/dist/lib/HookWebpackError.d.ts +1 -1
- package/dist/moduleFederationDefaultRuntime.js +1 -1
- package/dist/node/NodeWatchFileSystem.d.ts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/sharing/CollectSharedEntryPlugin.d.ts +22 -0
- package/dist/sharing/ConsumeSharedPlugin.d.ts +16 -3
- package/dist/sharing/IndependentSharedPlugin.d.ts +35 -0
- package/dist/sharing/ProvideSharedPlugin.d.ts +22 -2
- package/dist/sharing/SharePlugin.d.ts +43 -5
- package/dist/sharing/SharedContainerPlugin.d.ts +23 -0
- package/dist/sharing/SharedUsedExportsOptimizerPlugin.d.ts +14 -0
- package/dist/sharing/TreeShakingSharedPlugin.d.ts +16 -0
- package/dist/sharing/utils.d.ts +1 -0
- package/dist/stats/StatsFactory.d.ts +1 -1
- package/dist/stats/StatsPrinter.d.ts +1 -1
- package/dist/swc.d.ts +2 -2
- package/dist/taps/types.d.ts +1 -1
- package/dist/util/createHash.d.ts +1 -1
- package/dist/util/source.d.ts +1 -1
- package/dist/util/supportsColor.d.ts +6 -0
- package/dist/worker.js +21 -20
- package/hot/dev-server.js +1 -1
- package/hot/emitter.js +0 -2
- package/hot/log.js +0 -2
- package/hot/only-dev-server.js +1 -1
- package/module.d.ts +4 -2
- package/package.json +20 -22
- package/dist/rslib-runtime.js +0 -29
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-debug/core",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.2",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Fast Rust-based bundler for the web with a modernized webpack API",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public",
|
|
@@ -37,31 +37,32 @@
|
|
|
37
37
|
"directory": "packages/rspack"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ast-grep/napi": "^0.
|
|
41
|
-
"@napi-rs/wasm-runtime": "1.
|
|
42
|
-
"@rsbuild/plugin-node-polyfill": "^1.4.
|
|
43
|
-
"@rslib/core": "0.
|
|
44
|
-
"@
|
|
45
|
-
"@types
|
|
40
|
+
"@ast-grep/napi": "^0.42.1",
|
|
41
|
+
"@napi-rs/wasm-runtime": "1.1.3",
|
|
42
|
+
"@rsbuild/plugin-node-polyfill": "^1.4.4",
|
|
43
|
+
"@rslib/core": "0.21.0",
|
|
44
|
+
"@rspack/lite-tapable": "1.1.0",
|
|
45
|
+
"@swc/types": "0.1.26",
|
|
46
|
+
"@types/node": "^20.19.39",
|
|
46
47
|
"@types/watchpack": "^2.4.5",
|
|
47
48
|
"browserslist-load-config": "^1.0.1",
|
|
48
49
|
"browserslist-to-es-version": "^1.4.1",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
50
|
+
"connect-next": "^4.0.1",
|
|
51
|
+
"enhanced-resolve": "5.20.1",
|
|
52
|
+
"http-proxy-middleware": "^3.0.5",
|
|
51
53
|
"memfs": "4.53.0",
|
|
52
|
-
"
|
|
54
|
+
"open": "^11.0.0",
|
|
55
|
+
"prebundle": "^1.6.4",
|
|
53
56
|
"tinypool": "^1.1.1",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"webpack-sources": "3.3.3"
|
|
57
|
+
"typescript": "^6.0.2",
|
|
58
|
+
"watchpack": "2.4.4",
|
|
59
|
+
"webpack-sources": "3.3.4"
|
|
58
60
|
},
|
|
59
61
|
"dependencies": {
|
|
60
|
-
"@rspack/
|
|
61
|
-
"@rspack/binding": "npm:@rspack-debug/binding@2.0.0-canary.20260120"
|
|
62
|
+
"@rspack/binding": "npm:@rspack-debug/binding@2.0.0-rc.2"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
|
-
"@module-federation/runtime-tools": "
|
|
65
|
+
"@module-federation/runtime-tools": "^0.24.1 || ^2.0.0",
|
|
65
66
|
"@swc/helpers": ">=0.5.1"
|
|
66
67
|
},
|
|
67
68
|
"peerDependenciesMeta": {
|
|
@@ -75,9 +76,6 @@
|
|
|
75
76
|
"scripts": {
|
|
76
77
|
"build": "rslib build",
|
|
77
78
|
"build:browser": "rslib build -c rslib.browser.config.ts",
|
|
78
|
-
"dev": "rslib build --watch"
|
|
79
|
-
"doc-coverage": "tsx ./scripts/check-documentation-coverage.ts",
|
|
80
|
-
"api-extractor": "api-extractor run --verbose",
|
|
81
|
-
"api-extractor:ci": "api-extractor run --verbose || diff temp/core.api.md etc/core.api.md"
|
|
79
|
+
"dev": "rslib build --watch"
|
|
82
80
|
}
|
|
83
81
|
}
|
package/dist/rslib-runtime.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __webpack_modules__ = {}, __webpack_module_cache__ = {};
|
|
2
|
-
function __webpack_require__(moduleId) {
|
|
3
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
4
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
5
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
6
|
-
exports: {}
|
|
7
|
-
};
|
|
8
|
-
return __webpack_modules__[moduleId](module, module.exports, __webpack_require__), module.exports;
|
|
9
|
-
}
|
|
10
|
-
__webpack_require__.m = __webpack_modules__, __webpack_require__.add = function(modules) {
|
|
11
|
-
Object.assign(__webpack_require__.m, modules);
|
|
12
|
-
}, __webpack_require__.n = (module)=>{
|
|
13
|
-
var getter = module && module.__esModule ? ()=>module.default : ()=>module;
|
|
14
|
-
return __webpack_require__.d(getter, {
|
|
15
|
-
a: getter
|
|
16
|
-
}), getter;
|
|
17
|
-
}, __webpack_require__.d = (exports, definition)=>{
|
|
18
|
-
for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, {
|
|
19
|
-
enumerable: !0,
|
|
20
|
-
get: definition[key]
|
|
21
|
-
});
|
|
22
|
-
}, __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.r = (exports)=>{
|
|
23
|
-
"u" > typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports, Symbol.toStringTag, {
|
|
24
|
-
value: 'Module'
|
|
25
|
-
}), Object.defineProperty(exports, '__esModule', {
|
|
26
|
-
value: !0
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
export { __webpack_require__ };
|