@rspack-canary/browser 1.5.5-canary-03ab52ad-20250916180415 → 1.5.6-canary-95c56d3d-20250917183900
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/index.mjs +12 -11
- package/dist/napi-binding.d.ts +1 -1
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/dist/schema/config.d.ts +7 -7
- package/dist/schema/utils.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -44206,6 +44206,7 @@ function _instanceof(cls, params = {
|
|
|
44206
44206
|
return inst;
|
|
44207
44207
|
}
|
|
44208
44208
|
const numberOrInfinity = schemas_number().or(literal(1 / 0));
|
|
44209
|
+
const intOrInfinity = schemas_int().or(literal(1 / 0));
|
|
44209
44210
|
const anyFunction = custom((data)=>"function" == typeof data, {
|
|
44210
44211
|
error: (input)=>({
|
|
44211
44212
|
message: `Expected function, received ${getParsedType(input)}`
|
|
@@ -47069,7 +47070,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
|
47069
47070
|
if ("object" == typeof rspackFuture) {
|
|
47070
47071
|
D(rspackFuture, "bundlerInfo", {});
|
|
47071
47072
|
if ("object" == typeof rspackFuture.bundlerInfo) {
|
|
47072
|
-
D(rspackFuture.bundlerInfo, "version", "1.5.
|
|
47073
|
+
D(rspackFuture.bundlerInfo, "version", "1.5.6-canary-95c56d3d-20250917183900");
|
|
47073
47074
|
D(rspackFuture.bundlerInfo, "bundler", "rspack");
|
|
47074
47075
|
D(rspackFuture.bundlerInfo, "force", !library);
|
|
47075
47076
|
}
|
|
@@ -51165,7 +51166,7 @@ class MultiStats {
|
|
|
51165
51166
|
return obj;
|
|
51166
51167
|
});
|
|
51167
51168
|
if (childOptions.version) {
|
|
51168
|
-
obj.rspackVersion = "1.5.
|
|
51169
|
+
obj.rspackVersion = "1.5.6-canary-95c56d3d-20250917183900";
|
|
51169
51170
|
obj.version = "5.75.0";
|
|
51170
51171
|
}
|
|
51171
51172
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -52475,7 +52476,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
52475
52476
|
},
|
|
52476
52477
|
version: (object)=>{
|
|
52477
52478
|
object.version = "5.75.0";
|
|
52478
|
-
object.rspackVersion = "1.5.
|
|
52479
|
+
object.rspackVersion = "1.5.6-canary-95c56d3d-20250917183900";
|
|
52479
52480
|
},
|
|
52480
52481
|
env: (object, _compilation, _context, { _env })=>{
|
|
52481
52482
|
object.env = _env;
|
|
@@ -56090,16 +56091,16 @@ const getRspackOptionsSchema = memoize(()=>{
|
|
|
56090
56091
|
groupModulesByAttributes: schemas_boolean(),
|
|
56091
56092
|
groupModulesByPath: schemas_boolean(),
|
|
56092
56093
|
groupModulesByExtension: schemas_boolean(),
|
|
56093
|
-
modulesSpace:
|
|
56094
|
-
chunkModulesSpace:
|
|
56095
|
-
nestedModulesSpace:
|
|
56094
|
+
modulesSpace: intOrInfinity,
|
|
56095
|
+
chunkModulesSpace: intOrInfinity,
|
|
56096
|
+
nestedModulesSpace: intOrInfinity,
|
|
56096
56097
|
relatedAssets: schemas_boolean(),
|
|
56097
56098
|
groupAssetsByEmitStatus: schemas_boolean(),
|
|
56098
56099
|
groupAssetsByInfo: schemas_boolean(),
|
|
56099
56100
|
groupAssetsByPath: schemas_boolean(),
|
|
56100
56101
|
groupAssetsByExtension: schemas_boolean(),
|
|
56101
56102
|
groupAssetsByChunk: schemas_boolean(),
|
|
56102
|
-
assetsSpace:
|
|
56103
|
+
assetsSpace: intOrInfinity,
|
|
56103
56104
|
orphanModules: schemas_boolean(),
|
|
56104
56105
|
excludeModules: schemas_array(schemas_string().or(_instanceof(RegExp)).or(anyFunction)).or(schemas_string()).or(_instanceof(RegExp)).or(anyFunction).or(schemas_boolean()),
|
|
56105
56106
|
excludeAssets: schemas_array(schemas_string().or(_instanceof(RegExp)).or(anyFunction)).or(schemas_string()).or(_instanceof(RegExp)).or(anyFunction),
|
|
@@ -56117,7 +56118,7 @@ const getRspackOptionsSchema = memoize(()=>{
|
|
|
56117
56118
|
chunkOrigins: schemas_boolean(),
|
|
56118
56119
|
runtime: schemas_boolean(),
|
|
56119
56120
|
depth: schemas_boolean(),
|
|
56120
|
-
reasonsSpace:
|
|
56121
|
+
reasonsSpace: intOrInfinity,
|
|
56121
56122
|
groupReasonsByOrigin: schemas_boolean(),
|
|
56122
56123
|
errorDetails: schemas_boolean(),
|
|
56123
56124
|
errorStack: schemas_boolean(),
|
|
@@ -56125,8 +56126,8 @@ const getRspackOptionsSchema = memoize(()=>{
|
|
|
56125
56126
|
cachedModules: schemas_boolean(),
|
|
56126
56127
|
cachedAssets: schemas_boolean(),
|
|
56127
56128
|
cached: schemas_boolean(),
|
|
56128
|
-
errorsSpace:
|
|
56129
|
-
warningsSpace:
|
|
56129
|
+
errorsSpace: intOrInfinity,
|
|
56130
|
+
warningsSpace: intOrInfinity
|
|
56130
56131
|
}).partial();
|
|
56131
56132
|
const statsValue = schemas_boolean().or(statsPresets).or(statsOptions);
|
|
56132
56133
|
const plugin = union([
|
|
@@ -56924,7 +56925,7 @@ function transformSync(source, options) {
|
|
|
56924
56925
|
const _options = JSON.stringify(options || {});
|
|
56925
56926
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
56926
56927
|
}
|
|
56927
|
-
const exports_rspackVersion = "1.5.
|
|
56928
|
+
const exports_rspackVersion = "1.5.6-canary-95c56d3d-20250917183900";
|
|
56928
56929
|
const exports_version = "5.75.0";
|
|
56929
56930
|
const exports_WebpackError = Error;
|
|
56930
56931
|
const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -1538,7 +1538,7 @@ export interface NapiResolveOptions {
|
|
|
1538
1538
|
* Create aliases to import or require certain modules more easily.
|
|
1539
1539
|
* A trailing $ can also be added to the given object's keys to signify an exact match.
|
|
1540
1540
|
*/
|
|
1541
|
-
alias?: Record<string,
|
|
1541
|
+
alias?: Record<string, string | false | string[]>
|
|
1542
1542
|
/**
|
|
1543
1543
|
* A list of alias fields in description files.
|
|
1544
1544
|
* Specify a field, such as `browser`, to be parsed according to [this specification](https://github.com/defunctzombie/package-browser-field-spec).
|
|
Binary file
|
package/dist/schema/config.d.ts
CHANGED
|
@@ -554,16 +554,16 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
554
554
|
groupModulesByAttributes: z.ZodOptional<z.ZodBoolean>;
|
|
555
555
|
groupModulesByPath: z.ZodOptional<z.ZodBoolean>;
|
|
556
556
|
groupModulesByExtension: z.ZodOptional<z.ZodBoolean>;
|
|
557
|
-
modulesSpace: z.ZodOptional<z.ZodInt
|
|
558
|
-
chunkModulesSpace: z.ZodOptional<z.ZodInt
|
|
559
|
-
nestedModulesSpace: z.ZodOptional<z.ZodInt
|
|
557
|
+
modulesSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
558
|
+
chunkModulesSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
559
|
+
nestedModulesSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
560
560
|
relatedAssets: z.ZodOptional<z.ZodBoolean>;
|
|
561
561
|
groupAssetsByEmitStatus: z.ZodOptional<z.ZodBoolean>;
|
|
562
562
|
groupAssetsByInfo: z.ZodOptional<z.ZodBoolean>;
|
|
563
563
|
groupAssetsByPath: z.ZodOptional<z.ZodBoolean>;
|
|
564
564
|
groupAssetsByExtension: z.ZodOptional<z.ZodBoolean>;
|
|
565
565
|
groupAssetsByChunk: z.ZodOptional<z.ZodBoolean>;
|
|
566
|
-
assetsSpace: z.ZodOptional<z.ZodInt
|
|
566
|
+
assetsSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
567
567
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
568
568
|
excludeModules: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>>, z.ZodString]>, z.ZodCustom<RegExp, RegExp>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>, z.ZodBoolean]>>;
|
|
569
569
|
excludeAssets: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>>, z.ZodString]>, z.ZodCustom<RegExp, RegExp>]>, z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>]>>;
|
|
@@ -581,7 +581,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
581
581
|
chunkOrigins: z.ZodOptional<z.ZodBoolean>;
|
|
582
582
|
runtime: z.ZodOptional<z.ZodBoolean>;
|
|
583
583
|
depth: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
-
reasonsSpace: z.ZodOptional<z.ZodInt
|
|
584
|
+
reasonsSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
585
585
|
groupReasonsByOrigin: z.ZodOptional<z.ZodBoolean>;
|
|
586
586
|
errorDetails: z.ZodOptional<z.ZodBoolean>;
|
|
587
587
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -589,8 +589,8 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
589
589
|
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
590
590
|
cachedAssets: z.ZodOptional<z.ZodBoolean>;
|
|
591
591
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
-
errorsSpace: z.ZodOptional<z.ZodInt
|
|
593
|
-
warningsSpace: z.ZodOptional<z.ZodInt
|
|
592
|
+
errorsSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
593
|
+
warningsSpace: z.ZodOptional<z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>>;
|
|
594
594
|
}, z.core.$strict>]>>;
|
|
595
595
|
snapshot: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
596
596
|
optimization: z.ZodOptional<z.ZodObject<{
|
package/dist/schema/utils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const numberOrInfinity: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<number>]>;
|
|
3
|
+
export declare const intOrInfinity: z.ZodUnion<[z.ZodInt, z.ZodLiteral<number>]>;
|
|
3
4
|
export declare const anyFunction: z.ZodCustom<(...args: unknown[]) => any, (...args: unknown[]) => any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6-canary-95c56d3d-20250917183900",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|