René's URL Explorer Experiment


Title: New Angular projects install jasmine-core ~5.7.0 but use 4.6.1 · Issue #30575 · angular/angular-cli · GitHub

Open Graph Title: New Angular projects install jasmine-core ~5.7.0 but use 4.6.1 · Issue #30575 · angular/angular-cli

X Title: New Angular projects install jasmine-core ~5.7.0 but use 4.6.1 · Issue #30575 · angular/angular-cli

Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description The package.json file generated by ng new includes the dev dependency "jasmine-core": "~5.7.0", but jasmine-core 4.6.1 is al...

Open Graph Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description The package.json file generated by ng new includes the dev dependency "jasmine-core"...

X Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description The package.json file generated by ng new includes the dev dependency "jasm...

Opengraph URL: https://github.com/angular/angular-cli/issues/30575

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New Angular projects install jasmine-core ~5.7.0 but use 4.6.1","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nDon't known / other\n\n### Is this a regression?\n\nYes\n\n### Description\n\nThe package.json file generated by `ng new` includes the dev dependency `\"jasmine-core\": \"~5.7.0\"`, but jasmine-core 4.6.1 is also installed and used to run tests in Karma.\nSteps to reproduce:\n\n1. Install @angular/cli 20.0.3.\n2. Run `ng new some-name` and accept all the defaults.\n3. Note the jasmine-core dependency in package.json.\n4. Run `npm test` and note the Jasmine version displayed in the browser.\n5. Run `npm ls jasmine-core`.\n\nExpected: The versions from steps 3 and 4 agree, and step 5 shows that only a single version of jasmine-core is installed.\nObserved: Step 3 and 4 show different major versions, and step 5 shows that two different versions of jasmine-core are installed.\n\nThe problem is that karma-jasmine declares a dependency on jasmine-core 4.x. `ng new` tries to set up the project to use jasmine-core 5.x, but it doesn't add [the necessary override](https://jasmine.github.io/pages/faq.html#001-karma).\n\nNote: I'm not an Angular user, but I do maintain Jasmine. I've seen this version mismatch cause a couple of problems. One is that Angular users are occasionally confused about which major version of jasmine-core they're actually using. The other is that it makes jasmine-core download statistics pretty much useless for determining uptake of the latest major version, since an unknown but probably large portion of 5.x downloads are from Angular users who are actually still running 4.x.\n\n### Please provide a link to a minimal reproduction of the bug\n\n_No response_\n\n### Please provide the exception or error you saw\n\n```true\n\n```\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 20.0.3\nNode: 20.19.0\nPackage Manager: npm 10.8.2\nOS: darwin arm64\n\nAngular: 20.0.4\n... common, compiler, compiler-cli, core, forms\n... platform-browser, router\n\nPackage                      Version\n------------------------------------------------------\n@angular-devkit/architect    0.2000.3\n@angular-devkit/core         20.0.3\n@angular-devkit/schematics   20.0.3\n@angular/build               20.0.3\n@angular/cli                 20.0.3\n@schematics/angular          20.0.3\nrxjs                         7.8.2\ntypescript                   5.8.3\nzone.js                      0.15.1\n```\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/sgravrock","@type":"Person","name":"sgravrock"},"datePublished":"2025-06-21T19:02:54Z","url":"https://github.com/angular/angular-cli/issues/30575"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b2a8d47d-6b70-35fc-299b-f39833d35ccb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9548:BB75:117BF25:172CC55:6B01E84D
html-safe-nonce786564a1ae6659a38cb6f61369dc1dfbad3dbf45ac73f1b53c441be1ca396a5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ4OkJCNzU6MTE3QkYyNToxNzJDQzU1OjZCMDFFODREIiwidmlzaXRvcl9pZCI6IjM1MDMzNzg0NzAyMDA4NzM3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7f93bb0d9eda24ddec361d1e30ca8601254b0e3f91372510616d92dbc8a236cc
hovercard-subject-tagissue:3165507694
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/30575/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2433f6ce6e074ff175314c50b6a13516097ba0355469d17e50e1d1aeb8e8f6b6/angular/angular-cli/issues/30575
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2433f6ce6e074ff175314c50b6a13516097ba0355469d17e50e1d1aeb8e8f6b6/angular/angular-cli/issues/30575
og:image:altWhich @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description The package.json file generated by ng new includes the dev dependency "jasmine-core"...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesgravrock
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/30575#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F30575
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F30575
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/30575
Reloadhttps://github.com/angular/angular-cli/issues/30575
Reloadhttps://github.com/angular/angular-cli/issues/30575
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/30575
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/30575
New Angular projects install jasmine-core ~5.7.0 but use 4.6.1https://github.com/angular/angular-cli/issues/30575#top
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Jun 21, 2025https://github.com/angular/angular-cli/issues/30575#issue-3165507694
the necessary overridehttps://jasmine.github.io/pages/faq.html#001-karma
JeanMechehttps://github.com/JeanMeche
angular/angularhttps://github.com/angular/angular
on Jun 21, 2025https://github.com/angular/angular-cli/issues/30575#event-18259212858
alan-agius4https://github.com/alan-agius4
needs: discussionOn the agenda for team meeting to determine next stepshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20discussion%22
on Jun 23, 2025https://github.com/angular/angular-cli/issues/30575#event-18266351820
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Jun 24, 2025https://github.com/angular/angular-cli/issues/30575#issuecomment-3001487386
jasmine/jasmine#2066https://github.com/jasmine/jasmine/issues/2066
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Oct 2, 2025https://github.com/angular/angular-cli/issues/30575#issuecomment-3362719559
https://jasmine.github.io/pages/faq.html#002-karma-versionhttps://jasmine.github.io/pages/faq.html#002-karma-version
https://github.com/atscott
atscotthttps://github.com/atscott
on Oct 31, 2025https://github.com/angular/angular-cli/issues/30575#issuecomment-3473542287
@sgravrockhttps://github.com/sgravrock
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Oct 31, 2025https://github.com/angular/angular-cli/issues/30575#issuecomment-3473962817
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Nov 1, 2025https://github.com/angular/angular-cli/issues/30575#issuecomment-3475316294
https://github.com/dgp1130
dgp1130https://github.com/dgp1130
on Jan 26, 2026https://github.com/angular/angular-cli/issues/30575#issuecomment-3800649617
@clydinhttps://github.com/clydin
a PRhttps://github.com/karma-runner/karma-jasmine/pull/350
dgp1130https://github.com/dgp1130
needs: discussionOn the agenda for team meeting to determine next stepshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20discussion%22
on Jan 26, 2026https://github.com/angular/angular-cli/issues/30575#event-22294607373
https://github.com/sgravrock
sgravrockhttps://github.com/sgravrock
on Aug 8, 2026https://github.com/angular/angular-cli/issues/30575#issuecomment-5228428634
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/30575
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/30575
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.