@rspack/core 1.2.3 → 1.2.5

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,7 @@
1
+ type TaskCallback<Ret> = (err: Error | null, ret: Ret | null) => void;
2
+ export declare class AsyncTask<Param, Ret> {
3
+ #private;
4
+ constructor(task: (param: Param[], callback: (results: [Error | null, Ret | null][]) => void) => void);
5
+ exec(param: Param, callback: TaskCallback<Ret>): void;
6
+ }
7
+ export {};
@@ -0,0 +1,2 @@
1
+ export type RuntimeSpec = string | Set<string> | undefined;
2
+ export declare function toJsRuntimeSpec(runtime: RuntimeSpec): string | string[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -45,7 +45,7 @@
45
45
  "browserslist": "^4.21.3",
46
46
  "cross-env": "^7.0.3",
47
47
  "enhanced-resolve": "5.18.1",
48
- "graceful-fs": "4.2.11",
48
+ "graceful-fs": "^4.2.11",
49
49
  "json-parse-even-better-errors": "^3.0.0",
50
50
  "prebundle": "^1.2.7",
51
51
  "tsc-alias": "^1.8.8",
@@ -57,13 +57,13 @@
57
57
  "webpack-sources": "3.2.3",
58
58
  "zod": "^3.24.1",
59
59
  "zod-validation-error": "3.4.0",
60
- "@rspack/tracing": "1.2.3"
60
+ "@rspack/tracing": "1.2.5"
61
61
  },
62
62
  "dependencies": {
63
63
  "@module-federation/runtime-tools": "0.8.4",
64
64
  "@rspack/lite-tapable": "1.0.1",
65
65
  "caniuse-lite": "^1.0.30001616",
66
- "@rspack/binding": "1.2.3"
66
+ "@rspack/binding": "1.2.5"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@rspack/tracing": "^1.x",