Skip to content

Commit 13056cc

Browse files
committed
chore: bump rolldown
1 parent 71862ef commit 13056cc

File tree

5 files changed

+63
-73
lines changed

5 files changed

+63
-73
lines changed

packages/vite/LICENSE.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,21 +1266,6 @@ Repository: git+https://github.com/mcollina/fastq.git
12661266
12671267
---------------------------------------
12681268

1269-
## fdir
1270-
License: MIT
1271-
By: thecodrr
1272-
Repository: git+https://github.com/thecodrr/fdir.git
1273-
1274-
> Copyright 2023 Abdullah Atta
1275-
>
1276-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1277-
>
1278-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1279-
>
1280-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1281-
1282-
---------------------------------------
1283-
12841269
## fill-range
12851270
License: MIT
12861271
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling

packages/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"dependencies": {
8888
"esbuild": "^0.24.0",
8989
"postcss": "^8.4.47",
90-
"rolldown": "https://pkg.pr.new/rolldown@9a0db67",
90+
"rolldown": "https://pkg.pr.new/rolldown@7bc51f0",
9191
"rollup": "^4.22.5"
9292
},
9393
"optionalDependencies": {

packages/vite/src/node/server/pluginContainer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ import {
7373
normalizePath,
7474
numberToPos,
7575
prettifyUrl,
76+
rolldownVersion,
7677
rollupVersion,
7778
timeFrom,
7879
} from '../utils'
@@ -178,6 +179,7 @@ class EnvironmentPluginContainer {
178179
this.minimalContext = {
179180
meta: {
180181
rollupVersion,
182+
rolldownVersion,
181183
watchMode: true,
182184
},
183185
debug: noop,
@@ -539,15 +541,15 @@ class PluginContext implements Omit<RollupPluginContext, 'cache'> {
539541
_activeId: string | null = null
540542
_activeCode: string | null = null
541543
_resolveSkips?: Set<Plugin>
542-
// meta: RollupPluginContext['meta']
544+
meta: RollupPluginContext['meta']
543545
environment: Environment
544546

545547
constructor(
546548
public _plugin: Plugin,
547549
public _container: EnvironmentPluginContainer,
548550
) {
549551
this.environment = this._container.environment
550-
// this.meta = this._container.minimalContext.meta
552+
this.meta = this._container.minimalContext.meta
551553
}
552554

553555
parse(code: string, opts: any) {

packages/vite/src/node/utils.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ const _require = createRequire(import.meta.url)
145145

146146
const _dirname = path.dirname(fileURLToPath(import.meta.url))
147147

148-
// NOTE: we don't use VERSION variable exported from rollup to avoid importing rollup in dev
149-
export const rollupVersion =
148+
// https://github.com/rolldown/rolldown/blob/7bc51f099a916dbe31bc0582995c58cf0d0f8924/packages/rolldown/src/log/logger.ts#L67
149+
export const rollupVersion = '4.23.0'
150+
151+
// NOTE: we don't use VERSION variable exported from rolldown to avoid importing rolldown in dev
152+
export const rolldownVersion =
150153
resolvePackageData('rolldown', _dirname, true)?.data.version ?? ''
151154

152155
// set in bin/vite.js

pnpm-lock.yaml

Lines changed: 53 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)