Commit Graph

4909 Commits

Author SHA1 Message Date
Evan You
c7bc8e701a
docs: use search-only key 2024-09-27 12:57:33 +09:00
sapphi-red
45b8644543
release: v3.2.11 2024-09-17 16:32:23 +09:00
sapphi-red
5d1d81ec83 fix(importAnalysis): backport #13712, strip url base before passing as safeModulePaths 2024-09-17 09:17:14 +02:00
patak-dev
7d78ae7b53 test: avoid joinUrlSegments, align with prev test 2024-09-17 09:17:14 +02:00
patak-dev
3192244ce0 chore: update to pnpm/action-setup v4 2024-09-17 09:17:14 +02:00
jackfromeast
2ddd8541ec fix: backport #18115, DOM Clobbering in 2024-09-17 09:17:14 +02:00
patak-dev
a6da45082b fix: backport #18112, fs raw query 2024-09-17 09:17:14 +02:00
sapphi-red
1a8728f8df release: v3.2.10 2024-03-24 23:56:02 +09:00
sapphi-red
78467746c3 chore: fix publish 2024-03-24 23:55:41 +09:00
sapphi-red
5910f13ee2 release: v3.2.9 2024-03-24 23:53:09 +09:00
翠 / green
eda4df3b0f
chore: use @vitejs/release-scripts in v3 (#16255) 2024-03-24 23:41:50 +09:00
翠 / green
89c7c645f0
fix: port #16250 to v3 (#16253) 2024-03-24 23:41:19 +09:00
patak
8352b75463 release: v3.2.8 2024-01-19 15:04:46 +01:00
patak
99080ca3e6
fix: port #15653 to v3 (#15655) 2024-01-19 14:31:10 +01:00
patak
494f36b667 release: v3.2.7 2023-05-26 13:05:22 +02:00
patak
0574f80751
fix: port #13348 to v3, fs.deny with leading double slash (#13349) 2023-05-26 12:58:38 +02:00
patak
f4947603ac release: v3.2.6 2023-04-18 11:33:22 +02:00
patak
b48ac2a618
fix: escape msg in render restricted error html, backport (#12889) (#12892) 2023-04-18 11:32:25 +02:00
patak
77ee19b7cc release: v3.2.5 2022-12-05 09:38:32 +01:00
Bjorn Lu
eba9b423ff
chore: cherry pick more v4 bug fixes to v3 (#11189)
* fix: glob import parsing (#10949) (#11056)

closes https://github.com/vitejs/vite/issues/10949
closes https://github.com/vitejs/vite/pull/11051

* fix: import.meta.env and process.env undefined variable replacement (fix #8663) (#10958)

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
fix https://github.com/vitejs/vite/issues/8663

* fix(esbuild): handle inline sourcemap option (#11120)

* fix(importGlob): preserve line count for sourcemap (#11122)

* fix: Dev SSR dep optimization + respect optimizeDeps.include (#11123)

* fix: reset global regex before match (#11132)

* chore: fix test

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: julienv3 <julienv3@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
2022-12-05 09:33:07 +01:00
Bjorn Lu
c93a5269fb
chore: cherry pick v4 bug fix to v3 (#11110)
* fix(config): exclude config.assetsInclude empty array (#10941)

fixes https://github.com/vitejs/vite/issues/10926

* feat(css): upgrade postcss-modules (#10987)

* fix(mpa): support mpa fallback (#10985)

fixes https://github.com/vitejs/vite/issues/10966

* fix: export preprocessCSS in CJS (#11067)

* chore: update license

Co-authored-by: sun0day <sun_day500@163.com>
Co-authored-by: Jason Quense <monastic.panic@gmail.com>
Co-authored-by: sun0day <ivan.xu@applovin.com>
2022-11-30 07:00:14 +01:00
Leon Heess
bc3b5a9449
fix: relocated logger to respect config. (#10787) (#10967)
Co-authored-by: Aaron Cordova <theqodesmith@gmail.com>
2022-11-17 13:00:50 +01:00
patak
970538c9ce release: v3.2.4 2022-11-15 14:52:02 +01:00
Bjorn Lu
7f59dcfae8
fix(ssr): skip optional peer dep resolve (v3) (#10593) (#10931)
fix(ssr): skip optional peer dep resolve (#10593)
2022-11-15 08:38:55 +01:00
Bjorn Lu
3ba45b9a19
fix: prevent cache on optional package resolve (v3) (#10812) (#10845) 2022-11-09 10:36:04 +01:00
patak
d9f6dc0ecf release: create-vite@3.2.1 2022-11-07 09:27:06 +01:00
patak
836285e00d release: plugin-legacy@2.3.1 2022-11-07 09:26:34 +01:00
patak
840d6404c2 release: plugin-vue-jsx@2.1.1 2022-11-07 09:25:10 +01:00
patak
ce4c8d4537 release: v3.2.3 2022-11-07 09:24:28 +01:00
翠 / green
8ea71b4453
refactor: change style.innerHTML to style.textContent (#10801) 2022-11-06 14:30:33 +01:00
Carlos Morales
96bd10a602
docs: add note to use dotenv-expand (#10440) (#10798) 2022-11-06 13:47:12 +01:00
Haoqun Jiang
57916a4769
fix: add @types/node as an optional peer dependency (#10757)
The built bundle of Vite starts with a reference to `node` types:
https://unpkg.com/browse/vite@3.2.2/dist/node/index.d.ts

This means those who depend on Vite type definitions should install
`@types/node` in their projects to successfully do type-checking.
In that sense, `@types/node` is an optional peer dependency of Vite.

After this being fixed, we should revert https://github.com/vitejs/vite-ecosystem-ci/pull/85 because not explicitly depending on
`@types/node` *should* be erroneous. The ecosystem CI shouldn't cover
that error for downstream packages.
2022-11-04 06:43:19 +01:00
Espen Hovlandsdal
1f57f84321
feat: add vite:afterUpdate event (#9810) 2022-11-03 20:05:53 +01:00
Mark Ladyshau
51ed05915a
perf: improve multilineCommentsRE regex (fix #10689) (#10751) 2022-11-03 07:35:25 +00:00
翠 / green
4a392f0c3b
test: fix ssr-vue server.js / prerender.js (#10554) 2022-11-03 13:16:32 +08:00
Arnaud Barré
f199e90467
perf: Use only one ps exec to find a Chromium browser opened on Mac OS (#10588) 2022-11-02 17:19:51 +01:00
Candy
c53ffec346
fix: transform import.meta.glob when scan JS/TS #10634 (#10635) 2022-11-01 10:02:50 +01:00
翠 / green
fa2e47fe05
fix(css): url() with variable in sass/less (fixes #3644, #7651) (#10741)
Co-authored-by: frank <frank@hebingjundeMacBook-Pro.local>
2022-11-01 10:01:41 +01:00
翠 / green
1358a3c75b
chore: fix dev build replacing undefined (#10740) 2022-10-31 16:15:38 +01:00
翠 / green
ee8c7a6cba
chore: remove non used type definitions (#10738) 2022-10-31 14:57:02 +01:00
renovate[bot]
cc4be70b7f
chore(deps): update dependency @rollup/plugin-commonjs to v23 (#10611) 2022-10-31 11:53:08 +01:00
renovate[bot]
326f782fd8
chore(deps): update dependency @rollup/plugin-dynamic-import-vars to v2 (#10726) 2022-10-31 09:34:08 +01:00
patak
65d69b4629 release: v3.2.2 2022-10-31 09:32:12 +01:00
renovate[bot]
22cfad87c8
chore(deps): update all non-major dependencies (#10725) 2022-10-31 07:48:30 +01:00
Kazuma Oe
e8eb67a6ae
fix(create-vite): add rel="noreferrer" to elements with target="_blank" (#10675) 2022-10-30 16:17:53 +01:00
翠 / green
aacf6a436c
fix: tsconfig jsx overrides esbuild options, reverts #10374 (#10714) 2022-10-30 15:19:22 +01:00
翠 / green
0ee800f927
chore: remove src/client from package (#10703) 2022-10-29 16:14:29 +02:00
翠 / green
816842e80e
chore: remove src/client from package (#10703) 2022-10-29 16:14:09 +02:00
翠 / green
eb50e3a06f
fix: remove loaded input sourcemap (fixes #8411) (#10705) 2022-10-29 16:11:55 +02:00
翠 / green
cab9f19565
test: remove console.log (#10704) 2022-10-29 11:27:35 +00:00