If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: github.com/angular/angular-cli/issues/34198 - unit-test builder (Vitest, 22..

site address: github.com/angular/angular-cli/issues/34198 redirected to: github.com/angular/angular-cli/issues/34198

site title: unit-test builder (Vitest, 22.2.0 OXC linker): ReferenceError on class referenced by name before its own declaration in a partially-compiled npm library · Issue #34198 · angular/angular-cli · GitHub

Our opinion (on Wednesday 18 November 2026 17:23:33 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=Command test Is this a regression? Not sure — this may be a regression introduced by the linker rewrite in 22.2.0 ( migrate Angular Linker to oxc-parser and magic-string ), since I have not tested this with 22.1.x. The previous version i...;

Headings (most frequently used words):

navigation, in, description, metadata, footer, this, was, unit, test, builder, vitest, 22, oxc, linker, referenceerror, on, class, referenced, by, name, before, its, own, declaration, partially, compiled, npm, library, 34198, menu, repository, activity, issue, actions, command, is, regression, the, previous, version, which, bug, not, present, minimal, reproduction, exception, or, error, your, environment, anything, else, relevant, assignees, labels, type, projects, milestone, relationships, development,

Text of the page (most frequently used words):
the (29), #angular (19), cascadeselect (16), this (15), and (15), github (14), not (11), issue (11), test (11), build (10), #linker (10), triaged (9), gemini (9), that (8), openng (8), for (7), file (7), class (7), label (6), noting (6), has (6), been (6), vitest (6), oxc (6), its (6), cascadeselectsub (6), referenceerror (6), before (6), declaration (6), you (5), security (5), copilot (5), sign (5), optimus (5), your (5), node_modules (5), builder (5), unit (5), with (5), code (5), 2026 (4), actions (4), which (4), changelog (4), npm (4), cli (4), line (4), referenced (4), all (4), support (4), footer (3), navigation (3), open (3), yet (3), needstriage (3), milestone (3), projects (3), type (3), area (3), one (3), have (3), sep (3), fixes (3), same (3), new (3), declared (3), partial (3), ɵɵngdeclarefactory (3), package (3), src (3), 131 (3), copy (3), link (3), 34198 (3), name (3), own (3), partially (3), compiled (3), library (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), customer (3), enterprise (3), grade (3), features (3), time (2), community (2), status (2), pull (2), requests (2), development (2), labels (2), metadata (2), added (2), robot (2), component (2), whole (2), suite (2), fail (2), load (2), reported (2), parser (2), magic (2), string (2), several (2), source (2), may (2), identifier (2), deps (2), ivy (2), compilation (2), ɵɵngdeclarecomponent (2), affected (2), latest (2), version (2), cannot (2), access (2), initialization (2), static_initializer (2), path (2), sourcemap (2), real (2), fesm2022 (2), mjs (2), reproduction (2), but (2), tests (2), under (2), correctly (2), reference (2), since (2), static (2), description (2), was (2), regression (2), insights (2), 196 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), products (2), secret (2), can, perform, action, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, app, branches, none, relationships, due, date, assigned, assignees, comment, already, account, join, conversation, free, activity, affects, every, whose, import, graph, pulls, via, shared, header, module, causing, just, surfaced, right, after, upgrading, per, migrated, included, related, release, syntax, corruption, parenthesized, expressions, mapping, edge, case, covered, based, implementation, earlier, than, factory, array, references, without, going, through, forwardref, broken, distributed, format, reporting, anything, else, relevant, node, v24, windows, environment, note, shown, from, evaluated, exception, error, don, isolated, provided, full, trace, exact, packet, minimal, builds, fine, classic, karma, pipeline, suggests, applied, there, specific, cross, pattern, devkit, until, 452, further, down, emitted, literal, temporal, dead, zone, applies, referencing, executes, throws, unless, processes, output, into, fully, linked, form, first, presumably, order, sensitive, ɵɵfactorytarget, target, token, ɵfac, 176, 274, includes, traced, actual, shipped, above, disk, when, running, runner, files, crashes, response, previous, bug, present, sure, introduced, rewrite, migrate, tested, command, body, opened, luisescamillamartin, more, items, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, menu, skip, content,


Text of the page (random words):
unit test builder vitest 22 2 0 oxc linker referenceerror on class referenced by name before its own declaration in a partially compiled npm library issue 34198 angular angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular angular cli repository navigation code issues 196 196 pull requests 20 20 actions security and quality 8 8 insights more items unit test builder vitest 22 2 0 oxc linker referenceerror on class referenced by name before its own declaration in a partially compiled npm library 34198 new issue copy link new issue copy link open open unit test builder vitest 22 2 0 oxc linker referenceerror on class referenced by name before its own declaration in a partially compiled npm library 34198 copy link labels area angular build gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini milestone needstriage description luisescamillamartin opened on sep 29 2026 issue body actions command test is this a regression not sure this may be a regression introduced by the linker rewrite in 22 2 0 migrate angular linker to oxc parser and magic string since i have not tested this with 22 1 x the previous version in which this bug was not present was no response description when running ng test with the angular build unit test builder vitest runner on angular cli angular build 22 2 0 several test files fail to load at all 0 tests reported whole suite crashes with referenceerror cannot access cascadeselect before initialization at cascadeselectsub static_initializer node_modules openng src cascadeselect cascadeselect ts 131 30 i traced this to the actual shipped file the path above is a sourcemap reference not a real file on disk node_modules openng optimus ui fesm2022 openng optimus ui cascadeselect mjs in that file cascadeselectsub is declared at line 176 and its static ivy partial declaration at line 274 includes static ɵfac i0 ɵɵngdeclarefactory type cascadeselectsub deps token cascadeselect target i0 ɵɵfactorytarget component cascadeselect the referenced class is not declared until line 452 further down in the same file since this is emitted as a literal class declaration temporal dead zone applies referencing the identifier cascadeselect before its declaration executes throws a referenceerror unless the angular linker processes this partial compilation output ɵɵngdeclarefactory ɵɵngdeclarecomponent into a fully linked form first which is presumably not order sensitive this same package builds and tests fine under the classic karma angular devkit build angular pipeline which suggests the linker is applied correctly there but not or not correctly for this specific cross class reference pattern under the unit test builder in 22 2 0 minimal reproduction i don t have an isolated reproduction yet but you ve provided the full trace and the exact line of the affected packet exception or error referenceerror cannot access cascadeselect before initialization cascadeselectsub static_initializer node_modules openng src cascadeselect cascadeselect ts 131 30 node_modules openng src cascadeselect cascadeselect ts 131 39 note the path shown is from the package s sourcemap the real file evaluated is node_modules openng optimus ui fesm2022 openng optimus ui cascadeselect mjs your environment angular cli 22 2 0 angular build 22 2 0 vitest 5 0 2 node v24 21 0 os windows anything else relevant the affected npm package is openng optimus ui latest version at time of reporting the broken class is cascadeselect cascadeselectsub distributed in ivy partial compilation format ɵɵngdeclarecomponent ɵɵngdeclarefactory cascadeselectsub is declared earlier in the file than cascadeselect and its factory s deps array references cascadeselect by identifier without going through forwardref this surfaced right after upgrading to 22 2 0 which per the changelog migrated the angular linker to oxc parser magic string and included several linker related fixes in the same release syntax corruption parenthesized expressions source mapping this may be an edge case not yet covered by the new oxc based linker implementation affects every test file whose import graph pulls in this component via a shared header footer module causing the whole suite not just one test to fail to load reported as 0 test by vitest activity angular robot added area angular build gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini on sep 29 2026 angular robot added this to the needstriage milestone on sep 29 2026 sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels area angular build gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini type no type projects no projects milestone needstriage no due date relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • @LuisEscamillaMartin

Verified site has: 52 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-52


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Content-Length 0
Location htt????/github.com/angular/angular-cli/issues/34198
connection close
HTTP/2 200
date Wed, 18 Nov 2026 17:23:33 GMT
content-type text/html; charset=utf-8
cache-control max-age=0, private, must-revalidate
content-security-policy default-src none ; base-uri self ; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src self uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net productionresultssa30.blob.core.windows.net productionresultssa31.blob.core.windows.net productionresultssa32.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://*.wps.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com wss://production-copilot-host-centralus.webpubsub.azure.com wss://production-copilot-host-centralus-02.webpubsub.azure.com wss://production-copilot-host-westus.webpubsub.azure.com wss://production-copilot-host-westus3.webpubsub.azure.com wss://production-copilot-host-eastasia.webpubsub.azure.com wss://production-copilot-host-austriaeast.webpubsub.azure.com api.github.com/cmc_internal/api/; font-src github.githubassets.com; form-action self github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors none ; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src self data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com repository-images.githubusercontent.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com *.googleusercontent.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src self ; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com sha256-6nkh0w49y4npXaU0CPIq0z+XDtPnpaDFECgj6Y9vmx4= ; style-src unsafe-inline github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link <htt????/github.com/angular/angular-cli/issues/34198/secondary_view?markAsRead=true&queryId=ee1655bb0bf9a73154e908237823b443d2b8e4a98c1a6d9ca75fc33a8834ce70>; rel=preload; as=fetch; type=application/json; crossorigin=use-credentials; nopush
referrer-policy no-referrer-when-downgrade
server-timing issue_layout-fragment;desc= issue_layout fragment ;dur=239.604749,issue_conversation_content-fragment;desc= issue_conversation_content fragment ;dur=1147.860904,nginx;desc= NGINX ;dur=0.617468,glb;desc= GLB ;dur=62.617525
strict-transport-security max-age=31536000; includeSubdomains; preload
vary X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Accept, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With
x-content-type-options nosniff
x-frame-options deny
x-voltron-version 0d5e604
x-xss-protection 0
server github.com
content-encoding gzip
accept-ranges bytes
set-cookie _gh_sess=1MHRUUVovc%2Fe%2Fx73RUCqjkxo4pE0SZh3cC7uB0R%2FQ0X%2ByvG6a5oPFT%2F0ocV5SVE8Boro0SqYMsX%2BbZsP8fzlVEkVugb4N2QDdAfIRNy9KMuJoa%2FIRTc9hsjHIIklFxMzlbsu1MFVutqKdMJul0QYlzdI0CVhTT8CQYvEUiZCu6UfEpda%2B0IepKQ9DSlZ6vlBxcdct%2FUwCb7i3Q79zDVE0S6jlBvGQaSF6wMu3bwjXBEDJp2aIaGvZn5CYcPJBxLTMtcq4jYeepTC7NY9LcqgOw%3D%3D--c%2BpEjWvPAWRnPfJZ--qO8r6JVFJR9PmEfLbtcjyg%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.1574582371.1795022612; expires=Thu, 18 Nov 2027 17:23:32 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Thu, 18 Nov 2027 17:23:32 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id B24E:20279F:64414F:897EE5:6AFDDF13
x-github-edge-region fra

Meta Tags

title="unit-test builder (Vitest, 22.2.0 OXC linker): ReferenceError on class referenced by name before its own declaration in a partially-compiled npm library · Issue #34198 · angular/angular-cli · GitHub"
charset="utf-8"
name="react-profiling" content="0" data-turbo-transient="true"
name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322" data-turbo-track="reload"
name="route-pattern" content="/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)" data-turbo-transient
name="route-controller" content="voltron_issues_fragments" data-turbo-transient
name="route-action" content="issue_layout" data-turbo-transient
name="fetch-nonce" content="v2:fa976f59-cc5c-6431-e156-e27d836920c0"
name="current-catalog-service-hash" content="81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114"
name="request-id" content="B24E:20279F:64414F:897EE5:6AFDDF13" data-pjax-transient="true"
name="html-safe-nonce" content="64ae0c322ea3581a0fad6ae36a9accd5376910344cdb71f86aa04cf3d423dac3" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjRFOjIwMjc5Rjo2NDQxNEY6ODk3RUU1OjZBRkRERjEzIiwidmlzaXRvcl9pZCI6IjY3NjI3Nzk3OTAwOTgxNjE0MjgiLCJyZWdpb25fZWRnZSI6ImZyYSIsInJlZ2lvbl9yZW5kZXIiOiJmcmEifQ==" data-pjax-transient="true"
name="visitor-hmac" content="afa7bf0e718d33c26fd14755a9f8053b115b8a8948f0688fe9354d65c31b21dc" data-pjax-transient="true"
name="hovercard-subject-tag" content="issue:5628133900" data-turbo-transient
name="github-keyboard-shortcuts" content="repository,issues,copilot" data-turbo-transient="true"
name="selected-link" value="repo_issues" data-turbo-transient
name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"
name="octolytics-url" content="htt????/collector.github.com/github/collect"
name="analytics-location" content="/<user-name>/<repo-name>/voltron/issues_fragments/issue_layout" data-turbo-transient="true"
name="user-login" content=""
name="viewport" content="width=device-width"
name="description" content='Command test Is this a regression? Not sure — this may be a regression introduced by the linker rewrite in 22.2.0 ("migrate Angular Linker to oxc-parser and magic-string"), since I have not tested this with 22.1.x. The previous version i...'
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/_view_fragments/issues/show/angular/angular-cli/34198/issue_layout"
name="twitter:image" content="htt????/opengraph.githubassets.com/1bae46abeb841d8ec9f5471610342368c95de5561e3e823f0bbd0948f7195c7a/angular/angular-cli/issues/34198"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="unit-test builder (Vitest, 22.2.0 OXC linker): ReferenceError on class referenced by name before its own declaration in a partially-compiled npm library · Issue #34198 · angular/angular-cli"
name="twitter:description" content="Command test Is this a regression? Not sure — this may be a regression introduced by the linker rewrite in 22.2.0 (&quot;migrate Angular Linker to oxc-parser and magic-string&quot;), since I have n..."
property="og:image" content="htt????/opengraph.githubassets.com/1bae46abeb841d8ec9f5471610342368c95de5561e3e823f0bbd0948f7195c7a/angular/angular-cli/issues/34198"
property="og:image:alt" content='Command test Is this a regression? Not sure — this may be a regression introduced by the linker rewrite in 22.2.0 ("migrate Angular Linker to oxc-parser and magic-string"), since I have not tested ...'
property="og:image:width" content="1200"
property="og:image:height" content="600"
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="unit-test builder (Vitest, 22.2.0 OXC linker): ReferenceError on class referenced by name before its own declaration in a partially-compiled npm library · Issue #34198 · angular/angular-cli"
property="og:url" content="htt????/github.com/angular/angular-cli/issues/34198"
property="og:description" content='Command test Is this a regression? Not sure — this may be a regression introduced by the linker rewrite in 22.2.0 ("migrate Angular Linker to oxc-parser and magic-string"), since I have not tested ...'
property="og:author:username" content="LuisEscamillaMartin"
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="a045a0cc368f4ae19d8a25b35d2e71a5565205745a7ffd213a1a4d722b527972" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="da37a124316120c46a7ac5f1f3faf1b2eb992aa46a47bf3bb59d2c4f87142b79" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="90d7884679efe0f89b35e0eef84213a75179f38d11a62f2a0af551bbe5110799" data-turbo-track="reload"
name="turbo-cache-control" content="no-preview" data-turbo-transient=""
name="voltron-timing" value="1149"
name="go-import" content="github.com/angular/angular-cli git htt????/github.com/angular/angular-cli.git"
name="octolytics-dimension-user_id" content="139426"
name="octolytics-dimension-user_login" content="angular"
name="octolytics-dimension-repository_id" content="36891867"
name="octolytics-dimension-repository_nwo" content="angular/angular-cli"
name="octolytics-dimension-repository_public" content="true"
name="octolytics-dimension-repository_is_fork" content="false"
name="octolytics-dimension-repository_network_root_id" content="36891867"
name="octolytics-dimension-repository_network_root_nwo" content="angular/angular-cli"
name="turbo-body-classes" content="logged-out env-production page-responsive"
name="disable-turbo" content="false"
name="browser-stats-url" content="htt????/api.github.com/_private/browser/stats"
name="browser-errors-url" content="htt????/api.github.com/_private/browser/errors"
name="release" content="89e3d4b2f59ef440fc496c853aee1d9a06a137d6" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"
name="react-app-name" content="issues"

Load Info

page size42642
load time (s)1.383064
redirect count1
speed download30832
server IP 140.82.121.4
* all occurrences of the string "http://" have been changed to "htt???/"