diff --git a/packages/vite/package.json b/packages/vite/package.json index 8247d31a389145..dd8934d7eec15a 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -104,7 +104,7 @@ "cors": "^2.8.6", "cross-spawn": "^7.0.6", "dotenv-expand": "^13.0.0", - "es-module-lexer": "^1.7.0", + "es-module-lexer": "^2.0.0", "esbuild": "^0.28.0", "escape-html": "^1.0.3", "estree-walker": "^3.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3dafac16e670a3..9f7277ea90022c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -315,8 +315,8 @@ importers: specifier: ^13.0.0 version: 13.0.0(patch_hash=49330a663821151418e003e822a82a6a61d2f0f8a6e3cab00c1c94815a112889) es-module-lexer: - specifier: ^1.7.0 - version: 1.7.0 + specifier: ^2.0.0 + version: 2.0.0 esbuild: specifier: ^0.28.0 version: 0.28.0 @@ -5567,9 +5567,6 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-module-lexer@1.7.0: - resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} - es-module-lexer@2.0.0: resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==} @@ -11801,8 +11798,6 @@ snapshots: es-errors@1.3.0: {} - es-module-lexer@1.7.0: {} - es-module-lexer@2.0.0: {} es-object-atoms@1.1.1: