Skip to content

Commit 28ee33d

Browse files
committed
Merge branch 'main' into revert-15196-corepack-bullshit
2 parents 0482fe3 + e2bbc56 commit 28ee33d

File tree

144 files changed

+2779
-1585
lines changed

Some content is hidden

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

144 files changed

+2779
-1585
lines changed

.changeset/serious-glasses-kiss.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212

1313
jobs:
1414
Tests:
15+
permissions: {}
1516
runs-on: ${{ matrix.os }}
1617
timeout-minutes: 15
1718
strategy:
@@ -41,6 +42,7 @@ jobs:
4142
env:
4243
CI: true
4344
Lint:
45+
permissions: {}
4446
runs-on: ubuntu-latest
4547
timeout-minutes: 5
4648
steps:
@@ -61,6 +63,7 @@ jobs:
6163
if: (${{ success() }} || ${{ failure() }}) # ensures this step runs even if previous steps fail
6264
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally with `cd packages/svelte && pnpm generate:types` and commit the changes after you have reviewed them"; git diff; exit 1); }
6365
Benchmarks:
66+
permissions: {}
6467
runs-on: ubuntu-latest
6568
timeout-minutes: 15
6669
steps:

.github/workflows/ecosystem-ci-trigger.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.repository == 'sveltejs/svelte' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ecosystem-ci run')
1111
steps:
12+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1213
- uses: actions/github-script@v6
1314
with:
1415
script: |

.github/workflows/pkg.pr.new-comment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
name: 'Update comment'
1212
runs-on: ubuntu-latest
1313
steps:
14+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1415
- name: Download artifact
1516
uses: actions/download-artifact@v4
1617
with:

.github/workflows/pkg.pr.new.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: [push, pull_request]
33

44
jobs:
55
build:
6+
permissions: {}
7+
68
runs-on: ubuntu-latest
79

810
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
steps:
20+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2021
- name: Checkout Repo
2122
uses: actions/checkout@v4
2223
with:

benchmarking/benchmarks/reactivity/kairo/kairo_avoidable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ function setup() {
2020
return {
2121
destroy,
2222
run() {
23-
$.flush_sync(() => {
23+
$.flush(() => {
2424
$.set(head, 1);
2525
});
2626
assert($.get(computed5) === 6);
2727
for (let i = 0; i < 1000; i++) {
28-
$.flush_sync(() => {
28+
$.flush(() => {
2929
$.set(head, i);
3030
});
3131
assert($.get(computed5) === 6);

benchmarking/benchmarks/reactivity/kairo/kairo_broad.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ function setup() {
2525
return {
2626
destroy,
2727
run() {
28-
$.flush_sync(() => {
28+
$.flush(() => {
2929
$.set(head, 1);
3030
});
3131
counter = 0;
3232
for (let i = 0; i < 50; i++) {
33-
$.flush_sync(() => {
33+
$.flush(() => {
3434
$.set(head, i);
3535
});
3636
assert($.get(last) === i + 50);

benchmarking/benchmarks/reactivity/kairo/kairo_deep.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ function setup() {
2525
return {
2626
destroy,
2727
run() {
28-
$.flush_sync(() => {
28+
$.flush(() => {
2929
$.set(head, 1);
3030
});
3131
counter = 0;
3232
for (let i = 0; i < iter; i++) {
33-
$.flush_sync(() => {
33+
$.flush(() => {
3434
$.set(head, i);
3535
});
3636
assert($.get(current) === len + i);

benchmarking/benchmarks/reactivity/kairo/kairo_diamond.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ function setup() {
2828
return {
2929
destroy,
3030
run() {
31-
$.flush_sync(() => {
31+
$.flush(() => {
3232
$.set(head, 1);
3333
});
3434
assert($.get(sum) === 2 * width);
3535
counter = 0;
3636
for (let i = 0; i < 500; i++) {
37-
$.flush_sync(() => {
37+
$.flush(() => {
3838
$.set(head, i);
3939
});
4040
assert($.get(sum) === (i + 1) * width);

0 commit comments

Comments
 (0)