@lynx-js/rspeedy-canary 0.10.3-canary-20250724-1f9744d9 → 0.10.3-canary-20250724-2d587593

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.10.3-canary-20250724142544-1f9744d914a2a1d47ec066fd156b696cf3580289
3
+ ## 0.10.3-canary-20250724155145-2d58759310296de48085909d46264acbf25b7f97
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -1469,9 +1469,9 @@ export const __webpack_modules__ = {
1469
1469
  if (void 0 === value) return true;
1470
1470
  return "string" == typeof value || "boolean" == typeof value;
1471
1471
  });
1472
- const _io40 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6578"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1472
+ const _io40 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6583"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1473
1473
  if ([
1474
- "__@toStringTag@6578"
1474
+ "__@toStringTag@6583"
1475
1475
  ].some((prop)=>key === prop)) return true;
1476
1476
  const value = input[key];
1477
1477
  if (void 0 === value) return true;
@@ -3076,14 +3076,14 @@ export const __webpack_modules__ = {
3076
3076
  if (void 0 === value) return true;
3077
3077
  return false;
3078
3078
  })));
3079
- const _io148 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6578"] && Object.keys(input).every((key)=>{
3079
+ const _io148 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6583"] && Object.keys(input).every((key)=>{
3080
3080
  if ([
3081
3081
  "BYTES_PER_ELEMENT",
3082
3082
  "buffer",
3083
3083
  "byteLength",
3084
3084
  "byteOffset",
3085
3085
  "length",
3086
- "__@toStringTag@6578"
3086
+ "__@toStringTag@6583"
3087
3087
  ].some((prop)=>key === prop)) return true;
3088
3088
  const value = input[key];
3089
3089
  if (void 0 === value) return true;
@@ -5800,9 +5800,10 @@ export const __webpack_modules__ = {
5800
5800
  if (void 0 === value) return true;
5801
5801
  return false;
5802
5802
  }));
5803
- const _io364 = (input, _exceptionable = true)=>(void 0 === input.minify || "boolean" == typeof input.minify) && null !== input.compress && (void 0 === input.compress || "boolean" == typeof input.compress || "object" == typeof input.compress && null !== input.compress && false === Array.isArray(input.compress) && _io365(input.compress, _exceptionable)) && null !== input.mangle && (void 0 === input.mangle || "boolean" == typeof input.mangle || "object" == typeof input.mangle && null !== input.mangle && false === Array.isArray(input.mangle) && _io366(input.mangle, _exceptionable)) && (void 0 === input.format || "object" == typeof input.format && null !== input.format && false === Array.isArray(input.format) && _io368(input.format, _exceptionable)) && (void 0 === input["module"] || "boolean" == typeof input["module"]) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5803
+ const _io364 = (input, _exceptionable = true)=>(void 0 === input.minify || "boolean" == typeof input.minify) && (void 0 === input.ecma || "string" == typeof input.ecma || "number" == typeof input.ecma) && null !== input.compress && (void 0 === input.compress || "boolean" == typeof input.compress || "object" == typeof input.compress && null !== input.compress && false === Array.isArray(input.compress) && _io365(input.compress, _exceptionable)) && null !== input.mangle && (void 0 === input.mangle || "boolean" == typeof input.mangle || "object" == typeof input.mangle && null !== input.mangle && false === Array.isArray(input.mangle) && _io366(input.mangle, _exceptionable)) && (void 0 === input.format || "object" == typeof input.format && null !== input.format && false === Array.isArray(input.format) && _io368(input.format, _exceptionable)) && (void 0 === input["module"] || "boolean" == typeof input["module"]) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5804
5804
  if ([
5805
5805
  "minify",
5806
+ "ecma",
5806
5807
  "compress",
5807
5808
  "mangle",
5808
5809
  "format",
@@ -6292,9 +6293,9 @@ export const __webpack_modules__ = {
6292
6293
  if (void 0 === value) return true;
6293
6294
  return false;
6294
6295
  }));
6295
- const _io402 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6578"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6296
+ const _io402 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6583"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6296
6297
  if ([
6297
- "__@toStringTag@6578"
6298
+ "__@toStringTag@6583"
6298
6299
  ].some((prop)=>key === prop)) return true;
6299
6300
  const value = input[key];
6300
6301
  if (void 0 === value) return true;
@@ -6883,18 +6884,18 @@ export const __webpack_modules__ = {
6883
6884
  return false;
6884
6885
  })();
