@rspack-debug/core 1.6.6 → 1.7.0-beta.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/Compilation.d.ts +25 -5
- package/dist/Resolver.d.ts +2 -2
- package/dist/RuntimeGlobals.d.ts +106 -78
- package/dist/builtin-plugin/css-extract/loader.d.ts +4 -4
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +8 -0
- package/dist/config/normalization.d.ts +10 -1
- package/dist/config/types.d.ts +23 -3
- package/dist/cssExtractHmr.js +2 -2
- package/dist/cssExtractLoader.js +4 -4
- package/dist/exports.d.ts +9 -1
- package/dist/index.js +371 -218
- package/dist/lib/EntryOptionPlugin.d.ts +1 -1
- package/dist/util/fake.d.ts +6 -1
- package/dist/worker.js +11 -11
- package/package.json +6 -6
|
@@ -28,6 +28,6 @@ export declare class EntryOptionPlugin {
|
|
|
28
28
|
* @param desc entry description
|
|
29
29
|
* @returns options for the entry
|
|
30
30
|
*/
|
|
31
|
-
static entryDescriptionToOptions(
|
|
31
|
+
static entryDescriptionToOptions(_compiler: Compiler, name: string, desc: EntryDescriptionNormalized): EntryOptions;
|
|
32
32
|
}
|
|
33
33
|
export default EntryOptionPlugin;
|
package/dist/util/fake.d.ts
CHANGED
|
@@ -3,7 +3,12 @@ export type FakeHook<T> = T & {
|
|
|
3
3
|
};
|
|
4
4
|
export declare function createFakeCompilationDependencies(getDeps: () => string[], addDeps: (deps: string[]) => void): {
|
|
5
5
|
[Symbol.iterator](): Generator<string, void, unknown>;
|
|
6
|
-
has(dep: string)
|
|
6
|
+
has: (dep: string) => boolean;
|
|
7
7
|
add: (dep: string) => void;
|
|
8
8
|
addAll: (deps: Iterable<string>) => void;
|
|
9
|
+
delete: (dep: string) => boolean;
|
|
10
|
+
keys(): SetIterator<string>;
|
|
11
|
+
values(): SetIterator<string>;
|
|
12
|
+
entries(): SetIterator<[string, string]>;
|
|
13
|
+
readonly size: number;
|
|
9
14
|
};
|
package/dist/worker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
"./src/swc.ts"
|
|
3
|
+
"./src/swc.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4
4
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
5
5
|
minify: ()=>minify,
|
|
6
6
|
minifySync: ()=>minifySync,
|
|
@@ -25,7 +25,7 @@ var __webpack_modules__ = {
|
|
|
25
25
|
return _rspack_binding__rspack_import_0_default().transformSync(source, _options);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"./src/util/cleverMerge.ts"
|
|
28
|
+
"./src/util/cleverMerge.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
29
29
|
__webpack_require__.d(__webpack_exports__, {
|
|
30
30
|
ks: ()=>cleverMerge
|
|
31
31
|
});
|
|
@@ -203,7 +203,7 @@ var __webpack_modules__ = {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
},
|
|
206
|
-
"./src/util/createHash.ts"
|
|
206
|
+
"./src/util/createHash.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
207
207
|
let createMd4, createXxhash64;
|
|
208
208
|
__webpack_require__.d(__webpack_exports__, {
|
|
209
209
|
n: ()=>createHash_createHash
|
|
@@ -416,22 +416,22 @@ var __webpack_modules__ = {
|
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
},
|
|
419
|
-
"@rspack/binding"
|
|
419
|
+
"@rspack/binding" (module) {
|
|
420
420
|
module.exports = require("@rspack/binding");
|
|
421
421
|
},
|
|
422
|
-
"node:crypto"
|
|
422
|
+
"node:crypto" (module) {
|
|
423
423
|
module.exports = require("node:crypto");
|
|
424
424
|
},
|
|
425
|
-
"node:fs"
|
|
425
|
+
"node:fs" (module) {
|
|
426
426
|
module.exports = require("node:fs");
|
|
427
427
|
},
|
|
428
|
-
"node:os"
|
|
428
|
+
"node:os" (module) {
|
|
429
429
|
module.exports = require("node:os");
|
|
430
430
|
},
|
|
431
|
-
"node:url"
|
|
431
|
+
"node:url" (module) {
|
|
432
432
|
module.exports = require("node:url");
|
|
433
433
|
},
|
|
434
|
-
"node:util"
|
|
434
|
+
"node:util" (module) {
|
|
435
435
|
module.exports = require("node:util");
|
|
436
436
|
}
|
|
437
437
|
}, __webpack_module_cache__ = {};
|
|
@@ -461,7 +461,7 @@ __webpack_require__.n = (module)=>{
|
|
|
461
461
|
});
|
|
462
462
|
};
|
|
463
463
|
var __webpack_exports__ = {};
|
|
464
|
-
for(var
|
|
464
|
+
for(var __rspack_i in (()=>{
|
|
465
465
|
let url;
|
|
466
466
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
467
467
|
default: ()=>loader_runner_worker
|
|
@@ -970,7 +970,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
970
970
|
};
|
|
971
971
|
})(), exports.default = __webpack_exports__.default, __webpack_exports__)-1 === [
|
|
972
972
|
"default"
|
|
973
|
-
].indexOf(
|
|
973
|
+
].indexOf(__rspack_i) && (exports[__rspack_i] = __webpack_exports__[__rspack_i]);
|
|
974
974
|
Object.defineProperty(exports, '__esModule', {
|
|
975
975
|
value: !0
|
|
976
976
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-debug/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-beta.0",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"@ast-grep/napi": "^0.40.0",
|
|
41
41
|
"@napi-rs/wasm-runtime": "1.0.7",
|
|
42
42
|
"@rsbuild/plugin-node-polyfill": "^1.4.2",
|
|
43
|
-
"@rslib/core": "0.18.
|
|
43
|
+
"@rslib/core": "0.18.3",
|
|
44
44
|
"@swc/types": "0.1.25",
|
|
45
45
|
"@types/node": "^20.19.25",
|
|
46
46
|
"@types/watchpack": "^2.4.5",
|
|
47
47
|
"browserslist-load-config": "^1.0.1",
|
|
48
48
|
"enhanced-resolve": "5.18.3",
|
|
49
49
|
"glob-to-regexp": "^0.4.1",
|
|
50
|
-
"memfs": "4.
|
|
51
|
-
"prebundle": "^1.
|
|
50
|
+
"memfs": "4.51.1",
|
|
51
|
+
"prebundle": "^1.6.0",
|
|
52
52
|
"tinypool": "^1.1.1",
|
|
53
|
-
"tsx": "^4.
|
|
53
|
+
"tsx": "^4.21.0",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
55
|
"watchpack": "^2.4.4",
|
|
56
56
|
"webpack-sources": "3.3.3"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@module-federation/runtime-tools": "0.21.6",
|
|
60
60
|
"@rspack/lite-tapable": "1.1.0",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-debug/binding@1.
|
|
61
|
+
"@rspack/binding": "npm:@rspack-debug/binding@1.7.0-beta.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|