@rspack/core 1.3.8 → 1.3.10
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/compiled/browserslist/index.js +77 -57
- package/compiled/browserslist/package.json +1 -1
- package/compiled/zod/index.js +35 -35
- package/compiled/zod/package.json +1 -1
- package/dist/ChunkGraph.d.ts +1 -0
- package/dist/CodeGenerationResults.d.ts +1 -0
- package/dist/Compilation.d.ts +5 -1
- package/dist/Module.d.ts +0 -7
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +3 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +7 -3
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +0 -1
- package/dist/config/adapter.d.ts +2 -2
- package/dist/config/types.d.ts +25 -1
- package/dist/config/zod.d.ts +57 -12
- package/dist/index.d.ts +1 -0
- package/dist/index.js +277 -219
- package/dist/setupEnv.d.ts +1 -0
- package/dist/stats/statsFactoryUtils.d.ts +1 -0
- package/dist/taps/compilation.d.ts +6 -0
- package/dist/trace/index.d.ts +2 -3
- package/package.json +10 -10
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,2 +1,8 @@
|
|
1
|
+
import * as binding from "@rspack/binding";
|
1
2
|
import type { CreatePartialRegisters } from "./types";
|
3
|
+
export declare class CodeGenerationResult {
|
4
|
+
#private;
|
5
|
+
constructor(result: binding.JsCodegenerationResult);
|
6
|
+
get(sourceType: string): string;
|
7
|
+
}
|
2
8
|
export declare const createCompilationHooksRegisters: CreatePartialRegisters<`Compilation`>;
|
package/dist/trace/index.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import inspector from "node:inspector";
|
2
1
|
export interface ChromeEvent {
|
3
2
|
name: string;
|
4
3
|
ph?: string;
|
@@ -20,8 +19,8 @@ export declare class JavaScriptTracer {
|
|
20
19
|
static events: ChromeEvent[];
|
21
20
|
static layer: string;
|
22
21
|
static output: string;
|
23
|
-
static session: inspector.Session;
|
24
|
-
static initJavaScriptTrace(layer: string, output: string): void
|
22
|
+
static session: import("node:inspector").Session;
|
23
|
+
static initJavaScriptTrace(layer: string, output: string): Promise<void>;
|
25
24
|
static initCpuProfiler(): void;
|
26
25
|
static cleanupJavaScriptTrace(): Promise<void>;
|
27
26
|
static getTs(): number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspack/core",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.10",
|
4
4
|
"webpackVersion": "5.75.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
@@ -37,29 +37,29 @@
|
|
37
37
|
"directory": "packages/rspack"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@swc/core": "1.11.
|
40
|
+
"@swc/core": "1.11.24",
|
41
41
|
"@swc/types": "0.1.21",
|
42
|
-
"@rslib/core": "0.6.
|
42
|
+
"@rslib/core": "0.6.8",
|
43
43
|
"@types/graceful-fs": "4.1.9",
|
44
44
|
"@types/watchpack": "^2.4.4",
|
45
45
|
"@types/webpack-sources": "3.2.3",
|
46
|
-
"browserslist": "^4.24.
|
46
|
+
"browserslist": "^4.24.5",
|
47
47
|
"enhanced-resolve": "5.18.1",
|
48
48
|
"graceful-fs": "^4.2.11",
|
49
49
|
"prebundle": "^1.3.3",
|
50
|
-
"tsx": "^4.19.
|
50
|
+
"tsx": "^4.19.4",
|
51
51
|
"typescript": "^5.8.3",
|
52
52
|
"watchpack": "^2.4.2",
|
53
53
|
"webpack-sources": "3.2.3",
|
54
|
-
"zod": "^3.24.
|
55
|
-
"zod-validation-error": "3.4.
|
54
|
+
"zod": "^3.24.4",
|
55
|
+
"zod-validation-error": "3.4.1",
|
56
56
|
"tinypool": "^1.0.2"
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@module-federation/runtime-tools": "0.13.
|
59
|
+
"@module-federation/runtime-tools": "0.13.1",
|
60
60
|
"@rspack/lite-tapable": "1.0.1",
|
61
|
-
"caniuse-lite": "^1.0.
|
62
|
-
"@rspack/binding": "1.3.
|
61
|
+
"caniuse-lite": "^1.0.30001717",
|
62
|
+
"@rspack/binding": "1.3.10"
|
63
63
|
},
|
64
64
|
"peerDependencies": {
|
65
65
|
"@swc/helpers": ">=0.5.1"
|