@lcap/nasl-unified-frontend-generator 4.0.0-beta.7 → 4.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2259,7 +2259,7 @@ import { Container as Container20 } from "inversify";
2259
2259
 
2260
2260
  // src/plugins/vue/vue3/vue3-preset-plugin.ts
2261
2261
  import "@abraham/reflection";
2262
- import { inject as inject16, injectable as injectable31 } from "inversify";
2262
+ import { inject as inject15, injectable as injectable30 } from "inversify";
2263
2263
 
2264
2264
  // src/service-metakind.ts
2265
2265
  var ServiceMetaKind = {
@@ -6570,40 +6570,40 @@ var metadataPlugin = makePlugin({
6570
6570
  // src/hack/material-config/material.config.js
6571
6571
  var materials = {
6572
6572
  framework: {
6573
- version: "2.0.0",
6573
+ version: "2.1.0",
6574
6574
  core: "@lcap/basic-template",
6575
6575
  pc: [
6576
6576
  {
6577
6577
  frameworkKind: "vue2",
6578
6578
  name: "@lcap/pc-template",
6579
- version: "2.0.0"
6579
+ version: "2.1.0"
6580
6580
  },
6581
6581
  {
6582
6582
  frameworkKind: "react",
6583
6583
  name: "@lcap/pc-template-react",
6584
- version: "2.0.0"
6584
+ version: "2.1.0"
6585
6585
  },
6586
6586
  {
6587
6587
  frameworkKind: "vue3",
6588
6588
  name: "@lcap/pc-template-vue3",
6589
- version: "2.0.0"
6589
+ version: "2.1.0"
6590
6590
  }
6591
6591
  ],
6592
6592
  h5: [
6593
6593
  {
6594
6594
  frameworkKind: "vue2",
6595
6595
  name: "@lcap/mobile-template",
6596
- version: "2.0.0"
6596
+ version: "2.1.0"
6597
6597
  },
6598
6598
  {
6599
6599
  frameworkKind: "react",
6600
6600
  name: "@lcap/mobile-template-react",
6601
- version: "2.0.0"
6601
+ version: "2.1.0"
6602
6602
  },
6603
6603
  {
6604
6604
  frameworkKind: "vue3",
6605
6605
  name: "@lcap/mobile-template-vue3",
6606
- version: "2.0.0"
6606
+ version: "2.1.0"
6607
6607
  }
6608
6608
  ]
6609
6609
  },
@@ -9283,7 +9283,7 @@ BundlerConfigDataPlugin = __decorateClass([
9283
9283
  __decorateParam(0, inject8(ServiceMetaKind.FrontendBundlerConfig))
9284
9284
  ], BundlerConfigDataPlugin);
9285
9285
 
9286
- // src/plugins/misc/bundler/respack-config-plugin.ts
9286
+ // src/plugins/misc/bundler/rspack-config-plugin.ts
9287
9287
  import "@abraham/reflection";
9288
9288
  import { injectable as injectable17, inject as inject9 } from "inversify";
9289
9289
  var RspackConfigPlugin = class {
@@ -9307,9 +9307,16 @@ var RspackConfigPlugin = class {
9307
9307
  `chunks: '${this.frontendPerformancePlugin?.performanceOptions?.chunks}'`
9308
9308
  );
9309
9309
  }
9310
+ rspackConfigSource = rspackConfigSource.replace(`const backendUrl = '';`, `const backendUrl = '${backendUrl}'`).replace(`const publicPath = '';`, `const publicPath = '${publicPath}';`).replace(`sourceMap: false,`, `sourceMap: ${config2.env === "dev"},`).replace("alias: {}", `alias: {${aliasMapStr}}`).replace("const isDev = false", `const isDev = ${config2.env === "dev"}`);
9311
+ if (config2.needCompileViews && config2.needCompileViews.length > 0 && config2.cacheChunksMapCode) {
9312
+ rspackConfigSource = rspackConfigSource.replace("isIncremental: false", "isIncremental: true").replace("chunksMap: ''", `chunksMap: \`${config2.cacheChunksMapCode}\``);
9313
+ }
9314
+ if (config2.isExport) {
9315
+ rspackConfigSource = rspackConfigSource.replace(/\/\/ LcapPlugin start\s+new LcapPlugin\(\{[\s\S]*?\}\),\s+\/\/ LcapPlugin end/g, "");
9316
+ }
9310
9317
  fs.write(
9311
9318
  "/rspack.config.js",
9312
- rspackConfigSource.replace(`const backendUrl = '';`, `const backendUrl = '${backendUrl}'`).replace(`const publicPath = '';`, `const publicPath = '${publicPath}';`).replace(`sourceMap: false,`, `sourceMap: ${config2.env === "dev"},`).replace("alias: {}", `alias: {${aliasMapStr}}`)
9319
+ rspackConfigSource
9313
9320
  );
9314
9321
  }
9315
9322
  }
@@ -9517,49 +9524,12 @@ EntrypointPlugin = __decorateClass([
9517
9524
  __decorateParam(0, inject11(ServiceMetaKind.MicroFrontendManager))
9518
9525
  ], EntrypointPlugin);
9519
9526
 
9520
- // src/plugins/misc/bundler/vite-config-plugin.ts
9521
- import "@abraham/reflection";
9522
- import { injectable as injectable20, inject as inject12 } from "inversify";
9523
- var ViteConfigPlugin = class {
9524
- constructor(bundlerConfigDataPlugin) {
9525
- this.bundlerConfigDataPlugin = bundlerConfigDataPlugin;
9526
- }
9527
- async configBundlerConfig(app, frontend, config2, fs, frameworkKind) {
9528
- const isDev = config2.env === "dev";
9529
- const { backendUrl, publicPath, aliasMapStr, dependenciesStr } = await this.bundlerConfigDataPlugin.getBundlerConfigData(
9530
- app,
9531
- frontend,
9532
- config2,
9533
- fs,
9534
- frameworkKind
9535
- );
9536
- const viteConfigSource = fs.read("/vite.config.ts")?.toString();
9537
- if (viteConfigSource) {
9538
- fs.write(
9539
- "/vite.config.ts",
9540
- viteConfigSource.replace(`const backendUrl = ''`, `const backendUrl = '${backendUrl}'`).replace(`const publicPath = ''`, `const publicPath = '${publicPath}'`).replace(`const isDev = false`, `const isDev = ${isDev}`).replace("alias: {}", `alias: {${aliasMapStr}}`).replace(
9541
- "optimizeDeps: { include: [], },",
9542
- `optimizeDeps: { include: [${dependenciesStr}], },`
9543
- )
9544
- );
9545
- }
9546
- }
9547
- static install(c) {
9548
- c.bind(ServiceMetaKind.FrontendBundlerFileConfig).to(ViteConfigPlugin).inSingletonScope();
9549
- return c;
9550
- }
9551
- };
9552
- ViteConfigPlugin = __decorateClass([
9553
- injectable20(),
9554
- __decorateParam(0, inject12(BundlerConfigDataPlugin))
9555
- ], ViteConfigPlugin);
9556
-
9557
9527
  // src/plugins/vue/vue3/vue3-application-assembler-plugin.ts
9558
- import { inject as inject15, injectable as injectable30 } from "inversify";
9528
+ import { inject as inject14, injectable as injectable29 } from "inversify";
9559
9529
 
9560
9530
  // src/plugins/vue/common/vue-router-plugin.ts
9561
9531
  import { kebab2Pascal as kebab2Pascal2 } from "@lcap/nasl-utils";
9562
- import { injectable as injectable21 } from "inversify";
9532
+ import { injectable as injectable20 } from "inversify";
9563
9533
  var VueRouterPlugin = class {
9564
9534
  extractImportIR(routes, componentPathManager) {
9565
9535
  const nameMangler = new NameMangler();
@@ -9628,11 +9598,11 @@ var VueRouterPlugin = class {
9628
9598
  }
9629
9599
  };
9630
9600
  VueRouterPlugin = __decorateClass([
9631
- injectable21()
9601
+ injectable20()
9632
9602
  ], VueRouterPlugin);
9633
9603
 
9634
9604
  // src/plugins/vue/vue3/vue3-codegen-plugin.ts
9635
- import { injectable as injectable22 } from "inversify";
9605
+ import { injectable as injectable21 } from "inversify";
9636
9606
  import { kebab2Pascal as kebab2Pascal3 } from "@lcap/nasl-utils";
9637
9607
  import { flatten as flatten2 } from "lodash";
9638
9608
  var Vue3CodegenPlugin = class {
@@ -9680,11 +9650,11 @@ var Vue3CodegenPlugin = class {
9680
9650
  }
9681
9651
  };
9682
9652
  Vue3CodegenPlugin = __decorateClass([
9683
- injectable22()
9653
+ injectable21()
9684
9654
  ], Vue3CodegenPlugin);
9685
9655
 
9686
9656
  // src/plugins/vue/vue3/vue3-entry-builder-plugin.ts
9687
- import { injectable as injectable23, inject as inject13 } from "inversify";
9657
+ import { injectable as injectable22, inject as inject12 } from "inversify";
9688
9658
  var Vue3EntryBuilderPlugin = class {
9689
9659
  constructor(microFrontendManager) {
9690
9660
  this.microFrontendManager = microFrontendManager;
@@ -9726,12 +9696,12 @@ var Vue3EntryBuilderPlugin = class {
9726
9696
  }
9727
9697
  };
9728
9698
  Vue3EntryBuilderPlugin = __decorateClass([
9729
- injectable23(),
9730
- __decorateParam(0, inject13(ServiceMetaKind.MicroFrontendManager))
9699
+ injectable22(),
9700
+ __decorateParam(0, inject12(ServiceMetaKind.MicroFrontendManager))
9731
9701
  ], Vue3EntryBuilderPlugin);
9732
9702
 
9733
9703
  // src/plugins/vue/vue3/vue3-libraries-builder-plugin.ts
9734
- import { injectable as injectable24 } from "inversify";
9704
+ import { injectable as injectable23 } from "inversify";
9735
9705
  var Vue3LibrariesBuilderPlugin = class {
9736
9706
  /**
9737
9707
  * 构建依赖库导入文件
@@ -9769,11 +9739,11 @@ var Vue3LibrariesBuilderPlugin = class {
9769
9739
  }
9770
9740
  };
9771
9741
  Vue3LibrariesBuilderPlugin = __decorateClass([
9772
- injectable24()
9742
+ injectable23()
9773
9743
  ], Vue3LibrariesBuilderPlugin);
9774
9744
 
9775
9745
  // src/plugins/vue/vue3/vue3-meta-data-builder-plugin.ts
9776
- import { injectable as injectable25 } from "inversify";
9746
+ import { injectable as injectable24 } from "inversify";
9777
9747
  var Vue3MetaDataBuilderPlugin = class {
9778
9748
  /**
9779
9749
  * 构建依赖库导入文件
@@ -9794,7 +9764,7 @@ var Vue3MetaDataBuilderPlugin = class {
9794
9764
  }
9795
9765
  };
9796
9766
  Vue3MetaDataBuilderPlugin = __decorateClass([
9797
- injectable25()
9767
+ injectable24()
9798
9768
  ], Vue3MetaDataBuilderPlugin);
9799
9769
  function stringifyMetaData(obj) {
9800
9770
  if (typeof obj === "object" && obj !== null) {
@@ -9828,7 +9798,7 @@ function stringifyMetaData(obj) {
9828
9798
  }
9829
9799
 
9830
9800
  // src/plugins/vue/vue3/vue3-components-index-builder-plugin.ts
9831
- import { injectable as injectable26 } from "inversify";
9801
+ import { injectable as injectable25 } from "inversify";
9832
9802
  var Vue3ComponentsIndexBuilderPlugin = class {
9833
9803
  /**
9834
9804
  * 构建业务组件导出入口文件
@@ -9858,11 +9828,11 @@ var Vue3ComponentsIndexBuilderPlugin = class {
9858
9828
  }
9859
9829
  };
9860
9830
  Vue3ComponentsIndexBuilderPlugin = __decorateClass([
9861
- injectable26()
9831
+ injectable25()
9862
9832
  ], Vue3ComponentsIndexBuilderPlugin);
9863
9833
 
9864
9834
  // src/plugins/vue/vue3/vue3-client-lazyload-template-builder-plugin .ts
9865
- import { injectable as injectable27, inject as inject14 } from "inversify";
9835
+ import { injectable as injectable26, inject as inject13 } from "inversify";
9866
9836
  var Vue3ClientLazyloadTemplateBuilderPlugin = class {
9867
9837
  constructor(microFrontendManager) {
9868
9838
  this.microFrontendManager = microFrontendManager;
@@ -9875,32 +9845,19 @@ var Vue3ClientLazyloadTemplateBuilderPlugin = class {
9875
9845
  const isDebug = ir.configs.config.debug;
9876
9846
  const entryScript = this.microFrontendManager.produceScript(ir);
9877
9847
  return new ReactFileDescription(
9878
- "../client-lazyload-template.ts",
9848
+ "../client-lazyload-template.js",
9879
9849
  [],
9880
9850
  [],
9881
9851
  [
9882
- `
9883
- export default function (templateParameters, publicPath) {
9884
- const { files } = templateParameters
9885
- const jsAssets = files.js?.map((x) => publicPath + x.fileName) ?? []
9886
- const cssAssets = files.css?.map((x) => publicPath + x.fileName) ?? []
9887
- // \u5982\u679C\u662Fdebug\u6A21\u5F0F\uFF0C\u52A0\u8F7D\u65AD\u70B9\u8C03\u8BD5\u5668
9888
- ${isDebug ? `jsAssets.push(
9889
- '${ir.configs.config.STATIC_URL}/packages/vue@2/dist/vue.min.js',
9890
- '${ir.configs.config.STATIC_URL}/packages/@lcap/breakpoint-client@1.0.0/dist/index.js?time=${Date.now()}',
9891
- );` : ""}
9892
- const lazyLoadCommand = \`
9893
- \${JSON.stringify(jsAssets)}.forEach(asset => window.LazyLoad.js(asset));
9894
- window.LazyLoad.css(\${JSON.stringify(cssAssets)});
9895
- \`;
9896
- return \`(function(){
9897
- function loadAssets(){
9898
- \${lazyLoadCommand};
9899
- }
9900
- ${entryScript};
9901
- })();\`;
9902
- }
9903
- `
9852
+ `const extraJS = [];
9853
+ const extraCSS = [];
9854
+ const entryCode = \`${entryScript}\`;
9855
+
9856
+ module.exports = {
9857
+ extraJS,
9858
+ extraCSS,
9859
+ entryCode,
9860
+ }`
9904
9861
  ]
9905
9862
  );
9906
9863
  }
@@ -9910,12 +9867,12 @@ var Vue3ClientLazyloadTemplateBuilderPlugin = class {
9910
9867
  }
9911
9868
  };
9912
9869
  Vue3ClientLazyloadTemplateBuilderPlugin = __decorateClass([
9913
- injectable27(),
9914
- __decorateParam(0, inject14(ServiceMetaKind.MicroFrontendManager))
9870
+ injectable26(),
9871
+ __decorateParam(0, inject13(ServiceMetaKind.MicroFrontendManager))
9915
9872
  ], Vue3ClientLazyloadTemplateBuilderPlugin);
9916
9873
 
9917
9874
  // src/plugins/vue/vue3/vue3-platform-builder-plugin.ts
9918
- import { injectable as injectable28 } from "inversify";
9875
+ import { injectable as injectable27 } from "inversify";
9919
9876
  var Vue3PlatformBuilderPlugin = class {
9920
9877
  /**
9921
9878
  * 构建平台配置文件
@@ -9926,7 +9883,8 @@ var Vue3PlatformBuilderPlugin = class {
9926
9883
  const self = {
9927
9884
  ...routesExtractionPlugin.functions
9928
9885
  };
9929
- const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, "/", {
9886
+ const basePath = ir.configs.basePlatformConfig.basePath + "/";
9887
+ const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, basePath, {
9930
9888
  lazy: false,
9931
9889
  frameworkKind: "vue3"
9932
9890
  });
@@ -9948,11 +9906,11 @@ var Vue3PlatformBuilderPlugin = class {
9948
9906
  }
9949
9907
  };
9950
9908
  Vue3PlatformBuilderPlugin = __decorateClass([
9951
- injectable28()
9909
+ injectable27()
9952
9910
  ], Vue3PlatformBuilderPlugin);
9953
9911
 
9954
9912
  // src/plugins/vue/vue3/vue3-entry-css-plugin.ts
9955
- import { injectable as injectable29 } from "inversify";
9913
+ import { injectable as injectable28 } from "inversify";
9956
9914
  var Vue3EntryCssPlugin = class {
9957
9915
  /**
9958
9916
  * 构建依赖库导入文件
@@ -9969,7 +9927,7 @@ var Vue3EntryCssPlugin = class {
9969
9927
  }
9970
9928
  };
9971
9929
  Vue3EntryCssPlugin = __decorateClass([
9972
- injectable29()
9930
+ injectable28()
9973
9931
  ], Vue3EntryCssPlugin);
9974
9932
 
9975
9933
  // src/plugins/vue/vue3/vue3-application-assembler-plugin.ts
@@ -9986,7 +9944,7 @@ var ComponentPathManager = class {
9986
9944
  }
9987
9945
  };
9988
9946
  ComponentPathManager = __decorateClass([
9989
- injectable30()
9947
+ injectable29()
9990
9948
  ], ComponentPathManager);
9991
9949
  var Vue3ApplicationAssemblerPlugin = class {
9992
9950
  constructor(vue3CodegenPlugin, routesExtactor, routerBuilder, entryBuilder, librariesBuilder, entryCssBuilder, componentsIndexBuilder, clientLazyloadTemplateBuilder, platformBuilder, metaDataBuilder) {
@@ -10041,17 +9999,17 @@ var Vue3ApplicationAssemblerPlugin = class {
10041
9999
  }
10042
10000
  };
10043
10001
  Vue3ApplicationAssemblerPlugin = __decorateClass([
10044
- injectable30(),
10045
- __decorateParam(0, inject15(Vue3CodegenPlugin)),
10046
- __decorateParam(1, inject15(RoutesExtractionPlugin)),
10047
- __decorateParam(2, inject15(VueRouterPlugin)),
10048
- __decorateParam(3, inject15(Vue3EntryBuilderPlugin)),
10049
- __decorateParam(4, inject15(Vue3LibrariesBuilderPlugin)),
10050
- __decorateParam(5, inject15(Vue3EntryCssPlugin)),
10051
- __decorateParam(6, inject15(Vue3ComponentsIndexBuilderPlugin)),
10052
- __decorateParam(7, inject15(Vue3ClientLazyloadTemplateBuilderPlugin)),
10053
- __decorateParam(8, inject15(Vue3PlatformBuilderPlugin)),
10054
- __decorateParam(9, inject15(Vue3MetaDataBuilderPlugin))
10002
+ injectable29(),
10003
+ __decorateParam(0, inject14(Vue3CodegenPlugin)),
10004
+ __decorateParam(1, inject14(RoutesExtractionPlugin)),
10005
+ __decorateParam(2, inject14(VueRouterPlugin)),
10006
+ __decorateParam(3, inject14(Vue3EntryBuilderPlugin)),
10007
+ __decorateParam(4, inject14(Vue3LibrariesBuilderPlugin)),
10008
+ __decorateParam(5, inject14(Vue3EntryCssPlugin)),
10009
+ __decorateParam(6, inject14(Vue3ComponentsIndexBuilderPlugin)),
10010
+ __decorateParam(7, inject14(Vue3ClientLazyloadTemplateBuilderPlugin)),
10011
+ __decorateParam(8, inject14(Vue3PlatformBuilderPlugin)),
10012
+ __decorateParam(9, inject14(Vue3MetaDataBuilderPlugin))
10055
10013
  ], Vue3ApplicationAssemblerPlugin);
10056
10014
 
10057
10015
  // src/plugins/vue/vue3/vue3-preset-plugin.ts
@@ -10106,7 +10064,7 @@ var Vue3PresetPlugin = class {
10106
10064
  c.bind(ServiceMetaKind.ProjectOrganizer).to(ProjectOrganizerPlugin);
10107
10065
  c.bind(ServiceMetaKind.FileSystemProvider).to(FileSystemPlugin).inSingletonScope();
10108
10066
  c = BundlerConfigDataPlugin.install(c);
10109
- c = ViteConfigPlugin.install(c);
10067
+ c = RspackConfigPlugin.install(c);
10110
10068
  c = FrontendBundlerConfigPlugin.install(c);
10111
10069
  c = FrontendPerformancePlugin.install(c);
10112
10070
  c = NpmPackageJSONManagerPlugin.install(c);
@@ -10123,12 +10081,12 @@ var Vue3PresetPlugin = class {
10123
10081
  }
10124
10082
  };
10125
10083
  Vue3PresetPlugin = __decorateClass([
10126
- injectable31(),
10127
- __decorateParam(0, inject16(ServiceMetaKind.IRBuilder)),
10128
- __decorateParam(1, inject16(ServiceMetaKind.FileSystemProvider)),
10129
- __decorateParam(2, inject16(NpmPackageJSONManagerPlugin)),
10130
- __decorateParam(3, inject16(ServiceMetaKind.ProjectOrganizer)),
10131
- __decorateParam(4, inject16(Vue3ApplicationAssemblerPlugin))
10084
+ injectable30(),
10085
+ __decorateParam(0, inject15(ServiceMetaKind.IRBuilder)),
10086
+ __decorateParam(1, inject15(ServiceMetaKind.FileSystemProvider)),
10087
+ __decorateParam(2, inject15(NpmPackageJSONManagerPlugin)),
10088
+ __decorateParam(3, inject15(ServiceMetaKind.ProjectOrganizer)),
10089
+ __decorateParam(4, inject15(Vue3ApplicationAssemblerPlugin))
10132
10090
  ], Vue3PresetPlugin);
10133
10091
 
10134
10092
  // src/default-container.ts
@@ -10147,6 +10105,35 @@ async function translateNASLToApp(app, frontend, config2, baseDir = "./out", con
10147
10105
  const logger15 = Logger("\u7FFB\u8BD1\u8FC7\u7A0B");
10148
10106
  logger15.debug({ config: config2 });
10149
10107
  async function genCode() {
10108
+ const { needCompileViews = [] } = config2;
10109
+ if (needCompileViews?.length > 0) {
10110
+ let traverseChildren2 = function(view, callback) {
10111
+ if (view.children?.length > 0) {
10112
+ view.children.forEach((childView) => {
10113
+ const deep = callback(childView);
10114
+ if (deep) {
10115
+ traverseChildren2(childView, callback);
10116
+ }
10117
+ });
10118
+ }
10119
+ };
10120
+ var traverseChildren = traverseChildren2;
10121
+ logger15.info("\u5F00\u59CB\u6309\u9700\u7FFB\u8BD1\u9875\u9762");
10122
+ frontend.views.forEach((view) => {
10123
+ if (!needCompileViews.includes(view.nodePath)) {
10124
+ view.delete();
10125
+ } else {
10126
+ traverseChildren2(view, (childView) => {
10127
+ if (!needCompileViews.includes(childView.nodePath)) {
10128
+ childView.delete();
10129
+ return false;
10130
+ }
10131
+ return true;
10132
+ });
10133
+ }
10134
+ });
10135
+ logger15.info("\u7ED3\u675F\u6309\u9700\u7FFB\u8BD1\u9875\u9762");
10136
+ }
10150
10137
  logger15.info("\u5F00\u59CB\u7FFB\u8BD1");
10151
10138
  try {
10152
10139
  const codeList2 = await container.get(ServiceMetaKind.NASLTranspiler).transpile({
@@ -10263,7 +10250,7 @@ async function compileAsProject(app, frontend, config2, container) {
10263
10250
  }
10264
10251
 
10265
10252
  // src/plugins/misc/program-analysis/analyzer-manager-plugin.ts
10266
- import { injectable as injectable32 } from "inversify";
10253
+ import { injectable as injectable31 } from "inversify";
10267
10254
 
10268
10255
  // src/plugins/misc/program-analysis/analysis/async-analysis.ts
10269
10256
  function buildAsyncAnalyzer() {
@@ -10390,11 +10377,11 @@ var AnalyzerManagerPlugin = class {
10390
10377
  }
10391
10378
  };
10392
10379
  AnalyzerManagerPlugin = __decorateClass([
10393
- injectable32()
10380
+ injectable31()
10394
10381
  ], AnalyzerManagerPlugin);
10395
10382
 
10396
10383
  // src/plugins/misc/name-mangler/name-mangler-manager-plugin.ts
10397
- import { injectable as injectable33 } from "inversify";
10384
+ import { injectable as injectable32 } from "inversify";
10398
10385
 
10399
10386
  // src/plugins/misc/name-mangler/name-mangler.ts
10400
10387
  var NameMangler2 = class _NameMangler {
@@ -10461,7 +10448,7 @@ var NameManglerManagerPlugin = class {
10461
10448
  }
10462
10449
  };
10463
10450
  NameManglerManagerPlugin = __decorateClass([
10464
- injectable33()
10451
+ injectable32()
10465
10452
  ], NameManglerManagerPlugin);
10466
10453
 
10467
10454
  // src/utils/sanity-check.ts