Skip to content

Commit baf0975

Browse files
committed
docs(en): merging all conflicts
2 parents 467f961 + 0f20524 commit baf0975

File tree

419 files changed

+96335
-1855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

419 files changed

+96335
-1855
lines changed

.github/workflows/build-and-tests.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ jobs:
339339
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
340340
restore-keys: node-modules-${{ runner.os }}
341341
- name: Build
342-
uses: cross-platform-actions/action@v0.26.0
342+
uses: cross-platform-actions/action@v0.27.0
343343
with:
344344
operating_system: ${{ matrix.settings.name }}
345345
architecture: ${{ matrix.settings.architecture }}
@@ -391,10 +391,11 @@ jobs:
391391
# - arch: armv7
392392
# distro: alpine_latest
393393
# target: armv7-unknown-linux-musleabihf
394-
- arch: ppc64le
395-
distro: ubuntu_latest
396-
target: powerpc64le-unknown-linux-gnu
397-
use-nvm: true
394+
# This one has become very flaky as of late
395+
# - arch: ppc64le
396+
# distro: ubuntu_latest
397+
# target: powerpc64le-unknown-linux-gnu
398+
# use-nvm: true
398399
- arch: s390x
399400
distro: ubuntu_latest
400401
target: s390x-unknown-linux-gnu

CHANGELOG.md

+59
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
# rollup changelog
22

3+
## 4.34.1
4+
5+
_2025-02-03_
6+
7+
### Bug Fixes
8+
9+
- Ensure throwing objects includes the entire object (#5825)
10+
11+
### Pull Requests
12+
13+
- [#5825](https://github.com/rollup/rollup/pull/5825): Ensure that all properties of throw statements are included (@lukastaegert)
14+
15+
## 4.34.0
16+
17+
_2025-02-01_
18+
19+
### Features
20+
21+
- Tree-shake unused properties in object literals (re-implements #5420) (#5737)
22+
23+
### Pull Requests
24+
25+
- [#5737](https://github.com/rollup/rollup/pull/5737): Reapply object tree-shaking (@lukastaegert, @TrickyPi)
26+
27+
## 4.33.0
28+
29+
_2025-02-01_
30+
31+
### Features
32+
33+
- Correctly detect literal value of more negated expressions (#5812)
34+
35+
### Bug Fixes
36+
37+
- Use the correct with/assert attribute key in dynamic imports (#5818)
38+
- Fix an issue where logical expressions were considered to have the wrong value (#5819)
39+
40+
### Pull Requests
41+
42+
- [#5812](https://github.com/rollup/rollup/pull/5812): feat: optimize the literal value of unary expressions (@TrickyPi)
43+
- [#5816](https://github.com/rollup/rollup/pull/5816): fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
44+
- [#5817](https://github.com/rollup/rollup/pull/5817): fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
45+
- [#5818](https://github.com/rollup/rollup/pull/5818): support for changing the attributes key for dynamic imports (@TrickyPi)
46+
- [#5819](https://github.com/rollup/rollup/pull/5819): Return UnknownValue if getLiteralValueAtPath is called recursively within logical expressions (@TrickyPi)
47+
- [#5820](https://github.com/rollup/rollup/pull/5820): return null (@kingma-sbw)
48+
49+
## 4.32.1
50+
51+
_2025-01-28_
52+
53+
### Bug Fixes
54+
55+
- Fix possible crash when optimizing logical expressions (#5804)
56+
57+
### Pull Requests
58+
59+
- [#5804](https://github.com/rollup/rollup/pull/5804): fix: set hasDeoptimizedCache to true as early as possible (@TrickyPi)
60+
- [#5813](https://github.com/rollup/rollup/pull/5813): Fix typo (@kantuni)
61+
362
## 4.32.0
463

564
_2025-01-24_

browser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rollup/browser",
3-
"version": "4.32.0",
3+
"version": "4.34.1",
44
"description": "Next-generation ES module bundler browser build",
55
"main": "dist/rollup.browser.js",
66
"module": "dist/es/rollup.browser.js",

docs/configuration-options/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,13 @@ import { fileURLToPath } from 'node:url';
129129
export default {
130130
input: Object.fromEntries(
131131
globSync('src/**/*.js').map(file => [
132+
<<<<<<< HEAD
132133
// 这里将删除 `src/` 以及每个文件的扩展名。
133134
// 因此,例如 src/nested/foo.js 会变成 nested/foo
135+
=======
136+
// This removes `src/` as well as the file extension from each
137+
// file, so e.g. src/nested/foo.js becomes nested/foo
138+
>>>>>>> 0f20524ad9ecd166a900d43af93f05a3405d2a45
134139
path.relative(
135140
'src',
136141
file.slice(0, file.length - path.extname(file).length)
@@ -1465,6 +1470,8 @@ function manualChunks(id) {
14651470
if (id.includes('node_modules')) {
14661471
return 'vendor';
14671472
}
1473+
1474+
return null;
14681475
}
14691476
```
14701477

0 commit comments

Comments
 (0)