dep-oracle 1.3.0 → 1.4.0

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.
@@ -8770,6 +8770,238 @@ var MIGRATION_MAP = {
8770
8770
  description: "Native trimEnd() is available since ES2019. Remove the polyfill.",
8771
8771
  difficulty: "easy"
8772
8772
  }
8773
+ ],
8774
+ // ─── v1.4.0 additions ───────────────────────────────────────────────
8775
+ // Modern frameworks
8776
+ "express": [
8777
+ {
8778
+ alternative: "hono",
8779
+ description: "Ultra-fast web framework. Works on Node, Deno, Bun, Cloudflare Workers. Similar routing API.",
8780
+ difficulty: "moderate"
8781
+ },
8782
+ {
8783
+ alternative: "fastify",
8784
+ description: "Fast, low-overhead web framework with plugin architecture. Schema-based validation built-in.",
8785
+ difficulty: "moderate"
8786
+ },
8787
+ {
8788
+ alternative: "elysia",
8789
+ description: "Bun-native web framework with end-to-end type safety. Extremely fast.",
8790
+ difficulty: "hard"
8791
+ }
8792
+ ],
8793
+ "create-react-app": [
8794
+ {
8795
+ alternative: "vite",
8796
+ description: 'Lightning-fast build tool with HMR. Use "npm create vite@latest" with React template.',
8797
+ difficulty: "moderate"
8798
+ },
8799
+ {
8800
+ alternative: "next",
8801
+ description: "Full-stack React framework with SSR, file-based routing, and API routes.",
8802
+ difficulty: "hard"
8803
+ }
8804
+ ],
8805
+ "react-scripts": [
8806
+ {
8807
+ alternative: "vite",
8808
+ description: "Replace CRA build tooling with Vite. Much faster dev server and builds.",
8809
+ difficulty: "moderate"
8810
+ }
8811
+ ],
8812
+ // ORM / Database
8813
+ "prisma": [
8814
+ {
8815
+ alternative: "drizzle-orm",
8816
+ description: "Lightweight TypeScript ORM with SQL-like syntax. Better performance, smaller bundle.",
8817
+ difficulty: "hard"
8818
+ }
8819
+ ],
8820
+ // Testing
8821
+ "jest": [
8822
+ {
8823
+ alternative: "vitest",
8824
+ description: "Vite-native test runner. Jest-compatible API, much faster. Near drop-in replacement.",
8825
+ difficulty: "easy"
8826
+ }
8827
+ ],
8828
+ // CSS-in-JS
8829
+ "styled-components": [
8830
+ {
8831
+ alternative: "tailwindcss",
8832
+ description: "Utility-first CSS framework. Zero runtime CSS. Requires rewriting component styles.",
8833
+ difficulty: "hard"
8834
+ },
8835
+ {
8836
+ alternative: "vanilla-extract",
8837
+ description: "Zero-runtime CSS-in-TypeScript. Type-safe styles with static extraction.",
8838
+ difficulty: "moderate"
8839
+ }
8840
+ ],
8841
+ "@emotion/react": [
8842
+ {
8843
+ alternative: "tailwindcss",
8844
+ description: "Utility-first CSS framework. No runtime CSS overhead.",
8845
+ difficulty: "hard"
8846
+ },
8847
+ {
8848
+ alternative: "vanilla-extract",
8849
+ description: "Zero-runtime CSS-in-TypeScript. Static extraction at build time.",
8850
+ difficulty: "moderate"
8851
+ }
8852
+ ],
8853
+ // State management
8854
+ "redux": [
8855
+ {
8856
+ alternative: "zustand",
8857
+ description: "Minimal state management with hooks. No boilerplate, no providers needed.",
8858
+ difficulty: "moderate"
8859
+ },
8860
+ {
8861
+ alternative: "jotai",
8862
+ description: "Primitive and flexible state management. Atomic approach, minimal API.",
8863
+ difficulty: "moderate"
8864
+ }
8865
+ ],
8866
+ "mobx": [
8867
+ {
8868
+ alternative: "zustand",
8869
+ description: "Simpler state management with hooks API. Less magic, more predictable.",
8870
+ difficulty: "moderate"
8871
+ }
8872
+ ],
8873
+ // Process managers
8874
+ "pm2": [
8875
+ {
8876
+ alternative: "node --watch",
8877
+ description: "Node.js 18+ native watch mode. For development, no extra dependency needed.",
8878
+ difficulty: "easy"
8879
+ }
8880
+ ],
8881
+ "forever": [
8882
+ {
8883
+ alternative: "pm2",
8884
+ description: "Modern process manager with clustering, monitoring, and log management.",
8885
+ difficulty: "easy"
8886
+ }
8887
+ ],
8888
+ // Validation
8889
+ "joi": [
8890
+ {
8891
+ alternative: "zod",
8892
+ description: "TypeScript-first schema validation. Better type inference, smaller bundle.",
8893
+ difficulty: "moderate"
8894
+ },
8895
+ {
8896
+ alternative: "valibot",
8897
+ description: "Ultra-small schema validation library. Modular, tree-shakeable.",
8898
+ difficulty: "moderate"
8899
+ }
8900
+ ],
8901
+ "yup": [
8902
+ {
8903
+ alternative: "zod",
8904
+ description: "TypeScript-first schema validation. Similar API but better type inference.",
8905
+ difficulty: "easy"
8906
+ },
8907
+ {
8908
+ alternative: "valibot",
8909
+ description: "Modular validation library. Much smaller bundle size than yup.",
8910
+ difficulty: "moderate"
8911
+ }
8912
+ ],
8913
+ "class-validator": [
8914
+ {
8915
+ alternative: "zod",
8916
+ description: "Functional schema validation without decorators. Works with any framework.",
8917
+ difficulty: "moderate"
8918
+ }
8919
+ ],
8920
+ // HTTP / Fetch
8921
+ "supertest": [
8922
+ {
8923
+ alternative: "undici",
8924
+ description: "Node.js native HTTP/1.1 client. Fast, spec-compliant, built into Node 18+.",
8925
+ difficulty: "moderate"
8926
+ }
8927
+ ],
8928
+ "needle": [
8929
+ {
8930
+ alternative: "undici",
8931
+ description: "Node.js native HTTP client. No external dependency needed in Node 18+.",
8932
+ difficulty: "moderate"
8933
+ }
8934
+ ],
8935
+ // Logging (new additions)
8936
+ "console-log-level": [
8937
+ {
8938
+ alternative: "pino",
8939
+ description: "Ultra-fast JSON logger. Structured logging with minimal overhead.",
8940
+ difficulty: "easy"
8941
+ }
8942
+ ],
8943
+ // File system
8944
+ "fs-extra": [
8945
+ {
8946
+ alternative: "node:fs/promises",
8947
+ description: "Native Node.js fs promises API. Most fs-extra methods are now in core (cp, mkdir recursive).",
8948
+ difficulty: "moderate"
8949
+ }
8950
+ ],
8951
+ "graceful-fs": [
8952
+ {
8953
+ alternative: "node:fs",
8954
+ description: "Modern Node.js handles EMFILE gracefully. The polyfill is rarely needed now.",
8955
+ difficulty: "easy"
8956
+ }
8957
+ ],
8958
+ // Environment
8959
+ "cross-env": [
8960
+ {
8961
+ alternative: "node --env-file",
8962
+ description: "Node.js 20+ supports --env-file flag natively. No extra package needed.",
8963
+ difficulty: "easy"
8964
+ }
8965
+ ],
8966
+ "env-cmd": [
8967
+ {
8968
+ alternative: "node --env-file",
8969
+ description: "Node.js 20+ supports --env-file flag. Replace env-cmd with native feature.",
8970
+ difficulty: "easy"
8971
+ }
8972
+ ],
8973
+ // Linting
8974
+ "eslint": [
8975
+ {
8976
+ alternative: "biome",
8977
+ description: "Rust-based linter and formatter. 10-100x faster than ESLint. Minimal config.",
8978
+ difficulty: "moderate"
8979
+ },
8980
+ {
8981
+ alternative: "oxlint",
8982
+ description: "Oxidation compiler linter. Extremely fast, compatible with many ESLint rules.",
8983
+ difficulty: "moderate"
8984
+ }
8985
+ ],
8986
+ "prettier": [
8987
+ {
8988
+ alternative: "biome",
8989
+ description: "Biome includes a Prettier-compatible formatter. One tool for lint + format.",
8990
+ difficulty: "easy"
8991
+ }
8992
+ ],
8993
+ // Monorepo
8994
+ "lerna": [
8995
+ {
8996
+ alternative: "turborepo",
8997
+ description: "High-performance monorepo build system. Caching, parallel execution.",
8998
+ difficulty: "moderate"
8999
+ },
9000
+ {
9001
+ alternative: "nx",
9002
+ description: "Smart monorepo tool with computation caching and affected commands.",
9003
+ difficulty: "moderate"
9004
+ }
8773
9005
  ]
