pcu 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -995,6 +995,7 @@ var de = {
995
995
  "command.selfUpdate.failed": "pcu-Aktualisierung fehlgeschlagen",
996
996
  "command.selfUpdate.latestAlready": "Sie verwenden bereits die neueste Version ({{version}})",
997
997
  "command.selfUpdate.restartHint": "Bitte starten Sie Ihr Terminal neu, um die neue Version zu verwenden.",
998
+ "command.selfUpdate.manualHint": "Sie k\xF6nnen manuell aktualisieren mit: npm install -g pcu@latest",
998
999
  // AI command
999
1000
  "command.ai.cacheCleared": "KI-Analyse-Cache geleert",
1000
1001
  "command.ai.cacheStats": "KI-Analyse-Cache-Statistiken",
@@ -1119,7 +1120,8 @@ var de = {
1119
1120
  // CLI messages
1120
1121
  "cli.runAgain": "Bitte f\xFChren Sie den Befehl erneut aus, um die aktualisierte Version zu verwenden.",
1121
1122
  "cli.checkingUpdates": "Suche nach Updates...",
1122
- "cli.latestVersion": "Sie verwenden die neueste Version!",
1123
+ "cli.latestVersion": "ist die neueste",
1124
+ "cli.available": "verf\xFCgbar",
1123
1125
  "cli.unknownCommand": "Unbekannter Befehl: {{command}}",
1124
1126
  "cli.couldNotCheckUpdates": "Updates konnten nicht gepr\xFCft werden:",
1125
1127
  "cli.error": "Fehler:",
@@ -1899,6 +1901,7 @@ var en = {
1899
1901
  "command.selfUpdate.failed": "Failed to update pcu",
1900
1902
  "command.selfUpdate.latestAlready": "You are already using the latest version ({{version}})",
1901
1903
  "command.selfUpdate.restartHint": "Please restart your terminal to use the new version.",
1904
+ "command.selfUpdate.manualHint": "You can manually update with: npm install -g pcu@latest",
1902
1905
  // AI command
1903
1906
  "command.ai.cacheCleared": "AI analysis cache cleared",
1904
1907
  "command.ai.cacheStats": "AI Analysis Cache Statistics",
@@ -1940,7 +1943,8 @@ var en = {
1940
1943
  // CLI messages
1941
1944
  "cli.runAgain": "Please run your command again to use the updated version.",
1942
1945
  "cli.checkingUpdates": "Checking for updates...",
1943
- "cli.latestVersion": "You are using the latest version!",
1946
+ "cli.latestVersion": "is the latest",
1947
+ "cli.available": "available",
1944
1948
  "cli.unknownCommand": "Unknown command: {{command}}",
1945
1949
  "cli.couldNotCheckUpdates": "Could not check for updates:",
1946
1950
  "cli.error": "Error:",
@@ -2802,6 +2806,7 @@ var es = {
2802
2806
  "command.selfUpdate.failed": "Error al actualizar pcu",
2803
2807
  "command.selfUpdate.latestAlready": "Ya est\xE1 utilizando la \xFAltima versi\xF3n ({{version}})",
2804
2808
  "command.selfUpdate.restartHint": "Reinicie su terminal para usar la nueva versi\xF3n.",
2809
+ "command.selfUpdate.manualHint": "Puede actualizar manualmente con: npm install -g pcu@latest",
2805
2810
  // AI command
2806
2811
  "command.ai.cacheCleared": "Cach\xE9 de an\xE1lisis de IA limpiada",
2807
2812
  "command.ai.cacheStats": "Estad\xEDsticas de cach\xE9 de an\xE1lisis de IA",
@@ -2926,7 +2931,8 @@ var es = {
2926
2931
  // CLI messages
2927
2932
  "cli.runAgain": "Por favor, ejecute el comando nuevamente para usar la versi\xF3n actualizada.",
2928
2933
  "cli.checkingUpdates": "Buscando actualizaciones...",
2929
- "cli.latestVersion": "\xA1Est\xE1 usando la \xFAltima versi\xF3n!",
2934
+ "cli.latestVersion": "es la \xFAltima",
2935
+ "cli.available": "disponible",
2930
2936
  "cli.unknownCommand": "Comando desconocido: {{command}}",
2931
2937
  "cli.couldNotCheckUpdates": "No se pudo verificar actualizaciones:",
2932
2938
  "cli.error": "Error:",
@@ -3706,6 +3712,7 @@ var fr = {
3706
3712
  "command.selfUpdate.failed": "\xC9chec de la mise \xE0 jour de pcu",
3707
3713
  "command.selfUpdate.latestAlready": "Vous utilisez d\xE9j\xE0 la derni\xE8re version ({{version}})",
3708
3714
  "command.selfUpdate.restartHint": "Veuillez red\xE9marrer votre terminal pour utiliser la nouvelle version.",
3715
+ "command.selfUpdate.manualHint": "Vous pouvez mettre \xE0 jour manuellement avec : npm install -g pcu@latest",
3709
3716
  // AI command
3710
3717
  "command.ai.cacheCleared": "Cache d'analyse IA vid\xE9",
3711
3718
  "command.ai.cacheStats": "Statistiques du cache d'analyse IA",
@@ -3830,7 +3837,8 @@ var fr = {
3830
3837
  // CLI messages
3831
3838
  "cli.runAgain": "Veuillez relancer la commande pour utiliser la version mise \xE0 jour.",
3832
3839
  "cli.checkingUpdates": "Recherche de mises \xE0 jour...",
3833
- "cli.latestVersion": "Vous utilisez la derni\xE8re version !",
3840
+ "cli.latestVersion": "est la derni\xE8re",
3841
+ "cli.available": "disponible",
3834
3842
  "cli.unknownCommand": "Commande inconnue : {{command}}",
3835
3843
  "cli.couldNotCheckUpdates": "Impossible de v\xE9rifier les mises \xE0 jour :",
3836
3844
  "cli.error": "Erreur :",
@@ -4610,6 +4618,7 @@ var ja = {
4610
4618
  "command.selfUpdate.failed": "pcu \u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
4611
4619
  "command.selfUpdate.latestAlready": "\u65E2\u306B\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3 ({{version}}) \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059",
4612
4620
  "command.selfUpdate.restartHint": "\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
4621
+ "command.selfUpdate.manualHint": "\u624B\u52D5\u3067\u66F4\u65B0\u3059\u308B\u306B\u306F: npm install -g pcu@latest",
4613
4622
  // AI command
4614
4623
  "command.ai.cacheCleared": "AI \u5206\u6790\u30AD\u30E3\u30C3\u30B7\u30E5\u3092\u30AF\u30EA\u30A2\u3057\u307E\u3057\u305F",
4615
4624
  "command.ai.cacheStats": "AI \u5206\u6790\u30AD\u30E3\u30C3\u30B7\u30E5\u7D71\u8A08",
@@ -4734,7 +4743,8 @@ var ja = {
4734
4743
  // CLI messages
4735
4744
  "cli.runAgain": "\u66F4\u65B0\u3055\u308C\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30B3\u30DE\u30F3\u30C9\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
4736
4745
  "cli.checkingUpdates": "\u66F4\u65B0\u3092\u78BA\u8A8D\u3057\u3066\u3044\u307E\u3059...",
4737
- "cli.latestVersion": "\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\uFF01",
4746
+ "cli.latestVersion": "\u6700\u65B0\u7248\u3067\u3059",
4747
+ "cli.available": "\u5229\u7528\u53EF\u80FD",
4738
4748
  "cli.unknownCommand": "\u4E0D\u660E\u306A\u30B3\u30DE\u30F3\u30C9: {{command}}",
4739
4749
  "cli.couldNotCheckUpdates": "\u66F4\u65B0\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F:",
4740
4750
  "cli.error": "\u30A8\u30E9\u30FC:",
@@ -5514,6 +5524,7 @@ var ko = {
5514
5524
  "command.selfUpdate.failed": "pcu \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328",
5515
5525
  "command.selfUpdate.latestAlready": "\uC774\uBBF8 \uCD5C\uC2E0 \uBC84\uC804 ({{version}})\uC744 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4",
5516
5526
  "command.selfUpdate.restartHint": "\uC0C8 \uBC84\uC804\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uD130\uBBF8\uB110\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694.",
5527
+ "command.selfUpdate.manualHint": "\uC218\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uD558\uB824\uBA74: npm install -g pcu@latest",
5517
5528
  // AI command
5518
5529
  "command.ai.cacheCleared": "AI \uBD84\uC11D \uCE90\uC2DC \uC0AD\uC81C\uB428",
5519
5530
  "command.ai.cacheStats": "AI \uBD84\uC11D \uCE90\uC2DC \uD1B5\uACC4",
@@ -5638,7 +5649,8 @@ var ko = {
5638
5649
  // CLI messages
5639
5650
  "cli.runAgain": "\uC5C5\uB370\uC774\uD2B8\uB41C \uBC84\uC804\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uBA85\uB839\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",
5640
5651
  "cli.checkingUpdates": "\uC5C5\uB370\uC774\uD2B8 \uD655\uC778 \uC911...",
5641
- "cli.latestVersion": "\uCD5C\uC2E0 \uBC84\uC804\uC744 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4!",
5652
+ "cli.latestVersion": "\uCD5C\uC2E0 \uBC84\uC804",
5653
+ "cli.available": "\uC0AC\uC6A9 \uAC00\uB2A5",
5642
5654
  "cli.unknownCommand": "\uC54C \uC218 \uC5C6\uB294 \uBA85\uB839: {{command}}",
5643
5655
  "cli.couldNotCheckUpdates": "\uC5C5\uB370\uC774\uD2B8\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4:",
5644
5656
  "cli.error": "\uC624\uB958:",
@@ -6418,6 +6430,7 @@ var zh = {
6418
6430
  "command.selfUpdate.failed": "\u66F4\u65B0 pcu \u5931\u8D25",
6419
6431
  "command.selfUpdate.latestAlready": "\u60A8\u5DF2\u4F7F\u7528\u6700\u65B0\u7248\u672C ({{version}})",
6420
6432
  "command.selfUpdate.restartHint": "\u8BF7\u91CD\u65B0\u542F\u52A8\u7EC8\u7AEF\u4EE5\u4F7F\u7528\u65B0\u7248\u672C\u3002",
6433
+ "command.selfUpdate.manualHint": "\u60A8\u53EF\u4EE5\u624B\u52A8\u66F4\u65B0\uFF1Anpm install -g pcu@latest",
6421
6434
  // AI command
6422
6435
  "command.ai.cacheCleared": "AI \u5206\u6790\u7F13\u5B58\u5DF2\u6E05\u9664",
6423
6436
  "command.ai.cacheStats": "AI \u5206\u6790\u7F13\u5B58\u7EDF\u8BA1",
@@ -6542,7 +6555,8 @@ var zh = {
6542
6555
  // CLI messages
6543
6556
  "cli.runAgain": "\u8BF7\u91CD\u65B0\u8FD0\u884C\u547D\u4EE4\u4EE5\u4F7F\u7528\u66F4\u65B0\u540E\u7684\u7248\u672C\u3002",
6544
6557
  "cli.checkingUpdates": "\u6B63\u5728\u68C0\u67E5\u66F4\u65B0...",
6545
- "cli.latestVersion": "\u60A8\u6B63\u5728\u4F7F\u7528\u6700\u65B0\u7248\u672C\uFF01",
6558
+ "cli.latestVersion": "\u5DF2\u662F\u6700\u65B0",
6559
+ "cli.available": "\u53EF\u7528",
6546
6560
  "cli.unknownCommand": "\u672A\u77E5\u547D\u4EE4\uFF1A{{command}}",
6547
6561
  "cli.couldNotCheckUpdates": "\u65E0\u6CD5\u68C0\u67E5\u66F4\u65B0\uFF1A",
6548
6562
  "cli.error": "\u9519\u8BEF\uFF1A",
@@ -7481,6 +7495,476 @@ var ErrorTracker = class _ErrorTracker {
7481
7495
  return [..._ErrorTracker.skippedPackages];
7482
7496
  }
7483
7497
  };
7498
+
7499
+ // ../../packages/utils/src/error-handling/data/packageSuggestions.json
7500
+ var packageSuggestions_default = {
7501
+ sveltekit: ["@sveltejs/kit"],
7502
+ "vue-router": ["vue-router"],
7503
+ "vue-cli": ["@vue/cli"],
7504
+ "angular-cli": ["@angular/cli"],
7505
+ "angular-core": ["@angular/core"],
7506
+ "angular-universal": ["@nguniversal/express-engine", "@angular/universal"],
7507
+ "react-router": ["react-router-dom"],
7508
+ "react-dom": ["react-dom"],
7509
+ nextjs: ["next"],
7510
+ nuxtjs: ["nuxt"],
7511
+ "material-ui": ["@mui/material", "@material-ui/core"],
7512
+ mui: ["@mui/material"],
7513
+ antd: ["antd"],
7514
+ "ant-design": ["antd"],
7515
+ "prime-ng": ["primeng"],
7516
+ primeng: ["primeng"],
7517
+ "ng-zorro": ["ng-zorro-antd"],
7518
+ "bootstrap-vue": ["bootstrap-vue"],
7519
+ vuetify: ["vuetify"],
7520
+ quasar: ["quasar"],
7521
+ "onsen-ui": ["onsenui"],
7522
+ ionic: ["@ionic/angular", "@ionic/react", "@ionic/vue"],
7523
+ tailwindcss: ["tailwindcss"],
7524
+ tailwind: ["tailwindcss"],
7525
+ bulma: ["bulma"],
7526
+ "water-css": ["water.css"],
7527
+ "holiday-css": ["@holiday-css/main"],
7528
+ "wing-css": ["@wing-css/wing"],
7529
+ "picnic-css": ["picnicss"],
7530
+ webpack: ["webpack"],
7531
+ "webpack-cli": ["webpack-cli"],
7532
+ rollup: ["rollup"],
7533
+ vite: ["vite"],
7534
+ parcel: ["parcel"],
7535
+ esbuild: ["esbuild"],
7536
+ swc: ["@swc/core"],
7537
+ jest: ["jest"],
7538
+ vitest: ["vitest"],
7539
+ mocha: ["mocha"],
7540
+ chai: ["chai"],
7541
+ cypress: ["cypress"],
7542
+ playwright: ["@playwright/test"],
7543
+ puppeteer: ["puppeteer"],
7544
+ selenium: ["selenium-webdriver"],
7545
+ webdriver: ["selenium-webdriver"],
7546
+ lambdatest: ["@lambdatest/selenium-webdriver"],
7547
+ applitools: ["@applitools/eyes-selenium"],
7548
+ experitest: ["@experitest/seetest-client"],
7549
+ kobiton: ["@kobiton/api"],
7550
+ crossbrowsertesting: ["@crossbrowsertesting/selenium"],
7551
+ "aws-sdk": ["@aws-sdk/client-s3", "aws-sdk"],
7552
+ "aws-device-farm": ["@aws-sdk/client-device-farm"],
7553
+ firebase: ["firebase"],
7554
+ "firebase-test-lab": ["@google-cloud/testing"],
7555
+ azure: ["@azure/storage-blob", "@azure/cosmos"],
7556
+ "azure-devtest-labs": ["@azure/arm-devtestlabs"],
7557
+ gcp: ["@google-cloud/storage"],
7558
+ mongoose: ["mongoose"],
7559
+ sequelize: ["sequelize"],
7560
+ typeorm: ["typeorm"],
7561
+ prisma: ["@prisma/client"],
7562
+ knex: ["knex"],
7563
+ pg: ["pg"],
7564
+ mysql: ["mysql2"],
7565
+ sqlite: ["sqlite3", "better-sqlite3"],
7566
+ redis: ["redis"],
7567
+ mongodb: ["mongodb"],
7568
+ lodash: ["lodash"],
7569
+ loadash: ["lodash"],
7570
+ underscore: ["underscore"],
7571
+ ramda: ["ramda"],
7572
+ rxjs: ["rxjs"],
7573
+ axios: ["axios"],
7574
+ axois: ["axios"],
7575
+ fetch: ["node-fetch"],
7576
+ "node-fetch": ["node-fetch"],
7577
+ request: ["axios", "node-fetch"],
7578
+ superagent: ["superagent"],
7579
+ moment: ["moment"],
7580
+ momentjs: ["moment"],
7581
+ dayjs: ["dayjs"],
7582
+ "date-fns": ["date-fns"],
7583
+ luxon: ["luxon"],
7584
+ eslint: ["eslint"],
7585
+ prettier: ["prettier"],
7586
+ tslint: ["@typescript-eslint/eslint-plugin"],
7587
+ "typescript-eslint": [
7588
+ "@typescript-eslint/eslint-plugin",
7589
+ "@typescript-eslint/parser"
7590
+ ],
7591
+ "types-node": ["@types/node"],
7592
+ "@types-node": ["@types/node"],
7593
+ "types-react": ["@types/react"],
7594
+ "types-express": ["@types/express"],
7595
+ express: ["express"],
7596
+ expressjs: ["express"],
7597
+ fastify: ["fastify"],
7598
+ koa: ["koa"],
7599
+ nestjs: ["@nestjs/core"],
7600
+ nest: ["@nestjs/core"],
7601
+ hapi: ["@hapi/hapi"],
7602
+ redux: ["redux"],
7603
+ mobx: ["mobx"],
7604
+ vuex: ["vuex"],
7605
+ pinia: ["pinia"],
7606
+ zustand: ["zustand"],
7607
+ recoil: ["recoil"],
7608
+ "styled-components": ["styled-components"],
7609
+ "styled-component": ["styled-components"],
7610
+ emotion: ["@emotion/react"],
7611
+ sass: ["sass"],
7612
+ "node-sass": ["sass"],
7613
+ less: ["less"],
7614
+ stylus: ["stylus"],
7615
+ forestadmin: ["forest-express", "forest-express-sequelize"],
7616
+ strapi: ["@strapi/strapi"],
7617
+ keystone: ["@keystone-6/core"],
7618
+ ghost: ["ghost"],
7619
+ storybook: ["@storybook/react", "@storybook/vue3"],
7620
+ docusaurus: ["@docusaurus/core"],
7621
+ gitbook: ["@gitbook/cli"],
7622
+ typedoc: ["typedoc"],
7623
+ electron: ["electron"],
7624
+ tauri: ["@tauri-apps/api"],
7625
+ nwjs: ["nw"],
7626
+ "react-native": ["react-native"],
7627
+ expo: ["expo"],
7628
+ cordova: ["cordova"],
7629
+ phonegap: ["phonegap"],
7630
+ jquery: ["jquery"],
7631
+ boostrap: ["bootstrap"],
7632
+ bootstrap: ["bootstrap"],
7633
+ fontawesome: ["@fortawesome/fontawesome-free"],
7634
+ "font-awesome": ["@fortawesome/fontawesome-free"],
7635
+ "react-i18n": ["react-i18next"],
7636
+ i18n: ["i18next"],
7637
+ i18next: ["i18next"],
7638
+ "vue-i18n": ["vue-i18n"],
7639
+ "react-intl": ["react-intl"],
7640
+ intl: ["intl"],
7641
+ chart: ["chart.js"],
7642
+ chartjs: ["chart.js"],
7643
+ "chart.js": ["chart.js"],
7644
+ d3: ["d3"],
7645
+ d3js: ["d3"],
7646
+ plotly: ["plotly.js"],
7647
+ echarts: ["echarts"],
7648
+ highcharts: ["highcharts"],
7649
+ recharts: ["recharts"],
7650
+ victory: ["victory"],
7651
+ nivo: ["@nivo/core"],
7652
+ observable: ["@observablehq/plot"],
7653
+ "socket.io": ["socket.io"],
7654
+ socketio: ["socket.io"],
7655
+ websocket: ["ws"],
7656
+ ws: ["ws"],
7657
+ webrtc: ["simple-peer"],
7658
+ peer: ["peerjs"],
7659
+ peerjs: ["peerjs"],
7660
+ signalr: ["@microsoft/signalr"],
7661
+ web3: ["web3"],
7662
+ web3js: ["web3"],
7663
+ ethers: ["ethers"],
7664
+ ethersjs: ["ethers"],
7665
+ ethereum: ["web3", "ethers"],
7666
+ metamask: ["@metamask/sdk"],
7667
+ wagmi: ["wagmi"],
7668
+ "rainbow-kit": ["@rainbow-me/rainbowkit"],
7669
+ "wallet-connect": ["@walletconnect/client"],
7670
+ tensorflow: ["@tensorflow/tfjs"],
7671
+ tensorflowjs: ["@tensorflow/tfjs"],
7672
+ tfjs: ["@tensorflow/tfjs"],
7673
+ brain: ["brain.js"],
7674
+ brainjs: ["brain.js"],
7675
+ synaptic: ["synaptic"],
7676
+ "ml-matrix": ["ml-matrix"],
7677
+ opencv: ["opencv4nodejs"],
7678
+ sharp: ["sharp"],
7679
+ jimp: ["jimp"],
7680
+ canvas: ["canvas"],
7681
+ fabric: ["fabric"],
7682
+ fabricjs: ["fabric"],
7683
+ konva: ["konva"],
7684
+ konvajs: ["konva"],
7685
+ p5: ["p5"],
7686
+ p5js: ["p5"],
7687
+ three: ["three"],
7688
+ threejs: ["three"],
7689
+ howler: ["howler"],
7690
+ howlerjs: ["howler"],
7691
+ tone: ["tone"],
7692
+ tonejs: ["tone"],
7693
+ video: ["video.js"],
7694
+ videojs: ["video.js"],
7695
+ hls: ["hls.js"],
7696
+ hlsjs: ["hls.js"],
7697
+ dash: ["dashjs"],
7698
+ dashjs: ["dashjs"],
7699
+ phaser: ["phaser"],
7700
+ phaserjs: ["phaser"],
7701
+ pixijs: ["pixi.js"],
7702
+ pixi: ["pixi.js"],
7703
+ babylonjs: ["babylonjs"],
7704
+ babylon: ["babylonjs"],
7705
+ aframe: ["aframe"],
7706
+ "johnny-five": ["johnny-five"],
7707
+ arduino: ["johnny-five"],
7708
+ "raspberry-pi": ["raspi"],
7709
+ raspi: ["raspi"],
7710
+ serialport: ["serialport"],
7711
+ noble: ["noble"],
7712
+ bluetooth: ["noble"],
7713
+ workbox: ["workbox-webpack-plugin"],
7714
+ "sw-precache": ["workbox-webpack-plugin"],
7715
+ "service-worker": ["workbox-webpack-plugin"],
7716
+ pwa: ["workbox-webpack-plugin"],
7717
+ leaflet: ["leaflet"],
7718
+ mapbox: ["mapbox-gl"],
7719
+ "google-maps": ["@googlemaps/js-api-loader"],
7720
+ googlemaps: ["@googlemaps/js-api-loader"],
7721
+ openlayers: ["ol"],
7722
+ ol: ["ol"],
7723
+ gsap: ["gsap"],
7724
+ anime: ["animejs"],
7725
+ animejs: ["animejs"],
7726
+ lottie: ["lottie-web"],
7727
+ "lottie-web": ["lottie-web"],
7728
+ "framer-motion": ["framer-motion"],
7729
+ "react-spring": ["react-spring"],
7730
+ formik: ["formik"],
7731
+ "react-hook-form": ["react-hook-form"],
7732
+ yup: ["yup"],
7733
+ joi: ["joi"],
7734
+ ajv: ["ajv"],
7735
+ zod: ["zod"],
7736
+ superstruct: ["superstruct"],
7737
+ quill: ["quill"],
7738
+ quilljs: ["quill"],
7739
+ tinymce: ["tinymce"],
7740
+ ckeditor: ["@ckeditor/ckeditor5-build-classic"],
7741
+ slate: ["slate"],
7742
+ slatejs: ["slate"],
7743
+ draft: ["draft-js"],
7744
+ draftjs: ["draft-js"],
7745
+ monaco: ["monaco-editor"],
7746
+ "monaco-editor": ["monaco-editor"],
7747
+ apollo: ["@apollo/client"],
7748
+ "apollo-client": ["@apollo/client"],
7749
+ graphql: ["graphql"],
7750
+ relay: ["react-relay"],
7751
+ urql: ["urql"],
7752
+ swr: ["swr"],
7753
+ "react-query": ["@tanstack/react-query"],
7754
+ "tanstack-query": ["@tanstack/react-query"],
7755
+ reac: ["react"],
7756
+ reactjs: ["react"],
7757
+ veu: ["vue"],
7758
+ vuejs: ["vue"],
7759
+ angualr: ["@angular/core"],
7760
+ svelt: ["svelte"],
7761
+ sveltte: ["svelte"],
7762
+ typescirpt: ["typescript"],
7763
+ typescript: ["typescript"],
7764
+ javasript: ["node"],
7765
+ javascript: ["node"],
7766
+ docker: ["dockerode"],
7767
+ k8s: ["@kubernetes/client-node"],
7768
+ kubernetes: ["@kubernetes/client-node"],
7769
+ kubectl: ["@kubernetes/client-node"],
7770
+ helm: ["@helm/sdk"],
7771
+ jenkins: ["jenkins"],
7772
+ circleci: ["@circleci/circleci-config-sdk"],
7773
+ "github-actions": ["@actions/core", "@actions/github"],
7774
+ "gitlab-ci": ["@gitbeaker/node"],
7775
+ travis: ["@travis-ci/travis-yml"],
7776
+ terraform: ["@cdktf/provider-aws"],
7777
+ ansible: ["@ansible/galaxy"],
7778
+ vagrant: ["vagrant"],
7779
+ consul: ["consul"],
7780
+ vault: ["node-vault"],
7781
+ nomad: ["nomad-client"],
7782
+ winston: ["winston"],
7783
+ morgan: ["morgan"],
7784
+ pino: ["pino"],
7785
+ bunyan: ["bunyan"],
7786
+ log4js: ["log4js"],
7787
+ sentry: ["@sentry/node", "@sentry/react"],
7788
+ bugsnag: ["@bugsnag/js"],
7789
+ rollbar: ["rollbar"],
7790
+ newrelic: ["newrelic"],
7791
+ datadog: ["@datadog/browser-rum"],
7792
+ prometheus: ["prom-client"],
7793
+ grafana: ["@grafana/toolkit"],
7794
+ elastic: ["@elastic/elasticsearch"],
7795
+ elasticsearch: ["@elastic/elasticsearch"],
7796
+ kibana: ["@elastic/kibana-utils"],
7797
+ logstash: ["@elastic/logstash"],
7798
+ microservices: ["express"],
7799
+ "service-mesh": ["istio"],
7800
+ envoy: ["envoy"],
7801
+ istio: ["istio"],
7802
+ linkerd: ["linkerd"],
7803
+ "consul-connect": ["consul"],
7804
+ eureka: ["eureka-js-client"],
7805
+ zookeeper: ["node-zookeeper-client"],
7806
+ etcd: ["etcd3"],
7807
+ grpc: ["@grpc/grpc-js"],
7808
+ protobuf: ["protobufjs"],
7809
+ memcached: ["memcached"],
7810
+ "node-cache": ["node-cache"],
7811
+ "memory-cache": ["memory-cache"],
7812
+ "lru-cache": ["lru-cache"],
7813
+ "cache-manager": ["cache-manager"],
7814
+ ioredis: ["ioredis"],
7815
+ hazelcast: ["hazelcast-client"],
7816
+ rabbitmq: ["amqplib"],
7817
+ kafka: ["kafkajs"],
7818
+ "apache-kafka": ["kafkajs"],
7819
+ bull: ["bull"],
7820
+ bullmq: ["bullmq"],
7821
+ "bee-queue": ["bee-queue"],
7822
+ kue: ["kue"],
7823
+ agenda: ["agenda"],
7824
+ amqp: ["amqplib"],
7825
+ mqtt: ["mqtt"],
7826
+ nats: ["nats"],
7827
+ zeromq: ["zeromq"],
7828
+ zmq: ["zeromq"],
7829
+ solr: ["solr-client"],
7830
+ algolia: ["algoliasearch"],
7831
+ sphinx: ["sphinxapi"],
7832
+ lucene: ["lucene"],
7833
+ whoosh: ["whoosh"],
7834
+ meilisearch: ["meilisearch"],
7835
+ typesense: ["typesense"],
7836
+ multer: ["multer"],
7837
+ formidable: ["formidable"],
7838
+ busboy: ["busboy"],
7839
+ multiparty: ["multiparty"],
7840
+ "file-upload": ["express-fileupload"],
7841
+ cloudinary: ["cloudinary"],
7842
+ "aws-s3": ["@aws-sdk/client-s3"],
7843
+ bcrypt: ["bcrypt"],
7844
+ bcryptjs: ["bcryptjs"],
7845
+ crypto: ["crypto-js"],
7846
+ "crypto-js": ["crypto-js"],
7847
+ jsonwebtoken: ["jsonwebtoken"],
7848
+ jwt: ["jsonwebtoken"],
7849
+ passport: ["passport"],
7850
+ helmet: ["helmet"],
7851
+ cors: ["cors"],
7852
+ "express-rate-limit": ["express-rate-limit"],
7853
+ "rate-limiter": ["express-rate-limit"],
7854
+ argon2: ["argon2"],
7855
+ scrypt: ["scrypt"],
7856
+ "node-rsa": ["node-rsa"],
7857
+ speakeasy: ["speakeasy"],
7858
+ otplib: ["otplib"],
7859
+ nodemailer: ["nodemailer"],
7860
+ sendgrid: ["@sendgrid/mail"],
7861
+ mailgun: ["mailgun.js"],
7862
+ ses: ["@aws-sdk/client-ses"],
7863
+ postmark: ["postmark"],
7864
+ sparkpost: ["sparkpost"],
7865
+ mandrill: ["mandrill-api"],
7866
+ mailchimp: ["@mailchimp/mailchimp_marketing"],
7867
+ "email-templates": ["email-templates"],
7868
+ handlebars: ["handlebars"],
7869
+ hbs: ["hbs"],
7870
+ mustache: ["mustache"],
7871
+ pug: ["pug"],
7872
+ jade: ["pug"],
7873
+ ejs: ["ejs"],
7874
+ nunjucks: ["nunjucks"],
7875
+ twig: ["twig"],
7876
+ dust: ["dustjs-linkedin"],
7877
+ serverless: ["serverless"],
7878
+ sls: ["serverless"],
7879
+ lambda: ["aws-lambda"],
7880
+ "azure-functions": ["@azure/functions"],
7881
+ "google-functions": ["@google-cloud/functions-framework"],
7882
+ "netlify-lambda": ["netlify-lambda"],
7883
+ vercel: ["@vercel/node"],
7884
+ claudia: ["claudia"],
7885
+ apex: ["apex"],
7886
+ sam: ["@aws-cdk/aws-sam"],
7887
+ couchdb: ["nano"],
7888
+ pouchdb: ["pouchdb"],
7889
+ neo4j: ["neo4j-driver"],
7890
+ influxdb: ["influx"],
7891
+ cassandra: ["cassandra-driver"],
7892
+ rethinkdb: ["rethinkdb"],
7893
+ orientdb: ["orientjs"],
7894
+ arangodb: ["arangojs"],
7895
+ leveldb: ["level"],
7896
+ rocksdb: ["rocksdb"],
7897
+ mariadb: ["mariadb"],
7898
+ cockroachdb: ["pg"],
7899
+ heroku: ["heroku"],
7900
+ digitalocean: ["@digitalocean/droplet-api"],
7901
+ linode: ["@linode/api-v4"],
7902
+ vultr: ["@vultr/vultr-node"],
7903
+ scaleway: ["@scaleway/sdk"],
7904
+ ovh: ["ovh"],
7905
+ cloudflare: ["cloudflare"],
7906
+ fastly: ["fastly"],
7907
+ maxcdn: ["maxcdn"],
7908
+ bunnycdn: ["bunnycdn"],
7909
+ lighthouse: ["lighthouse"],
7910
+ webpagetest: ["webpagetest"],
7911
+ clinic: ["clinic"],
7912
+ "0x": ["0x"],
7913
+ autocannon: ["autocannon"],
7914
+ loadtest: ["loadtest"],
7915
+ artillery: ["artillery"],
7916
+ k6: ["k6"],
7917
+ benchmark: ["benchmark"],
7918
+ "clinic.js": ["clinic"],
7919
+ "node.js": ["node"],
7920
+ nodejs: ["node"],
7921
+ npm: ["npm"],
7922
+ yarn: ["yarn"],
7923
+ pnpm: ["pnpm"],
7924
+ bun: ["bun"],
7925
+ deno: ["deno"],
7926
+ js: ["javascript"],
7927
+ ts: ["typescript"],
7928
+ html: ["html"],
7929
+ css: ["css"],
7930
+ json: ["json"],
7931
+ xml: ["xml2js"],
7932
+ yaml: ["yaml"],
7933
+ toml: ["@iarna/toml"],
7934
+ ini: ["ini"],
7935
+ csv: ["csv-parser", "papaparse"],
7936
+ pdf: ["pdf2pic", "pdfkit"],
7937
+ excel: ["xlsx"],
7938
+ word: ["mammoth"],
7939
+ zip: ["node-zip"],
7940
+ tar: ["tar"],
7941
+ gzip: ["zlib"],
7942
+ cheerio: ["cheerio"],
7943
+ jsdom: ["jsdom"],
7944
+ xml2js: ["xml2js"],
7945
+ "csv-parse": ["csv-parse"],
7946
+ papaparse: ["papaparse"],
7947
+ "fast-csv": ["fast-csv"],
7948
+ xlsx: ["xlsx"],
7949
+ pdfkit: ["pdfkit"],
7950
+ jspdf: ["jspdf"],
7951
+ mammoth: ["mammoth"],
7952
+ "pdf-parse": ["pdf-parse"],
7953
+ commander: ["commander"],
7954
+ yargs: ["yargs"],
7955
+ inquirer: ["inquirer"],
7956
+ chalk: ["chalk"],
7957
+ ora: ["ora"],
7958
+ "cli-progress": ["cli-progress"],
7959
+ figlet: ["figlet"],
7960
+ boxen: ["boxen"],
7961
+ "update-notifier": ["update-notifier"],
7962
+ meow: ["meow"],
7963
+ arg: ["arg"],
7964
+ minimist: ["minimist"]
7965
+ };
7966
+
7967
+ // ../../packages/utils/src/error-handling/userFriendlyErrorHandler.ts
7484
7968
  var ERROR_PATTERNS = {
7485
7969
  NOT_FOUND: ["404", "Not found", "ENOTFOUND", "not found"],
7486
7970
  TIMEOUT: ["timeout", "ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNRESET"],
@@ -7491,32 +7975,11 @@ function matchesErrorPattern(message, patterns) {
7491
7975
  return patterns.some((pattern) => lowerMessage.includes(pattern.toLowerCase()));
7492
7976
  }
7493
7977
  var _packageSuggestions = null;
7494
- var _preloadPromise = null;
7495
7978
  async function preloadPackageSuggestions() {
7496
7979
  if (_packageSuggestions !== null) {
7497
7980
  return;
7498
7981
  }
7499
- if (_preloadPromise !== null) {
7500
- return _preloadPromise;
7501
- }
7502
- _preloadPromise = (async () => {
7503
- try {
7504
- const __filename2 = fileURLToPath(import.meta.url);
7505
- const __dirname2 = dirname(__filename2);
7506
- const dataPath = join(__dirname2, "data", "packageSuggestions.json");
7507
- const content = await readFile(dataPath, "utf-8");
7508
- const data = JSON.parse(content);
7509
- _packageSuggestions = new Map(Object.entries(data));
7510
- } catch (error) {
7511
- const logger2 = Logger.getLogger("ErrorHandler");
7512
- logger2.warn("Failed to load package suggestions file", {
7513
- error: error instanceof Error ? error.message : String(error),
7514
- hint: "Package name suggestions will be unavailable"
7515
- });
7516
- _packageSuggestions = /* @__PURE__ */ new Map();
7517
- }
7518
- })();
7519
- return _preloadPromise;
7982
+ _packageSuggestions = new Map(Object.entries(packageSuggestions_default));
7520
7983
  }
7521
7984
  function getPackageSuggestions() {
7522
7985
  if (_packageSuggestions !== null) {
@@ -8763,16 +9226,14 @@ var VersionChecker = class _VersionChecker {
8763
9226
  }
8764
9227
  /**
8765
9228
  * Perform update without prompting
9229
+ * Note: Logging is handled by the CLI layer with i18n support
8766
9230
  */
8767
9231
  static async performUpdateAction() {
8768
- logger.info(chalk10.blue("\u{1F504} Updating pcu..."));
8769
9232
  try {
8770
9233
  await _VersionChecker.performUpdate();
8771
- logger.info(chalk10.green("\u2705 Successfully updated! Please restart the command."));
8772
9234
  return true;
8773
9235
  } catch (error) {
8774
- logger.error(chalk10.red("\u274C Update failed:"), error instanceof Error ? error : void 0);
8775
- logger.info(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
9236
+ logger.debug("Update failed", error instanceof Error ? error : void 0);
8776
9237
  return false;
8777
9238
  }
8778
9239
  }
@@ -24195,7 +24656,7 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
24195
24656
  cliOutput.print(chalk10.gray(t("command.selfUpdate.restartHint")));
24196
24657
  } else {
24197
24658
  cliOutput.error(chalk10.red(t("command.selfUpdate.failed")));
24198
- cliOutput.print(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
24659
+ cliOutput.print(chalk10.gray(t("command.selfUpdate.manualHint")));
24199
24660
  exitProcess(1);
24200
24661
  }
24201
24662
  } catch (error) {
@@ -24203,7 +24664,7 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
24203
24664
  if (globalOptions.verbose) {
24204
24665
  cliOutput.error(error);
24205
24666
  }
24206
- cliOutput.print(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
24667
+ cliOutput.print(chalk10.gray(t("command.selfUpdate.manualHint")));
24207
24668
  exitProcess(1);
24208
24669
  }
24209
24670
  }
@@ -24267,32 +24728,44 @@ async function showUpdateNotificationIfAvailable(checkPromise) {
24267
24728
  }
24268
24729
  async function handleVersionFlag(args, config) {
24269
24730
  if (!args.includes("--version")) return;
24270
- cliOutput.print(getPackageJson().version);
24731
+ const pkg = getPackageJson();
24732
+ const version = pkg.version;
24271
24733
  if (VersionChecker.shouldCheckForUpdates() && config.advanced?.checkForUpdates !== false) {
24272
24734
  try {
24273
- cliOutput.print(chalk10.gray(t("cli.checkingUpdates")));
24274
- const versionResult = await VersionChecker.checkVersion(getPackageJson().version, {
24735
+ process.stdout.write(
24736
+ `${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.gray(t("cli.checkingUpdates"))}`
24737
+ );
24738
+ const versionResult = await VersionChecker.checkVersion(version, {
24275
24739
  skipPrompt: false,
24276
24740
  timeout: 5e3
24277
- // Longer timeout for explicit version check
24278
24741
  });
24279
- if (versionResult.shouldPrompt) {
24742
+ process.stdout.write("\r\x1B[K");
24743
+ if (versionResult.shouldPrompt && versionResult.latestVersion) {
24744
+ cliOutput.print(
24745
+ `${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.yellow(`-> v${versionResult.latestVersion} ${t("cli.available")}`)}`
24746
+ );
24280
24747
  const didUpdate = await VersionChecker.promptAndUpdate(versionResult);
24281
24748
  if (didUpdate) {
24282
24749
  cliOutput.print(chalk10.blue(t("cli.runAgain")));
24283
24750
  exitWithCleanup(0);
24284
24751
  }
24285
- } else if (versionResult.isLatest) {
24286
- cliOutput.print(chalk10.green(t("cli.latestVersion")));
24752
+ } else {
24753
+ cliOutput.print(
24754
+ `${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.green(t("cli.latestVersion"))}`
24755
+ );
24287
24756
  }
24288
24757
  } catch (error) {
24758
+ process.stdout.write("\r\x1B[K");
24759
+ cliOutput.print(`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)}`);
24289
24760
  logger.debug("Version flag update check failed", {
24290
24761
  error: error instanceof Error ? error.message : error
24291
24762
  });
24292
24763
  if (args.includes("-v") || args.includes("--verbose")) {
24293
- cliOutput.warn(chalk10.yellow(`\u26A0\uFE0F ${t("cli.couldNotCheckUpdates")}`), error);
24764
+ cliOutput.warn(chalk10.yellow(` ${t("cli.couldNotCheckUpdates")}`), error);
24294
24765
  }
24295
24766
  }
24767
+ } else {
24768
+ cliOutput.print(`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)}`);
24296
24769
  }
24297
24770
  exitWithCleanup(0);
24298
24771
  }