diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..be006de --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# Keep GitHub Actions up to date with GitHub's Dependabot... +# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + groups: + github-actions: + patterns: + - "*" # Group all Actions updates into a single larger pull request + schedule: + interval: weekly diff --git a/src/system.ts b/src/system.ts index 2ad4732..13ab580 100644 --- a/src/system.ts +++ b/src/system.ts @@ -223,9 +223,12 @@ export function createReactiveSystem({ continue; } - if (!dirty && link.nextDep !== undefined) { - link = link.nextDep; - continue; + if (!dirty) { + const nextDep = link.nextDep; + if (nextDep !== undefined) { + link = nextDep; + continue; + } } while (checkDepth) {