@rspack-canary/browser 1.6.0-canary-7c51f14d-20251029141007 → 1.6.1-canary-ceb1af2d-20251030173511

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 CHANGED
@@ -54419,7 +54419,8 @@ function handleResult(loader, module1, callback) {
54419
54419
  var utils_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
54420
54420
  const decoder = new TextDecoder();
54421
54421
  function utf8BufferToString(buf) {
54422
- const str = decoder.decode(buf.buffer instanceof SharedArrayBuffer ? utils_Buffer.from(buf) : buf);
54422
+ const isShared = buf.buffer instanceof SharedArrayBuffer || buf.buffer.constructor?.name === "SharedArrayBuffer";
54423
+ const str = decoder.decode(isShared ? utils_Buffer.from(buf) : buf);
54423
54424
  if (0xfeff === str.charCodeAt(0)) return str.slice(1);
54424
54425
  return str;
54425
54426
  }
@@ -58125,7 +58126,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
58125
58126
  if ("object" == typeof rspackFuture) {
58126
58127
  D(rspackFuture, "bundlerInfo", {});
58127
58128
  if ("object" == typeof rspackFuture.bundlerInfo) {
58128
- D(rspackFuture.bundlerInfo, "version", "1.6.0-canary-7c51f14d-20251029141007");
58129
+ D(rspackFuture.bundlerInfo, "version", "1.6.1-canary-ceb1af2d-20251030173511");
58129
58130
  D(rspackFuture.bundlerInfo, "bundler", "rspack");
58130
58131
  D(rspackFuture.bundlerInfo, "force", !library);
58131
58132
  }
@@ -62065,7 +62066,7 @@ class MultiStats {
62065
62066
  return obj;
62066
62067
  });
62067
62068
  if (childOptions.version) {
62068
- obj.rspackVersion = "1.6.0-canary-7c51f14d-20251029141007";
62069
+ obj.rspackVersion = "1.6.1-canary-ceb1af2d-20251030173511";
62069
62070
  obj.version = "5.75.0";
62070
62071
  }
62071
62072
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
@@ -63370,7 +63371,7 @@ const SIMPLE_EXTRACTORS = {
63370
63371
  },
63371
63372
  version: (object)=>{
63372
63373
  object.version = "5.75.0";
63373
- object.rspackVersion = "1.6.0-canary-7c51f14d-20251029141007";
63374
+ object.rspackVersion = "1.6.1-canary-ceb1af2d-20251030173511";
63374
63375
  },
63375
63376
  env: (object, _compilation, _context, { _env })=>{
63376
63377
  object.env = _env;
@@ -66336,7 +66337,7 @@ function transformSync(source, options) {
66336
66337
  const _options = JSON.stringify(options || {});
66337
66338
  return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
66338
66339
  }
66339
- const exports_rspackVersion = "1.6.0-canary-7c51f14d-20251029141007";
66340
+ const exports_rspackVersion = "1.6.1-canary-ceb1af2d-20251030173511";
66340
66341
  const exports_version = "5.75.0";
66341
66342
  const exports_WebpackError = Error;
66342
66343
  const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/browser",
3
- "version": "1.6.0-canary-7c51f14d-20251029141007",
3
+ "version": "1.6.1-canary-ceb1af2d-20251030173511",
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.",