6885
6886
  const _iu1 = (input, _exceptionable = true)=>(()=>{
6886
- if (void 0 !== input["__@toStringTag@6578"]) return _io148(input, _exceptionable);
6887
+ if (void 0 !== input["__@toStringTag@6583"]) return _io148(input, _exceptionable);
6887
6888
  if (void 0 !== input.pem) return _io149(input, _exceptionable);
6888
6889
  return false;
6889
6890
  })();
6890
6891
  const _iu2 = (input, _exceptionable = true)=>(()=>{
6891
- if (void 0 !== input["__@toStringTag@6578"]) return _io148(input, _exceptionable);
6892
+ if (void 0 !== input["__@toStringTag@6583"]) return _io148(input, _exceptionable);
6892
6893
  if (void 0 !== input.buf) return _io150(input, _exceptionable);
6893
6894
  return false;
6894
6895
  })();
6895
6896
  const _iu3 = (input, _exceptionable = true)=>(()=>{
6896
6897
  if (void 0 !== input.name) return _io401(input, _exceptionable);
6897
- if (void 0 !== input["__@toStringTag@6578"]) return _io402(input, _exceptionable);
6898
+ if (void 0 !== input["__@toStringTag@6583"]) return _io402(input, _exceptionable);
6898
6899
  return false;
6899
6900
  })();
6900
6901
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -9260,14 +9261,14 @@ export const __webpack_modules__ = {
9260
9261
  }).every((flag)=>flag)
9261
9262
  ].every((flag)=>flag);
