Skip to content

chore(deps-dev): bump vite-plus from 1.6.0 to 1.7.0 - #323

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-plus-1.7.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-plus-1.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Bumps vite-plus from 1.6.0 to 1.7.0.

Release notes

Sourced from vite-plus's releases.

vite-plus v1.7.0

Vite+ 1.7.0 runs type-aware linting and type checking on tsrs, a Rust port of the TypeScript 7 compiler, gives @voidzero-dev/vite-plus-core a version that encodes the bundled Vite version (8.3.8000 for Vite 8.3.8) so compatible vite plugins pass peer checks, and adds vp check --fix-dangerously.

Features

  • Type-aware linting and type checking in vp lint and vp check use tsrs, a Rust port of the TypeScript 7 compiler, through its tsrs-lint executable. Commands and configuration stay the same, and tsrs installs with vite-plus (docs) (#3352), by @​fengmk2:
    • tsrs targets TypeScript 7.1.0-beta, so type-check diagnostics can change.
    • With trustPolicy: no-downgrade in pnpm-workspace.yaml, pnpm rejects the bundled tsrs release (upstream issue). vp migrate adds tsrs@7.1.0-beta.tsrs2 to trustPolicyExclude, so run it if this policy blocks the upgrade.
    • Benchmark with the same CLI and oxlint@1.93.0 on an Apple M4 Max, previous backend (oxlint-tsgolint@7.0.2007) → tsrs. Time is the median of 10 runs, and peak memory the median of 5 runs:
      Project Workload Time Peak memory
      Vite+ Type-aware rules 1.51 → 1.23 s (-18%) 1.21 → 0.58 GiB (-52%)
      Vite+ Type-aware rules + type check 1.89 → 1.38 s (-27%) 1.28 → 0.65 GiB (-49%)
      Vite+ Full vp check 2.09 → 1.70 s (-19%) 1.46 → 0.70 GiB (-52%)
      vinext Type-aware rules 2.73 → 1.66 s (-39%) 3.61 → 1.73 GiB (-52%)
      vinext Type-aware rules + type check 3.41 → 1.73 s (-49%) 3.72 → 1.82 GiB (-51%)
      vinext Full vp check 4.73 → 2.20 s (-53%) 5.09 → 1.97 GiB (-61%)
  • @voidzero-dev/vite-plus-core has a version that encodes the bundled Vite version: 8.3.8000 for Vite 8.3.8 in this release. Projects alias vite to this package, so plugins whose vite peer range includes the bundled Vite, such as @vitejs/plugin-react with ^8.0.0, now pass peer checks. npm no longer prints ERESOLVE overriding peer dependency warnings, and npm and Bun projects that declare only vite-plus install one copy of Vite for Vitest and Vite+, about 20 MiB less in node_modules on macOS arm64 (#3317), by @​fengmk2:
    • On pnpm 10.2.0 and later, vp migrate removes the broad vite rule from peerDependencyRules. A plugin whose vite peer range excludes the bundled Vite then reports a peer warning, and with strictPeerDependencies the install fails. Update that plugin, or allow its range for that plugin only (migration rules).
    • vite-plus and the core no longer share a version number. If you update them by hand or with a dependency bot, read the alias with npm view vite-plus@1.7.0 dependencies.vite, or run vp migrate to update both (docs).
  • vp check --fix-dangerously formats files and applies all lint fixes, including dangerous fixes and suggestions. It does not need --fix, and it works with --no-fmt and --continue-on-error. Review the changes before you commit them, because dangerous fixes can change program behavior (docs) (#3413), by @​chbaefront.
  • vp create with a third-party create-xxx template asks about agent instructions, editor configs, Git, and commit hooks after the template's own CLI finishes, and checks what that CLI generated: it offers to append to an existing agent file, merges existing editor configs, and asks about Git only when the template did not create a repository. When the generated standalone project already depends on vite-plus, vp create keeps the template's choices, such as ESLint or its vite-plus version, and skips the migration. Set VP_FORCE_MIGRATE=1 to run it (#3424, #3435), by @​liangmiQwQ.
  • Upgrade the bundled tools (#3436, #3440, #3452, #3463, #3470), by @​voidzero-guard[bot] and @​fengmk2:
    Tool Version What changes for you
    Vite 8.3.7 → 8.3.8 Rejects CSS entry points when build.cssCodeSplit is false, and imports Sass once instead of once per file
    Rolldown 1.2.18 → 1.2.19 The linux-x64-gnu binding runs on older CPUs
    oxc-node 1.0.1 → 1.0.2 vpx runs CommonJS TypeScript files the way tsc compiles them
    Oxlint 1.93.0 → 1.94.0 Fixes that can change behavior are now suggestions, applied only by vp check --fix-dangerously
    Oxfmt 0.78.0 → 0.79.0 Uses Prettier 3.10.1, so formatting can change
    lint-staged 17.6.0 → 17.6.1 vp staged warns about hidden partial changes only when it restores them
    • If your CI runs vp check, run vp check --fix --continue-on-error after you upgrade: the new Oxlint, Oxfmt, and tsrs can flag code that passed before.

Fixes & Enhancements

  • vp upgrade no longer deletes a version directory that it did not create when an installation fails, so vp upgrade --rollback still finds the previous version after a failed reinstall. vp upgrade, vp upgrade --rollback, and installer setup wait for each other, so two upgrades that run at the same time can no longer leave current pointing to a missing directory. vp upgrade also repairs an active version whose vp binary is missing (#3412), by @​jong-kyung and @​fengmk2.
  • An empty VP_NODE_SKIP_SIGNATURE_VERIFY, VP_NODE_DIST_MIRROR, or npm_config_registry (in either letter case) counts as unset, as in pnpm. Before, VP_NODE_SKIP_SIGNATURE_VERIFY="" turned off PGP verification of Node.js downloads, and an empty mirror or registry failed with relative URL without a base (#3444), by @​jong-kyung.
  • With a token for the default npm registry in .npmrc, the package-manager shims again use cached dist-tags for a latest default and fall back to the cache offline, instead of waiting on the registry at each call and failing when it cannot be reached. Other authenticated registries still skip the cache (#3457), by @​liangmiQwQ.
  • vp pack uses pack.envPrefix from vite.config.ts. Before, the default prefixes VITE_PACK_ and TSDOWN_ always replaced it, so variables under the configured prefix were not inlined and variables under the default prefixes were. The --env-prefix flag still takes precedence (#3454), by @​jong-kyung.
  • vp migrate --full on a project that the first migration left on ESLint and Prettier no longer loses their settings. When vite.config.ts holds only the default lint and fmt blocks that vp migrate added, the converted settings replace them. When those blocks have your own settings, the converted .oxlintrc.json or Prettier stays in place with a warning (#3464), by @​jong-kyung.
  • vp migrate writes npmPreapprovedPackages to .yarnrc.yml only for Yarn 4.10.0 and later. Older Yarn versions do not know this key and refused to run, so migrated Yarn 2 and 3 projects, and Yarn 4.0 to 4.9 projects whose Yarn upgrade failed, could not install (#3443), by @​jong-kyung.
  • vp migrate merges the duplicate vite-plus imports that it creates when it rewrites vite imports, so import/no-duplicates no longer reports them. Comments, side-effect imports, and code between the imports stay in place (#3439), by @​voidzero-bot[bot] and @​fengmk2.
  • A second vp migrate run keeps oxlint in the dependencies of a package that publishes an Oxlint plugin, as the first run does (#3462), by @​jong-kyung.
  • vp migrate warns when the root or a workspace package has turbo.json, turbo.jsonc, or a turbo dependency, because vp run does not read Turborepo configuration. The warning links to the task and cache guides for manual migration (#3300), by @​voidzero-bot[bot] and @​fengmk2.
  • When vp create adds a third-party template to a monorepo, it rewrites the new package's vite imports to vite-plus, so vp check no longer reports vite-plus/prefer-vite-plus-imports errors there (#3282), by @​voidzero-bot[bot] and @​fengmk2.
  • New monorepos from vp create reference their dependency catalog entries with catalog: and contain no unused entries, and the TypeScript and @types/node catalog versions match the generated packages (#3393), by @​d4rshnn.
  • vp create works in projects pinned to Yarn 1.x: it runs templates with npx --yes, as vp dlx does, because Yarn Classic has no yarn dlx (#3468), by @​jong-kyung.
  • vp env exec --node and vp env pin accept lts/*, lts/<codename>, and lts/-n, as vp env use does. vp env pin lts/* writes the resolved exact version (#3437), by @​jong-kyung.
  • Ctrl+C or SIGTERM during a spinner in vp create and vp migrate ends the command by that signal, so the shell reports 130 or 143 instead of 0, as for the native spinners since 1.6.0. Escape no longer ends the command while a spinner is visible (#3432), by @​jong-kyung.
  • The Vitest resolver that defineConfig adds declares a resolveId filter, so Rolldown builds skip it without a call into JavaScript for imports other than vitest, vitest/*, @vitest/*, and vite-plus/test. A synthetic build with 40,000 resolveId calls and no other work took 1.4 s instead of 1.9 s (#3434), by @​jasonkuhrt.

... (truncated)

Commits
  • a3f54d7 release: v1.7.0 (#3471)
  • 77feb44 feat(lint): replace tsgolint with tsrs-lint (#3352)
  • 60ab6e5 feat(deps): upgrade upstream dependencies (#3470)
  • eb2b757 fix(migrate): keep converted ESLint and Prettier settings when default blocks...
  • 3302ead fix(migrate): keep a published Oxlint plugin's oxlint dependency on rerun (#3...
  • b6d8400 fix(create): fall back to npx for Yarn Classic templates (#3468)
  • 6e81fa6 fix(create): use monorepo dependency catalogs (#3393)
  • 9fc3597 fix(pack): respect envPrefix from the config file (#3454)
  • 4dc066a feat: align the core version with the bundled Vite version (#3317)
  • a25ca09 fix(create): rewrite imports when adding a package to a monorepo (#3282)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vite-plus](https://github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/voidzero-dev/vite-plus/releases)
- [Commits](https://github.com/voidzero-dev/vite-plus/commits/v1.7.0/packages/cli)

---
updated-dependencies:
- dependency-name: vite-plus
  dependency-version: 1.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 20, 2026 09:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 20, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedvite-plus@​1.6.0 ⏵ 1.7.098100100100100

View full report

@socket-security

Copy link
Copy Markdown

Warning

MetaMask internal reviewing guidelines:

  • Do not ignore-all
  • Each alert has instructions on how to review if you don't know what it means. If lost, ask your Security Liaison or the supply-chain group
  • Copy-paste ignore lines for specific packages or a group of one kind with a note on what research you did to deem it safe.
    @SocketSecurity ignore npm/PACKAGE@VERSION
Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Potential code anomaly (AI signal): npm oxfmt is 98.0% likely to have a medium risk anomaly

Notes: This is a parser bundle and shows no evidence of malware, data theft, or external side effects. The provided text contains an apparent unterminated string in Ms, which makes it syntactically invalid and could break module loading; severity is high for availability if the defect exists in the published file. No domains, URLs, IP addresses, file paths, or targeted credentials are present.

Confidence: 0.98

Severity: 0.55

From: package-lock.json → npm/vite-plus@1.7.0 → npm/oxfmt@0.79.0

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/oxfmt@0.79.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants