@rspack-debug/browser 2.0.0-beta.2 → 2.0.0-beta.3
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/builtin-plugin/ProgressPlugin.d.ts +5 -4
- package/dist/config/types.d.ts +6 -0
- package/dist/exports.d.ts +1 -1
- package/dist/index.js +131 -129
- package/dist/napi-binding.d.ts +17 -1
- package/package.json +2 -2
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { type RawProgressPluginOptions } from '../binding';
|
|
2
|
-
export type
|
|
1
|
+
import { type RawProgressPluginHandlerInfo, type RawProgressPluginOptions } from '../binding';
|
|
2
|
+
export type ProgressPluginOptions = Partial<Omit<RawProgressPluginOptions, 'handler'>> | ((percentage: number, msg: string, info: RawProgressPluginHandlerInfo) => void) | undefined;
|
|
3
|
+
export type ProgressPluginHandlerInfo = RawProgressPluginHandlerInfo;
|
|
3
4
|
export declare const ProgressPlugin: {
|
|
4
|
-
new (progress?:
|
|
5
|
+
new (progress?: ProgressPluginOptions): {
|
|
5
6
|
name: string;
|
|
6
|
-
_args: [progress?:
|
|
7
|
+
_args: [progress?: ProgressPluginOptions];
|
|
7
8
|
affectedHooks: keyof import("..").CompilerHooks | undefined;
|
|
8
9
|
raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
|
|
9
10
|
apply(compiler: import("..").Compiler): void;
|
package/dist/config/types.d.ts
CHANGED
|
@@ -601,6 +601,8 @@ export type ResolveOptions = {
|
|
|
601
601
|
byDependency?: Record<string, ResolveOptions>;
|
|
602
602
|
/** enable Yarn PnP */
|
|
603
603
|
pnp?: boolean;
|
|
604
|
+
/** Path to PnP manifest file */
|
|
605
|
+
pnpManifest?: string | false;
|
|
604
606
|
};
|
|
605
607
|
/** Used to configure the Rspack module resolution */
|
|
606
608
|
export type Resolve = ResolveOptions;
|
|
@@ -2085,6 +2087,10 @@ export type Incremental = {
|
|
|
2085
2087
|
* Enable incremental build chunk graph.
|
|
2086
2088
|
*/
|
|
2087
2089
|
buildChunkGraph?: boolean;
|
|
2090
|
+
/**
|
|
2091
|
+
* Enable incremental optimize chunk modules.
|
|
2092
|
+
*/
|
|
2093
|
+
optimizeChunkModules?: boolean;
|
|
2088
2094
|
/**
|
|
2089
2095
|
* Enable incremental module ids.
|
|
2090
2096
|
*/
|
package/dist/exports.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare const util: {
|
|
|
46
46
|
createHash: (algorithm: "xxhash64" | "md4" | "native-md4" | (string & {}) | (new () => import("./util/hash").default)) => import("./util/hash").default;
|
|
47
47
|
cleverMerge: <First, Second>(first: First, second: Second) => First | Second | (First & Second);
|
|
48
48
|
};
|
|
49
|
-
export type { BannerPluginArgument, DefinePluginOptions, EntryOptions,
|
|
49
|
+
export type { BannerPluginArgument, DefinePluginOptions, EntryOptions, ProgressPluginHandlerInfo, ProgressPluginOptions, ProvidePluginOptions, } from './builtin-plugin';
|
|
50
50
|
export { BannerPlugin, CaseSensitivePlugin, DefinePlugin, DynamicEntryPlugin, EntryPlugin, ExternalsPlugin, HotModuleReplacementPlugin, IgnorePlugin, type IgnorePluginOptions, NoEmitOnErrorsPlugin, ProgressPlugin, ProvidePlugin, RuntimePlugin, } from './builtin-plugin';
|
|
51
51
|
export { DllPlugin, type DllPluginOptions } from './lib/DllPlugin';
|
|
52
52
|
export { DllReferencePlugin, type DllReferencePluginOptions, type DllReferencePluginOptionsContent, type DllReferencePluginOptionsManifest, type DllReferencePluginOptionsSourceType, } from './lib/DllReferencePlugin';
|
package/dist/index.js
CHANGED
|
@@ -14566,9 +14566,9 @@ __webpack_require__.add({
|
|
|
14566
14566
|
}
|
|
14567
14567
|
utils.intFromLE = intFromLE;
|
|
14568
14568
|
},
|
|
14569
|
-
"../../node_modules/.pnpm/enhanced-resolve@5.
|
|
14569
|
+
"../../node_modules/.pnpm/enhanced-resolve@5.19.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
14570
14570
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
14571
|
-
const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.
|
|
14571
|
+
const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.19.0/node_modules/enhanced-resolve/lib/util/process-browser.js");
|
|
14572
14572
|
const dirname = (path)=>{
|
|
14573
14573
|
let idx = path.length - 1;
|
|
14574
14574
|
while(idx >= 0){
|
|
@@ -14862,7 +14862,7 @@ __webpack_require__.add({
|
|
|
14862
14862
|
}
|
|
14863
14863
|
};
|
|
14864
14864
|
},
|
|
14865
|
-
"../../node_modules/.pnpm/enhanced-resolve@5.
|
|
14865
|
+
"../../node_modules/.pnpm/enhanced-resolve@5.19.0/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
|
|
14866
14866
|
module.exports = {
|
|
14867
14867
|
versions: {},
|
|
14868
14868
|
nextTick (fn) {
|
|
@@ -33145,13 +33145,13 @@ __webpack_require__.add({
|
|
|
33145
33145
|
}
|
|
33146
33146
|
module.exports = Watchpack;
|
|
33147
33147
|
},
|
|
33148
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33148
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CachedSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33149
33149
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
33150
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33151
|
-
const streamAndGetSourceAndMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33152
|
-
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33153
|
-
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33154
|
-
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33150
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33151
|
+
const streamAndGetSourceAndMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js");
|
|
33152
|
+
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
|
|
33153
|
+
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js");
|
|
33154
|
+
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
|
|
33155
33155
|
const mapToBufferedMap = (map)=>{
|
|
33156
33156
|
if ("object" != typeof map || !map) return map;
|
|
33157
33157
|
const bufferedMap = {
|
|
@@ -33333,8 +33333,8 @@ __webpack_require__.add({
|
|
|
33333
33333
|
}
|
|
33334
33334
|
module.exports = CachedSource;
|
|
33335
33335
|
},
|
|
33336
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33337
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33336
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CompatSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33337
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33338
33338
|
class CompatSource extends Source {
|
|
33339
33339
|
static from(sourceLike) {
|
|
33340
33340
|
return sourceLike instanceof Source ? sourceLike : new CompatSource(sourceLike);
|
|
@@ -33370,12 +33370,12 @@ __webpack_require__.add({
|
|
|
33370
33370
|
}
|
|
33371
33371
|
module.exports = CompatSource;
|
|
33372
33372
|
},
|
|
33373
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33373
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ConcatSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33374
33374
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
33375
|
-
const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33376
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33377
|
-
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33378
|
-
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33375
|
+
const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
|
|
33376
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33377
|
+
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
|
|
33378
|
+
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunks.js");
|
|
33379
33379
|
const stringsAsRawSources = new WeakSet();
|
|
33380
33380
|
class ConcatSource extends Source {
|
|
33381
33381
|
constructor(...args){
|
|
@@ -33546,14 +33546,14 @@ __webpack_require__.add({
|
|
|
33546
33546
|
}
|
|
33547
33547
|
module.exports = ConcatSource;
|
|
33548
33548
|
},
|
|
33549
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33549
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/OriginalSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33550
33550
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
33551
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33552
|
-
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33553
|
-
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33554
|
-
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33555
|
-
const splitIntoPotentialTokens = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33556
|
-
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33551
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33552
|
+
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
|
|
33553
|
+
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js");
|
|
33554
|
+
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js");
|
|
33555
|
+
const splitIntoPotentialTokens = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js");
|
|
33556
|
+
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
|
|
33557
33557
|
class OriginalSource extends Source {
|
|
33558
33558
|
constructor(value, name){
|
|
33559
33559
|
super();
|
|
@@ -33647,18 +33647,18 @@ __webpack_require__.add({
|
|
|
33647
33647
|
}
|
|
33648
33648
|
module.exports = OriginalSource;
|
|
33649
33649
|
},
|
|
33650
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33650
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/PrefixSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33651
33651
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
33652
|
-
const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33653
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33654
|
-
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33655
|
-
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33652
|
+
const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
|
|
33653
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33654
|
+
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
|
|
33655
|
+
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunks.js");
|
|
33656
33656
|
const REPLACE_REGEX = /\n(?=.|\s)/g;
|
|
33657
33657
|
class PrefixSource extends Source {
|
|
33658
33658
|
constructor(prefix, source){
|
|
33659
33659
|
super();
|
|
33660
|
-
this._source = "string" == typeof source || Buffer.isBuffer(source) ? new RawSource(source, true) : source;
|
|
33661
33660
|
this._prefix = prefix;
|
|
33661
|
+
this._source = "string" == typeof source || Buffer.isBuffer(source) ? new RawSource(source, true) : source;
|
|
33662
33662
|
}
|
|
33663
33663
|
getPrefix() {
|
|
33664
33664
|
return this._prefix;
|
|
@@ -33706,11 +33706,11 @@ __webpack_require__.add({
|
|
|
33706
33706
|
}
|
|
33707
33707
|
module.exports = PrefixSource;
|
|
33708
33708
|
},
|
|
33709
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33709
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33710
33710
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
33711
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33712
|
-
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33713
|
-
const { internString, isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33711
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33712
|
+
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
|
|
33713
|
+
const { internString, isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
|
|
33714
33714
|
class RawSource extends Source {
|
|
33715
33715
|
constructor(value, convertToString = false){
|
|
33716
33716
|
super();
|
|
@@ -33760,12 +33760,12 @@ __webpack_require__.add({
|
|
|
33760
33760
|
}
|
|
33761
33761
|
module.exports = RawSource;
|
|
33762
33762
|
},
|
|
33763
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33763
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ReplaceSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
33764
33764
|
var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
|
|
33765
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33766
|
-
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33767
|
-
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33768
|
-
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
33765
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
33766
|
+
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
|
|
33767
|
+
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js");
|
|
33768
|
+
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunks.js");
|
|
33769
33769
|
const hasStableSort = "object" == typeof process && process.versions && "string" == typeof process.versions.v8 && !/^[0-6]\./.test(process.versions.v8);
|
|
33770
33770
|
const MAX_SOURCE_POSITION = 0x20000000;
|
|
33771
33771
|
class Replacement {
|
|
@@ -34036,8 +34036,8 @@ __webpack_require__.add({
|
|
|
34036
34036
|
module.exports = ReplaceSource;
|
|
34037
34037
|
module.exports.Replacement = Replacement;
|
|
34038
34038
|
},
|
|
34039
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34040
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34039
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SizeOnlySource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34040
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
34041
34041
|
class SizeOnlySource extends Source {
|
|
34042
34042
|
constructor(size){
|
|
34043
34043
|
super();
|
|
@@ -34064,7 +34064,7 @@ __webpack_require__.add({
|
|
|
34064
34064
|
}
|
|
34065
34065
|
module.exports = SizeOnlySource;
|
|
34066
34066
|
},
|
|
34067
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34067
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34068
34068
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
34069
34069
|
class Source {
|
|
34070
34070
|
source() {
|
|
@@ -34093,13 +34093,13 @@ __webpack_require__.add({
|
|
|
34093
34093
|
}
|
|
34094
34094
|
module.exports = Source;
|
|
34095
34095
|
},
|
|
34096
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34096
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SourceMapSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34097
34097
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
34098
|
-
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34099
|
-
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34100
|
-
const streamChunksOfCombinedSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34101
|
-
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34102
|
-
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34098
|
+
const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
34099
|
+
const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
|
|
34100
|
+
const streamChunksOfCombinedSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js");
|
|
34101
|
+
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js");
|
|
34102
|
+
const { isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
|
|
34103
34103
|
class SourceMapSource extends Source {
|
|
34104
34104
|
constructor(value, name, sourceMap, originalSource, innerSourceMap, removeOriginalSource){
|
|
34105
34105
|
super();
|
|
@@ -34120,7 +34120,7 @@ __webpack_require__.add({
|
|
|
34120
34120
|
this._hasInnerSourceMap = Boolean(innerSourceMap);
|
|
34121
34121
|
const innerSourceMapIsBuffer = Buffer.isBuffer(innerSourceMap);
|
|
34122
34122
|
const innerSourceMapIsString = "string" == typeof innerSourceMap;
|
|
34123
|
-
this._innerSourceMapAsObject = innerSourceMapIsBuffer || innerSourceMapIsString ? void 0 : innerSourceMap;
|
|
34123
|
+
this._innerSourceMapAsObject = innerSourceMapIsBuffer || innerSourceMapIsString ? void 0 : innerSourceMap || void 0;
|
|
34124
34124
|
this._innerSourceMapAsString = innerSourceMapIsString ? innerSourceMap : void 0;
|
|
34125
34125
|
this._innerSourceMapAsBuffer = innerSourceMapIsBuffer ? innerSourceMap : void 0;
|
|
34126
34126
|
this._removeOriginalSource = removeOriginalSource;
|
|
@@ -34251,7 +34251,7 @@ __webpack_require__.add({
|
|
|
34251
34251
|
}
|
|
34252
34252
|
module.exports = SourceMapSource;
|
|
34253
34253
|
},
|
|
34254
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34254
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js" (module) {
|
|
34255
34255
|
const ALPHABET = [
|
|
34256
34256
|
..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
|
34257
34257
|
];
|
|
@@ -34390,20 +34390,19 @@ __webpack_require__.add({
|
|
|
34390
34390
|
};
|
|
34391
34391
|
module.exports = createMappingsSerializer;
|
|
34392
34392
|
},
|
|
34393
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34394
|
-
const createMappingsSerializer = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34395
|
-
module.exports.
|
|
34396
|
-
let code = "";
|
|
34393
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34394
|
+
const createMappingsSerializer = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js");
|
|
34395
|
+
module.exports.getMap = (source, options)=>{
|
|
34397
34396
|
let mappings = "";
|
|
34398
34397
|
const potentialSources = [];
|
|
34399
34398
|
const potentialSourcesContent = [];
|
|
34400
34399
|
const potentialNames = [];
|
|
34401
34400
|
const addMapping = createMappingsSerializer(options);
|
|
34402
|
-
|
|
34401
|
+
source.streamChunks({
|
|
34403
34402
|
...options,
|
|
34403
|
+
source: false,
|
|
34404
34404
|
finalSource: true
|
|
34405
34405
|
}, (chunk, generatedLine, generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex)=>{
|
|
34406
|
-
if (void 0 !== chunk) code += chunk;
|
|
34407
34406
|
mappings += addMapping(generatedLine, generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex);
|
|
34408
34407
|
}, (sourceIndex, source, sourceContent)=>{
|
|
34409
34408
|
while(potentialSources.length < sourceIndex)potentialSources.push(null);
|
|
@@ -34416,29 +34415,27 @@ __webpack_require__.add({
|
|
|
34416
34415
|
while(potentialNames.length < nameIndex)potentialNames.push(null);
|
|
34417
34416
|
potentialNames[nameIndex] = name;
|
|
34418
34417
|
});
|
|
34419
|
-
return {
|
|
34420
|
-
|
|
34421
|
-
|
|
34422
|
-
|
|
34423
|
-
|
|
34424
|
-
|
|
34425
|
-
|
|
34426
|
-
|
|
34427
|
-
names: potentialNames
|
|
34428
|
-
} : null
|
|
34429
|
-
};
|
|
34418
|
+
return mappings.length > 0 ? {
|
|
34419
|
+
version: 3,
|
|
34420
|
+
file: "x",
|
|
34421
|
+
mappings,
|
|
34422
|
+
sources: potentialSources,
|
|
34423
|
+
sourcesContent: potentialSourcesContent.length > 0 ? potentialSourcesContent : void 0,
|
|
34424
|
+
names: potentialNames
|
|
34425
|
+
} : null;
|
|
34430
34426
|
};
|
|
34431
|
-
module.exports.
|
|
34427
|
+
module.exports.getSourceAndMap = (inputSource, options)=>{
|
|
34428
|
+
let code = "";
|
|
34432
34429
|
let mappings = "";
|
|
34433
34430
|
const potentialSources = [];
|
|
34434
34431
|
const potentialSourcesContent = [];
|
|
34435
34432
|
const potentialNames = [];
|
|
34436
34433
|
const addMapping = createMappingsSerializer(options);
|
|
34437
|
-
source.streamChunks({
|
|
34434
|
+
const { source } = inputSource.streamChunks({
|
|
34438
34435
|
...options,
|
|
34439
|
-
source: false,
|
|
34440
34436
|
finalSource: true
|
|
34441
34437
|
}, (chunk, generatedLine, generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex)=>{
|
|
34438
|
+
if (void 0 !== chunk) code += chunk;
|
|
34442
34439
|
mappings += addMapping(generatedLine, generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex);
|
|
34443
34440
|
}, (sourceIndex, source, sourceContent)=>{
|
|
34444
34441
|
while(potentialSources.length < sourceIndex)potentialSources.push(null);
|
|
@@ -34451,17 +34448,20 @@ __webpack_require__.add({
|
|
|
34451
34448
|
while(potentialNames.length < nameIndex)potentialNames.push(null);
|
|
34452
34449
|
potentialNames[nameIndex] = name;
|
|
34453
34450
|
});
|
|
34454
|
-
return
|
|
34455
|
-
|
|
34456
|
-
|
|
34457
|
-
|
|
34458
|
-
|
|
34459
|
-
|
|
34460
|
-
|
|
34461
|
-
|
|
34451
|
+
return {
|
|
34452
|
+
source: void 0 !== source ? source : code,
|
|
34453
|
+
map: mappings.length > 0 ? {
|
|
34454
|
+
version: 3,
|
|
34455
|
+
file: "x",
|
|
34456
|
+
mappings,
|
|
34457
|
+
sources: potentialSources,
|
|
34458
|
+
sourcesContent: potentialSourcesContent.length > 0 ? potentialSourcesContent : void 0,
|
|
34459
|
+
names: potentialNames
|
|
34460
|
+
} : null
|
|
34461
|
+
};
|
|
34462
34462
|
};
|
|
34463
34463
|
},
|
|
34464
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34464
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js" (module) {
|
|
34465
34465
|
const CHAR_CODE_NEW_LINE = "\n".charCodeAt(0);
|
|
34466
34466
|
const getGeneratedSourceInfo = (source)=>{
|
|
34467
34467
|
if (void 0 === source) return {};
|
|
@@ -34481,7 +34481,7 @@ __webpack_require__.add({
|
|
|
34481
34481
|
};
|
|
34482
34482
|
module.exports = getGeneratedSourceInfo;
|
|
34483
34483
|
},
|
|
34484
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34484
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getSource.js" (module) {
|
|
34485
34485
|
const getSource = (sourceMap, index)=>{
|
|
34486
34486
|
if (index < 0) return null;
|
|
34487
34487
|
const { sourceRoot, sources } = sourceMap;
|
|
@@ -34492,7 +34492,7 @@ __webpack_require__.add({
|
|
|
34492
34492
|
};
|
|
34493
34493
|
module.exports = getSource;
|
|
34494
34494
|
},
|
|
34495
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34495
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/readMappings.js" (module) {
|
|
34496
34496
|
const ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
34497
34497
|
const CONTINUATION_BIT = 0x20;
|
|
34498
34498
|
const END_SEGMENT_BIT = 0x40;
|
|
@@ -34552,7 +34552,7 @@ __webpack_require__.add({
|
|
|
34552
34552
|
};
|
|
34553
34553
|
module.exports = readMappings;
|
|
34554
34554
|
},
|
|
34555
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34555
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js" (module) {
|
|
34556
34556
|
const splitIntoLines = (str)=>{
|
|
34557
34557
|
const results = [];
|
|
34558
34558
|
const len = str.length;
|
|
@@ -34573,7 +34573,7 @@ __webpack_require__.add({
|
|
|
34573
34573
|
};
|
|
34574
34574
|
module.exports = splitIntoLines;
|
|
34575
34575
|
},
|
|
34576
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34576
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js" (module) {
|
|
34577
34577
|
const splitIntoPotentialTokens = (str)=>{
|
|
34578
34578
|
const len = str.length;
|
|
34579
34579
|
if (0 === len) return null;
|
|
@@ -34599,9 +34599,9 @@ __webpack_require__.add({
|
|
|
34599
34599
|
};
|
|
34600
34600
|
module.exports = splitIntoPotentialTokens;
|
|
34601
34601
|
},
|
|
34602
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34603
|
-
const createMappingsSerializer = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34604
|
-
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34602
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34603
|
+
const createMappingsSerializer = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js");
|
|
34604
|
+
const streamChunks = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunks.js");
|
|
34605
34605
|
const streamAndGetSourceAndMap = (inputSource, options, onChunk, onSource, onName)=>{
|
|
34606
34606
|
let code = "";
|
|
34607
34607
|
let mappings = "";
|
|
@@ -34650,9 +34650,9 @@ __webpack_require__.add({
|
|
|
34650
34650
|
};
|
|
34651
34651
|
module.exports = streamAndGetSourceAndMap;
|
|
34652
34652
|
},
|
|
34653
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34654
|
-
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34655
|
-
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34653
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunks.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34654
|
+
const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
|
|
34655
|
+
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js");
|
|
34656
34656
|
module.exports = (source, options, onChunk, onSource, onName)=>{
|
|
34657
34657
|
if ("function" == typeof source.streamChunks) return source.streamChunks(options, onChunk, onSource, onName);
|
|
34658
34658
|
const sourceAndMap = source.sourceAndMap(options);
|
|
@@ -34660,9 +34660,9 @@ __webpack_require__.add({
|
|
|
34660
34660
|
return streamChunksOfRawSource(sourceAndMap.source, onChunk, onSource, onName, Boolean(options && options.finalSource));
|
|
34661
34661
|
};
|
|
34662
34662
|
},
|
|
34663
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34664
|
-
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34665
|
-
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34663
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34664
|
+
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js");
|
|
34665
|
+
const streamChunksOfSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js");
|
|
34666
34666
|
const streamChunksOfCombinedSourceMap = (source, sourceMap, innerSourceName, innerSource, innerSourceMap, removeInnerSource, onChunk, onSource, onName, finalSource, columns)=>{
|
|
34667
34667
|
const sourceMapping = new Map();
|
|
34668
34668
|
const nameMapping = new Map();
|
|
@@ -34849,9 +34849,9 @@ __webpack_require__.add({
|
|
|
34849
34849
|
};
|
|
34850
34850
|
module.exports = streamChunksOfCombinedSourceMap;
|
|
34851
34851
|
},
|
|
34852
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34853
|
-
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34854
|
-
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34852
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34853
|
+
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js");
|
|
34854
|
+
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js");
|
|
34855
34855
|
const streamChunksOfRawSource = (source, onChunk, _onSource, _onName)=>{
|
|
34856
34856
|
let line = 1;
|
|
34857
34857
|
const matches = splitIntoLines(source);
|
|
@@ -34870,11 +34870,11 @@ __webpack_require__.add({
|
|
|
34870
34870
|
};
|
|
34871
34871
|
module.exports = (source, onChunk, onSource, onName, finalSource)=>finalSource ? getGeneratedSourceInfo(source) : streamChunksOfRawSource(source, onChunk, onSource, onName);
|
|
34872
34872
|
},
|
|
34873
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34874
|
-
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34875
|
-
const getSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34876
|
-
const readMappings = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34877
|
-
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
34873
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
34874
|
+
const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js");
|
|
34875
|
+
const getSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getSource.js");
|
|
34876
|
+
const readMappings = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/readMappings.js");
|
|
34877
|
+
const splitIntoLines = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/splitIntoLines.js");
|
|
34878
34878
|
const streamChunksOfSourceMapFull = (source, sourceMap, onChunk, onSource, onName)=>{
|
|
34879
34879
|
const lines = splitIntoLines(source);
|
|
34880
34880
|
if (0 === lines.length) return {
|
|
@@ -35023,7 +35023,7 @@ __webpack_require__.add({
|
|
|
35023
35023
|
return finalSource ? streamChunksOfSourceMapLinesFinal(source, sourceMap, onChunk, onSource, onName) : streamChunksOfSourceMapLinesFull(source, sourceMap, onChunk, onSource, onName);
|
|
35024
35024
|
};
|
|
35025
35025
|
},
|
|
35026
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35026
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js" (module) {
|
|
35027
35027
|
let dualStringBufferCaching = true;
|
|
35028
35028
|
function isDualStringBufferCachingEnabled() {
|
|
35029
35029
|
return dualStringBufferCaching;
|
|
@@ -35060,13 +35060,13 @@ __webpack_require__.add({
|
|
|
35060
35060
|
module.exports = {
|
|
35061
35061
|
disableDualStringBufferCaching,
|
|
35062
35062
|
enableDualStringBufferCaching,
|
|
35063
|
-
internString,
|
|
35064
|
-
isDualStringBufferCachingEnabled,
|
|
35065
35063
|
enterStringInterningRange,
|
|
35066
|
-
exitStringInterningRange
|
|
35064
|
+
exitStringInterningRange,
|
|
35065
|
+
internString,
|
|
35066
|
+
isDualStringBufferCachingEnabled
|
|
35067
35067
|
};
|
|
35068
35068
|
},
|
|
35069
|
-
"../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35069
|
+
"../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
35070
35070
|
const memoize = (fn)=>{
|
|
35071
35071
|
let cache = false;
|
|
35072
35072
|
let result;
|
|
@@ -35101,38 +35101,38 @@ __webpack_require__.add({
|
|
|
35101
35101
|
};
|
|
35102
35102
|
module.exports = mergeExports({}, {
|
|
35103
35103
|
get Source () {
|
|
35104
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35104
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
|
|
35105
35105
|
},
|
|
35106
35106
|
get RawSource () {
|
|
35107
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35107
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
|
|
35108
35108
|
},
|
|
35109
35109
|
get OriginalSource () {
|
|
35110
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35110
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/OriginalSource.js");
|
|
35111
35111
|
},
|
|
35112
35112
|
get SourceMapSource () {
|
|
35113
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35113
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SourceMapSource.js");
|
|
35114
35114
|
},
|
|
35115
35115
|
get CachedSource () {
|
|
35116
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35116
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CachedSource.js");
|
|
35117
35117
|
},
|
|
35118
35118
|
get ConcatSource () {
|
|
35119
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35119
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ConcatSource.js");
|
|
35120
35120
|
},
|
|
35121
35121
|
get ReplaceSource () {
|
|
35122
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35122
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ReplaceSource.js");
|
|
35123
35123
|
},
|
|
35124
35124
|
get PrefixSource () {
|
|
35125
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35125
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/PrefixSource.js");
|
|
35126
35126
|
},
|
|
35127
35127
|
get SizeOnlySource () {
|
|
35128
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35128
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SizeOnlySource.js");
|
|
35129
35129
|
},
|
|
35130
35130
|
get CompatSource () {
|
|
35131
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35131
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CompatSource.js");
|
|
35132
35132
|
},
|
|
35133
35133
|
util: {
|
|
35134
35134
|
get stringBufferUtils () {
|
|
35135
|
-
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
35135
|
+
return __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
|
|
35136
35136
|
}
|
|
35137
35137
|
}
|
|
35138
35138
|
});
|
|
@@ -50349,7 +50349,7 @@ const LogType = Object.freeze({
|
|
|
50349
50349
|
cache: 'cache'
|
|
50350
50350
|
});
|
|
50351
50351
|
function getLogTypeBitFlag(type) {
|
|
50352
|
-
return 1 << Object.values(LogType).
|
|
50352
|
+
return 1 << Object.values(LogType).indexOf(type);
|
|
50353
50353
|
}
|
|
50354
50354
|
function getLogTypesBitFlag(types) {
|
|
50355
50355
|
return types.reduce((acc, cur)=>acc | getLogTypeBitFlag(cur), 0);
|
|
@@ -51325,7 +51325,7 @@ function createFakeCompilationDependencies(getDeps, addDeps) {
|
|
|
51325
51325
|
}
|
|
51326
51326
|
};
|
|
51327
51327
|
}
|
|
51328
|
-
const lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.
|
|
51328
|
+
const lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/index.js");
|
|
51329
51329
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
51330
51330
|
class SourceAdapter {
|
|
51331
51331
|
static fromBinding(source) {
|
|
@@ -51612,14 +51612,14 @@ function createDiagnosticArray(adm) {
|
|
|
51612
51612
|
const proxy = new Proxy(array, {
|
|
51613
51613
|
get (target, name) {
|
|
51614
51614
|
if ('length' === name) return adm.length;
|
|
51615
|
-
if ('string' == typeof name && !Number.isNaN(Number.parseInt(name))) return adm.get(Number.parseInt(name));
|
|
51615
|
+
if ('string' == typeof name && !Number.isNaN(Number.parseInt(name, 10))) return adm.get(Number.parseInt(name, 10));
|
|
51616
51616
|
if (Object.prototype.hasOwnProperty.call(arrayExtensions, name)) return arrayExtensions[name];
|
|
51617
51617
|
return target[name];
|
|
51618
51618
|
},
|
|
51619
51619
|
set (target, name, value) {
|
|
51620
51620
|
if ('length' === name) throw new Error("The 'length' property is read-only and cannot be assigned a new value.");
|
|
51621
|
-
if ('symbol' == typeof name || Number.isNaN(Number.parseInt(name))) target[name] = value;
|
|
51622
|
-
else adm.set(Number.parseInt(name), value);
|
|
51621
|
+
if ('symbol' == typeof name || Number.isNaN(Number.parseInt(name, 10))) target[name] = value;
|
|
51622
|
+
else adm.set(Number.parseInt(name, 10), value);
|
|
51623
51623
|
return true;
|
|
51624
51624
|
}
|
|
51625
51625
|
});
|
|
@@ -55603,8 +55603,8 @@ const OccurrenceChunkIdsPlugin = base_create(external_rspack_wasi_browser_js_.Bu
|
|
|
55603
55603
|
}), 'compilation');
|
|
55604
55604
|
const ProgressPlugin = base_create(external_rspack_wasi_browser_js_.BuiltinPluginName.ProgressPlugin, (progress = {})=>{
|
|
55605
55605
|
if ('function' == typeof progress) return {
|
|
55606
|
-
handler: (percentage, msg,
|
|
55607
|
-
progress(percentage, msg,
|
|
55606
|
+
handler: (percentage, msg, info)=>{
|
|
55607
|
+
progress(percentage, msg, info);
|
|
55608
55608
|
}
|
|
55609
55609
|
};
|
|
55610
55610
|
return progress;
|
|
@@ -56216,7 +56216,7 @@ const START_UPPERCASE_ALPHABET_CODE = 'A'.charCodeAt(0);
|
|
|
56216
56216
|
const DELTA_A_TO_Z = 'z'.charCodeAt(0) - START_LOWERCASE_ALPHABET_CODE + 1;
|
|
56217
56217
|
const NUMBER_OF_IDENTIFIER_START_CHARS = 2 * DELTA_A_TO_Z + 2;
|
|
56218
56218
|
const NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS = NUMBER_OF_IDENTIFIER_START_CHARS + 10;
|
|
56219
|
-
const FUNCTION_CONTENT_REGEX = /^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;
|
|
56219
|
+
const FUNCTION_CONTENT_REGEX = /^function(?:\s+[\w$]+)?\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;
|
|
56220
56220
|
const INDENT_MULTILINE_REGEX = /^\t/gm;
|
|
56221
56221
|
const LINE_SEPARATOR_REGEX = /\r?\n/g;
|
|
56222
56222
|
const IDENTIFIER_NAME_REPLACE_REGEX = /^([^a-zA-Z$_])/;
|
|
@@ -57608,6 +57608,7 @@ const applyIncrementalDefaults = (options)=>{
|
|
|
57608
57608
|
D(options.incremental, 'finishModules', true);
|
|
57609
57609
|
D(options.incremental, 'optimizeDependencies', true);
|
|
57610
57610
|
D(options.incremental, 'buildChunkGraph', true);
|
|
57611
|
+
D(options.incremental, 'optimizeChunkModules', true);
|
|
57611
57612
|
D(options.incremental, 'moduleIds', true);
|
|
57612
57613
|
D(options.incremental, 'chunkIds', true);
|
|
57613
57614
|
D(options.incremental, 'modulesHashes', true);
|
|
@@ -58021,7 +58022,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
|
|
|
58021
58022
|
});
|
|
58022
58023
|
D(output, 'bundlerInfo', {});
|
|
58023
58024
|
if ('object' == typeof output.bundlerInfo) {
|
|
58024
|
-
D(output.bundlerInfo, 'version', "2.0.0-beta.
|
|
58025
|
+
D(output.bundlerInfo, 'version', "2.0.0-beta.3");
|
|
58025
58026
|
D(output.bundlerInfo, 'bundler', 'rspack');
|
|
58026
58027
|
D(output.bundlerInfo, 'force', !output.library);
|
|
58027
58028
|
}
|
|
@@ -58576,6 +58577,7 @@ const getNormalizedIncrementalOptions = (incremental)=>{
|
|
|
58576
58577
|
finishModules: false,
|
|
58577
58578
|
optimizeDependencies: false,
|
|
58578
58579
|
buildChunkGraph: true,
|
|
58580
|
+
optimizeChunkModules: false,
|
|
58579
58581
|
moduleIds: false,
|
|
58580
58582
|
chunkIds: false,
|
|
58581
58583
|
modulesHashes: false,
|
|
@@ -59682,7 +59684,7 @@ class MultiStats {
|
|
|
59682
59684
|
return obj;
|
|
59683
59685
|
});
|
|
59684
59686
|
if (childOptions.version) {
|
|
59685
|
-
obj.rspackVersion = "2.0.0-beta.
|
|
59687
|
+
obj.rspackVersion = "2.0.0-beta.3";
|
|
59686
59688
|
obj.version = "5.75.0";
|
|
59687
59689
|
}
|
|
59688
59690
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
|
|
@@ -60542,7 +60544,7 @@ function nodeConsole({ colors, appendOnly, stream }) {
|
|
|
60542
60544
|
}
|
|
60543
60545
|
};
|
|
60544
60546
|
}
|
|
60545
|
-
const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.
|
|
60547
|
+
const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.19.0/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
|
|
60546
60548
|
var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
|
|
60547
60549
|
class NodeEnvironmentPlugin {
|
|
60548
60550
|
options;
|
|
@@ -61368,7 +61370,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
61368
61370
|
},
|
|
61369
61371
|
version: (object)=>{
|
|
61370
61372
|
object.version = "5.75.0";
|
|
61371
|
-
object.rspackVersion = "2.0.0-beta.
|
|
61373
|
+
object.rspackVersion = "2.0.0-beta.3";
|
|
61372
61374
|
},
|
|
61373
61375
|
env: (object, _compilation, _context, { _env })=>{
|
|
61374
61376
|
object.env = _env;
|
|
@@ -66006,7 +66008,7 @@ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallba
|
|
|
66006
66008
|
`const __module_federation_library_type__ = ${JSON.stringify(libraryType)}`,
|
|
66007
66009
|
'if((__webpack_require__.initializeSharingData||__webpack_require__.initializeExposesData)&&__webpack_require__.federation){var _ref,_ref1,_ref2,_ref3,_ref4;var __webpack_require___remotesLoadingData,__webpack_require___remotesLoadingData1,__webpack_require___initializeSharingData,__webpack_require___consumesLoadingData,__webpack_require___consumesLoadingData1,__webpack_require___initializeExposesData,__webpack_require___consumesLoadingData2;const override=(obj,key,value)=>{if(!obj)return;if(obj[key])obj[key]=value};const merge=(obj,key,fn)=>{const value=fn();if(Array.isArray(value)){var _obj,_key,_;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=[];obj[key].push(...value)}else if(typeof value==="object"&&value!==null){var _obj1,_key1,_1;(_1=(_obj1=obj)[_key1=key])!==null&&_1!==void 0?_1:_obj1[_key1]={};Object.assign(obj[key],value)}};const early=(obj,key,initial)=>{var _obj,_key,_;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=initial()};const remotesLoadingChunkMapping=(_ref=(__webpack_require___remotesLoadingData=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData===void 0?void 0:__webpack_require___remotesLoadingData.chunkMapping)!==null&&_ref!==void 0?_ref:{};const remotesLoadingModuleIdToRemoteDataMapping=(_ref1=(__webpack_require___remotesLoadingData1=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData1===void 0?void 0:__webpack_require___remotesLoadingData1.moduleIdToRemoteDataMapping)!==null&&_ref1!==void 0?_ref1:{};const initializeSharingScopeToInitDataMapping=(_ref2=(__webpack_require___initializeSharingData=__webpack_require__.initializeSharingData)===null||__webpack_require___initializeSharingData===void 0?void 0:__webpack_require___initializeSharingData.scopeToSharingDataMapping)!==null&&_ref2!==void 0?_ref2:{};const consumesLoadingChunkMapping=(_ref3=(__webpack_require___consumesLoadingData=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData===void 0?void 0:__webpack_require___consumesLoadingData.chunkMapping)!==null&&_ref3!==void 0?_ref3:{};const consumesLoadingModuleToConsumeDataMapping=(_ref4=(__webpack_require___consumesLoadingData1=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData1===void 0?void 0:__webpack_require___consumesLoadingData1.moduleIdToConsumeDataMapping)!==null&&_ref4!==void 0?_ref4:{};const consumesLoadinginstalledModules={};const initializeSharingInitPromises=[];const initializeSharingInitTokens={};const containerShareScope=(__webpack_require___initializeExposesData=__webpack_require__.initializeExposesData)===null||__webpack_require___initializeExposesData===void 0?void 0:__webpack_require___initializeExposesData.shareScope;for(const key in __module_federation_bundler_runtime__){__webpack_require__.federation[key]=__module_federation_bundler_runtime__[key]}early(__webpack_require__.federation,"libraryType",()=>__module_federation_library_type__);early(__webpack_require__.federation,"sharedFallback",()=>__module_federation_share_fallbacks__);const sharedFallback=__webpack_require__.federation.sharedFallback;early(__webpack_require__.federation,"consumesLoadingModuleToHandlerMapping",()=>{const consumesLoadingModuleToHandlerMapping={};for(let[moduleId,data]of Object.entries(consumesLoadingModuleToConsumeDataMapping)){var __webpack_require___federation_bundlerRuntime;consumesLoadingModuleToHandlerMapping[moduleId]={getter:sharedFallback?(__webpack_require___federation_bundlerRuntime=__webpack_require__.federation.bundlerRuntime)===null||__webpack_require___federation_bundlerRuntime===void 0?void 0:__webpack_require___federation_bundlerRuntime.getSharedFallbackGetter({shareKey:data.shareKey,factory:data.fallback,webpackRequire:__webpack_require__,libraryType:__webpack_require__.federation.libraryType}):data.fallback,treeShakingGetter:sharedFallback?data.fallback:undefined,shareInfo:{shareConfig:{fixedDependencies:false,requiredVersion:data.requiredVersion,strictVersion:data.strictVersion,singleton:data.singleton,eager:data.eager},scope:[data.shareScope]},shareKey:data.shareKey,treeShaking:__webpack_require__.federation.sharedFallback?{get:data.fallback,mode:data.treeShakingMode}:undefined}}return consumesLoadingModuleToHandlerMapping});early(__webpack_require__.federation,"initOptions",()=>({}));early(__webpack_require__.federation.initOptions,"name",()=>__module_federation_container_name__);early(__webpack_require__.federation.initOptions,"shareStrategy",()=>__module_federation_share_strategy__);early(__webpack_require__.federation.initOptions,"shared",()=>{const shared={};for(let[scope,stages]of Object.entries(initializeSharingScopeToInitDataMapping)){for(let stage of stages){if(typeof stage==="object"&&stage!==null){const{name,version,factory,eager,singleton,requiredVersion,strictVersion,treeShakingMode}=stage;const shareConfig={};const isValidValue=function(val){return typeof val!=="undefined"};if(isValidValue(singleton)){shareConfig.singleton=singleton}if(isValidValue(requiredVersion)){shareConfig.requiredVersion=requiredVersion}if(isValidValue(eager)){shareConfig.eager=eager}if(isValidValue(strictVersion)){shareConfig.strictVersion=strictVersion}const options={version,scope:[scope],shareConfig,get:factory,treeShaking:treeShakingMode?{mode:treeShakingMode}:undefined};if(shared[name]){shared[name].push(options)}else{shared[name]=[options]}}}}return shared});merge(__webpack_require__.federation.initOptions,"remotes",()=>Object.values(__module_federation_remote_infos__).flat().filter(remote=>remote.externalType==="script"));merge(__webpack_require__.federation.initOptions,"plugins",()=>__module_federation_runtime_plugins__);early(__webpack_require__.federation,"bundlerRuntimeOptions",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions,"remotes",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>remotesLoadingChunkMapping);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>__module_federation_remote_infos__);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{const remotesLoadingIdToExternalAndNameMappingMapping={};for(let[moduleId,data]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){remotesLoadingIdToExternalAndNameMappingMapping[moduleId]=[data.shareScope,data.name,data.externalModuleId,data.remoteName]}return remotesLoadingIdToExternalAndNameMappingMapping});early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>__webpack_require__);merge(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{const idToRemoteMap={};for(let[id,remoteData]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){const info=__module_federation_remote_infos__[remoteData.remoteName];if(info)idToRemoteMap[id]=info}return idToRemoteMap});override(__webpack_require__,"S",__webpack_require__.federation.bundlerRuntime.S);if(__webpack_require__.federation.attachShareScopeMap){__webpack_require__.federation.attachShareScopeMap(__webpack_require__)}override(__webpack_require__.f,"remotes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.remotes({chunkId,promises,chunkMapping:remotesLoadingChunkMapping,idToExternalAndNameMapping:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:__webpack_require__}));override(__webpack_require__.f,"consumes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.consumes({chunkId,promises,chunkMapping:consumesLoadingChunkMapping,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping,installedModules:consumesLoadinginstalledModules,webpackRequire:__webpack_require__}));override(__webpack_require__,"I",(name,initScope)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:name,initScope,initPromises:initializeSharingInitPromises,initTokens:initializeSharingInitTokens,webpackRequire:__webpack_require__}));override(__webpack_require__,"initContainer",(shareScope,initScope,remoteEntryInitOptions)=>__webpack_require__.federation.bundlerRuntime.initContainerEntry({shareScope,initScope,remoteEntryInitOptions,shareScopeKey:containerShareScope,webpackRequire:__webpack_require__}));override(__webpack_require__,"getContainer",(module,getScope)=>{var moduleMap=__webpack_require__.initializeExposesData.moduleMap;__webpack_require__.R=getScope;getScope=Object.prototype.hasOwnProperty.call(moduleMap,module)?moduleMap[module]():Promise.resolve().then(()=>{throw new Error(\'Module "\'+module+\'" does not exist in container.\')});__webpack_require__.R=undefined;return getScope});__webpack_require__.federation.instance=__webpack_require__.federation.bundlerRuntime.init({webpackRequire:__webpack_require__});if((__webpack_require___consumesLoadingData2=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData2===void 0?void 0:__webpack_require___consumesLoadingData2.initialConsumes){__webpack_require__.federation.bundlerRuntime.installInitialConsumes({webpackRequire:__webpack_require__,installedModules:consumesLoadinginstalledModules,initialConsumes:__webpack_require__.consumesLoadingData.initialConsumes,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping})}}'
|
|
66008
66010
|
].join(';');
|
|
66009
|
-
return `@module-federation/runtime/rspack.js!=!data:text/javascript,${content}`;
|
|
66011
|
+
return `@module-federation/runtime/rspack.js!=!data:text/javascript,${encodeURIComponent(content)}`;
|
|
66010
66012
|
}
|
|
66011
66013
|
class ContainerPlugin extends RspackBuiltinPlugin {
|
|
66012
66014
|
name = external_rspack_wasi_browser_js_.BuiltinPluginName.ContainerPlugin;
|
|
@@ -66159,7 +66161,7 @@ function transformSync(source, options) {
|
|
|
66159
66161
|
const _options = JSON.stringify(options || {});
|
|
66160
66162
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
66161
66163
|
}
|
|
66162
|
-
const exports_rspackVersion = "2.0.0-beta.
|
|
66164
|
+
const exports_rspackVersion = "2.0.0-beta.3";
|
|
66163
66165
|
const exports_version = "5.75.0";
|
|
66164
66166
|
const exports_WebpackError = Error;
|
|
66165
66167
|
const exports_config = {
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -1739,6 +1739,12 @@ export interface NapiResolveOptions {
|
|
|
1739
1739
|
* Default `false`
|
|
1740
1740
|
*/
|
|
1741
1741
|
enablePnp?: boolean
|
|
1742
|
+
/**
|
|
1743
|
+
* Path to PnP manifest file
|
|
1744
|
+
*
|
|
1745
|
+
* Default `None`
|
|
1746
|
+
*/
|
|
1747
|
+
pnpManifest?: string | false
|
|
1742
1748
|
}
|
|
1743
1749
|
|
|
1744
1750
|
export interface NativeWatcherOptions {
|
|
@@ -2322,6 +2328,7 @@ export interface RawIncremental {
|
|
|
2322
2328
|
finishModules: boolean
|
|
2323
2329
|
optimizeDependencies: boolean
|
|
2324
2330
|
buildChunkGraph: boolean
|
|
2331
|
+
optimizeChunkModules: boolean
|
|
2325
2332
|
moduleIds: boolean
|
|
2326
2333
|
chunkIds: boolean
|
|
2327
2334
|
modulesHashes: boolean
|
|
@@ -2726,13 +2733,20 @@ export interface RawPathData {
|
|
|
2726
2733
|
url?: string
|
|
2727
2734
|
}
|
|
2728
2735
|
|
|
2736
|
+
export interface RawProgressPluginHandlerInfo {
|
|
2737
|
+
/** Number of built modules */
|
|
2738
|
+
builtModules: number
|
|
2739
|
+
/** Identifier of the active module (only provided during `build modules` updates) */
|
|
2740
|
+
moduleIdentifier?: string
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2729
2743
|
export interface RawProgressPluginOptions {
|
|
2730
2744
|
prefix?: string
|
|
2731
2745
|
profile?: boolean
|
|
2732
2746
|
template?: string
|
|
2733
2747
|
tick?: string | Array<string>
|
|
2734
2748
|
progressChars?: string
|
|
2735
|
-
handler?: (percent: number, msg: string,
|
|
2749
|
+
handler?: (percent: number, msg: string, info: RawProgressPluginHandlerInfo) => void
|
|
2736
2750
|
}
|
|
2737
2751
|
|
|
2738
2752
|
export interface RawProvideOptions {
|
|
@@ -2785,6 +2799,7 @@ export interface RawResolveOptions {
|
|
|
2785
2799
|
restrictions?: (string | RegExp)[]
|
|
2786
2800
|
roots?: Array<string>
|
|
2787
2801
|
pnp?: boolean
|
|
2802
|
+
pnpManifest?: string | false
|
|
2788
2803
|
}
|
|
2789
2804
|
|
|
2790
2805
|
export interface RawResolveOptionsWithDependencyType {
|
|
@@ -2812,6 +2827,7 @@ export interface RawResolveOptionsWithDependencyType {
|
|
|
2812
2827
|
dependencyType?: string
|
|
2813
2828
|
resolveToContext?: boolean
|
|
2814
2829
|
pnp?: boolean
|
|
2830
|
+
pnpManifest?: string | false
|
|
2815
2831
|
}
|
|
2816
2832
|
|
|
2817
2833
|
export interface RawResolveTsconfigOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-debug/browser",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
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.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@swc/types": "0.1.25",
|
|
35
35
|
"@types/watchpack": "^2.4.5",
|
|
36
36
|
"memfs": "4.53.0",
|
|
37
|
-
"webpack-sources": "3.3.
|
|
37
|
+
"webpack-sources": "3.3.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@swc/helpers": ">=0.5.1"
|