@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.
@@ -0,0 +1 @@
1
+ export {};
@@ -301,4 +301,5 @@ export declare const errorsSpaceLimit: (errors: StatsError[], max: number) => {
301
301
  errors: StatsError[];
302
302
  filtered: number;
303
303
  };
304
+ export declare const warningFromStatsWarning: (warning: binding.JsStatsWarning) => Error;
304
305
  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`>;
@@ -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.8",
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.21",
40
+ "@swc/core": "1.11.24",
41
41
  "@swc/types": "0.1.21",
42
- "@rslib/core": "0.6.7",
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.4",
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.3",
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.3",
55
- "zod-validation-error": "3.4.0",
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.0",
59
+ "@module-federation/runtime-tools": "0.13.1",
60
60
  "@rspack/lite-tapable": "1.0.1",
61
- "caniuse-lite": "^1.0.30001715",
62
- "@rspack/binding": "1.3.8"
61
+ "caniuse-lite": "^1.0.30001717",
62
+ "@rspack/binding": "1.3.10"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@swc/helpers": ">=0.5.1"