8774
9006
  };
8775
9007
  var MigrationAdvisor = class {
@@ -6777,6 +6777,238 @@ var MIGRATION_MAP = {
6777
6777
  description: "Native trimEnd() is available since ES2019. Remove the polyfill.",
6778
6778
  difficulty: "easy"
6779
6779
  }
6780
+ ],
6781
+ // ─── v1.4.0 additions ───────────────────────────────────────────────
6782
+ // Modern frameworks
6783
+ "express": [
6784
+ {
6785
+ alternative: "hono",
6786
+ description: "Ultra-fast web framework. Works on Node, Deno, Bun, Cloudflare Workers. Similar routing API.",
6787
+ difficulty: "moderate"
6788
+ },
6789
+ {
6790
+ alternative: "fastify",
6791
+ description: "Fast, low-overhead web framework with plugin architecture. Schema-based validation built-in.",
6792
+ difficulty: "moderate"
6793
+ },
6794
+ {
6795
+ alternative: "elysia",
6796
+ description: "Bun-native web framework with end-to-end type safety. Extremely fast.",
6797
+ difficulty: "hard"
6798
+ }
6799
+ ],
6800
+ "create-react-app": [
6801
+ {
6802
+ alternative: "vite",
6803
+ description: 'Lightning-fast build tool with HMR. Use "npm create vite@latest" with React template.',
6804
+ difficulty: "moderate"
6805
+ },
6806
+ {
6807
+ alternative: "next",
6808
+ description: "Full-stack React framework with SSR, file-based routing, and API routes.",
6809
+ difficulty: "hard"
6810
+ }
6811
+ ],
6812
+ "react-scripts": [
6813
+ {
6814
+ alternative: "vite",
6815
+ description: "Replace CRA build tooling with Vite. Much faster dev server and builds.",
6816
+ difficulty: "moderate"
6817
+ }
6818
+ ],
6819
+ // ORM / Database
6820
+ "prisma": [
6821
+ {
6822
+ alternative: "drizzle-orm",
6823
+ description: "Lightweight TypeScript ORM with SQL-like syntax. Better performance, smaller bundle.",
6824
+ difficulty: "hard"
6825
+ }
6826
+ ],
6827
+ // Testing
6828
+ "jest": [
6829
+ {
6830
+ alternative: "vitest",
6831
+ description: "Vite-native test runner. Jest-compatible API, much faster. Near drop-in replacement.",
6832
+ difficulty: "easy"
6833
+ }
6834
+ ],
6835
+ // CSS-in-JS
6836
+ "styled-components": [
6837
+ {
6838
+ alternative: "tailwindcss",
6839
+ description: "Utility-first CSS framework. Zero runtime CSS. Requires rewriting component styles.",
6840
+ difficulty: "hard"
6841
+ },
6842
+ {
6843
+ alternative: "vanilla-extract",
6844
+ description: "Zero-runtime CSS-in-TypeScript. Type-safe styles with static extraction.",
6845
+ difficulty: "moderate"
6846
+ }
6847
+ ],
6848
+ "@emotion/react": [
6849
+ {
6850
+ alternative: "tailwindcss",
6851
+ description: "Utility-first CSS framework. No runtime CSS overhead.",
6852
+ difficulty: "hard"
6853
+ },
6854
+ {
6855
+ alternative: "vanilla-extract",
6856
+ description: "Zero-runtime CSS-in-TypeScript. Static extraction at build time.",
6857
+ difficulty: "moderate"
6858
+ }
6859
+ ],
6860
+ // State management
6861
+ "redux": [
6862
+ {
6863
+ alternative: "zustand",
6864
+ description: "Minimal state management with hooks. No boilerplate, no providers needed.",
6865
+ difficulty: "moderate"
6866
+ },
6867
+ {
6868
+ alternative: "jotai",
6869
+ description: "Primitive and flexible state management. Atomic approach, minimal API.",
6870
+ difficulty: "moderate"
6871
+ }
6872
+ ],
6873
+ "mobx": [
6874
+ {
6875
+ alternative: "zustand",
6876
+ description: "Simpler state management with hooks API. Less magic, more predictable.",
6877
+ difficulty: "moderate"
6878
+ }
6879
+ ],
6880
+ // Process managers
6881
+ "pm2": [
6882
+ {
6883
+ alternative: "node --watch",
6884
+ description: "Node.js 18+ native watch mode. For development, no extra dependency needed.",
6885
+ difficulty: "easy"
6886
+ }
6887
+ ],
6888
+ "forever": [
6889
+ {
6890
+ alternative: "pm2",
6891
+ description: "Modern process manager with clustering, monitoring, and log management.",
6892
+ difficulty: "easy"
6893
+ }
6894
+ ],
6895
+ // Validation
6896
+ "joi": [
6897
+ {
6898
+ alternative: "zod",
6899
+ description: "TypeScript-first schema validation. Better type inference, smaller bundle.",
6900
+ difficulty: "moderate"
6901
+ },
6902
+ {
6903
+ alternative: "valibot",
6904
+ description: "Ultra-small schema validation library. Modular, tree-shakeable.",
6905
+ difficulty: "moderate"
6906
+ }
6907
+ ],
6908
+ "yup": [
6909
+ {
6910
+ alternative: "zod",
6911
+ description: "TypeScript-first schema validation. Similar API but better type inference.",
6912
+ difficulty: "easy"
6913
+ },
6914
+ {
6915
+ alternative: "valibot",
6916
+ description: "Modular validation library. Much smaller bundle size than yup.",
6917
+ difficulty: "moderate"
6918
+ }
6919
+ ],
6920
+ "class-validator": [
6921
+ {
6922
+ alternative: "zod",
6923
+ description: "Functional schema validation without decorators. Works with any framework.",
6924
+ difficulty: "moderate"
6925
+ }
6926
+ ],
6927
+ // HTTP / Fetch
6928
+ "supertest": [
6929
+ {
6930
+ alternative: "undici",
6931
+ description: "Node.js native HTTP/1.1 client. Fast, spec-compliant, built into Node 18+.",
6932
+ difficulty: "moderate"
6933
+ }
6934
+ ],
6935
+ "needle": [
6936
+ {
6937
+ alternative: "undici",
6938
+ description: "Node.js native HTTP client. No external dependency needed in Node 18+.",
6939
+ difficulty: "moderate"
6940
+ }
6941
+ ],
6942
+ // Logging (new additions)
6943
+ "console-log-level": [
6944
+ {
6945
+ alternative: "pino",
6946
+ description: "Ultra-fast JSON logger. Structured logging with minimal overhead.",
6947
+ difficulty: "easy"
6948
+ }
6949
+ ],
6950
+ // File system
6951
+ "fs-extra": [
6952
+ {
6953
+ alternative: "node:fs/promises",
6954
+ description: "Native Node.js fs promises API. Most fs-extra methods are now in core (cp, mkdir recursive).",
6955
+ difficulty: "moderate"
6956
+ }
6957
+ ],
6958
+ "graceful-fs": [
6959
+ {
6960
+ alternative: "node:fs",
6961
+ description: "Modern Node.js handles EMFILE gracefully. The polyfill is rarely needed now.",
6962
+ difficulty: "easy"
6963
+ }
6964
+ ],
6965
+ // Environment
6966
+ "cross-env": [
6967
+ {
6968
+ alternative: "node --env-file",
6969
+ description: "Node.js 20+ supports --env-file flag natively. No extra package needed.",
6970
+ difficulty: "easy"
6971
+ }
6972
+ ],
6973
+ "env-cmd": [
6974
+ {
6975
+ alternative: "node --env-file",
6976
+ description: "Node.js 20+ supports --env-file flag. Replace env-cmd with native feature.",
6977
+ difficulty: "easy"
6978
+ }
6979
+ ],
6980
+ // Linting
6981
+ "eslint": [
6982
+ {
6983
+ alternative: "biome",
6984
+ description: "Rust-based linter and formatter. 10-100x faster than ESLint. Minimal config.",
6985
+ difficulty: "moderate"
6986
+ },
6987
+ {
6988
+ alternative: "oxlint",
6989
+ description: "Oxidation compiler linter. Extremely fast, compatible with many ESLint rules.",
6990
+ difficulty: "moderate"
6991
+ }
6992
+ ],
6993
+ "prettier": [
6994
+ {
6995
+ alternative: "biome",
6996
+ description: "Biome includes a Prettier-compatible formatter. One tool for lint + format.",
6997
+ difficulty: "easy"
6998
+ }
6999
+ ],
7000
+ // Monorepo
7001
+ "lerna": [
7002
+ {
7003
+ alternative: "turborepo",
7004
+ description: "High-performance monorepo build system. Caching, parallel execution.",
7005
+ difficulty: "moderate"
7006
+ },
7007
+ {
7008
+ alternative: "nx",
7009
+ description: "Smart monorepo tool with computation caching and affected commands.",
7010
+ difficulty: "moderate"
7011
+ }
6780
7012
  ]
6781
7013
  };
6782
7014
  var MigrationAdvisor = class {
@@ -6972,4 +7204,4 @@ export {
6972
7204
  getBlastRadius,
6973
7205
  getImportingFiles
6974
7206
  };
6975
- //# sourceMappingURL=chunk-DLWG22RC.js.map
7207
+ //# sourceMappingURL=chunk-3SHHSWZU.js.map