perf: mock semver import (#1006)

This commit is contained in:
Daniel Roe 2023-01-12 16:31:18 +00:00 committed by GitHub
parent dcec32338c
commit 32aa47e701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

7
mocks/semver.ts Normal file
View file

@ -0,0 +1,7 @@
import proxy from 'unenv/runtime/mock/proxy'
export const lt = proxy
export const gt = proxy
export const gte = proxy
export const satisfies = proxy
export class SemVer {}