From 1a085cc7757825254796a0aa6a345403a1cbd89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=96=AF=EF=BC=88xiaosi=EF=BC=89?= <1531733886@qq.com> Date: Sun, 3 Sep 2023 01:15:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20mock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 73d8e2cb..484660cb 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "vite-plugin-imagemin": "^0.6.1", "vite-plugin-inspect": "^0.7.35", "vite-plugin-linter": "^2.0.2", - "vite-plugin-mock": "2.9.1", + "vite-plugin-mock": "2.9.6", "vite-plugin-pwa": "^0.16.4", "vite-plugin-style-import": "^2.0.0", "vite-plugin-svg-icons": "^2.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fee3eeba..80343f7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -245,8 +245,8 @@ devDependencies: specifier: ^2.0.2 version: 2.0.2 vite-plugin-mock: - specifier: 2.9.1 - version: 2.9.1(mockjs@1.1.0)(vite@4.4.8) + specifier: 2.9.6 + version: 2.9.6(mockjs@1.1.0)(vite@4.4.8) vite-plugin-pwa: specifier: ^0.16.4 version: 0.16.4(vite@4.4.8)(workbox-build@7.0.0)(workbox-window@7.0.0) @@ -702,6 +702,7 @@ packages: integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==, } engines: { node: '>=4' } + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. peerDependencies: '@babel/core': ^7.0.0-0 dependencies: @@ -17573,11 +17574,12 @@ packages: - supports-color dev: true - /vite-plugin-mock@2.9.1(mockjs@1.1.0)(vite@4.4.8): + /vite-plugin-mock@2.9.6(mockjs@1.1.0)(vite@4.4.8): resolution: { - integrity: sha512-M27U0qTJYEUin7/i47HCh75sCFiqQCM80uWICHOWv/iXLZvMdYUpZ2p/EYUWudSySgNUtJCWP/ZJW7kSyfnFrw==, + integrity: sha512-/Rm59oPppe/ncbkSrUuAxIQihlI2YcBmnbR4ST1RA2VzM1C0tEQc1KlbQvnUGhXECAGTaQN2JyasiwXP6EtKgg==, } + engines: { node: '>=12.0.0' } peerDependencies: mockjs: '>=1.1.0' vite: '>=2.0.0'