@rspack-canary/browser 1.7.0-canary-ecf3f75d-20251223084957 → 1.7.0-canary-4941195f-20251224083309

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.
@@ -7,13 +7,13 @@ export declare const RSC_LAYERS_NAMES: {
7
7
  /**
8
8
  * The layer for server-only runtime and picking up `react-server` export conditions.
9
9
  */
10
- reactServerComponents: string;
10
+ REACT_SERVER_COMPONENTS: string;
11
11
  /**
12
12
  * Server Side Rendering layer for app.
13
13
  */
14
- serverSideRendering: string;
14
+ SERVER_SIDE_RENDERING: string;
15
15
  /**
16
16
  * The browser client bundle layer for actions.
17
17
  */
18
- actionBrowser: string;
18
+ ACTION_BROWSER: string;
19
19
  };
package/dist/index.mjs CHANGED
@@ -56914,9 +56914,9 @@ function createRscPlugins() {
56914
56914
  };
56915
56915
  }
56916
56916
  const RSC_LAYERS_NAMES = {
56917
- reactServerComponents: "react-server-components",
56918
- serverSideRendering: "server-side-rendering",
56919
- actionBrowser: "action-browser"
56917
+ REACT_SERVER_COMPONENTS: "react-server-components",
56918
+ SERVER_SIDE_RENDERING: "server-side-rendering",
56919
+ ACTION_BROWSER: "action-browser"
56920
56920
  };
56921
56921
  const SideEffectsFlagPlugin = base_create(external_rspack_wasi_browser_js_.BuiltinPluginName.SideEffectsFlagPlugin, ()=>{}, "compilation");
56922
56922
  const SizeLimitsPlugin = base_create(external_rspack_wasi_browser_js_.BuiltinPluginName.SizeLimitsPlugin, (options)=>{
@@ -58456,7 +58456,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
58456
58456
  if ("object" == typeof rspackFuture) {
58457
58457
  D(rspackFuture, "bundlerInfo", {});
58458
58458
  if ("object" == typeof rspackFuture.bundlerInfo) {
58459
- D(rspackFuture.bundlerInfo, "version", "1.7.0-canary-ecf3f75d-20251223084957");
58459
+ D(rspackFuture.bundlerInfo, "version", "1.7.0-canary-4941195f-20251224083309");
58460
58460
  D(rspackFuture.bundlerInfo, "bundler", "rspack");
58461
58461
  D(rspackFuture.bundlerInfo, "force", !library);
58462
58462
  }
@@ -61725,24 +61725,24 @@ class Watching {
61725
61725
  compilation.endTime = Date.now();
61726
61726
  const cbs = this.callbacks;
61727
61727
  this.callbacks = [];
61728
- const fileDependencies = new Set([
61729
- ...compilation.fileDependencies
61730
- ]);
61731
- fileDependencies.added = new Set(compilation.__internal__addedFileDependencies);
61732
- fileDependencies.removed = new Set(compilation.__internal__removedFileDependencies);
61733
- const contextDependencies = new Set([
61734
- ...compilation.contextDependencies
61735
- ]);
61736
- contextDependencies.added = new Set(compilation.__internal__addedContextDependencies);
61737
- contextDependencies.removed = new Set(compilation.__internal__removedContextDependencies);
61738
- const missingDependencies = new Set([
61739
- ...compilation.missingDependencies
61740
- ]);
61741
- missingDependencies.added = new Set(compilation.__internal__addedMissingDependencies);
61742
- missingDependencies.removed = new Set(compilation.__internal__removedMissingDependencies);
61743
61728
  this.compiler.hooks.done.callAsync(stats, (err)=>{
61744
61729
  if (err) return handleError(err, cbs);
61745
61730
  this.handler(null, stats);
61731
+ const fileDependencies = new Set([
61732
+ ...compilation.fileDependencies
61733
+ ]);
61734
+ fileDependencies.added = new Set(compilation.__internal__addedFileDependencies);
61735
+ fileDependencies.removed = new Set(compilation.__internal__removedFileDependencies);
61736
+ const contextDependencies = new Set([
61737
+ ...compilation.contextDependencies
61738
+ ]);
61739
+ contextDependencies.added = new Set(compilation.__internal__addedContextDependencies);
61740
+ contextDependencies.removed = new Set(compilation.__internal__removedContextDependencies);
61741
+ const missingDependencies = new Set([
61742
+ ...compilation.missingDependencies
61743
+ ]);
61744
+ missingDependencies.added = new Set(compilation.__internal__addedMissingDependencies);
61745
+ missingDependencies.removed = new Set(compilation.__internal__removedMissingDependencies);
61746
61746
  Watching_process.nextTick(()=>{
61747
61747
  if (!Watching_class_private_field_get(this, _closed)) this.watch(fileDependencies, contextDependencies, missingDependencies);
61748
61748
  });
@@ -62621,7 +62621,7 @@ class MultiStats {
62621
62621
  return obj;
62622
62622
  });
62623
62623
  if (childOptions.version) {
62624
- obj.rspackVersion = "1.7.0-canary-ecf3f75d-20251223084957";
62624
+ obj.rspackVersion = "1.7.0-canary-4941195f-20251224083309";
62625
62625
  obj.version = "5.75.0";
62626
62626
  }
62627
62627
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
@@ -63937,7 +63937,7 @@ const SIMPLE_EXTRACTORS = {
63937
63937
  },
63938
63938
  version: (object)=>{
63939
63939
  object.version = "5.75.0";
63940
- object.rspackVersion = "1.7.0-canary-ecf3f75d-20251223084957";
63940
+ object.rspackVersion = "1.7.0-canary-4941195f-20251224083309";
63941
63941
  },
63942
63942
  env: (object, _compilation, _context, { _env })=>{
63943
63943
  object.env = _env;
@@ -67074,7 +67074,7 @@ function transformSync(source, options) {
67074
67074
  const _options = JSON.stringify(options || {});
67075
67075
  return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
67076
67076
  }
67077
- const exports_rspackVersion = "1.7.0-canary-ecf3f75d-20251223084957";
67077
+ const exports_rspackVersion = "1.7.0-canary-4941195f-20251224083309";
67078
67078
  const exports_version = "5.75.0";
67079
67079
  const exports_WebpackError = Error;
67080
67080
  const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
@@ -95,6 +95,8 @@ export interface JsSource {
95
95
  source: string | Buffer
96
96
  map?: string
97
97
  }
98
+
99
+ export type CompilerId = void;
98
100
  /* -- banner.d.ts end -- */
99
101
 
100
102
  /* -- napi-rs generated below -- */
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/browser",
3
- "version": "1.7.0-canary-ecf3f75d-20251223084957",
3
+ "version": "1.7.0-canary-4941195f-20251224083309",
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.",