@rspack-canary/browser 1.7.0-canary-a0fc091c-20251217174017 → 1.7.0-canary-633193aa-20251218194146

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.
@@ -2463,8 +2463,13 @@ export interface RawModuleFederationManifestPluginOptions {
2463
2463
  buildInfo?: RawStatsBuildInfo
2464
2464
  }
2465
2465
 
2466
+ export interface RawModuleFederationRuntimeExperimentsOptions {
2467
+ asyncStartup?: boolean
2468
+ }
2469
+
2466
2470
  export interface RawModuleFederationRuntimePluginOptions {
2467
2471
  entryRuntime?: string | undefined
2472
+ experiments?: RawModuleFederationRuntimeExperimentsOptions
2468
2473
  }
2469
2474
 
2470
2475
  export interface RawModuleFilenameTemplateFnCtx {
Binary file
@@ -138,7 +138,7 @@ function __webpack_require__(moduleId) {
138
138
  return module.exports;
139
139
  }
140
140
  var wasi_threads_esm_bundler_process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
141
- var _WebAssembly = 'undefined' != typeof WebAssembly ? WebAssembly : 'undefined' != typeof WXWebAssembly ? WXWebAssembly : void 0;
141
+ var _WebAssembly = "u" > typeof WebAssembly ? WebAssembly : "u" > typeof WXWebAssembly ? WXWebAssembly : void 0;
142
142
  var wasi_threads_esm_bundler_ENVIRONMENT_IS_NODE = 'object' == typeof wasi_threads_esm_bundler_process && null !== wasi_threads_esm_bundler_process && 'object' == typeof wasi_threads_esm_bundler_process.versions && null !== wasi_threads_esm_bundler_process.versions && 'string' == typeof wasi_threads_esm_bundler_process.versions.node;
143
143
  function getPostMessage(options) {
144
144
  return 'function' == typeof (null == options ? void 0 : options.postMessage) ? options.postMessage : 'function' == typeof postMessage ? postMessage : void 0;
@@ -209,7 +209,7 @@ var WASI_THREADS_MAX_TID = 0x1FFFFFFF;
209
209
  function checkSharedWasmMemory(wasmMemory) {
210
210
  if (wasmMemory) {
211
211
  if (!isSharedArrayBuffer(wasmMemory.buffer)) throw new Error("Multithread features require shared wasm memory. Try to compile with `-matomics -mbulk-memory` and use `--import-memory --shared-memory` during linking, then create WebAssembly.Memory with `shared: true` option");
212
- } else if ('undefined' == typeof SharedArrayBuffer) throw new Error('Current environment does not support SharedArrayBuffer, threads are not available!');
212
+ } else if ("u" < typeof SharedArrayBuffer) throw new Error('Current environment does not support SharedArrayBuffer, threads are not available!');
213
213
  }
214
214
  function getReuseWorker(value) {
215
215
  var _a;
@@ -910,7 +910,7 @@ var tslib_es6_assign = function() {
910
910
  return tslib_es6_assign.apply(this, arguments);
911
911
  };
912
912
  var emnapi_core_esm_bundler_process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
913
- var emnapi_core_esm_bundler_WebAssembly = 'undefined' != typeof WebAssembly ? WebAssembly : 'undefined' != typeof WXWebAssembly ? WXWebAssembly : void 0;
913
+ var emnapi_core_esm_bundler_WebAssembly = "u" > typeof WebAssembly ? WebAssembly : "u" > typeof WXWebAssembly ? WXWebAssembly : void 0;
914
914
  function validateImports(imports) {
915
915
  if (imports && 'object' != typeof imports) throw new TypeError('imports must be an object or undefined');
916
916
  return true;
@@ -932,12 +932,12 @@ function load(wasmInput, imports) {
932
932
  module: wasmInput
933
933
  };
934
934
  });
935
- if ('undefined' != typeof Response && wasmInput instanceof Response) return wasmInput.arrayBuffer().then(function(buffer) {
935
+ if ("u" > typeof Response && wasmInput instanceof Response) return wasmInput.arrayBuffer().then(function(buffer) {
936
936
  return emnapi_core_esm_bundler_WebAssembly.instantiate(buffer, imports);
937
937
  });
938
938
  var inputIsString = 'string' == typeof wasmInput;
939
- if (inputIsString || 'undefined' != typeof URL && wasmInput instanceof URL) {
940
- if (inputIsString && 'undefined' != typeof wx && 'undefined' != typeof __wxConfig) return emnapi_core_esm_bundler_WebAssembly.instantiate(wasmInput, imports);
939
+ if (inputIsString || "u" > typeof URL && wasmInput instanceof URL) {
940
+ if (inputIsString && "u" > typeof wx && "u" > typeof __wxConfig) return emnapi_core_esm_bundler_WebAssembly.instantiate(wasmInput, imports);
941
941
  if ('function' != typeof fetch) throw new TypeError('wasm source can not be a string or URL in this environment');
942
942
  if ('function' != typeof emnapi_core_esm_bundler_WebAssembly.instantiateStreaming) return load(fetch(wasmInput), imports);
943
943
  try {
@@ -1181,7 +1181,7 @@ function createNapiModule(options) {
1181
1181
  return ENVIRONMENT_IS_PTHREAD ? 0 : 1;
1182
1182
  }
1183
1183
  function _emnapi_is_main_browser_thread() {
1184
- return 'undefined' == typeof window || 'undefined' == typeof document || ENVIRONMENT_IS_NODE ? 0 : 1;
1184
+ return "u" < typeof window || "u" < typeof document || ENVIRONMENT_IS_NODE ? 0 : 1;
1185
1185
  }
1186
1186
  function _emnapi_unwind() {
1187
1187
  throw 'unwind';
@@ -1710,7 +1710,7 @@ function createNapiModule(options) {
1710
1710
  var isClosing = emnapiTSFN.getIsClosing(func);
1711
1711
  return queueSize >= maxSize && maxSize > 0 && !isClosing;
1712
1712
  };
1713
- var isBrowserMain = 'undefined' != typeof window && 'undefined' != typeof document && !ENVIRONMENT_IS_NODE;
1713
+ var isBrowserMain = "u" > typeof window && "u" > typeof document && !ENVIRONMENT_IS_NODE;
1714
1714
  return mutex.execute(function() {
1715
1715
  while(waitCondition()){
1716
1716
  if (0 === mode) return 15;
@@ -1731,7 +1731,7 @@ function createNapiModule(options) {
1731
1731
  var index = func + emnapiTSFN.offset.mutex;
1732
1732
  var mutex = {
1733
1733
  lock: function() {
1734
- var isBrowserMain = 'undefined' != typeof window && 'undefined' != typeof document && !ENVIRONMENT_IS_NODE;
1734
+ var isBrowserMain = "u" > typeof window && "u" > typeof document && !ENVIRONMENT_IS_NODE;
1735
1735
  var i32a = new Int32Array(wasmMemory.buffer, index, 1);
1736
1736
  if (isBrowserMain) while(true){
1737
1737
  var oldValue = Atomics.compareExchange(i32a, 0, 0, 1);
@@ -6284,7 +6284,7 @@ var emnapi_core_esm_bundler_MessageHandler = /*#__PURE__*/ function(_super) {
6284
6284
  return MessageHandler;
6285
6285
  }(wasi_threads_esm_bundler_ThreadMessageHandler);
6286
6286
  var wasm_util_esm_bundler_process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
6287
- const wasm_util_esm_bundler_WebAssembly = 'undefined' != typeof WebAssembly ? WebAssembly : 'undefined' != typeof WXWebAssembly ? WXWebAssembly : void 0;
6287
+ const wasm_util_esm_bundler_WebAssembly = "u" > typeof WebAssembly ? WebAssembly : "u" > typeof WXWebAssembly ? WXWebAssembly : void 0;
6288
6288
  if (!wasm_util_esm_bundler_WebAssembly) throw new Error('WebAssembly is not supported in this environment');
6289
6289
  function wasm_util_esm_bundler_validateObject(value, name) {
6290
6290
  if (null === value || 'object' != typeof value) throw new TypeError(`${name} must be an object. Received ${null === value ? 'null' : typeof value}`);
@@ -7350,7 +7350,7 @@ class WASI$1 {
7350
7350
  this.sched_yield = syscallWrap(this, 'sched_yield', function() {
7351
7351
  return 0;
7352
7352
  });
7353
- this.random_get = 'undefined' != typeof crypto && 'function' == typeof crypto.getRandomValues ? syscallWrap(this, 'random_get', function(buf, buf_len) {
7353
+ this.random_get = "u" > typeof crypto && 'function' == typeof crypto.getRandomValues ? syscallWrap(this, 'random_get', function(buf, buf_len) {
7354
7354
  buf = Number(buf);
7355
7355
  if (0 === buf) return 28;
7356
7356
  buf_len = Number(buf_len);
@@ -7684,7 +7684,7 @@ class WASI$1 {
7684
7684
  let buffer;
7685
7685
  let nread = 0;
7686
7686
  if (0 === fd) {
7687
- if ('undefined' == typeof window || 'function' != typeof window.prompt) return 58;
7687
+ if ("u" < typeof window || 'function' != typeof window.prompt) return 58;
7688
7688
  buffer = readStdin();
7689
7689
  nread = buffer ? copyMemory(ioVecs, buffer) : 0;
7690
7690
  } else {
@@ -7727,7 +7727,7 @@ class WASI$1 {
7727
7727
  let buffer;
7728
7728
  let nread = 0;
7729
7729
  if (0 === fd) {
7730
- if ('undefined' == typeof window || 'function' != typeof window.prompt) return 58;
7730
+ if ("u" < typeof window || 'function' != typeof window.prompt) return 58;
7731
7731
  buffer = readStdin();
7732
7732
  nread = buffer ? copyMemory(ioVecs, buffer) : 0;
7733
7733
  } else {
@@ -8658,7 +8658,7 @@ function _mergeNamespaces(n, m) {
8658
8658
  });
8659
8659
  return Object.freeze(n);
8660
8660
  }
8661
- var commonjsGlobal = 'undefined' != typeof globalThis ? globalThis : 'undefined' != typeof window ? window : 'undefined' != typeof self ? self : {};
8661
+ var commonjsGlobal = "u" > typeof globalThis ? globalThis : "u" > typeof window ? window : "u" > typeof self ? self : {};
8662
8662
  function getDefaultExportFromCjs(x) {
8663
8663
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8664
8664
  }
@@ -8841,7 +8841,7 @@ function requireBase64Js() {
8841
8841
  base64Js.fromByteArray = fromByteArray;
8842
8842
  var lookup = [];
8843
8843
  var revLookup = [];
8844
- var Arr = 'undefined' != typeof Uint8Array ? Uint8Array : Array;
8844
+ var Arr = "u" > typeof Uint8Array ? Uint8Array : Array;
8845
8845
  var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
8846
8846
  for(var i = 0, len = code.length; i < len; ++i){
8847
8847
  lookup[i] = code[i];
@@ -9012,7 +9012,7 @@ const INSPECT_MAX_BYTES = 50;
9012
9012
  const K_MAX_LENGTH = 0x7fffffff;
9013
9013
  const kMaxLength = K_MAX_LENGTH;
9014
9014
  fs_Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
9015
- if (!fs_Buffer.TYPED_ARRAY_SUPPORT && 'undefined' != typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
9015
+ if (!fs_Buffer.TYPED_ARRAY_SUPPORT && "u" > typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
9016
9016
  function typedArraySupport() {
9017
9017
  try {
9018
9018
  const arr = new Uint8Array(1);
@@ -9061,13 +9061,13 @@ function fs_from(value, encodingOrOffset, length) {
9061
9061
  if (ArrayBuffer.isView(value)) return fromArrayView(value);
9062
9062
  if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
9063
9063
  if (fs_isInstance(value, ArrayBuffer) || value && fs_isInstance(value.buffer, ArrayBuffer)) return fromArrayBuffer(value, encodingOrOffset, length);
9064
- if ('undefined' != typeof SharedArrayBuffer && (fs_isInstance(value, SharedArrayBuffer) || value && fs_isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
9064
+ if ("u" > typeof SharedArrayBuffer && (fs_isInstance(value, SharedArrayBuffer) || value && fs_isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
9065
9065
  if ('number' == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number');
9066
9066
  const valueOf = value.valueOf && value.valueOf();
9067
9067
  if (null != valueOf && valueOf !== value) return fs_Buffer.from(valueOf, encodingOrOffset, length);
9068
9068
  const b = fromObject(value);
9069
9069
  if (b) return b;
9070
- if ('undefined' != typeof Symbol && null != Symbol.toPrimitive && 'function' == typeof value[Symbol.toPrimitive]) return fs_Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length);
9070
+ if ("u" > typeof Symbol && null != Symbol.toPrimitive && 'function' == typeof value[Symbol.toPrimitive]) return fs_Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length);
9071
9071
  throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
9072
9072
  }
9073
9073
  fs_Buffer.from = function(value, encodingOrOffset, length) {
@@ -10253,7 +10253,7 @@ const hexSliceLookupTable = function() {
10253
10253
  return table;
10254
10254
  }();
10255
10255
  function defineBigIntMethod(fn) {
10256
- return 'undefined' == typeof BigInt ? BufferBigIntNotDefined : fn;
10256
+ return "u" < typeof BigInt ? BufferBigIntNotDefined : fn;
10257
10257
  }
10258
10258
  function BufferBigIntNotDefined() {
10259
10259
  throw new Error('BigInt not supported');
@@ -10404,7 +10404,7 @@ function requireErrors$1() {
10404
10404
  exports.message = message;
10405
10405
  exports.E = E;
10406
10406
  const util_1 = requireUtil$4();
10407
- const kCode = 'undefined' == typeof Symbol ? '_kCode' : Symbol('code');
10407
+ const kCode = "u" < typeof Symbol ? '_kCode' : Symbol('code');
10408
10408
  const messages = {};
10409
10409
  function makeNodeError(Base) {
10410
10410
  return class extends Base {
@@ -10416,7 +10416,7 @@ function requireErrors$1() {
10416
10416
  }
10417
10417
  };
10418
10418
  }
10419
- const g = 'undefined' != typeof globalThis ? globalThis : commonjsGlobal;
10419
+ const g = "u" > typeof globalThis ? globalThis : commonjsGlobal;
10420
10420
  class AssertionError extends g.Error {
10421
10421
  constructor(options){
10422
10422
  if ('object' != typeof options || null === options) throw new exports.TypeError('ERR_INVALID_ARG_TYPE', 'options', 'object');
@@ -11677,7 +11677,7 @@ function requireJson() {
11677
11677
  fs_json.flattenJSON = flattenJSON;
11678
11678
  return fs_json;
11679
11679
  }
11680
- var Node = {};
11680
+ var fs_Node = {};
11681
11681
  var fanout = {};
11682
11682
  var hasRequiredFanout;
11683
11683
  function requireFanout() {
@@ -11734,12 +11734,12 @@ function requireProcess() {
11734
11734
  }
11735
11735
  var hasRequiredNode;
11736
11736
  function requireNode() {
11737
- if (hasRequiredNode) return Node;
11737
+ if (hasRequiredNode) return fs_Node;
11738
11738
  hasRequiredNode = 1;
11739
- Object.defineProperty(Node, "__esModule", {
11739
+ Object.defineProperty(fs_Node, "__esModule", {
11740
11740
  value: true
11741
11741
  });
11742
- Node.Node = void 0;
11742
+ fs_Node.Node = void 0;
11743
11743
  const fanout_1 = requireFanout();
11744
11744
  const process_1 = requireProcess();
11745
11745
  const buffer_1 = requireBuffer();
@@ -11947,8 +11947,8 @@ function requireNode() {
11947
11947
  };
11948
11948
  }
11949
11949
  };
11950
- Node.Node = Node$1;
11951
- return Node;
11950
+ fs_Node.Node = Node$1;
11951
+ return fs_Node;
11952
11952
  }
11953
11953
  var fs_Link = {};
11954
11954
  var hasRequiredLink;
@@ -12061,15 +12061,15 @@ function requireLink() {
12061
12061
  fs_Link.Link = Link$1;
12062
12062
  return fs_Link;
12063
12063
  }
12064
- var File = {};
12064
+ var fs_File = {};
12065
12065
  var hasRequiredFile;
12066
12066
  function requireFile() {
12067
- if (hasRequiredFile) return File;
12067
+ if (hasRequiredFile) return fs_File;
12068
12068
  hasRequiredFile = 1;
12069
- Object.defineProperty(File, "__esModule", {
12069
+ Object.defineProperty(fs_File, "__esModule", {
12070
12070
  value: true
12071
12071
  });
12072
- File.File = void 0;
12072
+ fs_File.File = void 0;
12073
12073
  const constants_1 = requireConstants$1();
12074
12074
  const { O_APPEND } = constants_1.constants;
12075
12075
  let File$1 = class {
@@ -12121,8 +12121,8 @@ function requireFile() {
12121
12121
  this.node.chown(uid, gid);
12122
12122
  }
12123
12123
  };
12124
- File.File = File$1;
12125
- return File;
12124
+ fs_File.File = File$1;
12125
+ return fs_File;
12126
12126
  }
12127
12127
  var fs_Superblock = {};
12128
12128
  var constants = {};
@@ -12626,8 +12626,8 @@ function requireObjectInspect() {
12626
12626
  if (isBigInt(obj)) return markBoxed(inspect(bigIntValueOf.call(obj)));
12627
12627
  if (isBoolean(obj)) return markBoxed(booleanValueOf.call(obj));
12628
12628
  if (isString(obj)) return markBoxed(inspect(String(obj)));
12629
- if ('undefined' != typeof window && obj === window) return '{ [object Window] }';
12630
- if ('undefined' != typeof globalThis && obj === globalThis || void 0 !== commonjsGlobal && obj === commonjsGlobal) return '{ [object globalThis] }';
12629
+ if ("u" > typeof window && obj === window) return '{ [object Window] }';
12630
+ if ("u" > typeof globalThis && obj === globalThis || void 0 !== commonjsGlobal && obj === commonjsGlobal) return '{ [object globalThis] }';
12631
12631
  if (!isDate(obj) && !isRegExp(obj)) {
12632
12632
  var ys = arrObjKeys(obj, inspect);
12633
12633
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
@@ -12773,7 +12773,7 @@ function requireObjectInspect() {
12773
12773
  }
12774
12774
  function isElement(x) {
12775
12775
  if (!x || 'object' != typeof x) return false;
12776
- if ('undefined' != typeof HTMLElement && x instanceof HTMLElement) return true;
12776
+ if ("u" > typeof HTMLElement && x instanceof HTMLElement) return true;
12777
12777
  return 'string' == typeof x.nodeName && 'function' == typeof x.getAttribute;
12778
12778
  }
12779
12779
  function inspectString(str, opts) {
@@ -13123,7 +13123,7 @@ var hasRequiredHasSymbols;
13123
13123
  function requireHasSymbols() {
13124
13124
  if (hasRequiredHasSymbols) return fs_hasSymbols;
13125
13125
  hasRequiredHasSymbols = 1;
13126
- var origSymbol = 'undefined' != typeof Symbol && Symbol;
13126
+ var origSymbol = "u" > typeof Symbol && Symbol;
13127
13127
  var hasSymbolSham = requireShams();
13128
13128
  fs_hasSymbols = function() {
13129
13129
  if ('function' != typeof origSymbol) return false;
@@ -13139,7 +13139,7 @@ var hasRequiredReflect_getPrototypeOf;
13139
13139
  function requireReflect_getPrototypeOf() {
13140
13140
  if (hasRequiredReflect_getPrototypeOf) return Reflect_getPrototypeOf;
13141
13141
  hasRequiredReflect_getPrototypeOf = 1;
13142
- Reflect_getPrototypeOf = 'undefined' != typeof Reflect && Reflect.getPrototypeOf || null;
13142
+ Reflect_getPrototypeOf = "u" > typeof Reflect && Reflect.getPrototypeOf || null;
13143
13143
  return Reflect_getPrototypeOf;
13144
13144
  }
13145
13145
  var Object_getPrototypeOf;
@@ -13236,7 +13236,7 @@ var hasRequiredReflectApply;
13236
13236
  function requireReflectApply() {
13237
13237
  if (hasRequiredReflectApply) return reflectApply;
13238
13238
  hasRequiredReflectApply = 1;
13239
- reflectApply = 'undefined' != typeof Reflect && Reflect && Reflect.apply;
13239
+ reflectApply = "u" > typeof Reflect && Reflect && Reflect.apply;
13240
13240
  return reflectApply;
13241
13241
  }
13242
13242
  var actualApply;
@@ -13390,24 +13390,24 @@ function requireGetIntrinsic() {
13390
13390
  var $apply = requireFunctionApply();
13391
13391
  var $call = requireFunctionCall();
13392
13392
  var needsEval = {};
13393
- var TypedArray = 'undefined' != typeof Uint8Array && getProto ? getProto(Uint8Array) : undefined$1;
13393
+ var TypedArray = "u" > typeof Uint8Array && getProto ? getProto(Uint8Array) : undefined$1;
13394
13394
  var INTRINSICS = {
13395
13395
  __proto__: null,
13396
- '%AggregateError%': 'undefined' == typeof AggregateError ? undefined$1 : AggregateError,
13396
+ '%AggregateError%': "u" < typeof AggregateError ? undefined$1 : AggregateError,
13397
13397
  '%Array%': Array,
13398
- '%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? undefined$1 : ArrayBuffer,
13398
+ '%ArrayBuffer%': "u" < typeof ArrayBuffer ? undefined$1 : ArrayBuffer,
13399
13399
  '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
13400
13400
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
13401
13401
  '%AsyncFunction%': needsEval,
13402
13402
  '%AsyncGenerator%': needsEval,
13403
13403
  '%AsyncGeneratorFunction%': needsEval,
13404
13404
  '%AsyncIteratorPrototype%': needsEval,
13405
- '%Atomics%': 'undefined' == typeof Atomics ? undefined$1 : Atomics,
13406
- '%BigInt%': 'undefined' == typeof BigInt ? undefined$1 : BigInt,
13407
- '%BigInt64Array%': 'undefined' == typeof BigInt64Array ? undefined$1 : BigInt64Array,
13408
- '%BigUint64Array%': 'undefined' == typeof BigUint64Array ? undefined$1 : BigUint64Array,
13405
+ '%Atomics%': "u" < typeof Atomics ? undefined$1 : Atomics,
13406
+ '%BigInt%': "u" < typeof BigInt ? undefined$1 : BigInt,
13407
+ '%BigInt64Array%': "u" < typeof BigInt64Array ? undefined$1 : BigInt64Array,
13408
+ '%BigUint64Array%': "u" < typeof BigUint64Array ? undefined$1 : BigUint64Array,
13409
13409
  '%Boolean%': Boolean,
13410
- '%DataView%': 'undefined' == typeof DataView ? undefined$1 : DataView,
13410
+ '%DataView%': "u" < typeof DataView ? undefined$1 : DataView,
13411
13411
  '%Date%': Date,
13412
13412
  '%decodeURI%': decodeURI,
13413
13413
  '%decodeURIComponent%': decodeURIComponent,
@@ -13416,36 +13416,36 @@ function requireGetIntrinsic() {
13416
13416
  '%Error%': $Error,
13417
13417
  '%eval%': eval,
13418
13418
  '%EvalError%': $EvalError,
13419
- '%Float16Array%': 'undefined' == typeof Float16Array ? undefined$1 : Float16Array,
13420
- '%Float32Array%': 'undefined' == typeof Float32Array ? undefined$1 : Float32Array,
13421
- '%Float64Array%': 'undefined' == typeof Float64Array ? undefined$1 : Float64Array,
13422
- '%FinalizationRegistry%': 'undefined' == typeof FinalizationRegistry ? undefined$1 : FinalizationRegistry,
13419
+ '%Float16Array%': "u" < typeof Float16Array ? undefined$1 : Float16Array,
13420
+ '%Float32Array%': "u" < typeof Float32Array ? undefined$1 : Float32Array,
13421
+ '%Float64Array%': "u" < typeof Float64Array ? undefined$1 : Float64Array,
13422
+ '%FinalizationRegistry%': "u" < typeof FinalizationRegistry ? undefined$1 : FinalizationRegistry,
13423
13423
  '%Function%': Function,
13424
13424
  '%GeneratorFunction%': needsEval,
13425
- '%Int8Array%': 'undefined' == typeof Int8Array ? undefined$1 : Int8Array,
13426
- '%Int16Array%': 'undefined' == typeof Int16Array ? undefined$1 : Int16Array,
13427
- '%Int32Array%': 'undefined' == typeof Int32Array ? undefined$1 : Int32Array,
13425
+ '%Int8Array%': "u" < typeof Int8Array ? undefined$1 : Int8Array,
13426
+ '%Int16Array%': "u" < typeof Int16Array ? undefined$1 : Int16Array,
13427
+ '%Int32Array%': "u" < typeof Int32Array ? undefined$1 : Int32Array,
13428
13428
  '%isFinite%': isFinite,
13429
13429
  '%isNaN%': isNaN,
13430
13430
  '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
13431
13431
  '%JSON%': 'object' == typeof JSON ? JSON : undefined$1,
13432
- '%Map%': 'undefined' == typeof Map ? undefined$1 : Map,
13433
- '%MapIteratorPrototype%': 'undefined' != typeof Map && hasSymbols && getProto ? getProto(new Map()[Symbol.iterator]()) : undefined$1,
13432
+ '%Map%': "u" < typeof Map ? undefined$1 : Map,
13433
+ '%MapIteratorPrototype%': "u" > typeof Map && hasSymbols && getProto ? getProto(new Map()[Symbol.iterator]()) : undefined$1,
13434
13434
  '%Math%': Math,
13435
13435
  '%Number%': Number,
13436
13436
  '%Object%': $Object,
13437
13437
  "%Object.getOwnPropertyDescriptor%": $gOPD,
13438
13438
  '%parseFloat%': parseFloat,
13439
13439
  '%parseInt%': parseInt,
13440
- '%Promise%': 'undefined' == typeof Promise ? undefined$1 : Promise,
13441
- '%Proxy%': 'undefined' == typeof Proxy ? undefined$1 : Proxy,
13440
+ '%Promise%': "u" < typeof Promise ? undefined$1 : Promise,
13441
+ '%Proxy%': "u" < typeof Proxy ? undefined$1 : Proxy,
13442
13442
  '%RangeError%': $RangeError,
13443
13443
  '%ReferenceError%': $ReferenceError,
13444
- '%Reflect%': 'undefined' == typeof Reflect ? undefined$1 : Reflect,
13444
+ '%Reflect%': "u" < typeof Reflect ? undefined$1 : Reflect,
13445
13445
  '%RegExp%': RegExp,
13446
- '%Set%': 'undefined' == typeof Set ? undefined$1 : Set,
13447
- '%SetIteratorPrototype%': 'undefined' != typeof Set && hasSymbols && getProto ? getProto(new Set()[Symbol.iterator]()) : undefined$1,
13448
- '%SharedArrayBuffer%': 'undefined' == typeof SharedArrayBuffer ? undefined$1 : SharedArrayBuffer,
13446
+ '%Set%': "u" < typeof Set ? undefined$1 : Set,
13447
+ '%SetIteratorPrototype%': "u" > typeof Set && hasSymbols && getProto ? getProto(new Set()[Symbol.iterator]()) : undefined$1,
13448
+ '%SharedArrayBuffer%': "u" < typeof SharedArrayBuffer ? undefined$1 : SharedArrayBuffer,
13449
13449
  '%String%': String,
13450
13450
  '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
13451
13451
  '%Symbol%': hasSymbols ? Symbol : undefined$1,
@@ -13453,14 +13453,14 @@ function requireGetIntrinsic() {
13453
13453
  '%ThrowTypeError%': ThrowTypeError,
13454
13454
  '%TypedArray%': TypedArray,
13455
13455
  '%TypeError%': $TypeError,
13456
- '%Uint8Array%': 'undefined' == typeof Uint8Array ? undefined$1 : Uint8Array,
13457
- '%Uint8ClampedArray%': 'undefined' == typeof Uint8ClampedArray ? undefined$1 : Uint8ClampedArray,
13458
- '%Uint16Array%': 'undefined' == typeof Uint16Array ? undefined$1 : Uint16Array,
13459
- '%Uint32Array%': 'undefined' == typeof Uint32Array ? undefined$1 : Uint32Array,
13456
+ '%Uint8Array%': "u" < typeof Uint8Array ? undefined$1 : Uint8Array,
13457
+ '%Uint8ClampedArray%': "u" < typeof Uint8ClampedArray ? undefined$1 : Uint8ClampedArray,
13458
+ '%Uint16Array%': "u" < typeof Uint16Array ? undefined$1 : Uint16Array,
13459
+ '%Uint32Array%': "u" < typeof Uint32Array ? undefined$1 : Uint32Array,
13460
13460
  '%URIError%': $URIError,
13461
- '%WeakMap%': 'undefined' == typeof WeakMap ? undefined$1 : WeakMap,
13462
- '%WeakRef%': 'undefined' == typeof WeakRef ? undefined$1 : WeakRef,
13463
- '%WeakSet%': 'undefined' == typeof WeakSet ? undefined$1 : WeakSet,
13461
+ '%WeakMap%': "u" < typeof WeakMap ? undefined$1 : WeakMap,
13462
+ '%WeakRef%': "u" < typeof WeakRef ? undefined$1 : WeakRef,
13463
+ '%WeakSet%': "u" < typeof WeakSet ? undefined$1 : WeakSet,
13464
13464
  '%Function.prototype.call%': $call,
13465
13465
  '%Function.prototype.apply%': $apply,
13466
13466
  '%Object.defineProperty%': $defineProperty,
@@ -15801,7 +15801,7 @@ function requireSetTimeoutUnref() {
15801
15801
  value: true
15802
15802
  });
15803
15803
  function setTimeoutUnref$1(callback, time, args) {
15804
- const ref = setTimeout.apply('undefined' != typeof globalThis ? globalThis : commonjsGlobal, arguments);
15804
+ const ref = setTimeout.apply("u" > typeof globalThis ? globalThis : commonjsGlobal, arguments);
15805
15805
  if (ref && 'object' == typeof ref && 'function' == typeof ref.unref) ref.unref();
15806
15806
  return ref;
15807
15807
  }
@@ -16248,7 +16248,7 @@ var hasRequiredBrowser$1;
16248
16248
  function requireBrowser$1() {
16249
16249
  if (hasRequiredBrowser$1) return browser.exports;
16250
16250
  hasRequiredBrowser$1 = 1;
16251
- const { AbortController, AbortSignal } = "undefined" != typeof self ? self : "undefined" != typeof window ? window : void 0;
16251
+ const { AbortController, AbortSignal } = "u" > typeof self ? self : "u" > typeof window ? window : void 0;
16252
16252
  browser.exports = AbortController;
16253
16253
  browser.exports.AbortSignal = AbortSignal;
16254
16254
  browser.exports.default = AbortController;
@@ -21091,15 +21091,15 @@ function requireFileHandle() {
21091
21091
  fs_FileHandle.FileHandle = FileHandle$1;
21092
21092
  return fs_FileHandle;
21093
21093
  }
21094
- var FsPromises = {};
21094
+ var fs_FsPromises = {};
21095
21095
  var hasRequiredFsPromises;
21096
21096
  function requireFsPromises() {
21097
- if (hasRequiredFsPromises) return FsPromises;
21097
+ if (hasRequiredFsPromises) return fs_FsPromises;
21098
21098
  hasRequiredFsPromises = 1;
21099
- Object.defineProperty(FsPromises, "__esModule", {
21099
+ Object.defineProperty(fs_FsPromises, "__esModule", {
21100
21100
  value: true
21101
21101
  });
21102
- FsPromises.FsPromises = void 0;
21102
+ fs_FsPromises.FsPromises = void 0;
21103
21103
  const util_1 = requireUtil$2();
21104
21104
  const constants_1 = requireConstants$1();
21105
21105
  class FSWatchAsyncIterator {
@@ -21249,8 +21249,8 @@ function requireFsPromises() {
21249
21249
  };
21250
21250
  }
21251
21251
  };
21252
- FsPromises.FsPromises = FsPromises$1;
21253
- return FsPromises;
21252
+ fs_FsPromises.FsPromises = FsPromises$1;
21253
+ return fs_FsPromises;
21254
21254
  }
21255
21255
  var fs_print = {};
21256
21256
  var lib$1 = {};
@@ -21542,15 +21542,15 @@ function requireOptions() {
21542
21542
  })(fs_options);
21543
21543
  return fs_options;
21544
21544
  }
21545
- var Dir = {};
21545
+ var fs_Dir = {};
21546
21546
  var hasRequiredDir;
21547
21547
  function requireDir() {
21548
- if (hasRequiredDir) return Dir;
21548
+ if (hasRequiredDir) return fs_Dir;
21549
21549
  hasRequiredDir = 1;
21550
- Object.defineProperty(Dir, "__esModule", {
21550
+ Object.defineProperty(fs_Dir, "__esModule", {
21551
21551
  value: true
21552
21552
  });
21553
- Dir.Dir = void 0;
21553
+ fs_Dir.Dir = void 0;
21554
21554
  const util_1 = requireUtil$2();
21555
21555
  const Dirent_1 = requireDirent();
21556
21556
  const errors = requireErrors$1();
@@ -21674,8 +21674,8 @@ function requireDir() {
21674
21674
  };
21675
21675
  }
21676
21676
  };
21677
- Dir.Dir = Dir$1;
21678
- return Dir;
21677
+ fs_Dir.Dir = Dir$1;
21678
+ return fs_Dir;
21679
21679
  }
21680
21680
  var glob = {};
21681
21681
  var lib = {};
@@ -23049,7 +23049,7 @@ function requireVolume() {
23049
23049
  }
23050
23050
  start(path, persistent = true, interval = 5007) {
23051
23051
  this.filename = (0, util_2.pathToFilename)(path);
23052
- this.setTimeout = persistent ? setTimeout.bind('undefined' != typeof globalThis ? globalThis : commonjsGlobal) : setTimeoutUnref_1.default;
23052
+ this.setTimeout = persistent ? setTimeout.bind("u" > typeof globalThis ? globalThis : commonjsGlobal) : setTimeoutUnref_1.default;
23053
23053
  this.interval = interval;
23054
23054
  this.prev = this.vol.statSync(this.filename);
23055
23055
  this.loop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/browser",
3
- "version": "1.7.0-canary-a0fc091c-20251217174017",
3
+ "version": "1.7.0-canary-633193aa-20251218194146",
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.",