diff --git a/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx b/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx index 87b5a3887e7..192cf5d5be8 100755 --- a/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx +++ b/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx @@ -2,10 +2,10 @@ # Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml"). # This file should be checked into version control along with the pnpm-lock.yaml file. .npmrc=-1406867100 -package.json=1434564697 +package.json=1018026525 packages/compiler-cli/package.json=571832290 packages/compiler/package.json=-426903429 -pnpm-lock.yaml=1632942790 +pnpm-lock.yaml=-1224367017 pnpm-workspace.yaml=353334404 tools/bazel/rules_angular_store/package.json=-239561259 -yarn.lock=-428491504 +yarn.lock=551844770 diff --git a/.github/actions/deploy-docs-site/main.js b/.github/actions/deploy-docs-site/main.js index 835255aef01..782846f03ee 100644 --- a/.github/actions/deploy-docs-site/main.js +++ b/.github/actions/deploy-docs-site/main.js @@ -17907,8 +17907,7 @@ var require_anchors = __commonJS({ return { onAnchor: (source) => { aliasObjects.push(source); - if (!prevAnchors) - prevAnchors = anchorNames(doc); + prevAnchors ?? (prevAnchors = anchorNames(doc)); const anchor = findNewAnchor(prefix, prevAnchors); prevAnchors.add(anchor); return anchor; @@ -18073,23 +18072,35 @@ var require_Alias = __commonJS({ } }); } - resolve(doc) { + resolve(doc, ctx) { + let nodes; + if (ctx?.aliasResolveCache) { + nodes = ctx.aliasResolveCache; + } else { + nodes = []; + visit.visit(doc, { + Node: (_key, node) => { + if (identity.isAlias(node) || identity.hasAnchor(node)) + nodes.push(node); + } + }); + if (ctx) + ctx.aliasResolveCache = nodes; + } let found = void 0; - visit.visit(doc, { - Node: (_key, node) => { - if (node === this) - return visit.visit.BREAK; - if (node.anchor === this.source) - found = node; - } - }); + for (const node of nodes) { + if (node === this) + break; + if (node.anchor === this.source) + found = node; + } return found; } toJSON(_arg, ctx) { if (!ctx) return { source: this.source }; const { anchors: anchors2, doc, maxAliasCount } = ctx; - const source = this.resolve(doc); + const source = this.resolve(doc, ctx); if (!source) { const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`; throw new ReferenceError(msg); @@ -18218,8 +18229,7 @@ var require_createNode = __commonJS({ if (aliasDuplicateObjects && value && typeof value === "object") { ref = sourceObjects.get(value); if (ref) { - if (!ref.anchor) - ref.anchor = onAnchor(value); + ref.anchor ?? (ref.anchor = onAnchor(value)); return new Alias.Alias(ref.anchor); } else { ref = { anchor: null, node: null }; @@ -18750,7 +18760,7 @@ ${indent}${start}${value}${end}`; if (implicitKey && value.includes("\n") || inFlow && /[[\]{},]/.test(value)) { return quotedString(value, ctx); } - if (!value || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) { + if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) { return implicitKey || inFlow || !value.includes("\n") ? quotedString(value, ctx) : blockString(item, ctx, onComment, onChompKeep); } if (!implicitKey && !inFlow && type !== Scalar.Scalar.PLAIN && value.includes("\n")) { @@ -18882,7 +18892,7 @@ var require_stringify = __commonJS({ tagObj = tags.find((t) => t.nodeClass && obj instanceof t.nodeClass); } if (!tagObj) { - const name = obj?.constructor?.name ?? typeof obj; + const name = obj?.constructor?.name ?? (obj === null ? "null" : typeof obj); throw new Error(`Tag not resolved for ${name} value`); } return tagObj; @@ -18896,7 +18906,7 @@ var require_stringify = __commonJS({ anchors$1.add(anchor); props.push(`&${anchor}`); } - const tag = node.tag ? node.tag : tagObj.default ? null : tagObj.tag; + const tag = node.tag ?? (tagObj.default ? null : tagObj.tag); if (tag) props.push(doc.directives.tagString(tag)); return props.join(" "); @@ -18919,8 +18929,7 @@ var require_stringify = __commonJS({ } let tagObj = void 0; const node = identity.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o }); - if (!tagObj) - tagObj = getTagObject(ctx.doc.schema.tags, node); + tagObj ?? (tagObj = getTagObject(ctx.doc.schema.tags, node)); const props = stringifyProps(node, tagObj, ctx); if (props.length > 0) ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1; @@ -19072,7 +19081,7 @@ ${ctx.indent}`; var require_log = __commonJS({ ""(exports) { "use strict"; - var node_process = __require("node:process"); + var node_process = __require("process"); function debug(logLevel, ...messages) { if (logLevel === "debug") console.log(...messages); @@ -19941,7 +19950,7 @@ var require_schema2 = __commonJS({ var require_binary = __commonJS({ ""(exports) { "use strict"; - var node_buffer = __require("node:buffer"); + var node_buffer = __require("buffer"); var Scalar = require_Scalar(); var stringifyString = require_stringifyString(); var binary = { @@ -19977,8 +19986,7 @@ var require_binary = __commonJS({ } else { throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required"); } - if (!type) - type = Scalar.Scalar.BLOCK_LITERAL; + type ?? (type = Scalar.Scalar.BLOCK_LITERAL); if (type !== Scalar.Scalar.QUOTE_DOUBLE) { const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth); const n = Math.ceil(str.length / lineWidth); @@ -21102,8 +21110,7 @@ var require_resolve_props = __commonJS({ if (token.source.endsWith(":")) onError(token.offset + token.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", true); anchor = token; - if (start === null) - start = token.offset; + start ?? (start = token.offset); atNewline = false; hasSpace = false; reqSpace = true; @@ -21112,8 +21119,7 @@ var require_resolve_props = __commonJS({ if (tag) onError(token, "MULTIPLE_TAGS", "A node can have at most one tag"); tag = token; - if (start === null) - start = token.offset; + start ?? (start = token.offset); atNewline = false; hasSpace = false; reqSpace = true; @@ -22176,8 +22182,7 @@ var require_util_empty_scalar_position = __commonJS({ "use strict"; function emptyScalarPosition(offset, before, pos) { if (before) { - if (pos === null) - pos = before.length; + pos ?? (pos = before.length); for (let i = pos - 1; i >= 0; --i) { let st = before[i]; switch (st.type) { @@ -22349,7 +22354,7 @@ var require_compose_doc = __commonJS({ var require_composer = __commonJS({ ""(exports) { "use strict"; - var node_process = __require("node:process"); + var node_process = __require("process"); var directives = require_directives(); var Document = require_Document(); var errors = require_errors(); @@ -23547,7 +23552,7 @@ var require_line_counter = __commonJS({ var require_parser = __commonJS({ ""(exports) { "use strict"; - var node_process = __require("node:process"); + var node_process = __require("process"); var cst = require_cst(); var lexer = require_lexer(); function includesToken(list, type) { diff --git a/.github/actions/saucelabs-legacy/action.yml b/.github/actions/saucelabs-legacy/action.yml index 8a08e350f67..51cc8023b16 100644 --- a/.github/actions/saucelabs-legacy/action.yml +++ b/.github/actions/saucelabs-legacy/action.yml @@ -5,9 +5,9 @@ runs: using: 'composite' steps: - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Saucelabs Variables - uses: angular/dev-infra/github-actions/saucelabs@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/saucelabs@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Starting Saucelabs tunnel service shell: bash run: ./tools/saucelabs/sauce-service.sh run & diff --git a/.github/workflows/adev-preview-build.yml b/.github/workflows/adev-preview-build.yml index ddeafa129ca..0afe65c4d9a 100644 --- a/.github/workflows/adev-preview-build.yml +++ b/.github/workflows/adev-preview-build.yml @@ -21,16 +21,16 @@ jobs: (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview')) steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - name: Build adev to ensure it continues to work run: yarn bazel build //adev:build --full_build_adev --config=release - - uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: workflow-artifact-name: 'adev-preview' pull-number: '${{github.event.pull_request.number}}' diff --git a/.github/workflows/adev-preview-deploy.yml b/.github/workflows/adev-preview-deploy.yml index 9e45c9601a2..856bd4f02ed 100644 --- a/.github/workflows/adev-preview-deploy.yml +++ b/.github/workflows/adev-preview-deploy.yml @@ -40,7 +40,7 @@ jobs: npx -y firebase-tools@latest target:clear --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs npx -y firebase-tools@latest target:apply --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs ${{env.PREVIEW_SITE}} - - uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: github-token: '${{secrets.GITHUB_TOKEN}}' workflow-artifact-name: 'adev-preview' diff --git a/.github/workflows/assistant-to-the-branch-manager.yml b/.github/workflows/assistant-to-the-branch-manager.yml index 1213428c74d..a0ca64ccef5 100644 --- a/.github/workflows/assistant-to-the-branch-manager.yml +++ b/.github/workflows/assistant-to-the-branch-manager.yml @@ -16,6 +16,6 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - - uses: angular/dev-infra/github-actions/branch-manager@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/branch-manager@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/benchmark-compare.yml b/.github/workflows/benchmark-compare.yml index 649b0260176..abf5ddc6e71 100644 --- a/.github/workflows/benchmark-compare.yml +++ b/.github/workflows/benchmark-compare.yml @@ -38,7 +38,7 @@ jobs: - uses: ./.github/actions/yarn-install - - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: bazelrc: ./.bazelrc.user diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2200e01e6e8..8289c1381b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Install node modules @@ -41,13 +41,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }} - name: Install node modules @@ -61,13 +61,13 @@ jobs: runs-on: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }} - name: Install node modules @@ -79,13 +79,13 @@ jobs: runs-on: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }} - name: Install node modules @@ -98,11 +98,11 @@ jobs: labels: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }} - name: Install node modules @@ -117,13 +117,13 @@ jobs: labels: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials @@ -135,7 +135,7 @@ jobs: labels: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true node-module-directories: | @@ -143,9 +143,9 @@ jobs: ./packages/zone.js/node_modules ./packages/zone.js/test/typings/node_modules - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }} - name: Install node modules @@ -184,7 +184,7 @@ jobs: SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }} steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Install node modules @@ -197,11 +197,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - name: Build adev to ensure it continues to work diff --git a/.github/workflows/dev-infra.yml b/.github/workflows/dev-infra.yml index 4b294c9e110..3fb2431fb4a 100644 --- a/.github/workflows/dev-infra.yml +++ b/.github/workflows/dev-infra.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: angular/dev-infra/github-actions/commit-message-based-labels@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/commit-message-based-labels@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} post_approval_changes: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: angular/dev-infra/github-actions/post-approval-changes@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/post-approval-changes@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/google-internal-tests.yml b/.github/workflows/google-internal-tests.yml index fda94554fac..acff171803d 100644 --- a/.github/workflows/google-internal-tests.yml +++ b/.github/workflows/google-internal-tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: angular/dev-infra/github-actions/google-internal-tests@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/google-internal-tests@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: run-tests-guide-url: http://go/angular-g3sync-start github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 5f79b4f6ef1..9379d418eed 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -13,17 +13,17 @@ jobs: JOBS: 2 steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Install node modules run: yarn install --frozen-lockfile - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Saucelabs Variables - uses: angular/dev-infra/github-actions/saucelabs@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/saucelabs@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Set up Sauce Tunnel Daemon run: yarn bazel run //tools/saucelabs-daemon/background-service -- $JOBS & env: diff --git a/.github/workflows/merge-ready-status.yml b/.github/workflows/merge-ready-status.yml index e05955f2e16..2d4c889c46a 100644 --- a/.github/workflows/merge-ready-status.yml +++ b/.github/workflows/merge-ready-status.yml @@ -9,6 +9,6 @@ jobs: status: runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/unified-status-check@0823edf256e181000db928a26c9de656a6a3d203 + - uses: angular/dev-infra/github-actions/unified-status-check@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 6983feccaef..219981dbca6 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -21,7 +21,7 @@ jobs: workflows: ${{ steps.workflows.outputs.workflows }} steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn -s install --frozen-lockfile - id: workflows @@ -36,9 +36,9 @@ jobs: workflow: ${{ fromJSON(needs.list.outputs.workflows) }} steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn -s install --frozen-lockfile # We utilize the google-github-actions/auth action to allow us to get an active credential using workflow diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4513dfe6a5c..d45c1ee4f9a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Install node modules @@ -39,7 +39,7 @@ jobs: - name: Check code format run: yarn ng-dev format changed --check ${{ github.event.pull_request.base.sha }} - name: Check Package Licenses - uses: angular/dev-infra/github-actions/linting/licenses@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/linting/licenses@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: allow-dependencies-licenses: 'pkg:npm/google-protobuf@' @@ -47,13 +47,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - name: Run unit tests @@ -65,13 +65,13 @@ jobs: runs-on: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile --network-timeout 100000 - name: Run CI tests for framework @@ -91,13 +91,13 @@ jobs: runs-on: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile --network-timeout 100000 - name: Run integration CI tests for framework @@ -109,13 +109,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel Remote Caching - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile --network-timeout 100000 - name: Build artifacts @@ -131,11 +131,11 @@ jobs: labels: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - name: Run tests @@ -148,7 +148,7 @@ jobs: labels: ubuntu-latest-4core steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true node-module-directories: | @@ -156,9 +156,9 @@ jobs: ./packages/zone.js/node_modules ./packages/zone.js/test/typings/node_modules - name: Setup Bazel - uses: angular/dev-infra/github-actions/bazel/setup@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/setup@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Setup Bazel RBE - uses: angular/dev-infra/github-actions/bazel/configure-remote@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/bazel/configure-remote@4d867b54b0a8b4a5a5b1aafc826098546d715148 - name: Install node modules run: yarn install --frozen-lockfile - run: | @@ -195,7 +195,7 @@ jobs: SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }} steps: - name: Initialize environment - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0823edf256e181000db928a26c9de656a6a3d203 + uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@4d867b54b0a8b4a5a5b1aafc826098546d715148 with: cache-node-modules: true - name: Install node modules diff --git a/WORKSPACE b/WORKSPACE index e5d282c5cd7..c51c93dbfe0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -258,7 +258,7 @@ yarn_install( git_repository( name = "devinfra", - commit = "90560ac34ffbb40189d98d8e54110e9c43575761", + commit = "4d867b54b0a8b4a5a5b1aafc826098546d715148", remote = "https://github.com/angular/dev-infra.git", ) diff --git a/package.json b/package.json index f4d5eaf668a..be238dcd882 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "@actions/github": "^6.0.0", "@angular-devkit/architect-cli": "0.2000.0-rc.2", "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#5db176c0f3211663830fd3ff4064c1dff0eaccb4", - "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#8225f7c340e6d66fd3822ea0f3042797755f9d0a", + "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#11b4744f3e0ecd5b6d9d6f719de17f34efef72c9", "@babel/plugin-proposal-async-generator-functions": "7.20.7", "@bazel/bazelisk": "^1.7.5", "@bazel/buildifier": "^8.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3d7e2c46677..b0964b7d0ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -352,8 +352,8 @@ importers: specifier: https://github.com/angular/dev-infra-private-build-tooling-builds.git#5db176c0f3211663830fd3ff4064c1dff0eaccb4 version: github.com/angular/dev-infra-private-build-tooling-builds/5db176c0f3211663830fd3ff4064c1dff0eaccb4(@angular/ssr@20.0.0-rc.2)(chokidar@4.0.3)(karma-chrome-launcher@3.2.0)(karma-firefox-launcher@2.1.3)(karma-jasmine@5.1.0)(karma-requirejs@1.1.0)(karma-sourcemap-loader@0.4.0)(karma@6.4.4)(rxjs@7.8.2)(terser@5.39.1)(tsx@4.19.4) '@angular/ng-dev': - specifier: https://github.com/angular/dev-infra-private-ng-dev-builds.git#8225f7c340e6d66fd3822ea0f3042797755f9d0a - version: github.com/angular/dev-infra-private-ng-dev-builds/8225f7c340e6d66fd3822ea0f3042797755f9d0a + specifier: https://github.com/angular/dev-infra-private-ng-dev-builds.git#11b4744f3e0ecd5b6d9d6f719de17f34efef72c9 + version: github.com/angular/dev-infra-private-ng-dev-builds/11b4744f3e0ecd5b6d9d6f719de17f34efef72c9 '@babel/plugin-proposal-async-generator-functions': specifier: 7.20.7 version: 7.20.7(@babel/core@7.27.1) @@ -10078,7 +10078,7 @@ packages: winston: 3.17.0 winston-transport: 4.9.0 ws: 7.5.10 - yaml: 2.7.1 + yaml: 2.8.0 zod: 3.24.4 zod-to-json-schema: 3.24.5(zod@3.24.4) transitivePeerDependencies: @@ -13869,7 +13869,7 @@ packages: /openapi3-ts@3.2.0: resolution: {integrity: sha512-/ykNWRV5Qs0Nwq7Pc0nJ78fgILvOT/60OxEmB3v7yQ8a8Bwcm43D4diaYazG/KBn6czA+52XYy931WFLMCUeSg==, tarball: https://registry.npmjs.org/openapi3-ts/-/openapi3-ts-3.2.0.tgz} dependencies: - yaml: 2.7.1 + yaml: 2.8.0 dev: true /opener@1.5.2: @@ -14185,7 +14185,7 @@ packages: semver: 7.7.2 slash: 2.0.0 tmp: 0.0.33 - yaml: 2.7.1 + yaml: 2.8.0 dev: true /path-case@3.0.4: @@ -18598,9 +18598,9 @@ packages: resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==, tarball: https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz} engines: {node: '>=18'} - /yaml@2.7.1: - resolution: {integrity: sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==, tarball: https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz} - engines: {node: '>= 14'} + /yaml@2.8.0: + resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==, tarball: https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz} + engines: {node: '>= 14.6'} hasBin: true dev: true @@ -18791,10 +18791,10 @@ packages: - zone.js dev: true - github.com/angular/dev-infra-private-ng-dev-builds/8225f7c340e6d66fd3822ea0f3042797755f9d0a: - resolution: {tarball: https://codeload.github.com/angular/dev-infra-private-ng-dev-builds/tar.gz/8225f7c340e6d66fd3822ea0f3042797755f9d0a} + github.com/angular/dev-infra-private-ng-dev-builds/11b4744f3e0ecd5b6d9d6f719de17f34efef72c9: + resolution: {tarball: https://codeload.github.com/angular/dev-infra-private-ng-dev-builds/tar.gz/11b4744f3e0ecd5b6d9d6f719de17f34efef72c9} name: '@angular/ng-dev' - version: 0.0.0-0823edf256e181000db928a26c9de656a6a3d203 + version: 0.0.0-4d867b54b0a8b4a5a5b1aafc826098546d715148 hasBin: true dependencies: '@google-cloud/spanner': 7.21.0(supports-color@10.0.0) @@ -18808,7 +18808,7 @@ packages: typed-graphqlify: 3.1.6 typescript: 4.9.5 which: 5.0.0 - yaml: 2.7.1 + yaml: 2.8.0 transitivePeerDependencies: - encoding dev: true diff --git a/yarn.lock b/yarn.lock index 74cc7200397..26c6ce9ad6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -466,9 +466,10 @@ dependencies: tslib "^2.3.0" -"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#8225f7c340e6d66fd3822ea0f3042797755f9d0a": - version "0.0.0-0823edf256e181000db928a26c9de656a6a3d203" - resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#8225f7c340e6d66fd3822ea0f3042797755f9d0a" +"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#11b4744f3e0ecd5b6d9d6f719de17f34efef72c9": + version "0.0.0-4d867b54b0a8b4a5a5b1aafc826098546d715148" + uid "11b4744f3e0ecd5b6d9d6f719de17f34efef72c9" + resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#11b4744f3e0ecd5b6d9d6f719de17f34efef72c9" dependencies: "@google-cloud/spanner" "7.21.0" "@octokit/rest" "21.1.1" @@ -481,7 +482,7 @@ typed-graphqlify "^3.1.1" typescript "~4.9.0" which "^5.0.0" - yaml "2.7.1" + yaml "2.8.0" "@angular/ssr@20.0.0-rc.2": version "20.0.0-rc.2" @@ -17696,7 +17697,12 @@ yallist@^5.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== -yaml@2.7.1, yaml@^2.2.1, yaml@^2.2.2, yaml@^2.4.1: +yaml@2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.0.tgz#15f8c9866211bdc2d3781a0890e44d4fa1a5fff6" + integrity sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ== + +yaml@^2.2.1, yaml@^2.2.2, yaml@^2.4.1: version "2.7.1" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.7.1.tgz#44a247d1b88523855679ac7fa7cda6ed7e135cf6" integrity sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==