9262
9263
  const _vo40 = (input, _path, _exceptionable = true)=>[
9263
- "string" == typeof input["__@toStringTag@6578"] || _report(_exceptionable, {
9264
- path: _path + "[\"__@toStringTag@6578\"]",
9264
+ "string" == typeof input["__@toStringTag@6583"] || _report(_exceptionable, {
9265
+ path: _path + "[\"__@toStringTag@6583\"]",
9265
9266
  expected: "string",
9266
- value: input["__@toStringTag@6578"]
9267
+ value: input["__@toStringTag@6583"]
9267
9268
  }),
9268
9269
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
9269
9270
  if ([
9270
- "__@toStringTag@6578"
9271
+ "__@toStringTag@6583"
9271
9272
  ].some((prop)=>key === prop)) return true;
9272
9273
  const value = input[key];
9273
9274
  if (void 0 === value) return true;
@@ -17820,10 +17821,10 @@ export const __webpack_modules__ = {
17820
17821
  expected: "number",
17821
17822
  value: input.length
17822
17823
  }),
17823
- "Uint8Array" === input["__@toStringTag@6578"] || _report(_exceptionable, {
17824
- path: _path + "[\"__@toStringTag@6578\"]",
17824
+ "Uint8Array" === input["__@toStringTag@6583"] || _report(_exceptionable, {
17825
+ path: _path + "[\"__@toStringTag@6583\"]",
17825
17826
  expected: "\"Uint8Array\"",
17826
- value: input["__@toStringTag@6578"]
17827
+ value: input["__@toStringTag@6583"]
17827
17828
  }),
17828
17829
  false === _exceptionable || Object.keys(input).map((key)=>{
17829
17830
  if ([
@@ -17832,7 +17833,7 @@ export const __webpack_modules__ = {
17832
17833
  "byteLength",
17833
17834
  "byteOffset",
17834
17835
  "length",
17835
- "__@toStringTag@6578"
17836
+ "__@toStringTag@6583"
17836
17837
  ].some((prop)=>key === prop)) return true;
17837
17838
  const value = input[key];
17838
17839
  if (void 0 === value) return true;
@@ -32150,6 +32151,11 @@ export const __webpack_modules__ = {
32150
32151
  expected: "(boolean | undefined)",
32151
32152
  value: input.minify
32152
32153
  }),
32154
+ void 0 === input.ecma || "string" == typeof input.ecma || "number" == typeof input.ecma || _report(_exceptionable, {
32155
+ path: _path + ".ecma",
32156
+ expected: "(number | string | undefined)",
32157
+ value: input.ecma
32158
+ }),
32153
32159
  (null !== input.compress || _report(_exceptionable, {
32154
32160
  path: _path + ".compress",
32155
32161
  expected: "(TerserCompressOptions.o1 | boolean | undefined)",
@@ -32193,6 +32199,7 @@ export const __webpack_modules__ = {
32193
32199
  0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
32194
32200
  if ([
32195
32201
  "minify",
32202
+ "ecma",
32196
32203
  "compress",
32197
32204
  "mangle",
32198
32205
  "format",
@@ -34681,14 +34688,14 @@ export const __webpack_modules__ = {
34681
34688
  }).every((flag)=>flag)
34682
34689
  ].every((flag)=>flag);
34683
34690
  const _vo402 = (input, _path, _exceptionable = true)=>[
34684
- "string" == typeof input["__@toStringTag@6578"] || _report(_exceptionable, {
34685
- path: _path + "[\"__@toStringTag@6578\"]",
34691
+ "string" == typeof input["__@toStringTag@6583"] || _report(_exceptionable, {
34692
+ path: _path + "[\"__@toStringTag@6583\"]",
34686
34693
  expected: "string",
34687
- value: input["__@toStringTag@6578"]
34694
+ value: input["__@toStringTag@6583"]
34688
34695
  }),
34689
34696
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
34690
34697
  if ([
34691
- "__@toStringTag@6578"
34698
+ "__@toStringTag@6583"
34692
34699
  ].some((prop)=>key === prop)) return true;
34693
34700
  const value = input[key];
34694
34701
  if (void 0 === value) return true;
@@ -37425,7 +37432,7 @@ export const __webpack_modules__ = {
37425
37432
  });
37426
37433
  })();
37427
37434
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
37428
- if (void 0 !== input["__@toStringTag@6578"]) return _vo148(input, _path, _exceptionable);
37435
+ if (void 0 !== input["__@toStringTag@6583"]) return _vo148(input, _path, _exceptionable);
37429
37436
  if (void 0 !== input.pem) return _vo149(input, _path, _exceptionable);
37430
37437
  return _report(_exceptionable, {
37431
37438
  path: _path,
@@ -37434,7 +37441,7 @@ export const __webpack_modules__ = {
37434
37441
  });
37435
37442
  })();
37436
37443
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
37437
- if (void 0 !== input["__@toStringTag@6578"]) return _vo148(input, _path, _exceptionable);
37444
+ if (void 0 !== input["__@toStringTag@6583"]) return _vo148(input, _path, _exceptionable);
37438
37445
  if (void 0 !== input.buf) return _vo150(input, _path, _exceptionable);
37439
37446
  return _report(_exceptionable, {
37440
37447
  path: _path,
@@ -37444,7 +37451,7 @@ export const __webpack_modules__ = {
37444
37451
  })();
37445
37452
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
37446
37453
  if (void 0 !== input.name) return _vo401(input, _path, _exceptionable);
37447
- if (void 0 !== input["__@toStringTag@6578"]) return _vo402(input, _path, _exceptionable);
37454
+ if (void 0 !== input["__@toStringTag@6583"]) return _vo402(input, _path, _exceptionable);
37448
37455
  return _report(_exceptionable, {
37449
37456
  path: _path,
37450
37457
  expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
@@ -19,11 +19,11 @@ export const __webpack_modules__ = {
19
19
  config,
20
20
  debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.fF,
21
21
  async exit (code) {
22
- const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
22
+ const { exit } = await __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
23
23
  return exit(code);
24
24
  },
25
25
  logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
26
- version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
26
+ version: _version_js__WEBPACK_IMPORTED_MODULE_2__.i8
27
27
  });
28
28
  }
29
29
  };
@@ -7,8 +7,10 @@ export const __webpack_modules__ = {
7
7
  __webpack_require__.d(__webpack_exports__, {
8
8
  pluginRsdoctor: ()=>pluginRsdoctor
9
9
  });
10
- var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
11
- var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
10
+ var core_ = __webpack_require__("@rsbuild/core");
11
+ function isCI() {
12
+ return !!process.env['CI'] && 'false' !== process.env['CI'];
13
+ }
12
14
  function pluginRsdoctor(options) {
13
15
  return {
14
16
  name: 'lynx:rsbuild:rsdoctor',
@@ -25,7 +27,7 @@ export const __webpack_modules__ = {
25
27
  if (registered) continue;
26
28
  config.plugins ??= [];
27
29
  const defaultOptions = {
28
- disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.y)(),
30
+ disableClientServer: isCI(),
29
31
  supports: {
30
32
  banner: true
31
33
  },
@@ -40,20 +42,12 @@ export const __webpack_modules__ = {
40
42
  }
41
43
  }
42
44
  };
43
- config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
45
+ config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
44
46
  }
45
- _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
47
+ core_.logger.info("Rsdoctor is enabled.");
46
48
  });
47
49
  }
48
50
  };
49
51
  }
50
- },
51
- "./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
52
- __webpack_require__.d(__webpack_exports__, {
53
- y: ()=>isCI
54
- });
55
- function isCI() {
56
- return !!process.env['CI'] && 'false' !== process.env['CI'];
57
- }
58
52
  }
59
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.10.3-canary-20250724-1f9744d9",
3
+ "version": "0.10.3-canary-20250724-2d587593",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",