@rspack-canary/core 1.6.0-canary-c1ffd5c5-20251016085846 → 1.6.0-canary-beafb11e-20251017173713
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/watchpack/index.js +1000 -3
- package/dist/RspackError.d.ts +3 -0
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +0 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -1
- package/dist/exports.d.ts +1 -3
- package/dist/index.js +301 -4645
- package/dist/util/index.d.ts +0 -3
- package/dist/util/validateConfig.d.ts +5 -0
- package/package.json +4 -7
- package/compiled/graceful-fs/index.d.ts +0 -13
- package/compiled/graceful-fs/index.js +0 -1063
- package/compiled/graceful-fs/license +0 -15
- package/compiled/graceful-fs/package.json +0 -1
- package/dist/schema/config.d.ts +0 -1030
- package/dist/schema/loaders.d.ts +0 -402
- package/dist/schema/plugins.d.ts +0 -167
- package/dist/schema/utils.d.ts +0 -5
- package/dist/schema/validate.d.ts +0 -10
package/dist/util/index.d.ts
CHANGED
|
@@ -5,7 +5,4 @@ export declare const toObject: (input: string | Buffer | object) => object;
|
|
|
5
5
|
export declare function serializeObject(map: string | object | undefined | null): Buffer | undefined;
|
|
6
6
|
export declare function indent(str: string, prefix: string): string;
|
|
7
7
|
export declare function stringifyLoaderObject(o: LoaderObject): string;
|
|
8
|
-
export declare function asArray<T>(item: T[]): T[];
|
|
9
|
-
export declare function asArray<T>(item: readonly T[]): readonly T[];
|
|
10
|
-
export declare function asArray<T>(item: T): T[];
|
|
11
8
|
export declare const unsupported: (name: string, issue?: string) => never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.6.0-canary-
|
|
3
|
+
"version": "1.6.0-canary-beafb11e-20251017173713",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -41,26 +41,23 @@
|
|
|
41
41
|
"@rsbuild/plugin-node-polyfill": "^1.4.2",
|
|
42
42
|
"@rslib/core": "0.15.1",
|
|
43
43
|
"@swc/types": "0.1.25",
|
|
44
|
-
"@types/
|
|
44
|
+
"@types/node": "^20.19.21",
|
|
45
45
|
"@types/watchpack": "^2.4.4",
|
|
46
46
|
"browserslist-load-config": "^1.0.1",
|
|
47
47
|
"enhanced-resolve": "5.18.3",
|
|
48
48
|
"glob-to-regexp": "^0.4.1",
|
|
49
|
-
"graceful-fs": "^4.2.11",
|
|
50
49
|
"memfs": "4.48.1",
|
|
51
50
|
"prebundle": "^1.4.2",
|
|
52
51
|
"tinypool": "^1.1.1",
|
|
53
52
|
"tsx": "^4.20.6",
|
|
54
53
|
"typescript": "^5.9.3",
|
|
55
54
|
"watchpack": "^2.4.4",
|
|
56
|
-
"webpack-sources": "3.3.3"
|
|
57
|
-
"zod": "^4.1.12",
|
|
58
|
-
"zod-validation-error": "^4.0.2"
|
|
55
|
+
"webpack-sources": "3.3.3"
|
|
59
56
|
},
|
|
60
57
|
"dependencies": {
|
|
61
58
|
"@module-federation/runtime-tools": "0.20.0",
|
|
62
59
|
"@rspack/lite-tapable": "1.0.1",
|
|
63
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.6.0-canary-
|
|
60
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.6.0-canary-beafb11e-20251017173713"
|
|
64
61
|
},
|
|
65
62
|
"peerDependencies": {
|
|
66
63
|
"@swc/helpers": ">=0.5.1"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
export * from 'fs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Use this method to patch the global fs module (or any other fs-like module).
|
|
6
|
-
* NOTE: This should only ever be done at the top-level application layer, in order to delay on
|
|
7
|
-
* EMFILE errors from any fs-using dependencies. You should **not** do this in a library, because
|
|
8
|
-
* it can cause unexpected delays in other parts of the program.
|
|
9
|
-
* @param fsModule The reference to the fs module or an fs-like module.
|
|
10
|
-
*/
|
|
11
|
-
declare function gracefulify<T>(fsModule: T): T;
|
|
12
|
-
|
|
13
|
-
export { gracefulify };
|