vibebusiness 1.2.73 → 1.2.77
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +17 -17
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/[id]/ideas/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/epics/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/[id]/kpis/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/goals/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/hypotheses/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/hypotheses/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/card/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/comments/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/implement/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[id]/transition/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/implementations/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/kpis/refresh/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/[id]/publish/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/social/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/goals/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/goals/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/goals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/hypotheses/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/ideas/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/ideas/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/investors/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/investors/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/sessions/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +1 -1
- package/.next/standalone/.next/server/app/social/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/social.html +1 -1
- package/.next/standalone/.next/server/app/social.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/updates/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new.html +1 -1
- package/.next/standalone/.next/server/app/updates/new.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/updates/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +15 -15
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/data/business-context.json +1 -1
- package/.next/standalone/data/heartbeat-sessions.json +247 -0
- package/.next/standalone/data/ideas.json +393 -34
- package/.next/standalone/data/implementations.json +284 -1
- package/.next/standalone/data/marketing-plans/plan-1771884329778-7pxlrt7.json +115 -0
- package/.next/standalone/data/marketing-strategies.json +18 -0
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/0.pack +0 -0
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/index.pack +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/package.json +20 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +358 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/dist/source-map.umd.js +152 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/package.json +68 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +464 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +559 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/clone.js +11 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/index.js +129 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-helpers.js +107 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-path.js +148 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/nodes.js +1144 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/signatures.js +207 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js +389 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/traverse.js +105 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/utils.js +315 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/package.json +32 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/lib/index.js +49 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/lib/index.js +78 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/package.json +18 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/lib/index.js +89 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/lib/index.js +117 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/package.json +25 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js +430 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js +38 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/create.js +123 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/index.js +35 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/remove.js +45 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/resize.js +90 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/package.json +29 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/lib/index.js +52 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bits.js +156 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bufs.js +246 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/index.js +59 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/leb.js +347 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/decoder.js +74 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/encoder.js +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/index.js +21 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/apply.js +318 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/index.js +134 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/package.json +33 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js +372 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/index.js +68 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/package.json +27 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/index.js +66 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/leb128.js +56 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/package.json +26 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/decoder.js +1970 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/index.js +262 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/package.json +44 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/dist/index.cjs.js +96 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/package.json +42 -0
- package/.next/standalone/node_modules/@xtuc/long/package.json +36 -0
- package/.next/standalone/node_modules/@xtuc/long/src/long.js +1405 -0
- package/.next/standalone/node_modules/acorn/dist/acorn.js +6262 -0
- package/.next/standalone/node_modules/acorn/package.json +50 -0
- package/.next/standalone/node_modules/acorn-import-phases/package.json +46 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/index.cjs +5 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/plugin.cjs +125 -0
- package/.next/standalone/node_modules/ajv-formats/dist/formats.js +173 -0
- package/.next/standalone/node_modules/ajv-formats/dist/index.js +37 -0
- package/.next/standalone/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/ajv-formats/package.json +74 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/dist/index.cjs +1 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/package.json +64 -0
- package/.next/standalone/node_modules/browserslist/error.js +12 -0
- package/.next/standalone/node_modules/browserslist/index.js +1335 -0
- package/.next/standalone/node_modules/browserslist/node.js +502 -0
- package/.next/standalone/node_modules/browserslist/package.json +45 -0
- package/.next/standalone/node_modules/browserslist/parse.js +78 -0
- package/.next/standalone/node_modules/chrome-trace-event/dist/trace-event.js +170 -0
- package/.next/standalone/node_modules/chrome-trace-event/package.json +38 -0
- package/.next/standalone/node_modules/electron-to-chromium/package.json +44 -0
- package/.next/standalone/node_modules/electron-to-chromium/versions.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +103 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasUtils.js +172 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AppendPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +677 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +53 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +59 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +98 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +200 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js +68 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +206 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js +100 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/FileExistsPlugin.js +61 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +223 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +75 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +58 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +87 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesUtils.js +83 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/NextPlugin.js +33 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ParsePlugin.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/PnpPlugin.js +134 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/Resolver.js +820 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResolverFactory.js +745 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +70 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResultPlugin.js +43 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RootsPlugin.js +69 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +82 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +101 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +258 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TryNextPlugin.js +41 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TsconfigPathsPlugin.js +560 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +114 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UseFilePlugin.js +55 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/createInnerContext.js +46 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/forEachBail.js +50 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getInnerRequest.js +39 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getPaths.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/index.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/entrypoints.js +577 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/fs.js +38 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/identifier.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/memoize.js +37 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/path.js +250 -0
- package/.next/standalone/node_modules/enhanced-resolve/package.json +76 -0
- package/.next/standalone/node_modules/esbuild/lib/main.js +2242 -0
- package/.next/standalone/node_modules/esbuild/package.json +49 -0
- package/.next/standalone/node_modules/eslint-scope/lib/definition.js +86 -0
- package/.next/standalone/node_modules/eslint-scope/lib/index.js +165 -0
- package/.next/standalone/node_modules/eslint-scope/lib/pattern-visitor.js +152 -0
- package/.next/standalone/node_modules/eslint-scope/lib/reference.js +167 -0
- package/.next/standalone/node_modules/eslint-scope/lib/referencer.js +629 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope-manager.js +247 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope.js +748 -0
- package/.next/standalone/node_modules/eslint-scope/lib/variable.js +88 -0
- package/.next/standalone/node_modules/eslint-scope/package.json +48 -0
- package/.next/standalone/node_modules/esrecurse/esrecurse.js +117 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/estraverse.js +805 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/esrecurse/package.json +52 -0
- package/.next/standalone/node_modules/estraverse/estraverse.js +782 -0
- package/.next/standalone/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/fast-deep-equal/index.js +46 -0
- package/.next/standalone/node_modules/fast-deep-equal/package.json +61 -0
- package/.next/standalone/node_modules/fast-uri/index.js +340 -0
- package/.next/standalone/node_modules/fast-uri/lib/schemes.js +267 -0
- package/.next/standalone/node_modules/fast-uri/lib/utils.js +336 -0
- package/.next/standalone/node_modules/fast-uri/package.json +69 -0
- package/.next/standalone/node_modules/glob-to-regexp/index.js +130 -0
- package/.next/standalone/node_modules/glob-to-regexp/package.json +23 -0
- package/.next/standalone/node_modules/has-flag/index.js +8 -0
- package/.next/standalone/node_modules/has-flag/package.json +46 -0
- package/.next/standalone/node_modules/jest-worker/build/Farm.js +206 -0
- package/.next/standalone/node_modules/jest-worker/build/FifoQueue.js +171 -0
- package/.next/standalone/node_modules/jest-worker/build/PriorityQueue.js +188 -0
- package/.next/standalone/node_modules/jest-worker/build/WorkerPool.js +49 -0
- package/.next/standalone/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
- package/.next/standalone/node_modules/jest-worker/build/index.js +223 -0
- package/.next/standalone/node_modules/jest-worker/build/types.js +39 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/messageParent.js +38 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/processChild.js +148 -0
- package/.next/standalone/node_modules/jest-worker/package.json +38 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/index.js +121 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/package.json +33 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderLoadingError.js +13 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderRunner.js +515 -0
- package/.next/standalone/node_modules/loader-runner/lib/loadLoader.js +80 -0
- package/.next/standalone/node_modules/loader-runner/package.json +57 -0
- package/.next/standalone/node_modules/merge-stream/index.js +41 -0
- package/.next/standalone/node_modules/merge-stream/package.json +19 -0
- package/.next/standalone/node_modules/mime-db/db.json +8519 -0
- package/.next/standalone/node_modules/mime-db/index.js +12 -0
- package/.next/standalone/node_modules/mime-db/package.json +60 -0
- package/.next/standalone/node_modules/mime-types/index.js +188 -0
- package/.next/standalone/node_modules/mime-types/package.json +44 -0
- package/.next/standalone/node_modules/neo-async/async.js +9184 -0
- package/.next/standalone/node_modules/neo-async/package.json +57 -0
- package/.next/standalone/node_modules/node-releases/data/processed/envs.json +1 -0
- package/.next/standalone/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
- package/.next/standalone/node_modules/randombytes/index.js +1 -0
- package/.next/standalone/node_modules/randombytes/package.json +36 -0
- package/.next/standalone/node_modules/serialize-javascript/index.js +268 -0
- package/.next/standalone/node_modules/serialize-javascript/package.json +36 -0
- package/.next/standalone/node_modules/supports-color/index.js +152 -0
- package/.next/standalone/node_modules/supports-color/package.json +58 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelBailHook.js +87 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesBailHook.js +42 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesLoopHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js +48 -0
- package/.next/standalone/node_modules/tapable/lib/Hook.js +183 -0
- package/.next/standalone/node_modules/tapable/lib/HookCodeFactory.js +454 -0
- package/.next/standalone/node_modules/tapable/lib/HookMap.js +69 -0
- package/.next/standalone/node_modules/tapable/lib/MultiHook.js +52 -0
- package/.next/standalone/node_modules/tapable/lib/SyncBailHook.js +51 -0
- package/.next/standalone/node_modules/tapable/lib/SyncHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncLoopHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncWaterfallHook.js +58 -0
- package/.next/standalone/node_modules/tapable/lib/index.js +19 -0
- package/.next/standalone/node_modules/tapable/package.json +60 -0
- package/.next/standalone/node_modules/terser/dist/bundle.min.js +33769 -0
- package/.next/standalone/node_modules/terser/dist/package.json +10 -0
- package/.next/standalone/node_modules/terser/package.json +158 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/index.js +706 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/minify.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/options.json +164 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/utils.js +678 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/package.json +129 -0
- package/.next/standalone/node_modules/watchpack/lib/DirectoryWatcher.js +965 -0
- package/.next/standalone/node_modules/watchpack/lib/LinkResolver.js +114 -0
- package/.next/standalone/node_modules/watchpack/lib/getWatcherManager.js +80 -0
- package/.next/standalone/node_modules/watchpack/lib/index.js +554 -0
- package/.next/standalone/node_modules/watchpack/lib/reducePlan.js +138 -0
- package/.next/standalone/node_modules/watchpack/lib/watchEventSource.js +449 -0
- package/.next/standalone/node_modules/watchpack/package.json +74 -0
- package/.next/standalone/node_modules/webpack/hot/emitter-event-target.js +7 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-node.js +66 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-universal.js +18 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-web.js +93 -0
- package/.next/standalone/node_modules/webpack/hot/load-http.js +7 -0
- package/.next/standalone/node_modules/webpack/lib/APIPlugin.js +392 -0
- package/.next/standalone/node_modules/webpack/lib/AbstractMethodError.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependenciesBlock.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/AutomaticPrefetchPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/BannerPlugin.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/Cache.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/CacheFacade.js +349 -0
- package/.next/standalone/node_modules/webpack/lib/CaseSensitiveModulesWarning.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Chunk.js +899 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGraph.js +1968 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGroup.js +615 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkRenderError.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkTemplate.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/CleanPlugin.js +494 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationResults.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/CommentCompilationWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/CompatibilityPlugin.js +240 -0
- package/.next/standalone/node_modules/webpack/lib/Compilation.js +5870 -0
- package/.next/standalone/node_modules/webpack/lib/Compiler.js +1413 -0
- package/.next/standalone/node_modules/webpack/lib/ConcatenationScope.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/ConcurrentCompilationError.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/ConditionalInitFragment.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/ConstPlugin.js +567 -0
- package/.next/standalone/node_modules/webpack/lib/ContextExclusionPlugin.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModule.js +1405 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModuleFactory.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/ContextReplacementPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/CssModule.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/DefinePlugin.js +873 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModule.js +279 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedPlugin.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/DependenciesBlock.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/Dependency.js +390 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplate.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplates.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/DllEntryPlugin.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/DllModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/DllModuleFactory.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/DllPlugin.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/DllReferencePlugin.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/DotenvPlugin.js +468 -0
- package/.next/standalone/node_modules/webpack/lib/DynamicEntryPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/EntryOptionPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/EntryPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Entrypoint.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentNotSupportAsyncWarning.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentPlugin.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/ErrorHelpers.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/EvalDevToolModulePlugin.js +132 -0
- package/.next/standalone/node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js +245 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfo.js +1693 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfoApiPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModule.js +1169 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js +363 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalsPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/FalseIIFEUmdWarning.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/FileSystemInfo.js +4131 -0
- package/.next/standalone/node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js +55 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyExportsPlugin.js +437 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyUsagePlugin.js +348 -0
- package/.next/standalone/node_modules/webpack/lib/Generator.js +188 -0
- package/.next/standalone/node_modules/webpack/lib/GraphHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/HarmonyLinkingError.js +17 -0
- package/.next/standalone/node_modules/webpack/lib/HookWebpackError.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/HotModuleReplacementPlugin.js +930 -0
- package/.next/standalone/node_modules/webpack/lib/HotUpdateChunk.js +16 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreErrorModuleFactory.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/IgnorePlugin.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreWarningsPlugin.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/InitFragment.js +204 -0
- package/.next/standalone/node_modules/webpack/lib/InvalidDependenciesModuleWarning.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/JavascriptMetaInfoPlugin.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/LibManifestPlugin.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/LibraryTemplatePlugin.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderOptionsPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderTargetPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/MainTemplate.js +371 -0
- package/.next/standalone/node_modules/webpack/lib/ManifestPlugin.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/Module.js +1279 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleBuildError.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyError.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyWarning.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleError.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFactory.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFilenameHelpers.js +387 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraph.js +1024 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraphConnection.js +208 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleHashingError.js +31 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleInfoHeaderPlugin.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleNotFoundError.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleParseError.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleProfile.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleRestoreError.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleSourceTypeConstants.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleStoreError.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTemplate.js +173 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTypeConstants.js +190 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleWarning.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/MultiCompiler.js +678 -0
- package/.next/standalone/node_modules/webpack/lib/MultiStats.js +213 -0
- package/.next/standalone/node_modules/webpack/lib/MultiWatching.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/NoEmitOnErrorsPlugin.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/NoModeWarning.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffInWebError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffPlugin.js +587 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModule.js +1796 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleFactory.js +1455 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleReplacementPlugin.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/OptimizationStages.js +10 -0
- package/.next/standalone/node_modules/webpack/lib/OptionsApply.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/Parser.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/PlatformPlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/PrefetchPlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/ProgressPlugin.js +712 -0
- package/.next/standalone/node_modules/webpack/lib/ProvidePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/RawModule.js +180 -0
- package/.next/standalone/node_modules/webpack/lib/RecordIdsPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/RequestShortener.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/RequireJsStuffPlugin.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/ResolverFactory.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeGlobals.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeModule.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimePlugin.js +547 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeTemplate.js +1288 -0
- package/.next/standalone/node_modules/webpack/lib/SelfModuleFactory.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/SizeFormatHelpers.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolPlugin.js +638 -0
- package/.next/standalone/node_modules/webpack/lib/Stats.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/Template.js +427 -0
- package/.next/standalone/node_modules/webpack/lib/TemplatedPathPlugin.js +400 -0
- package/.next/standalone/node_modules/webpack/lib/UnhandledSchemeError.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/UnsupportedFeatureWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/UseStrictPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/WarnNoModeSetPlugin.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/WatchIgnorePlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/Watching.js +531 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackError.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackIsIncludedPlugin.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsApply.js +931 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsDefaulter.js +26 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesGenerator.js +172 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetGenerator.js +807 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetModulesPlugin.js +343 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetParser.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceGenerator.js +171 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/RawDataUrlModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AsyncModuleHelpers.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/buildChunkGraph.js +1392 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddManagedPathsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/cache/IdleFileCachePlugin.js +242 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryCachePlugin.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js +142 -0
- package/.next/standalone/node_modules/webpack/lib/cache/PackFileCacheStrategy.js +1600 -0
- package/.next/standalone/node_modules/webpack/lib/cache/ResolverCachePlugin.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/cache/getLazyHashedEtag.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/cache/mergeEtags.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/cli.js +859 -0
- package/.next/standalone/node_modules/webpack/lib/config/browserslistTargetHandler.js +388 -0
- package/.next/standalone/node_modules/webpack/lib/config/defaults.js +2086 -0
- package/.next/standalone/node_modules/webpack/lib/config/normalization.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/config/target.js +389 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryDependency.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModule.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerExposedDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerPlugin.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerReferencePlugin.js +139 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackItemDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModule.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/HoistContainerReferencesPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/container/ModuleFederationPlugin.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteModule.js +203 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteRuntimeModule.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteToExternalDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/options.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssGenerator.js +580 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssLoadingRuntimeModule.js +513 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssMergeStyleSheetsRuntimeModule.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssModulesPlugin.js +932 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssParser.js +2621 -0
- package/.next/standalone/node_modules/webpack/lib/css/walkCssTokens.js +1740 -0
- package/.next/standalone/node_modules/webpack/lib/debug/ProfilingPlugin.js +589 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependency.js +267 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js +504 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDPlugin.js +243 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js +124 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRuntimeModules.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CachedConstDependency.js +135 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js +412 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js +184 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js +162 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js +805 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsPlugin.js +316 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ConstDependency.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextElementDependency.js +147 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssExportDependency.js +537 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssImportDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssSymbolDependency.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssImportDependency.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssUrlDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DllEntryDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DynamicExports.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/EntryDependency.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExportsInfoDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleDependency.js +109 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragment.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js +237 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js +258 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js +211 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +1494 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExports.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js +429 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js +669 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportContextDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportDependency.js +158 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportEagerDependency.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +312 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaPlugin.js +447 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportParserPlugin.js +612 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPhase.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportWeakDependency.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/JsonExportsDependency.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderImportDependency.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderPlugin.js +294 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModule.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModuleDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModulesHelpers.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependency.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/NullDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PrefetchDependency.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ProvidedDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PureExpressionDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextPlugin.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependency.js +115 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireHeaderDependency.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependency.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludePlugin.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveDependency.js +58 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/StaticExportsDependency.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLContextDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLDependency.js +165 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/UnsupportedDependency.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerDependency.js +141 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerPlugin.js +565 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/getFunctionExpression.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/processExportInfo.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/electron/ElectronTargetPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/errors/BuildCycleError.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js +273 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js +143 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js +426 -0
- package/.next/standalone/node_modules/webpack/lib/formatLocation.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js +419 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacementHelper.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/LazyCompilationPlugin.js +473 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/lazyCompilationBackend.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js +97 -0
- package/.next/standalone/node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/IdHelpers.js +492 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/index.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js +603 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkFormatHelpers.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkHelpers.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js +148 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptGenerator.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js +1852 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParser.js +5476 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParserHelpers.js +129 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/StartupHelpers.js +178 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonData.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonGenerator.js +233 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonModulesPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonParser.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/AbstractLibraryPlugin.js +339 -0
- package/.next/standalone/node_modules/webpack/lib/library/AmdLibraryPlugin.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/library/AssignLibraryPlugin.js +445 -0
- package/.next/standalone/node_modules/webpack/lib/library/EnableLibraryPlugin.js +306 -0
- package/.next/standalone/node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/library/JsonpLibraryPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/ModuleLibraryPlugin.js +438 -0
- package/.next/standalone/node_modules/webpack/lib/library/SystemLibraryPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/library/UmdLibraryPlugin.js +355 -0
- package/.next/standalone/node_modules/webpack/lib/logging/Logger.js +219 -0
- package/.next/standalone/node_modules/webpack/lib/logging/createConsoleLogger.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/logging/truncateArgs.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeSourcePlugin.js +19 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTargetPlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTemplatePlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeWatchFileSystem.js +195 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js +285 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js +122 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/node/nodeConsole.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js +347 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ConcatenatedModule.js +2287 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraph.js +368 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraphPlugin.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js +301 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MangleExportsPlugin.js +194 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinChunkSizePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinMaxSizeWarning.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js +968 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RealContentHashPlugin.js +486 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SplitChunksPlugin.js +1829 -0
- package/.next/standalone/node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/performance/NoAsyncChunksWarning.js +21 -0
- package/.next/standalone/node_modules/webpack/lib/performance/SizeLimitsPlugin.js +182 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/rules/RuleSetCompiler.js +443 -0
- package/.next/standalone/node_modules/webpack/lib/rules/UseEffectRulePlugin.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js +199 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatRuntimeModule.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js +298 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GlobalRuntimeModule.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HelperRuntimeModule.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js +174 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/NonceRuntimeModule.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/DataUriPlugin.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/FileUriPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/HttpUriPlugin.js +1411 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/VirtualUrlPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/AggregateErrorSerializer.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ArraySerializer.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/BinaryMiddleware.js +1164 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/DateObjectSerializer.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ErrorObjectSerializer.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/FileMiddleware.js +766 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/MapObjectSerializer.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js +53 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ObjectMiddleware.js +877 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/PlainObjectSerializer.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/RegExpObjectSerializer.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/Serializer.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SerializerMiddleware.js +226 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SetObjectSerializer.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SingleItemMiddleware.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedModule.js +327 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js +380 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js +358 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideForSharedDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedDependency.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModule.js +196 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedPlugin.js +248 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/SharePlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ShareRuntimeModule.js +152 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/resolveMatchedConfigs.js +106 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/utils.js +421 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js +2785 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js +1860 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsFactory.js +406 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsPrinter.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/url/URLParserPlugin.js +265 -0
- package/.next/standalone/node_modules/webpack/lib/util/AppendOnlyStackedSet.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayQueue.js +104 -0
- package/.next/standalone/node_modules/webpack/lib/util/AsyncQueue.js +411 -0
- package/.next/standalone/node_modules/webpack/lib/util/Hash.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/IterableHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazyBucketSortedSet.js +272 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazySet.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/util/MapHelpers.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/util/ParallelismFactorCalculator.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/Queue.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/util/SetHelpers.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/util/SortableSet.js +176 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedCacheMap.js +140 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedMap.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/util/StringXor.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleQueue.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleSet.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/util/WeakTupleMap.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/util/binarySearchBounds.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/util/chainedImports.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/util/cleverMerge.js +676 -0
- package/.next/standalone/node_modules/webpack/lib/util/comparators.js +645 -0
- package/.next/standalone/node_modules/webpack/lib/util/compileBooleanMatcher.js +313 -0
- package/.next/standalone/node_modules/webpack/lib/util/concatenate.js +232 -0
- package/.next/standalone/node_modules/webpack/lib/util/conventions.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/util/create-schema-validation.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/util/createHash.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/util/dataURL.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/util/deprecation.js +350 -0
- package/.next/standalone/node_modules/webpack/lib/util/deterministicGrouping.js +561 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractSourceMap.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractUrlAndGlobal.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/util/findGraphRoots.js +241 -0
- package/.next/standalone/node_modules/webpack/lib/util/fs.js +675 -0
- package/.next/standalone/node_modules/webpack/lib/util/generateDebugId.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BatchedHash.js +114 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BulkUpdateHash.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/DebugHash.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/hash-digest.js +217 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/md4.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/wasm-hash.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/xxhash64.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/identifier.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/util/internalSerializables.js +222 -0
- package/.next/standalone/node_modules/webpack/lib/util/magicComment.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/makeSerializable.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/util/memoize.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/util/nonNumericOnlyHash.js +22 -0
- package/.next/standalone/node_modules/webpack/lib/util/numberHash.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/util/processAsyncTree.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyAccess.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyName.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/util/registerExternalSerializer.js +334 -0
- package/.next/standalone/node_modules/webpack/lib/util/removeBOM.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/runtime.js +717 -0
- package/.next/standalone/node_modules/webpack/lib/util/semver.js +604 -0
- package/.next/standalone/node_modules/webpack/lib/util/serialization.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/util/smartGrouping.js +221 -0
- package/.next/standalone/node_modules/webpack/lib/util/source.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/util/traverseDestructuringAssignmentProperties.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/validateSchema.js +177 -0
- package/.next/standalone/node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +212 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js +209 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js +107 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +422 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js +535 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js +111 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js +151 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js +201 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileWasmPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js +101 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpTemplatePlugin.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/webpack.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js +110 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +229 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/dist/lexer.cjs +1 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/package.json +57 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/webpack/package.json +204 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.json +6179 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.json +115 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.json +36 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.json +206 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.json +34 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json +27 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.json +98 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.json +65 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json +168 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json +25 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json +294 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json +132 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ExternalsType.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json +525 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json +12 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.json +57 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json +21 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json +20 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json +74 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json +120 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json +94 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CachedSource.js +419 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CompatSource.js +109 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ConcatSource.js +398 -0
- package/.next/standalone/node_modules/webpack-sources/lib/OriginalSource.js +202 -0
- package/.next/standalone/node_modules/webpack-sources/lib/PrefixSource.js +162 -0
- package/.next/standalone/node_modules/webpack-sources/lib/RawSource.js +140 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ReplaceSource.js +557 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SizeOnlySource.js +71 -0
- package/.next/standalone/node_modules/webpack-sources/lib/Source.js +89 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SourceMapSource.js +367 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js +225 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js +159 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js +44 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getSource.js +24 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/readMappings.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoLines.js +33 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js +53 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js +123 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunks.js +62 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js +366 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js +54 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js +499 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js +117 -0
- package/.next/standalone/node_modules/webpack-sources/lib/index.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/package.json +51 -0
- package/.next/standalone/package.json +5 -1
- package/dist/scripts/heartbeat.js +594 -354
- package/package.json +5 -1
- package/scripts/lib/video/compositions/AdVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Root.tsx +90 -0
- package/scripts/lib/video/compositions/ShipVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Slide.tsx +260 -0
- /package/.next/static/{xcvZKuVNCJhkUHViU5lb4 → _6NFRXGMGhuMnoqW7NVno}/_buildManifest.js +0 -0
- /package/.next/static/{xcvZKuVNCJhkUHViU5lb4 → _6NFRXGMGhuMnoqW7NVno}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,2785 @@
|
|
|
1
|
+
/*
|
|
2
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3
|
+
Author Tobias Koppers @sokra
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
const util = require("util");
|
|
9
|
+
const { WEBPACK_MODULE_TYPE_RUNTIME } = require("../ModuleTypeConstants");
|
|
10
|
+
const ModuleDependency = require("../dependencies/ModuleDependency");
|
|
11
|
+
const formatLocation = require("../formatLocation");
|
|
12
|
+
const { LogType } = require("../logging/Logger");
|
|
13
|
+
const AggressiveSplittingPlugin = require("../optimize/AggressiveSplittingPlugin");
|
|
14
|
+
const SizeLimitsPlugin = require("../performance/SizeLimitsPlugin");
|
|
15
|
+
const { countIterable } = require("../util/IterableHelpers");
|
|
16
|
+
const {
|
|
17
|
+
compareChunksById,
|
|
18
|
+
compareIds,
|
|
19
|
+
compareLocations,
|
|
20
|
+
compareModulesByIdentifier,
|
|
21
|
+
compareNumbers,
|
|
22
|
+
compareSelect,
|
|
23
|
+
concatComparators
|
|
24
|
+
} = require("../util/comparators");
|
|
25
|
+
const { makePathsRelative, parseResource } = require("../util/identifier");
|
|
26
|
+
|
|
27
|
+
/** @typedef {import("webpack-sources").Source} Source */
|
|
28
|
+
/** @typedef {import("../../declarations/WebpackOptions").StatsValue} StatsValue */
|
|
29
|
+
/** @typedef {import("./StatsFactory")} StatsFactory */
|
|
30
|
+
/** @typedef {import("./StatsFactory").StatsFactoryContext} StatsFactoryContext */
|
|
31
|
+
/** @typedef {import("../Chunk")} Chunk */
|
|
32
|
+
/** @typedef {import("../Chunk").ChunkId} ChunkId */
|
|
33
|
+
/** @typedef {import("../Chunk").ChunkName} ChunkName */
|
|
34
|
+
/** @typedef {import("../ChunkGraph").ModuleId} ModuleId */
|
|
35
|
+
/** @typedef {import("../ChunkGroup")} ChunkGroup */
|
|
36
|
+
/** @typedef {import("../ChunkGroup").OriginRecord} OriginRecord */
|
|
37
|
+
/** @typedef {import("../Compilation")} Compilation */
|
|
38
|
+
/** @typedef {import("../Compilation").Asset} Asset */
|
|
39
|
+
/** @typedef {import("../Compilation").AssetInfo} AssetInfo */
|
|
40
|
+
/** @typedef {import("../Compilation").ExcludeModulesType} ExcludeModulesType */
|
|
41
|
+
/** @typedef {import("../Compilation").KnownNormalizedStatsOptions} KnownNormalizedStatsOptions */
|
|
42
|
+
/** @typedef {import("../Compilation").NormalizedStatsOptions} NormalizedStatsOptions */
|
|
43
|
+
/** @typedef {import("../Compiler")} Compiler */
|
|
44
|
+
/** @typedef {import("../Dependency")} Dependency */
|
|
45
|
+
/** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
|
|
46
|
+
/** @typedef {import("../Module")} Module */
|
|
47
|
+
/** @typedef {import("../Module").NameForCondition} NameForCondition */
|
|
48
|
+
/** @typedef {import("../Module").BuildInfo} BuildInfo */
|
|
49
|
+
/** @typedef {import("../ModuleGraphConnection")} ModuleGraphConnection */
|
|
50
|
+
/** @typedef {import("../ModuleProfile")} ModuleProfile */
|
|
51
|
+
/** @typedef {import("../WebpackError")} WebpackError */
|
|
52
|
+
/** @typedef {import("../serialization/AggregateErrorSerializer").AggregateError} AggregateError */
|
|
53
|
+
/** @typedef {import("../serialization/ErrorObjectSerializer").ErrorWithCause} ErrorWithCause */
|
|
54
|
+
/** @typedef {import("../ExportsInfo").ExportInfoName} ExportInfoName */
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @template T
|
|
58
|
+
* @typedef {import("../util/comparators").Comparator<T>} Comparator<T>
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @template I, G
|
|
63
|
+
* @typedef {import("../util/smartGrouping").GroupConfig<I, G>} GroupConfig
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/** @typedef {KnownStatsCompilation & Record<string, EXPECTED_ANY>} StatsCompilation */
|
|
67
|
+
/**
|
|
68
|
+
* @typedef {object} KnownStatsCompilation
|
|
69
|
+
* @property {EXPECTED_ANY=} env
|
|
70
|
+
* @property {string=} name
|
|
71
|
+
* @property {string=} hash
|
|
72
|
+
* @property {string=} version
|
|
73
|
+
* @property {number=} time
|
|
74
|
+
* @property {number=} builtAt
|
|
75
|
+
* @property {boolean=} needAdditionalPass
|
|
76
|
+
* @property {string=} publicPath
|
|
77
|
+
* @property {string=} outputPath
|
|
78
|
+
* @property {Record<string, string[]>=} assetsByChunkName
|
|
79
|
+
* @property {StatsAsset[]=} assets
|
|
80
|
+
* @property {number=} filteredAssets
|
|
81
|
+
* @property {StatsChunk[]=} chunks
|
|
82
|
+
* @property {StatsModule[]=} modules
|
|
83
|
+
* @property {number=} filteredModules
|
|
84
|
+
* @property {Record<string, StatsChunkGroup>=} entrypoints
|
|
85
|
+
* @property {Record<string, StatsChunkGroup>=} namedChunkGroups
|
|
86
|
+
* @property {StatsError[]=} errors
|
|
87
|
+
* @property {number=} errorsCount
|
|
88
|
+
* @property {StatsError[]=} warnings
|
|
89
|
+
* @property {number=} warningsCount
|
|
90
|
+
* @property {StatsCompilation[]=} children
|
|
91
|
+
* @property {Record<string, StatsLogging>=} logging
|
|
92
|
+
* @property {number=} filteredWarningDetailsCount
|
|
93
|
+
* @property {number=} filteredErrorDetailsCount
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/** @typedef {KnownStatsLogging & Record<string, EXPECTED_ANY>} StatsLogging */
|
|
97
|
+
/**
|
|
98
|
+
* @typedef {object} KnownStatsLogging
|
|
99
|
+
* @property {StatsLoggingEntry[]} entries
|
|
100
|
+
* @property {number} filteredEntries
|
|
101
|
+
* @property {boolean} debug
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/** @typedef {KnownStatsLoggingEntry & Record<string, EXPECTED_ANY>} StatsLoggingEntry */
|
|
105
|
+
/**
|
|
106
|
+
* @typedef {object} KnownStatsLoggingEntry
|
|
107
|
+
* @property {string} type
|
|
108
|
+
* @property {string=} message
|
|
109
|
+
* @property {string[]=} trace
|
|
110
|
+
* @property {StatsLoggingEntry[]=} children
|
|
111
|
+
* @property {EXPECTED_ANY[]=} args
|
|
112
|
+
* @property {number=} time
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
/** @typedef {KnownStatsAsset & Record<string, EXPECTED_ANY>} StatsAsset */
|
|
116
|
+
/** @typedef {string[]} ChunkIdHints */
|
|
117
|
+
/**
|
|
118
|
+
* @typedef {object} KnownStatsAsset
|
|
119
|
+
* @property {string} type
|
|
120
|
+
* @property {string} name
|
|
121
|
+
* @property {AssetInfo} info
|
|
122
|
+
* @property {number} size
|
|
123
|
+
* @property {boolean} emitted
|
|
124
|
+
* @property {boolean} comparedForEmit
|
|
125
|
+
* @property {boolean} cached
|
|
126
|
+
* @property {StatsAsset[]=} related
|
|
127
|
+
* @property {ChunkId[]=} chunks
|
|
128
|
+
* @property {ChunkName[]=} chunkNames
|
|
129
|
+
* @property {ChunkIdHints=} chunkIdHints
|
|
130
|
+
* @property {ChunkId[]=} auxiliaryChunks
|
|
131
|
+
* @property {ChunkName[]=} auxiliaryChunkNames
|
|
132
|
+
* @property {ChunkIdHints=} auxiliaryChunkIdHints
|
|
133
|
+
* @property {number=} filteredRelated
|
|
134
|
+
* @property {boolean=} isOverSizeLimit
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/** @typedef {KnownStatsChunkGroup & Record<string, EXPECTED_ANY>} StatsChunkGroup */
|
|
138
|
+
/**
|
|
139
|
+
* @typedef {object} KnownStatsChunkGroup
|
|
140
|
+
* @property {ChunkName=} name
|
|
141
|
+
* @property {ChunkId[]=} chunks
|
|
142
|
+
* @property {({ name: string, size?: number })[]=} assets
|
|
143
|
+
* @property {number=} filteredAssets
|
|
144
|
+
* @property {number=} assetsSize
|
|
145
|
+
* @property {({ name: string, size?: number })[]=} auxiliaryAssets
|
|
146
|
+
* @property {number=} filteredAuxiliaryAssets
|
|
147
|
+
* @property {number=} auxiliaryAssetsSize
|
|
148
|
+
* @property {Record<string, StatsChunkGroup[]>=} children
|
|
149
|
+
* @property {Record<string, string[]>=} childAssets
|
|
150
|
+
* @property {boolean=} isOverSizeLimit
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
/** @typedef {Module[]} ModuleIssuerPath */
|
|
154
|
+
/** @typedef {KnownStatsModule & Record<string, EXPECTED_ANY>} StatsModule */
|
|
155
|
+
/**
|
|
156
|
+
* @typedef {object} KnownStatsModule
|
|
157
|
+
* @property {string=} type
|
|
158
|
+
* @property {string=} moduleType
|
|
159
|
+
* @property {(string | null)=} layer
|
|
160
|
+
* @property {string=} identifier
|
|
161
|
+
* @property {string=} name
|
|
162
|
+
* @property {NameForCondition | null=} nameForCondition
|
|
163
|
+
* @property {number=} index
|
|
164
|
+
* @property {number=} preOrderIndex
|
|
165
|
+
* @property {number=} index2
|
|
166
|
+
* @property {number=} postOrderIndex
|
|
167
|
+
* @property {number=} size
|
|
168
|
+
* @property {Record<string, number>=} sizes
|
|
169
|
+
* @property {boolean=} cacheable
|
|
170
|
+
* @property {boolean=} built
|
|
171
|
+
* @property {boolean=} codeGenerated
|
|
172
|
+
* @property {boolean=} buildTimeExecuted
|
|
173
|
+
* @property {boolean=} cached
|
|
174
|
+
* @property {boolean=} optional
|
|
175
|
+
* @property {boolean=} orphan
|
|
176
|
+
* @property {ModuleId=} id
|
|
177
|
+
* @property {ModuleId | null=} issuerId
|
|
178
|
+
* @property {ChunkId[]=} chunks
|
|
179
|
+
* @property {string[]=} assets
|
|
180
|
+
* @property {boolean=} dependent
|
|
181
|
+
* @property {(string | null)=} issuer
|
|
182
|
+
* @property {(string | null)=} issuerName
|
|
183
|
+
* @property {StatsModuleIssuer[] | null=} issuerPath
|
|
184
|
+
* @property {boolean=} failed
|
|
185
|
+
* @property {number=} errors
|
|
186
|
+
* @property {number=} warnings
|
|
187
|
+
* @property {StatsProfile=} profile
|
|
188
|
+
* @property {StatsModuleReason[]=} reasons
|
|
189
|
+
* @property {boolean | null | ExportInfoName[]=} usedExports
|
|
190
|
+
* @property {ExportInfoName[] | null=} providedExports
|
|
191
|
+
* @property {string[]=} optimizationBailout
|
|
192
|
+
* @property {(number | null)=} depth
|
|
193
|
+
* @property {StatsModule[]=} modules
|
|
194
|
+
* @property {number=} filteredModules
|
|
195
|
+
* @property {ReturnType<Source["source"]>=} source
|
|
196
|
+
*/
|
|
197
|
+
|
|
198
|
+
/** @typedef {KnownStatsProfile & Record<string, EXPECTED_ANY>} StatsProfile */
|
|
199
|
+
/**
|
|
200
|
+
* @typedef {object} KnownStatsProfile
|
|
201
|
+
* @property {number} total
|
|
202
|
+
* @property {number} resolving
|
|
203
|
+
* @property {number} restoring
|
|
204
|
+
* @property {number} building
|
|
205
|
+
* @property {number} integration
|
|
206
|
+
* @property {number} storing
|
|
207
|
+
* @property {number} additionalResolving
|
|
208
|
+
* @property {number} additionalIntegration
|
|
209
|
+
* @property {number} factory
|
|
210
|
+
* @property {number} dependencies
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
/** @typedef {KnownStatsModuleIssuer & Record<string, EXPECTED_ANY>} StatsModuleIssuer */
|
|
214
|
+
/**
|
|
215
|
+
* @typedef {object} KnownStatsModuleIssuer
|
|
216
|
+
* @property {string} identifier
|
|
217
|
+
* @property {string} name
|
|
218
|
+
* @property {ModuleId=} id
|
|
219
|
+
* @property {StatsProfile} profile
|
|
220
|
+
*/
|
|
221
|
+
|
|
222
|
+
/** @typedef {KnownStatsModuleReason & Record<string, EXPECTED_ANY>} StatsModuleReason */
|
|
223
|
+
/**
|
|
224
|
+
* @typedef {object} KnownStatsModuleReason
|
|
225
|
+
* @property {string | null} moduleIdentifier
|
|
226
|
+
* @property {string | null} module
|
|
227
|
+
* @property {string | null} moduleName
|
|
228
|
+
* @property {string | null} resolvedModuleIdentifier
|
|
229
|
+
* @property {string | null} resolvedModule
|
|
230
|
+
* @property {string | null} type
|
|
231
|
+
* @property {boolean} active
|
|
232
|
+
* @property {string | null} explanation
|
|
233
|
+
* @property {string | null} userRequest
|
|
234
|
+
* @property {(string | null)=} loc
|
|
235
|
+
* @property {ModuleId | null=} moduleId
|
|
236
|
+
* @property {ModuleId | null=} resolvedModuleId
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
/** @typedef {KnownStatsChunk & Record<string, EXPECTED_ANY>} StatsChunk */
|
|
240
|
+
/**
|
|
241
|
+
* @typedef {object} KnownStatsChunk
|
|
242
|
+
* @property {boolean} rendered
|
|
243
|
+
* @property {boolean} initial
|
|
244
|
+
* @property {boolean} entry
|
|
245
|
+
* @property {boolean} recorded
|
|
246
|
+
* @property {string=} reason
|
|
247
|
+
* @property {number} size
|
|
248
|
+
* @property {Record<string, number>} sizes
|
|
249
|
+
* @property {string[]} names
|
|
250
|
+
* @property {string[]} idHints
|
|
251
|
+
* @property {string[]=} runtime
|
|
252
|
+
* @property {string[]} files
|
|
253
|
+
* @property {string[]} auxiliaryFiles
|
|
254
|
+
* @property {string} hash
|
|
255
|
+
* @property {Record<string, ChunkId[]>} childrenByOrder
|
|
256
|
+
* @property {ChunkId=} id
|
|
257
|
+
* @property {ChunkId[]=} siblings
|
|
258
|
+
* @property {ChunkId[]=} parents
|
|
259
|
+
* @property {ChunkId[]=} children
|
|
260
|
+
* @property {StatsModule[]=} modules
|
|
261
|
+
* @property {number=} filteredModules
|
|
262
|
+
* @property {StatsChunkOrigin[]=} origins
|
|
263
|
+
*/
|
|
264
|
+
|
|
265
|
+
/** @typedef {KnownStatsChunkOrigin & Record<string, EXPECTED_ANY>} StatsChunkOrigin */
|
|
266
|
+
/**
|
|
267
|
+
* @typedef {object} KnownStatsChunkOrigin
|
|
268
|
+
* @property {string} module
|
|
269
|
+
* @property {string} moduleIdentifier
|
|
270
|
+
* @property {string} moduleName
|
|
271
|
+
* @property {string} loc
|
|
272
|
+
* @property {string} request
|
|
273
|
+
* @property {ModuleId=} moduleId
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
/** @typedef {KnownStatsModuleTraceItem & Record<string, EXPECTED_ANY>} StatsModuleTraceItem */
|
|
277
|
+
/**
|
|
278
|
+
* @typedef {object} KnownStatsModuleTraceItem
|
|
279
|
+
* @property {string=} originIdentifier
|
|
280
|
+
* @property {string=} originName
|
|
281
|
+
* @property {string=} moduleIdentifier
|
|
282
|
+
* @property {string=} moduleName
|
|
283
|
+
* @property {StatsModuleTraceDependency[]=} dependencies
|
|
284
|
+
* @property {ModuleId=} originId
|
|
285
|
+
* @property {ModuleId=} moduleId
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
/** @typedef {KnownStatsModuleTraceDependency & Record<string, EXPECTED_ANY>} StatsModuleTraceDependency */
|
|
289
|
+
/**
|
|
290
|
+
* @typedef {object} KnownStatsModuleTraceDependency
|
|
291
|
+
* @property {string=} loc
|
|
292
|
+
*/
|
|
293
|
+
|
|
294
|
+
/** @typedef {KnownStatsError & Record<string, EXPECTED_ANY>} StatsError */
|
|
295
|
+
/**
|
|
296
|
+
* @typedef {object} KnownStatsError
|
|
297
|
+
* @property {string} message
|
|
298
|
+
* @property {string=} chunkName
|
|
299
|
+
* @property {boolean=} chunkEntry
|
|
300
|
+
* @property {boolean=} chunkInitial
|
|
301
|
+
* @property {string=} file
|
|
302
|
+
* @property {string=} moduleIdentifier
|
|
303
|
+
* @property {string=} moduleName
|
|
304
|
+
* @property {string=} loc
|
|
305
|
+
* @property {ChunkId=} chunkId
|
|
306
|
+
* @property {ModuleId=} moduleId
|
|
307
|
+
* @property {StatsModuleTraceItem[]=} moduleTrace
|
|
308
|
+
* @property {string=} details
|
|
309
|
+
* @property {string=} stack
|
|
310
|
+
* @property {KnownStatsError=} cause
|
|
311
|
+
* @property {KnownStatsError[]=} errors
|
|
312
|
+
* @property {string=} compilerPath
|
|
313
|
+
*/
|
|
314
|
+
|
|
315
|
+
/** @typedef {Asset & { type: string, related: PreprocessedAsset[] | undefined }} PreprocessedAsset */
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @template T
|
|
319
|
+
* @template O
|
|
320
|
+
* @typedef {Record<string, (object: O, data: T, context: StatsFactoryContext, options: NormalizedStatsOptions, factory: StatsFactory) => void>} ExtractorsByOption
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
/** @typedef {{ name: string, chunkGroup: ChunkGroup }} ChunkGroupInfoWithName */
|
|
324
|
+
/** @typedef {{ origin: Module, module: Module }} ModuleTrace */
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @typedef {object} SimpleExtractors
|
|
328
|
+
* @property {ExtractorsByOption<Compilation, StatsCompilation>} compilation
|
|
329
|
+
* @property {ExtractorsByOption<PreprocessedAsset, StatsAsset>} asset
|
|
330
|
+
* @property {ExtractorsByOption<PreprocessedAsset, StatsAsset>} asset$visible
|
|
331
|
+
* @property {ExtractorsByOption<ChunkGroupInfoWithName, StatsChunkGroup>} chunkGroup
|
|
332
|
+
* @property {ExtractorsByOption<Module, StatsModule>} module
|
|
333
|
+
* @property {ExtractorsByOption<Module, StatsModule>} module$visible
|
|
334
|
+
* @property {ExtractorsByOption<Module, StatsModuleIssuer>} moduleIssuer
|
|
335
|
+
* @property {ExtractorsByOption<ModuleProfile, StatsProfile>} profile
|
|
336
|
+
* @property {ExtractorsByOption<ModuleGraphConnection, StatsModuleReason>} moduleReason
|
|
337
|
+
* @property {ExtractorsByOption<Chunk, StatsChunk>} chunk
|
|
338
|
+
* @property {ExtractorsByOption<OriginRecord, StatsChunkOrigin>} chunkOrigin
|
|
339
|
+
* @property {ExtractorsByOption<WebpackError, StatsError>} error
|
|
340
|
+
* @property {ExtractorsByOption<WebpackError, StatsError>} warning
|
|
341
|
+
* @property {ExtractorsByOption<WebpackError, StatsError>} cause
|
|
342
|
+
* @property {ExtractorsByOption<ModuleTrace, StatsModuleTraceItem>} moduleTraceItem
|
|
343
|
+
* @property {ExtractorsByOption<Dependency, StatsModuleTraceDependency>} moduleTraceDependency
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @template T
|
|
348
|
+
* @template I
|
|
349
|
+
* @param {Iterable<T>} items items to select from
|
|
350
|
+
* @param {(item: T) => Iterable<I>} selector selector function to select values from item
|
|
351
|
+
* @returns {I[]} array of values
|
|
352
|
+
*/
|
|
353
|
+
const uniqueArray = (items, selector) => {
|
|
354
|
+
/** @type {Set<I>} */
|
|
355
|
+
const set = new Set();
|
|
356
|
+
for (const item of items) {
|
|
357
|
+
for (const i of selector(item)) {
|
|
358
|
+
set.add(i);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
return [...set];
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @template T
|
|
366
|
+
* @template I
|
|
367
|
+
* @param {Iterable<T>} items items to select from
|
|
368
|
+
* @param {(item: T) => Iterable<I>} selector selector function to select values from item
|
|
369
|
+
* @param {Comparator<I>} comparator comparator function
|
|
370
|
+
* @returns {I[]} array of values
|
|
371
|
+
*/
|
|
372
|
+
const uniqueOrderedArray = (items, selector, comparator) =>
|
|
373
|
+
uniqueArray(items, selector).sort(comparator);
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @template T
|
|
377
|
+
* @template R
|
|
378
|
+
* @typedef {{ [P in keyof T]: R }} MappedValues<T, R>
|
|
379
|
+
*/
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @template {object} T
|
|
383
|
+
* @template {object} R
|
|
384
|
+
* @param {T} obj object to be mapped
|
|
385
|
+
* @param {(value: T[keyof T], key: keyof T) => R} fn mapping function
|
|
386
|
+
* @returns {MappedValues<T, R>} mapped object
|
|
387
|
+
*/
|
|
388
|
+
const mapObject = (obj, fn) => {
|
|
389
|
+
/** @type {MappedValues<T, R>} */
|
|
390
|
+
const newObj = Object.create(null);
|
|
391
|
+
for (const key of /** @type {(keyof T)[]} */ (Object.keys(obj))) {
|
|
392
|
+
newObj[key] = fn(obj[key], key);
|
|
393
|
+
}
|
|
394
|
+
return newObj;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @template T
|
|
399
|
+
* @param {Compilation} compilation the compilation
|
|
400
|
+
* @param {(compilation: Compilation, name: string) => T[]} getItems get items
|
|
401
|
+
* @returns {number} total number
|
|
402
|
+
*/
|
|
403
|
+
const countWithChildren = (compilation, getItems) => {
|
|
404
|
+
let count = getItems(compilation, "").length;
|
|
405
|
+
for (const child of compilation.children) {
|
|
406
|
+
count += countWithChildren(child, (c, type) =>
|
|
407
|
+
getItems(c, `.children[].compilation${type}`)
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
return count;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/** @type {ExtractorsByOption<string | ErrorWithCause | AggregateError | WebpackError, StatsError>} */
|
|
414
|
+
const EXTRACT_ERROR = {
|
|
415
|
+
_: (object, error, context, { requestShortener }) => {
|
|
416
|
+
// TODO webpack 6 disallow strings in the errors/warnings list
|
|
417
|
+
if (typeof error === "string") {
|
|
418
|
+
object.message = error;
|
|
419
|
+
} else {
|
|
420
|
+
if (/** @type {WebpackError} */ (error).chunk) {
|
|
421
|
+
const chunk = /** @type {WebpackError} */ (error).chunk;
|
|
422
|
+
object.chunkName =
|
|
423
|
+
/** @type {string | undefined} */
|
|
424
|
+
(chunk.name);
|
|
425
|
+
object.chunkEntry = chunk.hasRuntime();
|
|
426
|
+
object.chunkInitial = chunk.canBeInitial();
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
if (/** @type {WebpackError} */ (error).file) {
|
|
430
|
+
object.file = /** @type {WebpackError} */ (error).file;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
if (/** @type {WebpackError} */ (error).module) {
|
|
434
|
+
object.moduleIdentifier =
|
|
435
|
+
/** @type {WebpackError} */
|
|
436
|
+
(error).module.identifier();
|
|
437
|
+
object.moduleName =
|
|
438
|
+
/** @type {WebpackError} */
|
|
439
|
+
(error).module.readableIdentifier(requestShortener);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
if (/** @type {WebpackError} */ (error).loc) {
|
|
443
|
+
object.loc = formatLocation(/** @type {WebpackError} */ (error).loc);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
object.message = error.message;
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
ids: (object, error, { compilation: { chunkGraph } }) => {
|
|
450
|
+
if (typeof error !== "string") {
|
|
451
|
+
if (/** @type {WebpackError} */ (error).chunk) {
|
|
452
|
+
object.chunkId = /** @type {ChunkId} */ (
|
|
453
|
+
/** @type {WebpackError} */
|
|
454
|
+
(error).chunk.id
|
|
455
|
+
);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (/** @type {WebpackError} */ (error).module) {
|
|
459
|
+
object.moduleId =
|
|
460
|
+
/** @type {ModuleId} */
|
|
461
|
+
(chunkGraph.getModuleId(/** @type {WebpackError} */ (error).module));
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
moduleTrace: (object, error, context, options, factory) => {
|
|
466
|
+
if (
|
|
467
|
+
typeof error !== "string" &&
|
|
468
|
+
/** @type {WebpackError} */ (error).module
|
|
469
|
+
) {
|
|
470
|
+
const {
|
|
471
|
+
type,
|
|
472
|
+
compilation: { moduleGraph }
|
|
473
|
+
} = context;
|
|
474
|
+
/** @type {Set<Module>} */
|
|
475
|
+
const visitedModules = new Set();
|
|
476
|
+
/** @type {ModuleTrace[]} */
|
|
477
|
+
const moduleTrace = [];
|
|
478
|
+
let current = /** @type {WebpackError} */ (error).module;
|
|
479
|
+
while (current) {
|
|
480
|
+
if (visitedModules.has(current)) break; // circular (technically impossible, but how knows)
|
|
481
|
+
visitedModules.add(current);
|
|
482
|
+
const origin = moduleGraph.getIssuer(current);
|
|
483
|
+
if (!origin) break;
|
|
484
|
+
moduleTrace.push({ origin, module: current });
|
|
485
|
+
current = origin;
|
|
486
|
+
}
|
|
487
|
+
object.moduleTrace = factory.create(
|
|
488
|
+
`${type}.moduleTrace`,
|
|
489
|
+
moduleTrace,
|
|
490
|
+
context
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
errorDetails: (
|
|
495
|
+
object,
|
|
496
|
+
error,
|
|
497
|
+
{ type, compilation, cachedGetErrors },
|
|
498
|
+
{ errorDetails }
|
|
499
|
+
) => {
|
|
500
|
+
if (
|
|
501
|
+
typeof error !== "string" &&
|
|
502
|
+
(errorDetails === true ||
|
|
503
|
+
(type.endsWith(".error") && cachedGetErrors(compilation).length < 3))
|
|
504
|
+
) {
|
|
505
|
+
object.details = /** @type {WebpackError} */ (error).details;
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
errorStack: (object, error, _context, { errorStack }) => {
|
|
509
|
+
if (typeof error !== "string" && errorStack) {
|
|
510
|
+
object.stack = error.stack;
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
errorCause: (object, error, context, options, factory) => {
|
|
514
|
+
if (
|
|
515
|
+
typeof error !== "string" &&
|
|
516
|
+
/** @type {ErrorWithCause} */ (error).cause
|
|
517
|
+
) {
|
|
518
|
+
const rawCause = /** @type {ErrorWithCause} */ (error).cause;
|
|
519
|
+
/** @type {Error} */
|
|
520
|
+
const cause =
|
|
521
|
+
typeof rawCause === "string"
|
|
522
|
+
? /** @type {Error} */ ({ message: rawCause })
|
|
523
|
+
: /** @type {Error} */ (rawCause);
|
|
524
|
+
const { type } = context;
|
|
525
|
+
|
|
526
|
+
object.cause = factory.create(`${type}.cause`, cause, context);
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
errorErrors: (object, error, context, options, factory) => {
|
|
530
|
+
if (
|
|
531
|
+
typeof error !== "string" &&
|
|
532
|
+
/** @type {AggregateError} */
|
|
533
|
+
(error).errors
|
|
534
|
+
) {
|
|
535
|
+
const { type } = context;
|
|
536
|
+
object.errors = factory.create(
|
|
537
|
+
`${type}.errors`,
|
|
538
|
+
/** @type {Error[]} */
|
|
539
|
+
(/** @type {AggregateError} */ (error).errors),
|
|
540
|
+
context
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
/** @type {SimpleExtractors} */
|
|
547
|
+
const SIMPLE_EXTRACTORS = {
|
|
548
|
+
compilation: {
|
|
549
|
+
_: (object, compilation, context, options) => {
|
|
550
|
+
if (!context.makePathsRelative) {
|
|
551
|
+
context.makePathsRelative = makePathsRelative.bindContextCache(
|
|
552
|
+
compilation.compiler.context,
|
|
553
|
+
compilation.compiler.root
|
|
554
|
+
);
|
|
555
|
+
}
|
|
556
|
+
if (!context.cachedGetErrors) {
|
|
557
|
+
/** @type {WeakMap<Compilation, Error[]>} */
|
|
558
|
+
const map = new WeakMap();
|
|
559
|
+
context.cachedGetErrors = (compilation) =>
|
|
560
|
+
map.get(compilation) ||
|
|
561
|
+
// eslint-disable-next-line no-sequences
|
|
562
|
+
((errors) => (map.set(compilation, errors), errors))(
|
|
563
|
+
compilation.getErrors()
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
if (!context.cachedGetWarnings) {
|
|
567
|
+
/** @type {WeakMap<Compilation, Error[]>} */
|
|
568
|
+
const map = new WeakMap();
|
|
569
|
+
context.cachedGetWarnings = (compilation) =>
|
|
570
|
+
map.get(compilation) ||
|
|
571
|
+
// eslint-disable-next-line no-sequences
|
|
572
|
+
((warnings) => (map.set(compilation, warnings), warnings))(
|
|
573
|
+
compilation.getWarnings()
|
|
574
|
+
);
|
|
575
|
+
}
|
|
576
|
+
if (compilation.name) {
|
|
577
|
+
object.name = compilation.name;
|
|
578
|
+
}
|
|
579
|
+
if (compilation.needAdditionalPass) {
|
|
580
|
+
object.needAdditionalPass = true;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
const { logging, loggingDebug, loggingTrace } = options;
|
|
584
|
+
if (logging || (loggingDebug && loggingDebug.length > 0)) {
|
|
585
|
+
const util = require("util");
|
|
586
|
+
|
|
587
|
+
object.logging = {};
|
|
588
|
+
/** @type {Set<keyof LogType>} */
|
|
589
|
+
let acceptedTypes;
|
|
590
|
+
let collapsedGroups = false;
|
|
591
|
+
switch (logging) {
|
|
592
|
+
case "error":
|
|
593
|
+
acceptedTypes = new Set([LogType.error]);
|
|
594
|
+
break;
|
|
595
|
+
case "warn":
|
|
596
|
+
acceptedTypes = new Set([LogType.error, LogType.warn]);
|
|
597
|
+
break;
|
|
598
|
+
case "info":
|
|
599
|
+
acceptedTypes = new Set([
|
|
600
|
+
LogType.error,
|
|
601
|
+
LogType.warn,
|
|
602
|
+
LogType.info
|
|
603
|
+
]);
|
|
604
|
+
break;
|
|
605
|
+
case "log":
|
|
606
|
+
acceptedTypes = new Set([
|
|
607
|
+
LogType.error,
|
|
608
|
+
LogType.warn,
|
|
609
|
+
LogType.info,
|
|
610
|
+
LogType.log,
|
|
611
|
+
LogType.group,
|
|
612
|
+
LogType.groupEnd,
|
|
613
|
+
LogType.groupCollapsed,
|
|
614
|
+
LogType.clear
|
|
615
|
+
]);
|
|
616
|
+
break;
|
|
617
|
+
case "verbose":
|
|
618
|
+
acceptedTypes = new Set([
|
|
619
|
+
LogType.error,
|
|
620
|
+
LogType.warn,
|
|
621
|
+
LogType.info,
|
|
622
|
+
LogType.log,
|
|
623
|
+
LogType.group,
|
|
624
|
+
LogType.groupEnd,
|
|
625
|
+
LogType.groupCollapsed,
|
|
626
|
+
LogType.profile,
|
|
627
|
+
LogType.profileEnd,
|
|
628
|
+
LogType.time,
|
|
629
|
+
LogType.status,
|
|
630
|
+
LogType.clear
|
|
631
|
+
]);
|
|
632
|
+
collapsedGroups = true;
|
|
633
|
+
break;
|
|
634
|
+
default:
|
|
635
|
+
acceptedTypes = new Set();
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
const cachedMakePathsRelative = makePathsRelative.bindContextCache(
|
|
639
|
+
options.context,
|
|
640
|
+
compilation.compiler.root
|
|
641
|
+
);
|
|
642
|
+
let depthInCollapsedGroup = 0;
|
|
643
|
+
for (const [origin, logEntries] of compilation.logging) {
|
|
644
|
+
const debugMode = loggingDebug.some((fn) => fn(origin));
|
|
645
|
+
if (logging === false && !debugMode) continue;
|
|
646
|
+
/** @type {KnownStatsLoggingEntry[]} */
|
|
647
|
+
const groupStack = [];
|
|
648
|
+
/** @type {KnownStatsLoggingEntry[]} */
|
|
649
|
+
const rootList = [];
|
|
650
|
+
let currentList = rootList;
|
|
651
|
+
let processedLogEntries = 0;
|
|
652
|
+
for (const entry of logEntries) {
|
|
653
|
+
let type = entry.type;
|
|
654
|
+
if (!debugMode && !acceptedTypes.has(type)) continue;
|
|
655
|
+
|
|
656
|
+
// Expand groups in verbose and debug modes
|
|
657
|
+
if (
|
|
658
|
+
type === LogType.groupCollapsed &&
|
|
659
|
+
(debugMode || collapsedGroups)
|
|
660
|
+
) {
|
|
661
|
+
type = LogType.group;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
if (depthInCollapsedGroup === 0) {
|
|
665
|
+
processedLogEntries++;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
if (type === LogType.groupEnd) {
|
|
669
|
+
groupStack.pop();
|
|
670
|
+
currentList =
|
|
671
|
+
groupStack.length > 0
|
|
672
|
+
? /** @type {KnownStatsLoggingEntry[]} */ (
|
|
673
|
+
groupStack[groupStack.length - 1].children
|
|
674
|
+
)
|
|
675
|
+
: rootList;
|
|
676
|
+
if (depthInCollapsedGroup > 0) depthInCollapsedGroup--;
|
|
677
|
+
continue;
|
|
678
|
+
}
|
|
679
|
+
/** @type {undefined | string} */
|
|
680
|
+
let message;
|
|
681
|
+
if (entry.type === LogType.time) {
|
|
682
|
+
const [label, first, second] =
|
|
683
|
+
/** @type {[string, number, number]} */
|
|
684
|
+
(entry.args);
|
|
685
|
+
message = `${label}: ${first * 1000 + second / 1000000} ms`;
|
|
686
|
+
} else if (entry.args && entry.args.length > 0) {
|
|
687
|
+
message = util.format(entry.args[0], ...entry.args.slice(1));
|
|
688
|
+
}
|
|
689
|
+
/** @type {KnownStatsLoggingEntry} */
|
|
690
|
+
const newEntry = {
|
|
691
|
+
...entry,
|
|
692
|
+
type,
|
|
693
|
+
message,
|
|
694
|
+
trace: loggingTrace ? entry.trace : undefined,
|
|
695
|
+
children:
|
|
696
|
+
type === LogType.group || type === LogType.groupCollapsed
|
|
697
|
+
? []
|
|
698
|
+
: undefined
|
|
699
|
+
};
|
|
700
|
+
currentList.push(newEntry);
|
|
701
|
+
if (newEntry.children) {
|
|
702
|
+
groupStack.push(newEntry);
|
|
703
|
+
currentList = newEntry.children;
|
|
704
|
+
if (depthInCollapsedGroup > 0) {
|
|
705
|
+
depthInCollapsedGroup++;
|
|
706
|
+
} else if (type === LogType.groupCollapsed) {
|
|
707
|
+
depthInCollapsedGroup = 1;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
let name = cachedMakePathsRelative(origin).replace(/\|/g, " ");
|
|
712
|
+
if (name in object.logging) {
|
|
713
|
+
let i = 1;
|
|
714
|
+
while (`${name}#${i}` in object.logging) {
|
|
715
|
+
i++;
|
|
716
|
+
}
|
|
717
|
+
name = `${name}#${i}`;
|
|
718
|
+
}
|
|
719
|
+
object.logging[name] = {
|
|
720
|
+
entries: rootList,
|
|
721
|
+
filteredEntries: logEntries.length - processedLogEntries,
|
|
722
|
+
debug: debugMode
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
hash: (object, compilation) => {
|
|
728
|
+
object.hash = compilation.hash;
|
|
729
|
+
},
|
|
730
|
+
version: (object) => {
|
|
731
|
+
object.version = require("../../package.json").version;
|
|
732
|
+
},
|
|
733
|
+
env: (object, compilation, context, { _env }) => {
|
|
734
|
+
object.env = _env;
|
|
735
|
+
},
|
|
736
|
+
timings: (object, compilation) => {
|
|
737
|
+
object.time =
|
|
738
|
+
/** @type {number} */ (compilation.endTime) -
|
|
739
|
+
/** @type {number} */ (compilation.startTime);
|
|
740
|
+
},
|
|
741
|
+
builtAt: (object, compilation) => {
|
|
742
|
+
object.builtAt = /** @type {number} */ (compilation.endTime);
|
|
743
|
+
},
|
|
744
|
+
publicPath: (object, compilation) => {
|
|
745
|
+
object.publicPath = compilation.getPath(
|
|
746
|
+
compilation.outputOptions.publicPath
|
|
747
|
+
);
|
|
748
|
+
},
|
|
749
|
+
outputPath: (object, compilation) => {
|
|
750
|
+
object.outputPath = compilation.outputOptions.path;
|
|
751
|
+
},
|
|
752
|
+
assets: (object, compilation, context, options, factory) => {
|
|
753
|
+
const { type } = context;
|
|
754
|
+
/** @type {Map<string, Chunk[]>} */
|
|
755
|
+
const compilationFileToChunks = new Map();
|
|
756
|
+
/** @type {Map<string, Chunk[]>} */
|
|
757
|
+
const compilationAuxiliaryFileToChunks = new Map();
|
|
758
|
+
for (const chunk of compilation.chunks) {
|
|
759
|
+
for (const file of chunk.files) {
|
|
760
|
+
let array = compilationFileToChunks.get(file);
|
|
761
|
+
if (array === undefined) {
|
|
762
|
+
array = [];
|
|
763
|
+
compilationFileToChunks.set(file, array);
|
|
764
|
+
}
|
|
765
|
+
array.push(chunk);
|
|
766
|
+
}
|
|
767
|
+
for (const file of chunk.auxiliaryFiles) {
|
|
768
|
+
let array = compilationAuxiliaryFileToChunks.get(file);
|
|
769
|
+
if (array === undefined) {
|
|
770
|
+
array = [];
|
|
771
|
+
compilationAuxiliaryFileToChunks.set(file, array);
|
|
772
|
+
}
|
|
773
|
+
array.push(chunk);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
/** @type {Map<string, PreprocessedAsset>} */
|
|
777
|
+
const assetMap = new Map();
|
|
778
|
+
/** @type {Set<PreprocessedAsset>} */
|
|
779
|
+
const assets = new Set();
|
|
780
|
+
for (const asset of compilation.getAssets()) {
|
|
781
|
+
/** @type {PreprocessedAsset} */
|
|
782
|
+
const item = {
|
|
783
|
+
...asset,
|
|
784
|
+
type: "asset",
|
|
785
|
+
related: undefined
|
|
786
|
+
};
|
|
787
|
+
assets.add(item);
|
|
788
|
+
assetMap.set(asset.name, item);
|
|
789
|
+
}
|
|
790
|
+
for (const item of assetMap.values()) {
|
|
791
|
+
const related = item.info.related;
|
|
792
|
+
if (!related) continue;
|
|
793
|
+
for (const type of Object.keys(related)) {
|
|
794
|
+
const relatedEntry = related[type];
|
|
795
|
+
const deps = Array.isArray(relatedEntry)
|
|
796
|
+
? relatedEntry
|
|
797
|
+
: [relatedEntry];
|
|
798
|
+
for (const dep of deps) {
|
|
799
|
+
if (!dep) continue;
|
|
800
|
+
const depItem = assetMap.get(dep);
|
|
801
|
+
if (!depItem) continue;
|
|
802
|
+
assets.delete(depItem);
|
|
803
|
+
depItem.type = type;
|
|
804
|
+
item.related = item.related || [];
|
|
805
|
+
item.related.push(depItem);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
object.assetsByChunkName = {};
|
|
811
|
+
for (const [file, chunks] of [
|
|
812
|
+
...compilationFileToChunks,
|
|
813
|
+
...compilationAuxiliaryFileToChunks
|
|
814
|
+
]) {
|
|
815
|
+
for (const chunk of chunks) {
|
|
816
|
+
const name = chunk.name;
|
|
817
|
+
if (!name) continue;
|
|
818
|
+
if (
|
|
819
|
+
!Object.prototype.hasOwnProperty.call(
|
|
820
|
+
object.assetsByChunkName,
|
|
821
|
+
name
|
|
822
|
+
)
|
|
823
|
+
) {
|
|
824
|
+
object.assetsByChunkName[name] = [];
|
|
825
|
+
}
|
|
826
|
+
object.assetsByChunkName[name].push(file);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
const groupedAssets = factory.create(`${type}.assets`, [...assets], {
|
|
831
|
+
...context,
|
|
832
|
+
compilationFileToChunks,
|
|
833
|
+
compilationAuxiliaryFileToChunks
|
|
834
|
+
});
|
|
835
|
+
const limited = spaceLimited(
|
|
836
|
+
groupedAssets,
|
|
837
|
+
/** @type {number} */ (options.assetsSpace)
|
|
838
|
+
);
|
|
839
|
+
object.assets = limited.children;
|
|
840
|
+
object.filteredAssets = limited.filteredChildren;
|
|
841
|
+
},
|
|
842
|
+
chunks: (object, compilation, context, options, factory) => {
|
|
843
|
+
const { type } = context;
|
|
844
|
+
object.chunks = factory.create(
|
|
845
|
+
`${type}.chunks`,
|
|
846
|
+
[...compilation.chunks],
|
|
847
|
+
context
|
|
848
|
+
);
|
|
849
|
+
},
|
|
850
|
+
modules: (object, compilation, context, options, factory) => {
|
|
851
|
+
const { type } = context;
|
|
852
|
+
const array = [...compilation.modules];
|
|
853
|
+
const groupedModules = factory.create(`${type}.modules`, array, context);
|
|
854
|
+
const limited = spaceLimited(groupedModules, options.modulesSpace);
|
|
855
|
+
object.modules = limited.children;
|
|
856
|
+
object.filteredModules = limited.filteredChildren;
|
|
857
|
+
},
|
|
858
|
+
entrypoints: (
|
|
859
|
+
object,
|
|
860
|
+
compilation,
|
|
861
|
+
context,
|
|
862
|
+
{ entrypoints, chunkGroups, chunkGroupAuxiliary, chunkGroupChildren },
|
|
863
|
+
factory
|
|
864
|
+
) => {
|
|
865
|
+
const { type } = context;
|
|
866
|
+
/** @type {ChunkGroupInfoWithName[]} */
|
|
867
|
+
const array = Array.from(compilation.entrypoints, ([key, value]) => ({
|
|
868
|
+
name: key,
|
|
869
|
+
chunkGroup: value
|
|
870
|
+
}));
|
|
871
|
+
if (entrypoints === "auto" && !chunkGroups) {
|
|
872
|
+
if (array.length > 5) return;
|
|
873
|
+
if (
|
|
874
|
+
!chunkGroupChildren &&
|
|
875
|
+
array.every(({ chunkGroup }) => {
|
|
876
|
+
if (chunkGroup.chunks.length !== 1) return false;
|
|
877
|
+
const chunk = chunkGroup.chunks[0];
|
|
878
|
+
return (
|
|
879
|
+
chunk.files.size === 1 &&
|
|
880
|
+
(!chunkGroupAuxiliary || chunk.auxiliaryFiles.size === 0)
|
|
881
|
+
);
|
|
882
|
+
})
|
|
883
|
+
) {
|
|
884
|
+
return;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
object.entrypoints = factory.create(
|
|
888
|
+
`${type}.entrypoints`,
|
|
889
|
+
array,
|
|
890
|
+
context
|
|
891
|
+
);
|
|
892
|
+
},
|
|
893
|
+
chunkGroups: (object, compilation, context, options, factory) => {
|
|
894
|
+
const { type } = context;
|
|
895
|
+
const array = Array.from(
|
|
896
|
+
compilation.namedChunkGroups,
|
|
897
|
+
([key, value]) => ({
|
|
898
|
+
name: key,
|
|
899
|
+
chunkGroup: value
|
|
900
|
+
})
|
|
901
|
+
);
|
|
902
|
+
object.namedChunkGroups = factory.create(
|
|
903
|
+
`${type}.namedChunkGroups`,
|
|
904
|
+
array,
|
|
905
|
+
context
|
|
906
|
+
);
|
|
907
|
+
},
|
|
908
|
+
errors: (object, compilation, context, options, factory) => {
|
|
909
|
+
const { type, cachedGetErrors } = context;
|
|
910
|
+
const rawErrors = cachedGetErrors(compilation);
|
|
911
|
+
const factorizedErrors = factory.create(
|
|
912
|
+
`${type}.errors`,
|
|
913
|
+
cachedGetErrors(compilation),
|
|
914
|
+
context
|
|
915
|
+
);
|
|
916
|
+
let filtered = 0;
|
|
917
|
+
if (options.errorDetails === "auto" && rawErrors.length >= 3) {
|
|
918
|
+
filtered = rawErrors
|
|
919
|
+
.map(
|
|
920
|
+
(e) =>
|
|
921
|
+
typeof e !== "string" && /** @type {WebpackError} */ (e).details
|
|
922
|
+
)
|
|
923
|
+
.filter(Boolean).length;
|
|
924
|
+
}
|
|
925
|
+
if (
|
|
926
|
+
options.errorDetails === true ||
|
|
927
|
+
!Number.isFinite(options.errorsSpace)
|
|
928
|
+
) {
|
|
929
|
+
object.errors = factorizedErrors;
|
|
930
|
+
if (filtered) object.filteredErrorDetailsCount = filtered;
|
|
931
|
+
return;
|
|
932
|
+
}
|
|
933
|
+
const [errors, filteredBySpace] = errorsSpaceLimit(
|
|
934
|
+
factorizedErrors,
|
|
935
|
+
/** @type {number} */
|
|
936
|
+
(options.errorsSpace)
|
|
937
|
+
);
|
|
938
|
+
object.filteredErrorDetailsCount = filtered + filteredBySpace;
|
|
939
|
+
object.errors = errors;
|
|
940
|
+
},
|
|
941
|
+
errorsCount: (object, compilation, { cachedGetErrors }) => {
|
|
942
|
+
object.errorsCount = countWithChildren(compilation, (c) =>
|
|
943
|
+
cachedGetErrors(c)
|
|
944
|
+
);
|
|
945
|
+
},
|
|
946
|
+
warnings: (object, compilation, context, options, factory) => {
|
|
947
|
+
const { type, cachedGetWarnings } = context;
|
|
948
|
+
const rawWarnings = factory.create(
|
|
949
|
+
`${type}.warnings`,
|
|
950
|
+
cachedGetWarnings(compilation),
|
|
951
|
+
context
|
|
952
|
+
);
|
|
953
|
+
let filtered = 0;
|
|
954
|
+
if (options.errorDetails === "auto") {
|
|
955
|
+
filtered = cachedGetWarnings(compilation)
|
|
956
|
+
.map(
|
|
957
|
+
(e) =>
|
|
958
|
+
typeof e !== "string" && /** @type {WebpackError} */ (e).details
|
|
959
|
+
)
|
|
960
|
+
.filter(Boolean).length;
|
|
961
|
+
}
|
|
962
|
+
if (
|
|
963
|
+
options.errorDetails === true ||
|
|
964
|
+
!Number.isFinite(options.warningsSpace)
|
|
965
|
+
) {
|
|
966
|
+
object.warnings = rawWarnings;
|
|
967
|
+
if (filtered) object.filteredWarningDetailsCount = filtered;
|
|
968
|
+
return;
|
|
969
|
+
}
|
|
970
|
+
const [warnings, filteredBySpace] = errorsSpaceLimit(
|
|
971
|
+
rawWarnings,
|
|
972
|
+
/** @type {number} */
|
|
973
|
+
(options.warningsSpace)
|
|
974
|
+
);
|
|
975
|
+
object.filteredWarningDetailsCount = filtered + filteredBySpace;
|
|
976
|
+
object.warnings = warnings;
|
|
977
|
+
},
|
|
978
|
+
warningsCount: (
|
|
979
|
+
object,
|
|
980
|
+
compilation,
|
|
981
|
+
context,
|
|
982
|
+
{ warningsFilter },
|
|
983
|
+
factory
|
|
984
|
+
) => {
|
|
985
|
+
const { type, cachedGetWarnings } = context;
|
|
986
|
+
object.warningsCount = countWithChildren(compilation, (c, childType) => {
|
|
987
|
+
if (
|
|
988
|
+
!warningsFilter &&
|
|
989
|
+
/** @type {KnownNormalizedStatsOptions["warningsFilter"]} */
|
|
990
|
+
(warningsFilter).length === 0
|
|
991
|
+
) {
|
|
992
|
+
// Type is wrong, because we don't need the real value for counting
|
|
993
|
+
return /** @type {EXPECTED_ANY[]} */ (cachedGetWarnings(c));
|
|
994
|
+
}
|
|
995
|
+
return factory
|
|
996
|
+
.create(`${type}${childType}.warnings`, cachedGetWarnings(c), context)
|
|
997
|
+
.filter(
|
|
998
|
+
/**
|
|
999
|
+
* @param {StatsError} warning warning
|
|
1000
|
+
* @returns {boolean} result
|
|
1001
|
+
*/
|
|
1002
|
+
(warning) => {
|
|
1003
|
+
const warningString = Object.keys(warning)
|
|
1004
|
+
.map(
|
|
1005
|
+
(key) =>
|
|
1006
|
+
`${warning[/** @type {keyof KnownStatsError} */ (key)]}`
|
|
1007
|
+
)
|
|
1008
|
+
.join("\n");
|
|
1009
|
+
return !warningsFilter.some((filter) =>
|
|
1010
|
+
filter(warning, warningString)
|
|
1011
|
+
);
|
|
1012
|
+
}
|
|
1013
|
+
);
|
|
1014
|
+
});
|
|
1015
|
+
},
|
|
1016
|
+
children: (object, compilation, context, options, factory) => {
|
|
1017
|
+
const { type } = context;
|
|
1018
|
+
object.children = factory.create(
|
|
1019
|
+
`${type}.children`,
|
|
1020
|
+
compilation.children,
|
|
1021
|
+
context
|
|
1022
|
+
);
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
asset: {
|
|
1026
|
+
_: (object, asset, context, options, factory) => {
|
|
1027
|
+
const { compilation } = context;
|
|
1028
|
+
object.type = asset.type;
|
|
1029
|
+
object.name = asset.name;
|
|
1030
|
+
object.size = asset.source.size();
|
|
1031
|
+
object.emitted = compilation.emittedAssets.has(asset.name);
|
|
1032
|
+
object.comparedForEmit = compilation.comparedForEmitAssets.has(
|
|
1033
|
+
asset.name
|
|
1034
|
+
);
|
|
1035
|
+
const cached = !object.emitted && !object.comparedForEmit;
|
|
1036
|
+
object.cached = cached;
|
|
1037
|
+
object.info = asset.info;
|
|
1038
|
+
if (!cached || options.cachedAssets) {
|
|
1039
|
+
Object.assign(
|
|
1040
|
+
object,
|
|
1041
|
+
factory.create(`${context.type}$visible`, asset, context)
|
|
1042
|
+
);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
asset$visible: {
|
|
1047
|
+
_: (
|
|
1048
|
+
object,
|
|
1049
|
+
asset,
|
|
1050
|
+
{ compilationFileToChunks, compilationAuxiliaryFileToChunks }
|
|
1051
|
+
) => {
|
|
1052
|
+
const chunks = compilationFileToChunks.get(asset.name) || [];
|
|
1053
|
+
const auxiliaryChunks =
|
|
1054
|
+
compilationAuxiliaryFileToChunks.get(asset.name) || [];
|
|
1055
|
+
object.chunkNames = uniqueOrderedArray(
|
|
1056
|
+
chunks,
|
|
1057
|
+
(c) => (c.name ? [c.name] : []),
|
|
1058
|
+
compareIds
|
|
1059
|
+
);
|
|
1060
|
+
object.chunkIdHints = uniqueOrderedArray(
|
|
1061
|
+
chunks,
|
|
1062
|
+
(c) => [...c.idNameHints],
|
|
1063
|
+
compareIds
|
|
1064
|
+
);
|
|
1065
|
+
object.auxiliaryChunkNames = uniqueOrderedArray(
|
|
1066
|
+
auxiliaryChunks,
|
|
1067
|
+
(c) => (c.name ? [c.name] : []),
|
|
1068
|
+
compareIds
|
|
1069
|
+
);
|
|
1070
|
+
object.auxiliaryChunkIdHints = uniqueOrderedArray(
|
|
1071
|
+
auxiliaryChunks,
|
|
1072
|
+
(c) => [...c.idNameHints],
|
|
1073
|
+
compareIds
|
|
1074
|
+
);
|
|
1075
|
+
object.filteredRelated = asset.related ? asset.related.length : undefined;
|
|
1076
|
+
},
|
|
1077
|
+
relatedAssets: (object, asset, context, options, factory) => {
|
|
1078
|
+
const { type } = context;
|
|
1079
|
+
object.related = factory.create(
|
|
1080
|
+
`${type.slice(0, -8)}.related`,
|
|
1081
|
+
asset.related || [],
|
|
1082
|
+
context
|
|
1083
|
+
);
|
|
1084
|
+
object.filteredRelated = asset.related
|
|
1085
|
+
? asset.related.length -
|
|
1086
|
+
/** @type {StatsAsset[]} */ (object.related).length
|
|
1087
|
+
: undefined;
|
|
1088
|
+
},
|
|
1089
|
+
ids: (
|
|
1090
|
+
object,
|
|
1091
|
+
asset,
|
|
1092
|
+
{ compilationFileToChunks, compilationAuxiliaryFileToChunks }
|
|
1093
|
+
) => {
|
|
1094
|
+
const chunks = compilationFileToChunks.get(asset.name) || [];
|
|
1095
|
+
const auxiliaryChunks =
|
|
1096
|
+
compilationAuxiliaryFileToChunks.get(asset.name) || [];
|
|
1097
|
+
object.chunks = uniqueOrderedArray(
|
|
1098
|
+
chunks,
|
|
1099
|
+
(c) => /** @type {ChunkId[]} */ (c.ids),
|
|
1100
|
+
compareIds
|
|
1101
|
+
);
|
|
1102
|
+
object.auxiliaryChunks = uniqueOrderedArray(
|
|
1103
|
+
auxiliaryChunks,
|
|
1104
|
+
(c) => /** @type {ChunkId[]} */ (c.ids),
|
|
1105
|
+
compareIds
|
|
1106
|
+
);
|
|
1107
|
+
},
|
|
1108
|
+
performance: (object, asset) => {
|
|
1109
|
+
object.isOverSizeLimit = SizeLimitsPlugin.isOverSizeLimit(asset.source);
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
chunkGroup: {
|
|
1113
|
+
_: (
|
|
1114
|
+
object,
|
|
1115
|
+
{ name, chunkGroup },
|
|
1116
|
+
{ compilation, compilation: { moduleGraph, chunkGraph } },
|
|
1117
|
+
{ ids, chunkGroupAuxiliary, chunkGroupChildren, chunkGroupMaxAssets }
|
|
1118
|
+
) => {
|
|
1119
|
+
const children =
|
|
1120
|
+
chunkGroupChildren &&
|
|
1121
|
+
chunkGroup.getChildrenByOrders(moduleGraph, chunkGraph);
|
|
1122
|
+
/**
|
|
1123
|
+
* @param {string} name Name
|
|
1124
|
+
* @returns {{ name: string, size: number }} Asset object
|
|
1125
|
+
*/
|
|
1126
|
+
const toAsset = (name) => {
|
|
1127
|
+
const asset = compilation.getAsset(name);
|
|
1128
|
+
return {
|
|
1129
|
+
name,
|
|
1130
|
+
size: /** @type {number} */ (asset ? asset.info.size : -1)
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
/** @type {(total: number, asset: { size: number }) => number} */
|
|
1134
|
+
const sizeReducer = (total, { size }) => total + size;
|
|
1135
|
+
const assets = uniqueArray(chunkGroup.chunks, (c) => c.files).map(
|
|
1136
|
+
toAsset
|
|
1137
|
+
);
|
|
1138
|
+
const auxiliaryAssets = uniqueOrderedArray(
|
|
1139
|
+
chunkGroup.chunks,
|
|
1140
|
+
(c) => c.auxiliaryFiles,
|
|
1141
|
+
compareIds
|
|
1142
|
+
).map(toAsset);
|
|
1143
|
+
const assetsSize = assets.reduce(sizeReducer, 0);
|
|
1144
|
+
const auxiliaryAssetsSize = auxiliaryAssets.reduce(sizeReducer, 0);
|
|
1145
|
+
/** @type {KnownStatsChunkGroup} */
|
|
1146
|
+
const statsChunkGroup = {
|
|
1147
|
+
name,
|
|
1148
|
+
chunks: ids
|
|
1149
|
+
? /** @type {ChunkId[]} */ (chunkGroup.chunks.map((c) => c.id))
|
|
1150
|
+
: undefined,
|
|
1151
|
+
assets: assets.length <= chunkGroupMaxAssets ? assets : undefined,
|
|
1152
|
+
filteredAssets:
|
|
1153
|
+
assets.length <= chunkGroupMaxAssets ? 0 : assets.length,
|
|
1154
|
+
assetsSize,
|
|
1155
|
+
auxiliaryAssets:
|
|
1156
|
+
chunkGroupAuxiliary && auxiliaryAssets.length <= chunkGroupMaxAssets
|
|
1157
|
+
? auxiliaryAssets
|
|
1158
|
+
: undefined,
|
|
1159
|
+
filteredAuxiliaryAssets:
|
|
1160
|
+
chunkGroupAuxiliary && auxiliaryAssets.length <= chunkGroupMaxAssets
|
|
1161
|
+
? 0
|
|
1162
|
+
: auxiliaryAssets.length,
|
|
1163
|
+
auxiliaryAssetsSize,
|
|
1164
|
+
children: children
|
|
1165
|
+
? mapObject(children, (groups) =>
|
|
1166
|
+
groups.map((group) => {
|
|
1167
|
+
const assets = uniqueArray(group.chunks, (c) => c.files).map(
|
|
1168
|
+
toAsset
|
|
1169
|
+
);
|
|
1170
|
+
const auxiliaryAssets = uniqueOrderedArray(
|
|
1171
|
+
group.chunks,
|
|
1172
|
+
(c) => c.auxiliaryFiles,
|
|
1173
|
+
compareIds
|
|
1174
|
+
).map(toAsset);
|
|
1175
|
+
|
|
1176
|
+
/** @type {KnownStatsChunkGroup} */
|
|
1177
|
+
const childStatsChunkGroup = {
|
|
1178
|
+
name: group.name,
|
|
1179
|
+
chunks: ids
|
|
1180
|
+
? /** @type {ChunkId[]} */
|
|
1181
|
+
(group.chunks.map((c) => c.id))
|
|
1182
|
+
: undefined,
|
|
1183
|
+
assets:
|
|
1184
|
+
assets.length <= chunkGroupMaxAssets ? assets : undefined,
|
|
1185
|
+
filteredAssets:
|
|
1186
|
+
assets.length <= chunkGroupMaxAssets ? 0 : assets.length,
|
|
1187
|
+
auxiliaryAssets:
|
|
1188
|
+
chunkGroupAuxiliary &&
|
|
1189
|
+
auxiliaryAssets.length <= chunkGroupMaxAssets
|
|
1190
|
+
? auxiliaryAssets
|
|
1191
|
+
: undefined,
|
|
1192
|
+
filteredAuxiliaryAssets:
|
|
1193
|
+
chunkGroupAuxiliary &&
|
|
1194
|
+
auxiliaryAssets.length <= chunkGroupMaxAssets
|
|
1195
|
+
? 0
|
|
1196
|
+
: auxiliaryAssets.length
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
return childStatsChunkGroup;
|
|
1200
|
+
})
|
|
1201
|
+
)
|
|
1202
|
+
: undefined,
|
|
1203
|
+
childAssets: children
|
|
1204
|
+
? mapObject(children, (groups) => {
|
|
1205
|
+
/** @type {Set<string>} */
|
|
1206
|
+
const set = new Set();
|
|
1207
|
+
for (const group of groups) {
|
|
1208
|
+
for (const chunk of group.chunks) {
|
|
1209
|
+
for (const asset of chunk.files) {
|
|
1210
|
+
set.add(asset);
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
return [...set];
|
|
1215
|
+
})
|
|
1216
|
+
: undefined
|
|
1217
|
+
};
|
|
1218
|
+
Object.assign(object, statsChunkGroup);
|
|
1219
|
+
},
|
|
1220
|
+
performance: (object, { chunkGroup }) => {
|
|
1221
|
+
object.isOverSizeLimit = SizeLimitsPlugin.isOverSizeLimit(chunkGroup);
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
module: {
|
|
1225
|
+
_: (object, module, context, options, factory) => {
|
|
1226
|
+
const { type } = context;
|
|
1227
|
+
const compilation = /** @type {Compilation} */ (context.compilation);
|
|
1228
|
+
const built = compilation.builtModules.has(module);
|
|
1229
|
+
const codeGenerated = compilation.codeGeneratedModules.has(module);
|
|
1230
|
+
const buildTimeExecuted =
|
|
1231
|
+
compilation.buildTimeExecutedModules.has(module);
|
|
1232
|
+
/** @type {{ [x: string]: number }} */
|
|
1233
|
+
const sizes = {};
|
|
1234
|
+
for (const sourceType of module.getSourceTypes()) {
|
|
1235
|
+
sizes[sourceType] = module.size(sourceType);
|
|
1236
|
+
}
|
|
1237
|
+
/** @type {KnownStatsModule} */
|
|
1238
|
+
const statsModule = {
|
|
1239
|
+
type: "module",
|
|
1240
|
+
moduleType: module.type,
|
|
1241
|
+
layer: module.layer,
|
|
1242
|
+
size: module.size(),
|
|
1243
|
+
sizes,
|
|
1244
|
+
built,
|
|
1245
|
+
codeGenerated,
|
|
1246
|
+
buildTimeExecuted,
|
|
1247
|
+
cached: !built && !codeGenerated
|
|
1248
|
+
};
|
|
1249
|
+
Object.assign(object, statsModule);
|
|
1250
|
+
if (built || codeGenerated || options.cachedModules) {
|
|
1251
|
+
Object.assign(
|
|
1252
|
+
object,
|
|
1253
|
+
factory.create(`${type}$visible`, module, context)
|
|
1254
|
+
);
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
module$visible: {
|
|
1259
|
+
_: (object, module, context, { requestShortener }, factory) => {
|
|
1260
|
+
const { type, rootModules } = context;
|
|
1261
|
+
const compilation = /** @type {Compilation} */ (context.compilation);
|
|
1262
|
+
const { moduleGraph } = compilation;
|
|
1263
|
+
/** @type {ModuleIssuerPath} */
|
|
1264
|
+
const path = [];
|
|
1265
|
+
const issuer = moduleGraph.getIssuer(module);
|
|
1266
|
+
let current = issuer;
|
|
1267
|
+
while (current) {
|
|
1268
|
+
path.push(current);
|
|
1269
|
+
current = moduleGraph.getIssuer(current);
|
|
1270
|
+
}
|
|
1271
|
+
path.reverse();
|
|
1272
|
+
const profile = moduleGraph.getProfile(module);
|
|
1273
|
+
const errors = module.getErrors();
|
|
1274
|
+
const errorsCount = errors !== undefined ? countIterable(errors) : 0;
|
|
1275
|
+
const warnings = module.getWarnings();
|
|
1276
|
+
const warningsCount =
|
|
1277
|
+
warnings !== undefined ? countIterable(warnings) : 0;
|
|
1278
|
+
/** @type {KnownStatsModule} */
|
|
1279
|
+
const statsModule = {
|
|
1280
|
+
identifier: module.identifier(),
|
|
1281
|
+
name: module.readableIdentifier(requestShortener),
|
|
1282
|
+
nameForCondition: module.nameForCondition(),
|
|
1283
|
+
index: /** @type {number} */ (moduleGraph.getPreOrderIndex(module)),
|
|
1284
|
+
preOrderIndex: /** @type {number} */ (
|
|
1285
|
+
moduleGraph.getPreOrderIndex(module)
|
|
1286
|
+
),
|
|
1287
|
+
index2: /** @type {number} */ (moduleGraph.getPostOrderIndex(module)),
|
|
1288
|
+
postOrderIndex: /** @type {number} */ (
|
|
1289
|
+
moduleGraph.getPostOrderIndex(module)
|
|
1290
|
+
),
|
|
1291
|
+
cacheable: /** @type {BuildInfo} */ (module.buildInfo).cacheable,
|
|
1292
|
+
optional: module.isOptional(moduleGraph),
|
|
1293
|
+
orphan:
|
|
1294
|
+
!type.endsWith("module.modules[].module$visible") &&
|
|
1295
|
+
compilation.chunkGraph.getNumberOfModuleChunks(module) === 0,
|
|
1296
|
+
dependent: rootModules ? !rootModules.has(module) : undefined,
|
|
1297
|
+
issuer: issuer && issuer.identifier(),
|
|
1298
|
+
issuerName: issuer && issuer.readableIdentifier(requestShortener),
|
|
1299
|
+
issuerPath:
|
|
1300
|
+
issuer &&
|
|
1301
|
+
/** @type {StatsModuleIssuer[] | undefined} */
|
|
1302
|
+
(factory.create(`${type.slice(0, -8)}.issuerPath`, path, context)),
|
|
1303
|
+
failed: errorsCount > 0,
|
|
1304
|
+
errors: errorsCount,
|
|
1305
|
+
warnings: warningsCount
|
|
1306
|
+
};
|
|
1307
|
+
Object.assign(object, statsModule);
|
|
1308
|
+
if (profile) {
|
|
1309
|
+
object.profile = factory.create(
|
|
1310
|
+
`${type.slice(0, -8)}.profile`,
|
|
1311
|
+
profile,
|
|
1312
|
+
context
|
|
1313
|
+
);
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
ids: (object, module, { compilation: { chunkGraph, moduleGraph } }) => {
|
|
1317
|
+
object.id = /** @type {ModuleId} */ (chunkGraph.getModuleId(module));
|
|
1318
|
+
const issuer = moduleGraph.getIssuer(module);
|
|
1319
|
+
object.issuerId = issuer && chunkGraph.getModuleId(issuer);
|
|
1320
|
+
object.chunks =
|
|
1321
|
+
/** @type {ChunkId[]} */
|
|
1322
|
+
(
|
|
1323
|
+
Array.from(
|
|
1324
|
+
chunkGraph.getOrderedModuleChunksIterable(
|
|
1325
|
+
module,
|
|
1326
|
+
compareChunksById
|
|
1327
|
+
),
|
|
1328
|
+
(chunk) => chunk.id
|
|
1329
|
+
)
|
|
1330
|
+
);
|
|
1331
|
+
},
|
|
1332
|
+
moduleAssets: (object, module) => {
|
|
1333
|
+
object.assets = /** @type {BuildInfo} */ (module.buildInfo).assets
|
|
1334
|
+
? Object.keys(/** @type {BuildInfo} */ (module.buildInfo).assets)
|
|
1335
|
+
: [];
|
|
1336
|
+
},
|
|
1337
|
+
reasons: (object, module, context, options, factory) => {
|
|
1338
|
+
const {
|
|
1339
|
+
type,
|
|
1340
|
+
compilation: { moduleGraph }
|
|
1341
|
+
} = context;
|
|
1342
|
+
const groupsReasons = factory.create(
|
|
1343
|
+
`${type.slice(0, -8)}.reasons`,
|
|
1344
|
+
[...moduleGraph.getIncomingConnections(module)],
|
|
1345
|
+
context
|
|
1346
|
+
);
|
|
1347
|
+
const limited = spaceLimited(
|
|
1348
|
+
groupsReasons,
|
|
1349
|
+
/** @type {number} */
|
|
1350
|
+
(options.reasonsSpace)
|
|
1351
|
+
);
|
|
1352
|
+
object.reasons = limited.children;
|
|
1353
|
+
object.filteredReasons = limited.filteredChildren;
|
|
1354
|
+
},
|
|
1355
|
+
usedExports: (
|
|
1356
|
+
object,
|
|
1357
|
+
module,
|
|
1358
|
+
{ runtime, compilation: { moduleGraph } }
|
|
1359
|
+
) => {
|
|
1360
|
+
const usedExports = moduleGraph.getUsedExports(module, runtime);
|
|
1361
|
+
if (usedExports === null) {
|
|
1362
|
+
object.usedExports = null;
|
|
1363
|
+
} else if (typeof usedExports === "boolean") {
|
|
1364
|
+
object.usedExports = usedExports;
|
|
1365
|
+
} else {
|
|
1366
|
+
object.usedExports = [...usedExports];
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
providedExports: (object, module, { compilation: { moduleGraph } }) => {
|
|
1370
|
+
const providedExports = moduleGraph.getProvidedExports(module);
|
|
1371
|
+
object.providedExports = Array.isArray(providedExports)
|
|
1372
|
+
? providedExports
|
|
1373
|
+
: null;
|
|
1374
|
+
},
|
|
1375
|
+
optimizationBailout: (
|
|
1376
|
+
object,
|
|
1377
|
+
module,
|
|
1378
|
+
{ compilation: { moduleGraph } },
|
|
1379
|
+
{ requestShortener }
|
|
1380
|
+
) => {
|
|
1381
|
+
object.optimizationBailout = moduleGraph
|
|
1382
|
+
.getOptimizationBailout(module)
|
|
1383
|
+
.map((item) => {
|
|
1384
|
+
if (typeof item === "function") return item(requestShortener);
|
|
1385
|
+
return item;
|
|
1386
|
+
});
|
|
1387
|
+
},
|
|
1388
|
+
depth: (object, module, { compilation: { moduleGraph } }) => {
|
|
1389
|
+
object.depth = moduleGraph.getDepth(module);
|
|
1390
|
+
},
|
|
1391
|
+
nestedModules: (object, module, context, options, factory) => {
|
|
1392
|
+
const { type } = context;
|
|
1393
|
+
const innerModules = /** @type {Module & { modules?: Module[] }} */ (
|
|
1394
|
+
module
|
|
1395
|
+
).modules;
|
|
1396
|
+
if (Array.isArray(innerModules)) {
|
|
1397
|
+
const groupedModules = factory.create(
|
|
1398
|
+
`${type.slice(0, -8)}.modules`,
|
|
1399
|
+
innerModules,
|
|
1400
|
+
context
|
|
1401
|
+
);
|
|
1402
|
+
const limited = spaceLimited(
|
|
1403
|
+
groupedModules,
|
|
1404
|
+
options.nestedModulesSpace
|
|
1405
|
+
);
|
|
1406
|
+
object.modules = limited.children;
|
|
1407
|
+
object.filteredModules = limited.filteredChildren;
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
source: (object, module) => {
|
|
1411
|
+
const originalSource = module.originalSource();
|
|
1412
|
+
if (originalSource) {
|
|
1413
|
+
object.source = originalSource.source();
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
profile: {
|
|
1418
|
+
_: (object, profile) => {
|
|
1419
|
+
/** @type {KnownStatsProfile} */
|
|
1420
|
+
const statsProfile = {
|
|
1421
|
+
total:
|
|
1422
|
+
profile.factory +
|
|
1423
|
+
profile.restoring +
|
|
1424
|
+
profile.integration +
|
|
1425
|
+
profile.building +
|
|
1426
|
+
profile.storing,
|
|
1427
|
+
resolving: profile.factory,
|
|
1428
|
+
restoring: profile.restoring,
|
|
1429
|
+
building: profile.building,
|
|
1430
|
+
integration: profile.integration,
|
|
1431
|
+
storing: profile.storing,
|
|
1432
|
+
additionalResolving: profile.additionalFactories,
|
|
1433
|
+
additionalIntegration: profile.additionalIntegration,
|
|
1434
|
+
// TODO remove this in webpack 6
|
|
1435
|
+
factory: profile.factory,
|
|
1436
|
+
// TODO remove this in webpack 6
|
|
1437
|
+
dependencies: profile.additionalFactories
|
|
1438
|
+
};
|
|
1439
|
+
Object.assign(object, statsProfile);
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
moduleIssuer: {
|
|
1443
|
+
_: (object, module, context, { requestShortener }, factory) => {
|
|
1444
|
+
const { type } = context;
|
|
1445
|
+
const compilation = /** @type {Compilation} */ (context.compilation);
|
|
1446
|
+
const { moduleGraph } = compilation;
|
|
1447
|
+
const profile = moduleGraph.getProfile(module);
|
|
1448
|
+
/** @type {Partial<KnownStatsModuleIssuer>} */
|
|
1449
|
+
const statsModuleIssuer = {
|
|
1450
|
+
identifier: module.identifier(),
|
|
1451
|
+
name: module.readableIdentifier(requestShortener)
|
|
1452
|
+
};
|
|
1453
|
+
Object.assign(object, statsModuleIssuer);
|
|
1454
|
+
if (profile) {
|
|
1455
|
+
object.profile = factory.create(`${type}.profile`, profile, context);
|
|
1456
|
+
}
|
|
1457
|
+
},
|
|
1458
|
+
ids: (object, module, { compilation: { chunkGraph } }) => {
|
|
1459
|
+
object.id = /** @type {ModuleId} */ (chunkGraph.getModuleId(module));
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
moduleReason: {
|
|
1463
|
+
_: (object, reason, { runtime }, { requestShortener }) => {
|
|
1464
|
+
const dep = reason.dependency;
|
|
1465
|
+
const moduleDep =
|
|
1466
|
+
dep && dep instanceof ModuleDependency ? dep : undefined;
|
|
1467
|
+
/** @type {KnownStatsModuleReason} */
|
|
1468
|
+
const statsModuleReason = {
|
|
1469
|
+
moduleIdentifier: reason.originModule
|
|
1470
|
+
? reason.originModule.identifier()
|
|
1471
|
+
: null,
|
|
1472
|
+
module: reason.originModule
|
|
1473
|
+
? reason.originModule.readableIdentifier(requestShortener)
|
|
1474
|
+
: null,
|
|
1475
|
+
moduleName: reason.originModule
|
|
1476
|
+
? reason.originModule.readableIdentifier(requestShortener)
|
|
1477
|
+
: null,
|
|
1478
|
+
resolvedModuleIdentifier: reason.resolvedOriginModule
|
|
1479
|
+
? reason.resolvedOriginModule.identifier()
|
|
1480
|
+
: null,
|
|
1481
|
+
resolvedModule: reason.resolvedOriginModule
|
|
1482
|
+
? reason.resolvedOriginModule.readableIdentifier(requestShortener)
|
|
1483
|
+
: null,
|
|
1484
|
+
type: reason.dependency ? reason.dependency.type : null,
|
|
1485
|
+
active: reason.isActive(runtime),
|
|
1486
|
+
explanation: reason.explanation,
|
|
1487
|
+
userRequest: (moduleDep && moduleDep.userRequest) || null
|
|
1488
|
+
};
|
|
1489
|
+
Object.assign(object, statsModuleReason);
|
|
1490
|
+
if (reason.dependency) {
|
|
1491
|
+
const locInfo = formatLocation(reason.dependency.loc);
|
|
1492
|
+
if (locInfo) {
|
|
1493
|
+
object.loc = locInfo;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
ids: (object, reason, { compilation: { chunkGraph } }) => {
|
|
1498
|
+
object.moduleId = reason.originModule
|
|
1499
|
+
? chunkGraph.getModuleId(reason.originModule)
|
|
1500
|
+
: null;
|
|
1501
|
+
object.resolvedModuleId = reason.resolvedOriginModule
|
|
1502
|
+
? chunkGraph.getModuleId(reason.resolvedOriginModule)
|
|
1503
|
+
: null;
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
chunk: {
|
|
1507
|
+
_: (object, chunk, { makePathsRelative, compilation: { chunkGraph } }) => {
|
|
1508
|
+
const childIdByOrder = chunk.getChildIdsByOrders(chunkGraph);
|
|
1509
|
+
|
|
1510
|
+
/** @type {KnownStatsChunk} */
|
|
1511
|
+
const statsChunk = {
|
|
1512
|
+
rendered: chunk.rendered,
|
|
1513
|
+
initial: chunk.canBeInitial(),
|
|
1514
|
+
entry: chunk.hasRuntime(),
|
|
1515
|
+
recorded: AggressiveSplittingPlugin.wasChunkRecorded(chunk),
|
|
1516
|
+
reason: chunk.chunkReason,
|
|
1517
|
+
size: chunkGraph.getChunkModulesSize(chunk),
|
|
1518
|
+
sizes: chunkGraph.getChunkModulesSizes(chunk),
|
|
1519
|
+
names: chunk.name ? [chunk.name] : [],
|
|
1520
|
+
idHints: [...chunk.idNameHints],
|
|
1521
|
+
runtime:
|
|
1522
|
+
chunk.runtime === undefined
|
|
1523
|
+
? undefined
|
|
1524
|
+
: typeof chunk.runtime === "string"
|
|
1525
|
+
? [makePathsRelative(chunk.runtime)]
|
|
1526
|
+
: Array.from(chunk.runtime.sort(), makePathsRelative),
|
|
1527
|
+
files: [...chunk.files],
|
|
1528
|
+
auxiliaryFiles: [...chunk.auxiliaryFiles].sort(compareIds),
|
|
1529
|
+
hash: /** @type {string} */ (chunk.renderedHash),
|
|
1530
|
+
childrenByOrder: childIdByOrder
|
|
1531
|
+
};
|
|
1532
|
+
Object.assign(object, statsChunk);
|
|
1533
|
+
},
|
|
1534
|
+
ids: (object, chunk) => {
|
|
1535
|
+
object.id = /** @type {ChunkId} */ (chunk.id);
|
|
1536
|
+
},
|
|
1537
|
+
chunkRelations: (object, chunk, _context) => {
|
|
1538
|
+
/** @typedef {Set<ChunkId>} ChunkRelations */
|
|
1539
|
+
/** @type {ChunkRelations} */
|
|
1540
|
+
const parents = new Set();
|
|
1541
|
+
/** @type {ChunkRelations} */
|
|
1542
|
+
const children = new Set();
|
|
1543
|
+
/** @type {ChunkRelations} */
|
|
1544
|
+
const siblings = new Set();
|
|
1545
|
+
|
|
1546
|
+
for (const chunkGroup of chunk.groupsIterable) {
|
|
1547
|
+
for (const parentGroup of chunkGroup.parentsIterable) {
|
|
1548
|
+
for (const chunk of parentGroup.chunks) {
|
|
1549
|
+
parents.add(/** @type {ChunkId} */ (chunk.id));
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
for (const childGroup of chunkGroup.childrenIterable) {
|
|
1553
|
+
for (const chunk of childGroup.chunks) {
|
|
1554
|
+
children.add(/** @type {ChunkId} */ (chunk.id));
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
for (const sibling of chunkGroup.chunks) {
|
|
1558
|
+
if (sibling !== chunk) {
|
|
1559
|
+
siblings.add(/** @type {ChunkId} */ (sibling.id));
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
object.siblings = [...siblings].sort(compareIds);
|
|
1564
|
+
object.parents = [...parents].sort(compareIds);
|
|
1565
|
+
object.children = [...children].sort(compareIds);
|
|
1566
|
+
},
|
|
1567
|
+
chunkModules: (object, chunk, context, options, factory) => {
|
|
1568
|
+
const {
|
|
1569
|
+
type,
|
|
1570
|
+
compilation: { chunkGraph }
|
|
1571
|
+
} = context;
|
|
1572
|
+
const array = chunkGraph.getChunkModules(chunk);
|
|
1573
|
+
const groupedModules = factory.create(`${type}.modules`, array, {
|
|
1574
|
+
...context,
|
|
1575
|
+
runtime: chunk.runtime,
|
|
1576
|
+
rootModules: new Set(chunkGraph.getChunkRootModules(chunk))
|
|
1577
|
+
});
|
|
1578
|
+
const limited = spaceLimited(groupedModules, options.chunkModulesSpace);
|
|
1579
|
+
object.modules = limited.children;
|
|
1580
|
+
object.filteredModules = limited.filteredChildren;
|
|
1581
|
+
},
|
|
1582
|
+
chunkOrigins: (object, chunk, context, options, factory) => {
|
|
1583
|
+
const {
|
|
1584
|
+
type,
|
|
1585
|
+
compilation: { chunkGraph }
|
|
1586
|
+
} = context;
|
|
1587
|
+
/** @type {Set<string>} */
|
|
1588
|
+
const originsKeySet = new Set();
|
|
1589
|
+
/** @type {OriginRecord[]} */
|
|
1590
|
+
const origins = [];
|
|
1591
|
+
for (const g of chunk.groupsIterable) {
|
|
1592
|
+
origins.push(...g.origins);
|
|
1593
|
+
}
|
|
1594
|
+
const array = origins.filter((origin) => {
|
|
1595
|
+
const key = [
|
|
1596
|
+
origin.module ? chunkGraph.getModuleId(origin.module) : undefined,
|
|
1597
|
+
formatLocation(origin.loc),
|
|
1598
|
+
origin.request
|
|
1599
|
+
].join();
|
|
1600
|
+
if (originsKeySet.has(key)) return false;
|
|
1601
|
+
originsKeySet.add(key);
|
|
1602
|
+
return true;
|
|
1603
|
+
});
|
|
1604
|
+
object.origins = factory.create(`${type}.origins`, array, context);
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
chunkOrigin: {
|
|
1608
|
+
_: (object, origin, context, { requestShortener }) => {
|
|
1609
|
+
/** @type {KnownStatsChunkOrigin} */
|
|
1610
|
+
const statsChunkOrigin = {
|
|
1611
|
+
module: origin.module ? origin.module.identifier() : "",
|
|
1612
|
+
moduleIdentifier: origin.module ? origin.module.identifier() : "",
|
|
1613
|
+
moduleName: origin.module
|
|
1614
|
+
? origin.module.readableIdentifier(requestShortener)
|
|
1615
|
+
: "",
|
|
1616
|
+
loc: formatLocation(origin.loc),
|
|
1617
|
+
request: origin.request
|
|
1618
|
+
};
|
|
1619
|
+
Object.assign(object, statsChunkOrigin);
|
|
1620
|
+
},
|
|
1621
|
+
ids: (object, origin, { compilation: { chunkGraph } }) => {
|
|
1622
|
+
object.moduleId = origin.module
|
|
1623
|
+
? /** @type {ModuleId} */ (chunkGraph.getModuleId(origin.module))
|
|
1624
|
+
: undefined;
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
error: EXTRACT_ERROR,
|
|
1628
|
+
warning: EXTRACT_ERROR,
|
|
1629
|
+
cause: EXTRACT_ERROR,
|
|
1630
|
+
moduleTraceItem: {
|
|
1631
|
+
_: (object, { origin, module }, context, { requestShortener }, factory) => {
|
|
1632
|
+
const {
|
|
1633
|
+
type,
|
|
1634
|
+
compilation: { moduleGraph }
|
|
1635
|
+
} = context;
|
|
1636
|
+
object.originIdentifier = origin.identifier();
|
|
1637
|
+
object.originName = origin.readableIdentifier(requestShortener);
|
|
1638
|
+
object.moduleIdentifier = module.identifier();
|
|
1639
|
+
object.moduleName = module.readableIdentifier(requestShortener);
|
|
1640
|
+
const dependencies = [...moduleGraph.getIncomingConnections(module)]
|
|
1641
|
+
.filter((c) => c.resolvedOriginModule === origin && c.dependency)
|
|
1642
|
+
.map((c) => c.dependency);
|
|
1643
|
+
object.dependencies = factory.create(
|
|
1644
|
+
`${type}.dependencies`,
|
|
1645
|
+
/** @type {Dependency[]} */
|
|
1646
|
+
([...new Set(dependencies)]),
|
|
1647
|
+
context
|
|
1648
|
+
);
|
|
1649
|
+
},
|
|
1650
|
+
ids: (object, { origin, module }, { compilation: { chunkGraph } }) => {
|
|
1651
|
+
object.originId =
|
|
1652
|
+
/** @type {ModuleId} */
|
|
1653
|
+
(chunkGraph.getModuleId(origin));
|
|
1654
|
+
object.moduleId =
|
|
1655
|
+
/** @type {ModuleId} */
|
|
1656
|
+
(chunkGraph.getModuleId(module));
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
moduleTraceDependency: {
|
|
1660
|
+
_: (object, dependency) => {
|
|
1661
|
+
object.loc = formatLocation(dependency.loc);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
};
|
|
1665
|
+
|
|
1666
|
+
/** @type {Record<string, Record<string, (thing: ModuleGraphConnection, context: StatsFactoryContext, options: NormalizedStatsOptions, idx: number, i: number) => boolean | undefined>>} */
|
|
1667
|
+
const FILTER = {
|
|
1668
|
+
"module.reasons": {
|
|
1669
|
+
"!orphanModules": (reason, { compilation: { chunkGraph } }) => {
|
|
1670
|
+
if (
|
|
1671
|
+
reason.originModule &&
|
|
1672
|
+
chunkGraph.getNumberOfModuleChunks(reason.originModule) === 0
|
|
1673
|
+
) {
|
|
1674
|
+
return false;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
/** @type {Record<string, Record<string, (thing: KnownStatsError, context: StatsFactoryContext, options: NormalizedStatsOptions, idx: number, i: number) => boolean | undefined>>} */
|
|
1681
|
+
const FILTER_RESULTS = {
|
|
1682
|
+
"compilation.warnings": {
|
|
1683
|
+
warningsFilter: util.deprecate(
|
|
1684
|
+
(warning, context, { warningsFilter }) => {
|
|
1685
|
+
const warningString = Object.keys(warning)
|
|
1686
|
+
.map(
|
|
1687
|
+
(key) => `${warning[/** @type {keyof KnownStatsError} */ (key)]}`
|
|
1688
|
+
)
|
|
1689
|
+
.join("\n");
|
|
1690
|
+
return !warningsFilter.some((filter) => filter(warning, warningString));
|
|
1691
|
+
},
|
|
1692
|
+
"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings",
|
|
1693
|
+
"DEP_WEBPACK_STATS_WARNINGS_FILTER"
|
|
1694
|
+
)
|
|
1695
|
+
}
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
/** @type {Record<string, (comparators: Comparator<Module>[], context: StatsFactoryContext) => void>} */
|
|
1699
|
+
const MODULES_SORTER = {
|
|
1700
|
+
_: (comparators, { compilation: { moduleGraph } }) => {
|
|
1701
|
+
comparators.push(
|
|
1702
|
+
compareSelect((m) => moduleGraph.getDepth(m), compareNumbers),
|
|
1703
|
+
compareSelect((m) => moduleGraph.getPreOrderIndex(m), compareNumbers),
|
|
1704
|
+
compareSelect((m) => m.identifier(), compareIds)
|
|
1705
|
+
);
|
|
1706
|
+
}
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* @type {{
|
|
1711
|
+
* "compilation.chunks": Record<string, (comparators: Comparator<Chunk>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1712
|
+
* "compilation.modules": Record<string, (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1713
|
+
* "chunk.rootModules": Record<string, (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1714
|
+
* "chunk.modules": Record<string, (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1715
|
+
* "module.modules": Record<string, (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1716
|
+
* "module.reasons": Record<string, (comparators: Comparator<ModuleGraphConnection>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1717
|
+
* "chunk.origins": Record<string, (comparators: Comparator<OriginRecord>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>,
|
|
1718
|
+
* }}
|
|
1719
|
+
*/
|
|
1720
|
+
const SORTERS = {
|
|
1721
|
+
"compilation.chunks": {
|
|
1722
|
+
_: (comparators) => {
|
|
1723
|
+
comparators.push(compareSelect((c) => c.id, compareIds));
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
"compilation.modules": MODULES_SORTER,
|
|
1727
|
+
"chunk.rootModules": MODULES_SORTER,
|
|
1728
|
+
"chunk.modules": MODULES_SORTER,
|
|
1729
|
+
"module.modules": MODULES_SORTER,
|
|
1730
|
+
"module.reasons": {
|
|
1731
|
+
_: (comparators, _context) => {
|
|
1732
|
+
comparators.push(
|
|
1733
|
+
compareSelect((x) => x.originModule, compareModulesByIdentifier)
|
|
1734
|
+
);
|
|
1735
|
+
comparators.push(
|
|
1736
|
+
compareSelect((x) => x.resolvedOriginModule, compareModulesByIdentifier)
|
|
1737
|
+
);
|
|
1738
|
+
comparators.push(
|
|
1739
|
+
compareSelect(
|
|
1740
|
+
(x) => x.dependency,
|
|
1741
|
+
concatComparators(
|
|
1742
|
+
compareSelect(
|
|
1743
|
+
/**
|
|
1744
|
+
* @param {Dependency} x dependency
|
|
1745
|
+
* @returns {DependencyLocation} location
|
|
1746
|
+
*/
|
|
1747
|
+
(x) => x.loc,
|
|
1748
|
+
compareLocations
|
|
1749
|
+
),
|
|
1750
|
+
compareSelect((x) => x.type, compareIds)
|
|
1751
|
+
)
|
|
1752
|
+
)
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"chunk.origins": {
|
|
1757
|
+
_: (comparators, { compilation: { chunkGraph } }) => {
|
|
1758
|
+
comparators.push(
|
|
1759
|
+
compareSelect(
|
|
1760
|
+
(origin) =>
|
|
1761
|
+
origin.module ? chunkGraph.getModuleId(origin.module) : undefined,
|
|
1762
|
+
compareIds
|
|
1763
|
+
),
|
|
1764
|
+
compareSelect((origin) => formatLocation(origin.loc), compareIds),
|
|
1765
|
+
compareSelect((origin) => origin.request, compareIds)
|
|
1766
|
+
);
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* @template T
|
|
1773
|
+
* @typedef {T & { children?: Children<T>[] | undefined, filteredChildren?: number }} Children
|
|
1774
|
+
*/
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* @template T
|
|
1778
|
+
* @param {Children<T>} item item
|
|
1779
|
+
* @returns {number} item size
|
|
1780
|
+
*/
|
|
1781
|
+
const getItemSize = (item) =>
|
|
1782
|
+
// Each item takes 1 line
|
|
1783
|
+
// + the size of the children
|
|
1784
|
+
// + 1 extra line when it has children and filteredChildren
|
|
1785
|
+
!item.children
|
|
1786
|
+
? 1
|
|
1787
|
+
: item.filteredChildren
|
|
1788
|
+
? 2 + getTotalSize(item.children)
|
|
1789
|
+
: 1 + getTotalSize(item.children);
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* @template T
|
|
1793
|
+
* @param {Children<T>[]} children children
|
|
1794
|
+
* @returns {number} total size
|
|
1795
|
+
*/
|
|
1796
|
+
const getTotalSize = (children) => {
|
|
1797
|
+
let size = 0;
|
|
1798
|
+
for (const child of children) {
|
|
1799
|
+
size += getItemSize(child);
|
|
1800
|
+
}
|
|
1801
|
+
return size;
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* @template T
|
|
1806
|
+
* @param {Children<T>[]} children children
|
|
1807
|
+
* @returns {number} total items
|
|
1808
|
+
*/
|
|
1809
|
+
const getTotalItems = (children) => {
|
|
1810
|
+
let count = 0;
|
|
1811
|
+
for (const child of children) {
|
|
1812
|
+
if (!child.children && !child.filteredChildren) {
|
|
1813
|
+
count++;
|
|
1814
|
+
} else {
|
|
1815
|
+
if (child.children) count += getTotalItems(child.children);
|
|
1816
|
+
if (child.filteredChildren) count += child.filteredChildren;
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
return count;
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* @template T
|
|
1824
|
+
* @param {Children<T>[]} children children
|
|
1825
|
+
* @returns {Children<T>[]} collapsed children
|
|
1826
|
+
*/
|
|
1827
|
+
const collapse = (children) => {
|
|
1828
|
+
// After collapse each child must take exactly one line
|
|
1829
|
+
/** @type {Children<T>[]} */
|
|
1830
|
+
const newChildren = [];
|
|
1831
|
+
for (const child of children) {
|
|
1832
|
+
if (child.children) {
|
|
1833
|
+
let filteredChildren = child.filteredChildren || 0;
|
|
1834
|
+
filteredChildren += getTotalItems(child.children);
|
|
1835
|
+
newChildren.push({
|
|
1836
|
+
...child,
|
|
1837
|
+
children: undefined,
|
|
1838
|
+
filteredChildren
|
|
1839
|
+
});
|
|
1840
|
+
} else {
|
|
1841
|
+
newChildren.push(child);
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
return newChildren;
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* @template T
|
|
1849
|
+
* @param {Children<T>[]} itemsAndGroups item and groups
|
|
1850
|
+
* @param {number} max max
|
|
1851
|
+
* @param {boolean=} filteredChildrenLineReserved filtered children line reserved
|
|
1852
|
+
* @returns {Children<T>} result
|
|
1853
|
+
*/
|
|
1854
|
+
const spaceLimited = (
|
|
1855
|
+
itemsAndGroups,
|
|
1856
|
+
max,
|
|
1857
|
+
filteredChildrenLineReserved = false
|
|
1858
|
+
) => {
|
|
1859
|
+
if (max < 1) {
|
|
1860
|
+
return /** @type {Children<T>} */ ({
|
|
1861
|
+
children: undefined,
|
|
1862
|
+
filteredChildren: getTotalItems(itemsAndGroups)
|
|
1863
|
+
});
|
|
1864
|
+
}
|
|
1865
|
+
/** @type {Children<T>[] | undefined} */
|
|
1866
|
+
let children;
|
|
1867
|
+
/** @type {number | undefined} */
|
|
1868
|
+
let filteredChildren;
|
|
1869
|
+
// This are the groups, which take 1+ lines each
|
|
1870
|
+
/** @type {Children<T>[] | undefined} */
|
|
1871
|
+
const groups = [];
|
|
1872
|
+
// The sizes of the groups are stored in groupSizes
|
|
1873
|
+
/** @type {number[]} */
|
|
1874
|
+
const groupSizes = [];
|
|
1875
|
+
// This are the items, which take 1 line each
|
|
1876
|
+
/** @type {Children<T>[]} */
|
|
1877
|
+
const items = [];
|
|
1878
|
+
// The total of group sizes
|
|
1879
|
+
let groupsSize = 0;
|
|
1880
|
+
|
|
1881
|
+
for (const itemOrGroup of itemsAndGroups) {
|
|
1882
|
+
// is item
|
|
1883
|
+
if (!itemOrGroup.children && !itemOrGroup.filteredChildren) {
|
|
1884
|
+
items.push(itemOrGroup);
|
|
1885
|
+
} else {
|
|
1886
|
+
groups.push(itemOrGroup);
|
|
1887
|
+
const size = getItemSize(itemOrGroup);
|
|
1888
|
+
groupSizes.push(size);
|
|
1889
|
+
groupsSize += size;
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
if (groupsSize + items.length <= max) {
|
|
1894
|
+
// The total size in the current state fits into the max
|
|
1895
|
+
// keep all
|
|
1896
|
+
children = groups.length > 0 ? [...groups, ...items] : items;
|
|
1897
|
+
} else if (groups.length === 0) {
|
|
1898
|
+
// slice items to max
|
|
1899
|
+
// inner space marks that lines for filteredChildren already reserved
|
|
1900
|
+
const limit = max - (filteredChildrenLineReserved ? 0 : 1);
|
|
1901
|
+
filteredChildren = items.length - limit;
|
|
1902
|
+
items.length = limit;
|
|
1903
|
+
children = items;
|
|
1904
|
+
} else {
|
|
1905
|
+
// limit is the size when all groups are collapsed
|
|
1906
|
+
const limit =
|
|
1907
|
+
groups.length +
|
|
1908
|
+
(filteredChildrenLineReserved || items.length === 0 ? 0 : 1);
|
|
1909
|
+
if (limit < max) {
|
|
1910
|
+
// calculate how much we are over the size limit
|
|
1911
|
+
// this allows to approach the limit faster
|
|
1912
|
+
/** @type {number} */
|
|
1913
|
+
let oversize;
|
|
1914
|
+
// If each group would take 1 line the total would be below the maximum
|
|
1915
|
+
// collapse some groups, keep items
|
|
1916
|
+
while (
|
|
1917
|
+
(oversize =
|
|
1918
|
+
groupsSize +
|
|
1919
|
+
items.length +
|
|
1920
|
+
(filteredChildren && !filteredChildrenLineReserved ? 1 : 0) -
|
|
1921
|
+
max) > 0
|
|
1922
|
+
) {
|
|
1923
|
+
// Find the maximum group and process only this one
|
|
1924
|
+
const maxGroupSize = Math.max(...groupSizes);
|
|
1925
|
+
if (maxGroupSize < items.length) {
|
|
1926
|
+
filteredChildren = items.length;
|
|
1927
|
+
items.length = 0;
|
|
1928
|
+
continue;
|
|
1929
|
+
}
|
|
1930
|
+
for (let i = 0; i < groups.length; i++) {
|
|
1931
|
+
if (groupSizes[i] === maxGroupSize) {
|
|
1932
|
+
const group = groups[i];
|
|
1933
|
+
// run this algorithm recursively and limit the size of the children to
|
|
1934
|
+
// current size - oversize / number of groups
|
|
1935
|
+
// So it should always end up being smaller
|
|
1936
|
+
const headerSize = group.filteredChildren ? 2 : 1;
|
|
1937
|
+
const limited = spaceLimited(
|
|
1938
|
+
/** @type {Children<T>[]} */ (group.children),
|
|
1939
|
+
maxGroupSize -
|
|
1940
|
+
// we should use ceil to always feet in max
|
|
1941
|
+
Math.ceil(oversize / groups.length) -
|
|
1942
|
+
// we substitute size of group head
|
|
1943
|
+
headerSize,
|
|
1944
|
+
headerSize === 2
|
|
1945
|
+
);
|
|
1946
|
+
groups[i] = {
|
|
1947
|
+
...group,
|
|
1948
|
+
children: limited.children,
|
|
1949
|
+
filteredChildren: limited.filteredChildren
|
|
1950
|
+
? (group.filteredChildren || 0) + limited.filteredChildren
|
|
1951
|
+
: group.filteredChildren
|
|
1952
|
+
};
|
|
1953
|
+
const newSize = getItemSize(groups[i]);
|
|
1954
|
+
groupsSize -= maxGroupSize - newSize;
|
|
1955
|
+
groupSizes[i] = newSize;
|
|
1956
|
+
break;
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
children = [...groups, ...items];
|
|
1961
|
+
} else if (limit === max) {
|
|
1962
|
+
// If we have only enough space to show one line per group and one line for the filtered items
|
|
1963
|
+
// collapse all groups and items
|
|
1964
|
+
children = collapse(groups);
|
|
1965
|
+
filteredChildren = items.length;
|
|
1966
|
+
} else {
|
|
1967
|
+
// If we have no space
|
|
1968
|
+
// collapse complete group
|
|
1969
|
+
filteredChildren = getTotalItems(itemsAndGroups);
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
return /** @type {Children<T>} */ ({ children, filteredChildren });
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* @param {StatsError[]} errors errors
|
|
1978
|
+
* @param {number} max max
|
|
1979
|
+
* @returns {[StatsError[], number]} error space limit
|
|
1980
|
+
*/
|
|
1981
|
+
const errorsSpaceLimit = (errors, max) => {
|
|
1982
|
+
let filtered = 0;
|
|
1983
|
+
// Can not fit into limit
|
|
1984
|
+
// print only messages
|
|
1985
|
+
if (errors.length + 1 >= max) {
|
|
1986
|
+
return [
|
|
1987
|
+
errors.map((error) => {
|
|
1988
|
+
if (typeof error === "string" || !error.details) return error;
|
|
1989
|
+
filtered++;
|
|
1990
|
+
return { ...error, details: "" };
|
|
1991
|
+
}),
|
|
1992
|
+
filtered
|
|
1993
|
+
];
|
|
1994
|
+
}
|
|
1995
|
+
let fullLength = errors.length;
|
|
1996
|
+
let result = errors;
|
|
1997
|
+
|
|
1998
|
+
let i = 0;
|
|
1999
|
+
for (; i < errors.length; i++) {
|
|
2000
|
+
const error = errors[i];
|
|
2001
|
+
if (typeof error !== "string" && error.details) {
|
|
2002
|
+
const splitted = error.details.split("\n");
|
|
2003
|
+
const len = splitted.length;
|
|
2004
|
+
fullLength += len;
|
|
2005
|
+
if (fullLength > max) {
|
|
2006
|
+
result = i > 0 ? errors.slice(0, i) : [];
|
|
2007
|
+
const overLimit = fullLength - max + 1;
|
|
2008
|
+
const error = errors[i++];
|
|
2009
|
+
result.push({
|
|
2010
|
+
...error,
|
|
2011
|
+
details:
|
|
2012
|
+
/** @type {string} */
|
|
2013
|
+
(error.details).split("\n").slice(0, -overLimit).join("\n"),
|
|
2014
|
+
filteredDetails: overLimit
|
|
2015
|
+
});
|
|
2016
|
+
filtered = errors.length - i;
|
|
2017
|
+
for (; i < errors.length; i++) {
|
|
2018
|
+
const error = errors[i];
|
|
2019
|
+
if (typeof error === "string" || !error.details) result.push(error);
|
|
2020
|
+
result.push({ ...error, details: "" });
|
|
2021
|
+
}
|
|
2022
|
+
break;
|
|
2023
|
+
} else if (fullLength === max) {
|
|
2024
|
+
result = errors.slice(0, ++i);
|
|
2025
|
+
filtered = errors.length - i;
|
|
2026
|
+
for (; i < errors.length; i++) {
|
|
2027
|
+
const error = errors[i];
|
|
2028
|
+
if (typeof error === "string" || !error.details) result.push(error);
|
|
2029
|
+
result.push({ ...error, details: "" });
|
|
2030
|
+
}
|
|
2031
|
+
break;
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
return [result, filtered];
|
|
2037
|
+
};
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* @template {{ size: number }} T
|
|
2041
|
+
* @param {T[]} children children
|
|
2042
|
+
* @param {T[]} assets assets
|
|
2043
|
+
* @returns {{ size: number }} asset size
|
|
2044
|
+
*/
|
|
2045
|
+
const assetGroup = (children, assets) => {
|
|
2046
|
+
let size = 0;
|
|
2047
|
+
for (const asset of children) {
|
|
2048
|
+
size += asset.size;
|
|
2049
|
+
}
|
|
2050
|
+
return { size };
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
/** @typedef {{ size: number, sizes: Record<string, number> }} ModuleGroupBySizeResult */
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* @template {ModuleGroupBySizeResult} T
|
|
2057
|
+
* @param {Children<T>[]} children children
|
|
2058
|
+
* @param {KnownStatsModule[]} modules modules
|
|
2059
|
+
* @returns {ModuleGroupBySizeResult} size and sizes
|
|
2060
|
+
*/
|
|
2061
|
+
const moduleGroup = (children, modules) => {
|
|
2062
|
+
let size = 0;
|
|
2063
|
+
/** @type {Record<string, number>} */
|
|
2064
|
+
const sizes = {};
|
|
2065
|
+
for (const module of children) {
|
|
2066
|
+
size += module.size;
|
|
2067
|
+
for (const key of Object.keys(module.sizes)) {
|
|
2068
|
+
sizes[key] = (sizes[key] || 0) + module.sizes[key];
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
return {
|
|
2072
|
+
size,
|
|
2073
|
+
sizes
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* @template {{ active: boolean }} T
|
|
2079
|
+
* @param {Children<T>[]} children children
|
|
2080
|
+
* @param {KnownStatsModuleReason[]} reasons reasons
|
|
2081
|
+
* @returns {{ active: boolean }} reason group
|
|
2082
|
+
*/
|
|
2083
|
+
const reasonGroup = (children, reasons) => {
|
|
2084
|
+
let active = false;
|
|
2085
|
+
for (const reason of children) {
|
|
2086
|
+
active = active || reason.active;
|
|
2087
|
+
}
|
|
2088
|
+
return {
|
|
2089
|
+
active
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2093
|
+
const GROUP_EXTENSION_REGEXP = /(\.[^.]+?)(?:\?|(?: \+ \d+ modules?)?$)/;
|
|
2094
|
+
const GROUP_PATH_REGEXP = /(.+)[/\\][^/\\]+?(?:\?|(?: \+ \d+ modules?)?$)/;
|
|
2095
|
+
|
|
2096
|
+
/** @typedef {{ type: string }} BaseGroup */
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* @template T
|
|
2100
|
+
* @typedef {BaseGroup & { children: T[], size: number }} BaseGroupWithChildren
|
|
2101
|
+
*/
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* @typedef {{
|
|
2105
|
+
* _: (groupConfigs: GroupConfig<KnownStatsAsset, BaseGroup & { filteredChildren: number, size: number } | BaseGroupWithChildren<KnownStatsAsset>>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2106
|
+
* groupAssetsByInfo: (groupConfigs: GroupConfig<KnownStatsAsset, BaseGroupWithChildren<KnownStatsAsset>>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2107
|
+
* groupAssetsByChunk: (groupConfigs: GroupConfig<KnownStatsAsset, BaseGroupWithChildren<KnownStatsAsset>>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2108
|
+
* excludeAssets: (groupConfigs: GroupConfig<KnownStatsAsset, BaseGroup & { filteredChildren: number, size: number }>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2109
|
+
* }} AssetsGroupers
|
|
2110
|
+
*/
|
|
2111
|
+
|
|
2112
|
+
/** @type {AssetsGroupers} */
|
|
2113
|
+
const ASSETS_GROUPERS = {
|
|
2114
|
+
_: (groupConfigs, context, options) => {
|
|
2115
|
+
/**
|
|
2116
|
+
* @param {keyof KnownStatsAsset} name name
|
|
2117
|
+
* @param {boolean=} exclude need exclude?
|
|
2118
|
+
*/
|
|
2119
|
+
const groupByFlag = (name, exclude) => {
|
|
2120
|
+
groupConfigs.push({
|
|
2121
|
+
getKeys: (asset) => (asset[name] ? ["1"] : undefined),
|
|
2122
|
+
getOptions: () => ({
|
|
2123
|
+
groupChildren: !exclude,
|
|
2124
|
+
force: exclude
|
|
2125
|
+
}),
|
|
2126
|
+
createGroup: (key, children, assets) =>
|
|
2127
|
+
exclude
|
|
2128
|
+
? {
|
|
2129
|
+
type: "assets by status",
|
|
2130
|
+
[name]: Boolean(key),
|
|
2131
|
+
filteredChildren: assets.length,
|
|
2132
|
+
...assetGroup(children, assets)
|
|
2133
|
+
}
|
|
2134
|
+
: {
|
|
2135
|
+
type: "assets by status",
|
|
2136
|
+
[name]: Boolean(key),
|
|
2137
|
+
children,
|
|
2138
|
+
...assetGroup(children, assets)
|
|
2139
|
+
}
|
|
2140
|
+
});
|
|
2141
|
+
};
|
|
2142
|
+
const {
|
|
2143
|
+
groupAssetsByEmitStatus,
|
|
2144
|
+
groupAssetsByPath,
|
|
2145
|
+
groupAssetsByExtension
|
|
2146
|
+
} = options;
|
|
2147
|
+
if (groupAssetsByEmitStatus) {
|
|
2148
|
+
groupByFlag("emitted");
|
|
2149
|
+
groupByFlag("comparedForEmit");
|
|
2150
|
+
groupByFlag("isOverSizeLimit");
|
|
2151
|
+
}
|
|
2152
|
+
if (groupAssetsByEmitStatus || !options.cachedAssets) {
|
|
2153
|
+
groupByFlag("cached", !options.cachedAssets);
|
|
2154
|
+
}
|
|
2155
|
+
if (groupAssetsByPath || groupAssetsByExtension) {
|
|
2156
|
+
groupConfigs.push({
|
|
2157
|
+
getKeys: (asset) => {
|
|
2158
|
+
const extensionMatch =
|
|
2159
|
+
groupAssetsByExtension && GROUP_EXTENSION_REGEXP.exec(asset.name);
|
|
2160
|
+
const extension = extensionMatch ? extensionMatch[1] : "";
|
|
2161
|
+
const pathMatch =
|
|
2162
|
+
groupAssetsByPath && GROUP_PATH_REGEXP.exec(asset.name);
|
|
2163
|
+
const path = pathMatch ? pathMatch[1].split(/[/\\]/) : [];
|
|
2164
|
+
/** @type {string[]} */
|
|
2165
|
+
const keys = [];
|
|
2166
|
+
if (groupAssetsByPath) {
|
|
2167
|
+
keys.push(".");
|
|
2168
|
+
if (extension) {
|
|
2169
|
+
keys.push(
|
|
2170
|
+
path.length
|
|
2171
|
+
? `${path.join("/")}/*${extension}`
|
|
2172
|
+
: `*${extension}`
|
|
2173
|
+
);
|
|
2174
|
+
}
|
|
2175
|
+
while (path.length > 0) {
|
|
2176
|
+
keys.push(`${path.join("/")}/`);
|
|
2177
|
+
path.pop();
|
|
2178
|
+
}
|
|
2179
|
+
} else if (extension) {
|
|
2180
|
+
keys.push(`*${extension}`);
|
|
2181
|
+
}
|
|
2182
|
+
return keys;
|
|
2183
|
+
},
|
|
2184
|
+
createGroup: (key, children, assets) => ({
|
|
2185
|
+
type: groupAssetsByPath ? "assets by path" : "assets by extension",
|
|
2186
|
+
name: key,
|
|
2187
|
+
children,
|
|
2188
|
+
...assetGroup(children, assets)
|
|
2189
|
+
})
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
groupAssetsByInfo: (groupConfigs, _context, _options) => {
|
|
2194
|
+
/**
|
|
2195
|
+
* @param {string} name name
|
|
2196
|
+
*/
|
|
2197
|
+
const groupByAssetInfoFlag = (name) => {
|
|
2198
|
+
groupConfigs.push({
|
|
2199
|
+
getKeys: (asset) =>
|
|
2200
|
+
asset.info && asset.info[name] ? ["1"] : undefined,
|
|
2201
|
+
createGroup: (key, children, assets) => ({
|
|
2202
|
+
type: "assets by info",
|
|
2203
|
+
info: {
|
|
2204
|
+
[name]: Boolean(key)
|
|
2205
|
+
},
|
|
2206
|
+
children,
|
|
2207
|
+
...assetGroup(children, assets)
|
|
2208
|
+
})
|
|
2209
|
+
});
|
|
2210
|
+
};
|
|
2211
|
+
groupByAssetInfoFlag("immutable");
|
|
2212
|
+
groupByAssetInfoFlag("development");
|
|
2213
|
+
groupByAssetInfoFlag("hotModuleReplacement");
|
|
2214
|
+
},
|
|
2215
|
+
groupAssetsByChunk: (groupConfigs, _context, _options) => {
|
|
2216
|
+
/**
|
|
2217
|
+
* @param {keyof KnownStatsAsset} name name
|
|
2218
|
+
*/
|
|
2219
|
+
const groupByNames = (name) => {
|
|
2220
|
+
groupConfigs.push({
|
|
2221
|
+
getKeys: (asset) => /** @type {string[]} */ (asset[name]),
|
|
2222
|
+
createGroup: (key, children, assets) => ({
|
|
2223
|
+
type: "assets by chunk",
|
|
2224
|
+
[name]: [key],
|
|
2225
|
+
children,
|
|
2226
|
+
...assetGroup(children, assets)
|
|
2227
|
+
})
|
|
2228
|
+
});
|
|
2229
|
+
};
|
|
2230
|
+
groupByNames("chunkNames");
|
|
2231
|
+
groupByNames("auxiliaryChunkNames");
|
|
2232
|
+
groupByNames("chunkIdHints");
|
|
2233
|
+
groupByNames("auxiliaryChunkIdHints");
|
|
2234
|
+
},
|
|
2235
|
+
excludeAssets: (groupConfigs, context, { excludeAssets }) => {
|
|
2236
|
+
groupConfigs.push({
|
|
2237
|
+
getKeys: (asset) => {
|
|
2238
|
+
const ident = asset.name;
|
|
2239
|
+
const excluded = excludeAssets.some((fn) => fn(ident, asset));
|
|
2240
|
+
if (excluded) return ["excluded"];
|
|
2241
|
+
},
|
|
2242
|
+
getOptions: () => ({
|
|
2243
|
+
groupChildren: false,
|
|
2244
|
+
force: true
|
|
2245
|
+
}),
|
|
2246
|
+
createGroup: (key, children, assets) => ({
|
|
2247
|
+
type: "hidden assets",
|
|
2248
|
+
filteredChildren: assets.length,
|
|
2249
|
+
...assetGroup(children, assets)
|
|
2250
|
+
})
|
|
2251
|
+
});
|
|
2252
|
+
}
|
|
2253
|
+
};
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* @typedef {{
|
|
2257
|
+
* _: (groupConfigs: GroupConfig<KnownStatsModule, BaseGroup & { filteredChildren?: number, children?: KnownStatsModule[], size: number, sizes: Record<string, number> }>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2258
|
+
* excludeModules: (groupConfigs: GroupConfig<KnownStatsModule, BaseGroup & { filteredChildren: number, size: number, sizes: Record<string, number> }>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2259
|
+
* }} ModulesGroupers
|
|
2260
|
+
*/
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* @type {(type: ExcludeModulesType) => ModulesGroupers}
|
|
2264
|
+
*/
|
|
2265
|
+
const MODULES_GROUPERS = (type) => ({
|
|
2266
|
+
_: (groupConfigs, context, options) => {
|
|
2267
|
+
/**
|
|
2268
|
+
* @param {keyof KnownStatsModule} name name
|
|
2269
|
+
* @param {string} type type
|
|
2270
|
+
* @param {boolean=} exclude need exclude?
|
|
2271
|
+
*/
|
|
2272
|
+
const groupByFlag = (name, type, exclude) => {
|
|
2273
|
+
groupConfigs.push({
|
|
2274
|
+
getKeys: (module) => (module[name] ? ["1"] : undefined),
|
|
2275
|
+
getOptions: () => ({
|
|
2276
|
+
groupChildren: !exclude,
|
|
2277
|
+
force: exclude
|
|
2278
|
+
}),
|
|
2279
|
+
createGroup: (key, children, modules) => ({
|
|
2280
|
+
type,
|
|
2281
|
+
[name]: Boolean(key),
|
|
2282
|
+
...(exclude ? { filteredChildren: modules.length } : { children }),
|
|
2283
|
+
...moduleGroup(
|
|
2284
|
+
/** @type {(KnownStatsModule & ModuleGroupBySizeResult)[]} */
|
|
2285
|
+
(children),
|
|
2286
|
+
modules
|
|
2287
|
+
)
|
|
2288
|
+
})
|
|
2289
|
+
});
|
|
2290
|
+
};
|
|
2291
|
+
const {
|
|
2292
|
+
groupModulesByCacheStatus,
|
|
2293
|
+
groupModulesByLayer,
|
|
2294
|
+
groupModulesByAttributes,
|
|
2295
|
+
groupModulesByType,
|
|
2296
|
+
groupModulesByPath,
|
|
2297
|
+
groupModulesByExtension
|
|
2298
|
+
} = options;
|
|
2299
|
+
if (groupModulesByAttributes) {
|
|
2300
|
+
groupByFlag("errors", "modules with errors");
|
|
2301
|
+
groupByFlag("warnings", "modules with warnings");
|
|
2302
|
+
groupByFlag("assets", "modules with assets");
|
|
2303
|
+
groupByFlag("optional", "optional modules");
|
|
2304
|
+
}
|
|
2305
|
+
if (groupModulesByCacheStatus) {
|
|
2306
|
+
groupByFlag("cacheable", "cacheable modules");
|
|
2307
|
+
groupByFlag("built", "built modules");
|
|
2308
|
+
groupByFlag("codeGenerated", "code generated modules");
|
|
2309
|
+
}
|
|
2310
|
+
if (groupModulesByCacheStatus || !options.cachedModules) {
|
|
2311
|
+
groupByFlag("cached", "cached modules", !options.cachedModules);
|
|
2312
|
+
}
|
|
2313
|
+
if (groupModulesByAttributes || !options.orphanModules) {
|
|
2314
|
+
groupByFlag("orphan", "orphan modules", !options.orphanModules);
|
|
2315
|
+
}
|
|
2316
|
+
if (groupModulesByAttributes || !options.dependentModules) {
|
|
2317
|
+
groupByFlag("dependent", "dependent modules", !options.dependentModules);
|
|
2318
|
+
}
|
|
2319
|
+
if (groupModulesByType || !options.runtimeModules) {
|
|
2320
|
+
groupConfigs.push({
|
|
2321
|
+
getKeys: (module) => {
|
|
2322
|
+
if (!module.moduleType) return;
|
|
2323
|
+
if (groupModulesByType) {
|
|
2324
|
+
return [module.moduleType.split("/", 1)[0]];
|
|
2325
|
+
} else if (module.moduleType === WEBPACK_MODULE_TYPE_RUNTIME) {
|
|
2326
|
+
return [WEBPACK_MODULE_TYPE_RUNTIME];
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
getOptions: (key) => {
|
|
2330
|
+
const exclude =
|
|
2331
|
+
key === WEBPACK_MODULE_TYPE_RUNTIME && !options.runtimeModules;
|
|
2332
|
+
return {
|
|
2333
|
+
groupChildren: !exclude,
|
|
2334
|
+
force: exclude
|
|
2335
|
+
};
|
|
2336
|
+
},
|
|
2337
|
+
createGroup: (key, children, modules) => {
|
|
2338
|
+
const exclude =
|
|
2339
|
+
key === WEBPACK_MODULE_TYPE_RUNTIME && !options.runtimeModules;
|
|
2340
|
+
return {
|
|
2341
|
+
type: `${key} modules`,
|
|
2342
|
+
moduleType: key,
|
|
2343
|
+
...(exclude ? { filteredChildren: modules.length } : { children }),
|
|
2344
|
+
...moduleGroup(
|
|
2345
|
+
/** @type {(KnownStatsModule & ModuleGroupBySizeResult)[]} */
|
|
2346
|
+
(children),
|
|
2347
|
+
modules
|
|
2348
|
+
)
|
|
2349
|
+
};
|
|
2350
|
+
}
|
|
2351
|
+
});
|
|
2352
|
+
}
|
|
2353
|
+
if (groupModulesByLayer) {
|
|
2354
|
+
groupConfigs.push({
|
|
2355
|
+
getKeys: (module) => /** @type {string[]} */ ([module.layer]),
|
|
2356
|
+
createGroup: (key, children, modules) => ({
|
|
2357
|
+
type: "modules by layer",
|
|
2358
|
+
layer: key,
|
|
2359
|
+
children,
|
|
2360
|
+
...moduleGroup(
|
|
2361
|
+
/** @type {(KnownStatsModule & ModuleGroupBySizeResult)[]} */
|
|
2362
|
+
(children),
|
|
2363
|
+
modules
|
|
2364
|
+
)
|
|
2365
|
+
})
|
|
2366
|
+
});
|
|
2367
|
+
}
|
|
2368
|
+
if (groupModulesByPath || groupModulesByExtension) {
|
|
2369
|
+
groupConfigs.push({
|
|
2370
|
+
getKeys: (module) => {
|
|
2371
|
+
if (!module.name) return;
|
|
2372
|
+
const resource = parseResource(
|
|
2373
|
+
/** @type {string} */ (module.name.split("!").pop())
|
|
2374
|
+
).path;
|
|
2375
|
+
const dataUrl = /^data:[^,;]+/.exec(resource);
|
|
2376
|
+
if (dataUrl) return [dataUrl[0]];
|
|
2377
|
+
const extensionMatch =
|
|
2378
|
+
groupModulesByExtension && GROUP_EXTENSION_REGEXP.exec(resource);
|
|
2379
|
+
const extension = extensionMatch ? extensionMatch[1] : "";
|
|
2380
|
+
const pathMatch =
|
|
2381
|
+
groupModulesByPath && GROUP_PATH_REGEXP.exec(resource);
|
|
2382
|
+
const path = pathMatch ? pathMatch[1].split(/[/\\]/) : [];
|
|
2383
|
+
/** @type {string[]} */
|
|
2384
|
+
const keys = [];
|
|
2385
|
+
if (groupModulesByPath) {
|
|
2386
|
+
if (extension) {
|
|
2387
|
+
keys.push(
|
|
2388
|
+
path.length
|
|
2389
|
+
? `${path.join("/")}/*${extension}`
|
|
2390
|
+
: `*${extension}`
|
|
2391
|
+
);
|
|
2392
|
+
}
|
|
2393
|
+
while (path.length > 0) {
|
|
2394
|
+
keys.push(`${path.join("/")}/`);
|
|
2395
|
+
path.pop();
|
|
2396
|
+
}
|
|
2397
|
+
} else if (extension) {
|
|
2398
|
+
keys.push(`*${extension}`);
|
|
2399
|
+
}
|
|
2400
|
+
return keys;
|
|
2401
|
+
},
|
|
2402
|
+
createGroup: (key, children, modules) => {
|
|
2403
|
+
const isDataUrl = key.startsWith("data:");
|
|
2404
|
+
return {
|
|
2405
|
+
type: isDataUrl
|
|
2406
|
+
? "modules by mime type"
|
|
2407
|
+
: groupModulesByPath
|
|
2408
|
+
? "modules by path"
|
|
2409
|
+
: "modules by extension",
|
|
2410
|
+
name: isDataUrl ? key.slice(/* 'data:'.length */ 5) : key,
|
|
2411
|
+
children,
|
|
2412
|
+
...moduleGroup(
|
|
2413
|
+
/** @type {(KnownStatsModule & ModuleGroupBySizeResult)[]} */
|
|
2414
|
+
(children),
|
|
2415
|
+
modules
|
|
2416
|
+
)
|
|
2417
|
+
};
|
|
2418
|
+
}
|
|
2419
|
+
});
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
excludeModules: (groupConfigs, context, { excludeModules }) => {
|
|
2423
|
+
groupConfigs.push({
|
|
2424
|
+
getKeys: (module) => {
|
|
2425
|
+
const name = module.name;
|
|
2426
|
+
if (name) {
|
|
2427
|
+
const excluded = excludeModules.some((fn) => fn(name, module, type));
|
|
2428
|
+
if (excluded) return ["1"];
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
getOptions: () => ({
|
|
2432
|
+
groupChildren: false,
|
|
2433
|
+
force: true
|
|
2434
|
+
}),
|
|
2435
|
+
createGroup: (key, children, modules) => ({
|
|
2436
|
+
type: "hidden modules",
|
|
2437
|
+
filteredChildren: children.length,
|
|
2438
|
+
...moduleGroup(
|
|
2439
|
+
/** @type {(KnownStatsModule & ModuleGroupBySizeResult)[]} */
|
|
2440
|
+
(children),
|
|
2441
|
+
modules
|
|
2442
|
+
)
|
|
2443
|
+
})
|
|
2444
|
+
});
|
|
2445
|
+
}
|
|
2446
|
+
});
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* @typedef {{ groupReasonsByOrigin: (groupConfigs: GroupConfig<KnownStatsModuleReason, BaseGroup & { module: string, children: KnownStatsModuleReason[], active: boolean }>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void }} ModuleReasonsGroupers
|
|
2450
|
+
*/
|
|
2451
|
+
|
|
2452
|
+
/** @type {ModuleReasonsGroupers} */
|
|
2453
|
+
const MODULE_REASONS_GROUPERS = {
|
|
2454
|
+
groupReasonsByOrigin: (groupConfigs) => {
|
|
2455
|
+
groupConfigs.push({
|
|
2456
|
+
getKeys: (reason) => /** @type {string[]} */ ([reason.module]),
|
|
2457
|
+
createGroup: (key, children, reasons) => ({
|
|
2458
|
+
type: "from origin",
|
|
2459
|
+
module: key,
|
|
2460
|
+
children,
|
|
2461
|
+
...reasonGroup(children, reasons)
|
|
2462
|
+
})
|
|
2463
|
+
});
|
|
2464
|
+
}
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* @type {{
|
|
2469
|
+
* "compilation.assets": AssetsGroupers,
|
|
2470
|
+
* "asset.related": AssetsGroupers,
|
|
2471
|
+
* "compilation.modules": ModulesGroupers,
|
|
2472
|
+
* "chunk.modules": ModulesGroupers,
|
|
2473
|
+
* "chunk.rootModules": ModulesGroupers,
|
|
2474
|
+
* "module.modules": ModulesGroupers,
|
|
2475
|
+
* "module.reasons": ModuleReasonsGroupers,
|
|
2476
|
+
* }}
|
|
2477
|
+
*/
|
|
2478
|
+
const RESULT_GROUPERS = {
|
|
2479
|
+
"compilation.assets": ASSETS_GROUPERS,
|
|
2480
|
+
"asset.related": ASSETS_GROUPERS,
|
|
2481
|
+
"compilation.modules": MODULES_GROUPERS("module"),
|
|
2482
|
+
"chunk.modules": MODULES_GROUPERS("chunk"),
|
|
2483
|
+
"chunk.rootModules": MODULES_GROUPERS("root-of-chunk"),
|
|
2484
|
+
"module.modules": MODULES_GROUPERS("nested"),
|
|
2485
|
+
"module.reasons": MODULE_REASONS_GROUPERS
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
// remove a prefixed "!" that can be specified to reverse sort order
|
|
2489
|
+
/**
|
|
2490
|
+
* @param {string} field a field name
|
|
2491
|
+
* @returns {field} normalized field
|
|
2492
|
+
*/
|
|
2493
|
+
const normalizeFieldKey = (field) => {
|
|
2494
|
+
if (field[0] === "!") {
|
|
2495
|
+
return field.slice(1);
|
|
2496
|
+
}
|
|
2497
|
+
return field;
|
|
2498
|
+
};
|
|
2499
|
+
|
|
2500
|
+
// if a field is prefixed by a "!" reverse sort order
|
|
2501
|
+
/**
|
|
2502
|
+
* @param {string} field a field name
|
|
2503
|
+
* @returns {boolean} result
|
|
2504
|
+
*/
|
|
2505
|
+
const sortOrderRegular = (field) => {
|
|
2506
|
+
if (field[0] === "!") {
|
|
2507
|
+
return false;
|
|
2508
|
+
}
|
|
2509
|
+
return true;
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* @template T
|
|
2514
|
+
* @param {string | false} field field name
|
|
2515
|
+
* @returns {(a: T, b: T) => 0 | 1 | -1} comparators
|
|
2516
|
+
*/
|
|
2517
|
+
const sortByField = (field) => {
|
|
2518
|
+
if (!field) {
|
|
2519
|
+
/**
|
|
2520
|
+
* @param {T} a first
|
|
2521
|
+
* @param {T} b second
|
|
2522
|
+
* @returns {-1 | 0 | 1} zero
|
|
2523
|
+
*/
|
|
2524
|
+
const noSort = (a, b) => 0;
|
|
2525
|
+
return noSort;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
const fieldKey = normalizeFieldKey(field);
|
|
2529
|
+
|
|
2530
|
+
let sortFn = compareSelect((m) => m[fieldKey], compareIds);
|
|
2531
|
+
|
|
2532
|
+
// if a field is prefixed with a "!" the sort is reversed!
|
|
2533
|
+
const sortIsRegular = sortOrderRegular(field);
|
|
2534
|
+
|
|
2535
|
+
if (!sortIsRegular) {
|
|
2536
|
+
const oldSortFn = sortFn;
|
|
2537
|
+
sortFn = (a, b) => oldSortFn(b, a);
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
return sortFn;
|
|
2541
|
+
};
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* @typedef {{
|
|
2545
|
+
* assetsSort: (comparators: Comparator<Asset>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2546
|
+
* _: (comparators: Comparator<Asset>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void,
|
|
2547
|
+
* }} AssetSorters
|
|
2548
|
+
*/
|
|
2549
|
+
|
|
2550
|
+
/** @type {AssetSorters} */
|
|
2551
|
+
const ASSET_SORTERS = {
|
|
2552
|
+
assetsSort: (comparators, context, { assetsSort }) => {
|
|
2553
|
+
comparators.push(sortByField(assetsSort));
|
|
2554
|
+
},
|
|
2555
|
+
_: (comparators) => {
|
|
2556
|
+
comparators.push(compareSelect((a) => a.name, compareIds));
|
|
2557
|
+
}
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* @type {{
|
|
2562
|
+
* "compilation.chunks": { chunksSort: (comparators: Comparator<Chunk>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void },
|
|
2563
|
+
* "compilation.modules": { modulesSort: (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void },
|
|
2564
|
+
* "chunk.modules": { chunkModulesSort: (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void },
|
|
2565
|
+
* "module.modules": { nestedModulesSort: (comparators: Comparator<Module>[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void },
|
|
2566
|
+
* "compilation.assets": AssetSorters,
|
|
2567
|
+
* "asset.related": AssetSorters,
|
|
2568
|
+
* }}
|
|
2569
|
+
*/
|
|
2570
|
+
const RESULT_SORTERS = {
|
|
2571
|
+
"compilation.chunks": {
|
|
2572
|
+
chunksSort: (comparators, context, { chunksSort }) => {
|
|
2573
|
+
comparators.push(sortByField(chunksSort));
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
"compilation.modules": {
|
|
2577
|
+
modulesSort: (comparators, context, { modulesSort }) => {
|
|
2578
|
+
comparators.push(sortByField(modulesSort));
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"chunk.modules": {
|
|
2582
|
+
chunkModulesSort: (comparators, context, { chunkModulesSort }) => {
|
|
2583
|
+
comparators.push(sortByField(chunkModulesSort));
|
|
2584
|
+
}
|
|
2585
|
+
},
|
|
2586
|
+
"module.modules": {
|
|
2587
|
+
nestedModulesSort: (comparators, context, { nestedModulesSort }) => {
|
|
2588
|
+
comparators.push(sortByField(nestedModulesSort));
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
"compilation.assets": ASSET_SORTERS,
|
|
2592
|
+
"asset.related": ASSET_SORTERS
|
|
2593
|
+
};
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* @template T
|
|
2597
|
+
* @typedef {T extends Record<string, Record<string, infer F>> ? F : never} ExtractFunction
|
|
2598
|
+
*/
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* @template {Record<string, Record<string, EXPECTED_ANY>>} T
|
|
2602
|
+
* @param {T} config the config see above
|
|
2603
|
+
* @param {NormalizedStatsOptions} options stats options
|
|
2604
|
+
* @param {(hookFor: keyof T, fn: ExtractFunction<T>) => void} fn handler function called for every active line in config
|
|
2605
|
+
* @returns {void}
|
|
2606
|
+
*/
|
|
2607
|
+
const iterateConfig = (config, options, fn) => {
|
|
2608
|
+
for (const hookFor of Object.keys(config)) {
|
|
2609
|
+
const subConfig = config[hookFor];
|
|
2610
|
+
for (const option of Object.keys(subConfig)) {
|
|
2611
|
+
if (option !== "_") {
|
|
2612
|
+
if (option.startsWith("!")) {
|
|
2613
|
+
if (options[option.slice(1)]) continue;
|
|
2614
|
+
} else {
|
|
2615
|
+
const value = options[option];
|
|
2616
|
+
if (
|
|
2617
|
+
value === false ||
|
|
2618
|
+
value === undefined ||
|
|
2619
|
+
(Array.isArray(value) && value.length === 0)
|
|
2620
|
+
) {
|
|
2621
|
+
continue;
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
fn(hookFor, subConfig[option]);
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
/** @type {Record<string, string>} */
|
|
2631
|
+
const ITEM_NAMES = {
|
|
2632
|
+
"compilation.children[]": "compilation",
|
|
2633
|
+
"compilation.modules[]": "module",
|
|
2634
|
+
"compilation.entrypoints[]": "chunkGroup",
|
|
2635
|
+
"compilation.namedChunkGroups[]": "chunkGroup",
|
|
2636
|
+
"compilation.errors[]": "error",
|
|
2637
|
+
"compilation.warnings[]": "warning",
|
|
2638
|
+
"error.errors[]": "error",
|
|
2639
|
+
"warning.errors[]": "error",
|
|
2640
|
+
"chunk.modules[]": "module",
|
|
2641
|
+
"chunk.rootModules[]": "module",
|
|
2642
|
+
"chunk.origins[]": "chunkOrigin",
|
|
2643
|
+
"compilation.chunks[]": "chunk",
|
|
2644
|
+
"compilation.assets[]": "asset",
|
|
2645
|
+
"asset.related[]": "asset",
|
|
2646
|
+
"module.issuerPath[]": "moduleIssuer",
|
|
2647
|
+
"module.reasons[]": "moduleReason",
|
|
2648
|
+
"module.modules[]": "module",
|
|
2649
|
+
"module.children[]": "module",
|
|
2650
|
+
"moduleTrace[]": "moduleTraceItem",
|
|
2651
|
+
"moduleTraceItem.dependencies[]": "moduleTraceDependency"
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* @template T
|
|
2656
|
+
* @typedef {{ name: T }} NamedObject
|
|
2657
|
+
*/
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* @template {{ name: string }} T
|
|
2661
|
+
* @param {T[]} items items to be merged
|
|
2662
|
+
* @returns {NamedObject<T>} an object
|
|
2663
|
+
*/
|
|
2664
|
+
const mergeToObject = (items) => {
|
|
2665
|
+
const obj = Object.create(null);
|
|
2666
|
+
for (const item of items) {
|
|
2667
|
+
obj[item.name] = item;
|
|
2668
|
+
}
|
|
2669
|
+
return obj;
|
|
2670
|
+
};
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* @template {{ name: string }} T
|
|
2674
|
+
* @type {Record<string, (items: T[]) => NamedObject<T>>}
|
|
2675
|
+
*/
|
|
2676
|
+
const MERGER = {
|
|
2677
|
+
"compilation.entrypoints": mergeToObject,
|
|
2678
|
+
"compilation.namedChunkGroups": mergeToObject
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
const PLUGIN_NAME = "DefaultStatsFactoryPlugin";
|
|
2682
|
+
|
|
2683
|
+
class DefaultStatsFactoryPlugin {
|
|
2684
|
+
/**
|
|
2685
|
+
* Apply the plugin
|
|
2686
|
+
* @param {Compiler} compiler the compiler instance
|
|
2687
|
+
* @returns {void}
|
|
2688
|
+
*/
|
|
2689
|
+
apply(compiler) {
|
|
2690
|
+
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
|
|
2691
|
+
compilation.hooks.statsFactory.tap(
|
|
2692
|
+
PLUGIN_NAME,
|
|
2693
|
+
/**
|
|
2694
|
+
* @param {StatsFactory} stats stats factory
|
|
2695
|
+
* @param {NormalizedStatsOptions} options stats options
|
|
2696
|
+
*/
|
|
2697
|
+
(stats, options) => {
|
|
2698
|
+
iterateConfig(SIMPLE_EXTRACTORS, options, (hookFor, fn) => {
|
|
2699
|
+
stats.hooks.extract
|
|
2700
|
+
.for(hookFor)
|
|
2701
|
+
.tap(PLUGIN_NAME, (obj, data, ctx) =>
|
|
2702
|
+
fn(obj, data, ctx, options, stats)
|
|
2703
|
+
);
|
|
2704
|
+
});
|
|
2705
|
+
iterateConfig(FILTER, options, (hookFor, fn) => {
|
|
2706
|
+
stats.hooks.filter
|
|
2707
|
+
.for(hookFor)
|
|
2708
|
+
.tap(PLUGIN_NAME, (item, ctx, idx, i) =>
|
|
2709
|
+
fn(item, ctx, options, idx, i)
|
|
2710
|
+
);
|
|
2711
|
+
});
|
|
2712
|
+
iterateConfig(FILTER_RESULTS, options, (hookFor, fn) => {
|
|
2713
|
+
stats.hooks.filterResults
|
|
2714
|
+
.for(hookFor)
|
|
2715
|
+
.tap(PLUGIN_NAME, (item, ctx, idx, i) =>
|
|
2716
|
+
fn(item, ctx, options, idx, i)
|
|
2717
|
+
);
|
|
2718
|
+
});
|
|
2719
|
+
iterateConfig(SORTERS, options, (hookFor, fn) => {
|
|
2720
|
+
stats.hooks.sort
|
|
2721
|
+
.for(hookFor)
|
|
2722
|
+
.tap(PLUGIN_NAME, (comparators, ctx) =>
|
|
2723
|
+
fn(comparators, ctx, options)
|
|
2724
|
+
);
|
|
2725
|
+
});
|
|
2726
|
+
iterateConfig(RESULT_SORTERS, options, (hookFor, fn) => {
|
|
2727
|
+
stats.hooks.sortResults
|
|
2728
|
+
.for(hookFor)
|
|
2729
|
+
.tap(PLUGIN_NAME, (comparators, ctx) =>
|
|
2730
|
+
fn(comparators, ctx, options)
|
|
2731
|
+
);
|
|
2732
|
+
});
|
|
2733
|
+
iterateConfig(RESULT_GROUPERS, options, (hookFor, fn) => {
|
|
2734
|
+
stats.hooks.groupResults
|
|
2735
|
+
.for(hookFor)
|
|
2736
|
+
.tap(PLUGIN_NAME, (groupConfigs, ctx) =>
|
|
2737
|
+
fn(groupConfigs, ctx, options)
|
|
2738
|
+
);
|
|
2739
|
+
});
|
|
2740
|
+
for (const key of Object.keys(ITEM_NAMES)) {
|
|
2741
|
+
const itemName = ITEM_NAMES[key];
|
|
2742
|
+
stats.hooks.getItemName.for(key).tap(PLUGIN_NAME, () => itemName);
|
|
2743
|
+
}
|
|
2744
|
+
for (const key of Object.keys(MERGER)) {
|
|
2745
|
+
const merger = MERGER[key];
|
|
2746
|
+
stats.hooks.merge.for(key).tap(PLUGIN_NAME, merger);
|
|
2747
|
+
}
|
|
2748
|
+
if (options.children) {
|
|
2749
|
+
if (Array.isArray(options.children)) {
|
|
2750
|
+
stats.hooks.getItemFactory
|
|
2751
|
+
.for("compilation.children[].compilation")
|
|
2752
|
+
.tap(
|
|
2753
|
+
PLUGIN_NAME,
|
|
2754
|
+
/**
|
|
2755
|
+
* @param {Compilation} comp compilation
|
|
2756
|
+
* @param {StatsFactoryContext} options options
|
|
2757
|
+
* @returns {StatsFactory | undefined} stats factory
|
|
2758
|
+
*/
|
|
2759
|
+
(comp, { _index: idx }) => {
|
|
2760
|
+
const children =
|
|
2761
|
+
/** @type {StatsValue[]} */
|
|
2762
|
+
(options.children);
|
|
2763
|
+
if (idx < children.length) {
|
|
2764
|
+
return compilation.createStatsFactory(
|
|
2765
|
+
compilation.createStatsOptions(children[idx])
|
|
2766
|
+
);
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
);
|
|
2770
|
+
} else if (options.children !== true) {
|
|
2771
|
+
const childFactory = compilation.createStatsFactory(
|
|
2772
|
+
compilation.createStatsOptions(options.children)
|
|
2773
|
+
);
|
|
2774
|
+
stats.hooks.getItemFactory
|
|
2775
|
+
.for("compilation.children[].compilation")
|
|
2776
|
+
.tap(PLUGIN_NAME, () => childFactory);
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
);
|
|
2781
|
+
});
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
module.exports = DefaultStatsFactoryPlugin;
|