@rspack-debug/browser 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14616,9 +14616,9 @@ __webpack_require__.add({
14616
14616
  }
14617
14617
  utils.intFromLE = intFromLE;
14618
14618
  },
14619
- "../../node_modules/.pnpm/enhanced-resolve@5.20.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
14619
+ "../../node_modules/.pnpm/enhanced-resolve@5.21.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
14620
14620
  var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
14621
- const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.20.1/node_modules/enhanced-resolve/lib/util/process-browser.js");
14621
+ const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.0/node_modules/enhanced-resolve/lib/util/process-browser.js");
14622
14622
  const dirname = (path)=>{
14623
14623
  let idx = path.length - 1;
14624
14624
  while(idx >= 0){
@@ -14685,7 +14685,7 @@ __webpack_require__.add({
14685
14685
  this._data = new Map();
14686
14686
  this._levels = [];
14687
14687
  for(let i = 0; i < 10; i++)this._levels.push(new Set());
14688
- for(let i = 5000; i < duration; i += 500)this._levels.push(new Set());
14688
+ if (duration !== 1 / 0) for(let i = 5000; i < duration; i += 500)this._levels.push(new Set());
14689
14689
  this._currentLevel = 0;
14690
14690
  this._tickInterval = Math.floor(duration / this._levels.length);
14691
14691
  this._mode = STORAGE_MODE_IDLE;
@@ -14823,6 +14823,7 @@ __webpack_require__.add({
14823
14823
  break;
14824
14824
  }
14825
14825
  this._mode = STORAGE_MODE_ASYNC;
14826
+ if (this._duration === 1 / 0) return;
14826
14827
  const ref = setTimeout(()=>{
14827
14828
  this._mode = STORAGE_MODE_SYNC;
14828
14829
  this._runDecays();
@@ -14912,7 +14913,7 @@ __webpack_require__.add({
14912
14913
  }
14913
14914
  };
14914
14915
  },
14915
- "../../node_modules/.pnpm/enhanced-resolve@5.20.1/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
14916
+ "../../node_modules/.pnpm/enhanced-resolve@5.21.0/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
14916
14917
  module.exports = {
14917
14918
  versions: {},
14918
14919
  nextTick (fn) {
@@ -35333,14 +35334,14 @@ __webpack_require__.add({
35333
35334
  watch: ()=>watch
35334
35335
  });
35335
35336
  var _napi_rs_wasm_runtime_fs__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.1.4_@emnapi+core@1.10.0_@emnapi+runtime@1.10.0/node_modules/@napi-rs/wasm-runtime/dist/fs.js");
35336
- var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?5bb0");
35337
+ var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?2041");
35337
35338
  const fs = _rspack_binding__rspack_import_1.__fs;
35338
35339
  const volume = _rspack_binding__rspack_import_1.__volume;
35339
35340
  const memfs = _napi_rs_wasm_runtime_fs__rspack_import_0.tO;
35340
35341
  const { readFileSync, readdirSync, lstat, existsSync, readdir, watch } = fs;
35341
35342
  const __rspack_default_export = fs;
35342
35343
  },
35343
- "@rspack/binding?5bb0" (module) {
35344
+ "@rspack/binding?2041" (module) {
35344
35345
  module.exports = __rspack_external__rspack_wasi_browser_js_bd433424;
35345
35346
  },
35346
35347
  "?7763" () {},
@@ -55337,7 +55338,6 @@ function createDiagnosticArray(adm) {
55337
55338
  return adm.get(index);
55338
55339
  },
55339
55340
  concat (...items) {
55340
- [].includes;
55341
55341
  return adm.values().concat(...items);
55342
55342
  },
55343
55343
  flat () {
@@ -61839,7 +61839,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
61839
61839
  });
61840
61840
  D(output, 'bundlerInfo', {});
61841
61841
  if ('object' == typeof output.bundlerInfo) {
61842
- D(output.bundlerInfo, 'version', "2.0.0");
61842
+ D(output.bundlerInfo, 'version', "2.0.1");
61843
61843
  D(output.bundlerInfo, 'bundler', 'rspack');
61844
61844
  D(output.bundlerInfo, 'force', false);
61845
61845
  }
@@ -63497,7 +63497,7 @@ class MultiStats {
63497
63497
  return obj;
63498
63498
  });
63499
63499
  if (childOptions.version) {
63500
- obj.rspackVersion = "2.0.0";
63500
+ obj.rspackVersion = "2.0.1";
63501
63501
  obj.version = "5.75.0";
63502
63502
  }
63503
63503
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
@@ -64374,7 +64374,7 @@ function nodeConsole({ colors, appendOnly, stream }) {
64374
64374
  }
64375
64375
  };
64376
64376
  }
64377
- const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.20.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
64377
+ const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
64378
64378
  var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
64379
64379
  class NodeEnvironmentPlugin {
64380
64380
  options;
@@ -65200,7 +65200,7 @@ const SIMPLE_EXTRACTORS = {
65200
65200
  },
65201
65201
  version: (object)=>{
65202
65202
  object.version = "5.75.0";
65203
- object.rspackVersion = "2.0.0";
65203
+ object.rspackVersion = "2.0.1";
65204
65204
  },
65205
65205
  env: (object, _compilation, _context, { _env })=>{
65206
65206
  object.env = _env;
@@ -68439,7 +68439,7 @@ class Compiler {
68439
68439
  const rawOptions = getRawOptions(options, this);
68440
68440
  rawOptions.__references = Object.fromEntries(this.#ruleSet.builtinReferences.entries());
68441
68441
  rawOptions.__virtual_files = VirtualModulesPlugin.__internal__take_virtual_files(this);
68442
- const instanceBinding = __webpack_require__("@rspack/binding?5bb0");
68442
+ const instanceBinding = __webpack_require__("@rspack/binding?2041");
68443
68443
  this.#registers = this.#createHooksRegisters();
68444
68444
  const inputFileSystem = this.inputFileSystem && ThreadsafeInputNodeFS.needsBinding(options.experiments.useInputFileSystem) ? ThreadsafeInputNodeFS.__to_binding(this.inputFileSystem) : void 0;
68445
68445
  try {
@@ -69643,7 +69643,7 @@ class IndependentSharedPlugin {
69643
69643
  reject(err || new Error(`${target} Compile failed`));
69644
69644
  return;
69645
69645
  }
69646
- currentShare && console.log(`${currentShare.shareName} Compile success`);
69646
+ if (currentShare) console.log(`${currentShare.shareName} Compile success`);
69647
69647
  resolve(extraPlugin.getData());
69648
69648
  });
69649
69649
  });
@@ -70029,7 +70029,7 @@ function transformSync(source, options) {
70029
70029
  const _options = JSON.stringify(options || {});
70030
70030
  return rspack_wasi_browser.transformSync(source, _options);
70031
70031
  }
70032
- const exports_rspackVersion = "2.0.0";
70032
+ const exports_rspackVersion = "2.0.1";
70033
70033
  const exports_version = "5.75.0";
70034
70034
  const exports_WebpackError = Error;
70035
70035
  const exports_config = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-debug/browser",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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.",