Skip to content

Commit ccfc0ae

Browse files
committed
Merge branch 'master' of https://github.com/rollup/rollup into sync-bc7780c3
2 parents c2cf822 + bc7780c commit ccfc0ae

File tree

81 files changed

+36690
-28907
lines changed

Some content is hidden

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

81 files changed

+36690
-28907
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# rollup changelog
22

3+
## 4.22.5
4+
5+
_2024-09-27_
6+
7+
### Bug Fixes
8+
9+
- Allow parsing of certain unicode characters again (#5674)
10+
11+
### Pull Requests
12+
13+
- [#5674](https://github.com/rollup/rollup/pull/5674): Fix panic with unicode characters (@sapphi-red, @lukastaegert)
14+
- [#5675](https://github.com/rollup/rollup/pull/5675): chore(deps): update dependency rollup to v4.22.4 [security] (@renovate[bot])
15+
- [#5680](https://github.com/rollup/rollup/pull/5680): chore(deps): update dependency @rollup/plugin-commonjs to v28 (@renovate[bot], @lukastaegert)
16+
- [#5681](https://github.com/rollup/rollup/pull/5681): chore(deps): update dependency @rollup/plugin-replace to v6 (@renovate[bot])
17+
- [#5682](https://github.com/rollup/rollup/pull/5682): chore(deps): update dependency @rollup/plugin-typescript to v12 (@renovate[bot])
18+
- [#5684](https://github.com/rollup/rollup/pull/5684): chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
19+
320
## 4.22.4
421

522
_2024-09-21_

browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rollup/browser",
3-
"version": "4.22.4",
3+
"version": "4.22.5",
44
"description": "Next-generation ES module bundler browser build",
55
"main": "dist/rollup.browser.js",
66
"module": "dist/es/rollup.browser.js",
@@ -20,7 +20,7 @@
2020
},
2121
"homepage": "https://rollupjs.org/",
2222
"dependencies": {
23-
"@types/estree": "1.0.5"
23+
"@types/estree": "1.0.6"
2424
},
2525
"files": [
2626
"dist/**/*.wasm",

cli/run/batchWarnings.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export default function batchWarnings(command: Record<string, any>): BatchWarnin
3232
warningOccurred = true;
3333

3434
if (silent) return;
35-
if (warning.code! in deferredHandlers) {
36-
getOrCreate(deferredWarnings, warning.code!, getNewArray).push(warning);
37-
} else if (warning.code! in immediateHandlers) {
35+
if ((warning.code as string) in deferredHandlers) {
36+
getOrCreate(deferredWarnings, warning.code, getNewArray).push(warning);
37+
} else if ((warning.code as string) in immediateHandlers) {
3838
immediateHandlers[warning.code!](warning);
3939
} else {
4040
title(warning.message);

0 commit comments

Comments
 (0)