Skip to content

Commit 0e8c1f7

Browse files
committed
Merge branch 'master' of https://github.com/rollup/rollup into sync-a2744ea5
2 parents 7224f7c + a2744ea commit 0e8c1f7

File tree

8 files changed

+767
-665
lines changed

8 files changed

+767
-665
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Node
3636
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3737
with:
38-
node-version: 24.6.0
38+
node-version: 24.7.0
3939
- name: Install and Cache Node Dependencies
4040
uses: ./.github/actions/install-and-cache-node-deps
4141
- name: Lint
@@ -197,7 +197,7 @@ jobs:
197197
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
198198
if: ${{ !matrix.settings.docker }}
199199
with:
200-
node-version: 24.6.0
200+
node-version: 24.7.0
201201
- name: Install Toolchain
202202
uses: dtolnay/rust-toolchain@stable
203203
if: ${{ !matrix.settings.docker }}
@@ -223,7 +223,7 @@ jobs:
223223
with:
224224
version: 0.14.1
225225
- name: Install cargo-zigbuild
226-
uses: taiki-e/install-action@ad95d4e02e061d4390c4b66ef5ed56c7fee3d2ce # v2.58.17
226+
uses: taiki-e/install-action@c0dee14250395ae6b1754a99f67c1d693138b102 # v2.58.30
227227
if: ${{ matrix.settings.cross == 'zig' }}
228228
env:
229229
GITHUB_TOKEN: ${{ github.token }}
@@ -433,7 +433,7 @@ jobs:
433433
env:
434434
CI: true
435435
- name: Upload coverage
436-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
436+
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
437437
if: matrix.coverage
438438
with:
439439
fail_ci_if_error: true

.github/workflows/performance-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup Node
5252
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5353
with:
54-
node-version: 24.6.0
54+
node-version: 24.7.0
5555
- name: Install and Cache Node Dependencies
5656
uses: ./.github/actions/install-and-cache-node-deps
5757
- name: Build artefacts 123
@@ -93,7 +93,7 @@ jobs:
9393
- name: Setup Node
9494
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
9595
with:
96-
node-version: 24.6.0
96+
node-version: 24.7.0
9797
- name: Install and Cache Node Dependencies
9898
uses: ./.github/actions/install-and-cache-node-deps
9999
- name: Download all artifacts

.github/workflows/repl-artefacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Node
4747
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4848
with:
49-
node-version: 24.6.0
49+
node-version: 24.7.0
5050
- name: Install and Cache Node Dependencies
5151
uses: ./.github/actions/install-and-cache-node-deps
5252
- name: Build artefacts

docs/repl/helpers/query.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export async function useUpdateStoresFromQuery() {
1515
const query = Object.fromEntries(urlParameters as unknown as Iterable<[string, string]>);
1616
try {
1717
if (query.shareable) {
18-
const json = decodeURIComponent(atob(query.shareable));
18+
const rawJson = atob(query.shareable.replace(/_/g, '/').replace(/-/g, '+'));
19+
const json = rawJson.startsWith('%') ? decodeURIComponent(rawJson) : rawJson;
1920
const {
2021
modules: queryModules,
2122
options: queryOptions,
@@ -104,7 +105,7 @@ export function useSyncQueryWithStores() {
104105
options
105106
});
106107

107-
parameters.shareable = btoa(encodeURIComponent(json));
108+
parameters.shareable = btoa(json).replace(/\//g, '_').replace(/\+/g, '-');
108109
const queryString = Object.keys(parameters)
109110
.map(key => `${key}=${parameters[key]}`)
110111
.join('&');

0 commit comments

Comments
 (0)