René's URL Explorer Experiment


Title: SyntaxError: Invalid left-hand side in assignment in Karma tests after updating from 20.0.5 to 20.1.3 · Issue #62837 · angular/angular · GitHub

Open Graph Title: SyntaxError: Invalid left-hand side in assignment in Karma tests after updating from 20.0.5 to 20.1.3 · Issue #62837 · angular/angular

X Title: SyntaxError: Invalid left-hand side in assignment in Karma tests after updating from 20.0.5 to 20.1.3 · Issue #62837 · angular/angular

Description: Command test Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was 20.0.5 Description After updating from Angular 20.0.5 to 20.1.2, Karma/Jasmine unit tes...

Open Graph Description: Command test Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was 20.0.5 Description After updating from Angular ...

X Description: Command test Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was 20.0.5 Description After updating from Angular ...

Opengraph URL: https://github.com/angular/angular/issues/62837

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SyntaxError: Invalid left-hand side in assignment in Karma tests after updating from 20.0.5 to 20.1.3","articleBody":"### Command\n\ntest\n\n### Is this a regression?\n\n- [x] Yes, this behavior used to work in the previous version\n\n### The previous version in which this bug was not present was\n\n20.0.5\n\n### Description\n\nAfter updating from Angular 20.0.5 to 20.1.2, Karma/Jasmine unit tests fail with with the error **SyntaxError: Invalid left-hand side in assignment**.  I am trying to sort this for the past one week with no avail (I've kept downgrading and the version that worked was 20.0.5, the one was currently using).\n\nEven if I create a single test.spec.ts with a dump assertion with no other dependency, the test also fails:\n\n```\nfdescribe(`Dumb`, () => {\n\tit(`Dumb Test`, () => {\n\t\texpect(true).toBe(true);\n\t});\n});\n\n```\nSee the logs at \n\n```\n1) Dumb Test assertion\n     Dumb Test\n     SyntaxError: Invalid left-hand side in assignment\n    at eval (\u003canonymous>)\n    at newTrustedFunctionForJIT (http://localhost:9876/_karma_webpack_/polyfills.js:7486:29)\n    at JitEvaluator.evaluateCode (http://localhost:9876/_karma_webpack_/polyfills.js:7557:16)\n    at JitEvaluator.evaluateStatements (http://localhost:9876/_karma_webpack_/polyfills.js:7527:17)\n    at CompilerFacadeImpl.jitExpression (http://localhost:9876/_karma_webpack_/polyfills.js:31040:35)\n    at CompilerFacadeImpl.compileComponentFromMeta (http://localhost:9876/_karma_webpack_/polyfills.js:31001:17)\n    at CompilerFacadeImpl.compileComponent (http://localhost:9876/_karma_webpack_/polyfills.js:30990:17)\n    at CustomFieldsComponent.get (http://localhost:9876/_karma_webpack_/vendor.js:399460:37)\n    at getComponentDef (http://localhost:9876/_karma_webpack_/vendor.js:458515:14)\n    at isStandalone (http://localhost:9876/_karma_webpack_/vendor.js:458539:15)\n\n``` \n\nversion of Angular CLI used: 20.1.2\nversion of Angular DevKit used: 20.1.2\nangular.json configuration:\n\n```\n{\n\t\"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\n\t\"version\": 1,\n\t\"newProjectRoot\": \"projects\",\n\t\"projects\": {\n\t\t\"hiddenCompany\": {\n\t\t\t\"projectType\": \"application\",\n\t\t\t\"schematics\": {\n\t\t\t\t\"@schematics/angular:component\": {\n\t\t\t\t\t\"style\": \"scss\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"root\": \"\",\n\t\t\t\"sourceRoot\": \"src\",\n\t\t\t\"prefix\": \"app\",\n\t\t\t\"architect\": {\n\t\t\t\t\"build\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:browser\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"allowedCommonJsDependencies\": [\n\t\t\t\t\t\t\t\"file-saver\",\n\t\t\t\t\t\t\t\"spark-md5\",\n\t\t\t\t\t\t\t\"dompurify\",\n\t\t\t\t\t\t\t\"date-fns-tz\",\n\t\t\t\t\t\t\t\"iframe-resizer\",\n\t\t\t\t\t\t\t\"reflect-metadata\",\n\t\t\t\t\t\t\t\"@dagrejs/dagre\",\n\t\t\t\t\t\t\t\"color-convert\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"outputPath\": \"dist\",\n\t\t\t\t\t\t\"index\": \"src/index.html\",\n\t\t\t\t\t\t\"main\": \"src/main.ts\",\n\t\t\t\t\t\t\"polyfills\": \"src/polyfills.ts\",\n\t\t\t\t\t\t\"tsConfig\": \"tsconfig.app.json\",\n\t\t\t\t\t\t\"buildOptimizer\": false,\n\t\t\t\t\t\t\"assets\": [\"src/assets\", \"src/tech\", \"src/favicon.ico\"],\n\t\t\t\t\t\t\"styles\": [\n\t\t\t\t\t\t\t\"src/styles.scss\",\n\t\t\t\t\t\t\t\"src/assets/css/print.scss\",\n\t\t\t\t\t\t\t\"src/assets/css/global.scss\",\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"scripts\": [],\n\t\t\t\t\t\t\"stylePreprocessorOptions\": {\n\t\t\t\t\t\t\t\"includePaths\": [\n\t\t\t\t\t\t\t\t\"src/assets/css\",\n\t\t\t\t\t\t\t\t\"src/app/shared/scss/table\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"extractLicenses\": false,\n\t\t\t\t\t\t\"sourceMap\": true,\n\t\t\t\t\t\t\"optimization\": false,\n\t\t\t\t\t\t\"namedChunks\": true\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"fileReplacements\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"replace\": \"src/environments/environment.ts\",\n\t\t\t\t\t\t\t\t\t\"with\": \"src/environments/environment.prod.ts\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"optimization\": {\n\t\t\t\t\t\t\t\t\"fonts\": {\n\t\t\t\t\t\t\t\t\t\"inline\": false\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"styles\": {\n\t\t\t\t\t\t\t\t\t\"inlineCritical\": false\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"outputHashing\": \"all\",\n\t\t\t\t\t\t\t\"sourceMap\": false,\n\t\t\t\t\t\t\t\"extractLicenses\": true,\n\t\t\t\t\t\t\t\"buildOptimizer\": true,\n\t\t\t\t\t\t\t\"budgets\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"type\": \"initial\",\n\t\t\t\t\t\t\t\t\t\"maximumWarning\": \"2.17mb\",\n\t\t\t\t\t\t\t\t\t\"maximumError\": \"5mb\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"type\": \"anyComponentStyle\",\n\t\t\t\t\t\t\t\t\t\"maximumWarning\": \"10kb\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t\"defaultConfiguration\": \"\"\n\t\t\t\t},\n\t\t\t\t\"serve\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:dev-server\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build\"\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build:production\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"dev\": {\n\t\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build:dev\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"extract-i18n\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:extract-i18n\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"test\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:karma\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"main\": \"src/test.ts\",\n\t\t\t\t\t\t\"polyfills\": \"src/polyfills.ts\",\n\t\t\t\t\t\t\"tsConfig\": \"tsconfig.spec.json\",\n\t\t\t\t\t\t\"karmaConfig\": \"karma.conf.js\",\n\t\t\t\t\t\t\"assets\": [],\n\t\t\t\t\t\t\"scripts\": [],\n\t\t\t\t\t\t\"stylePreprocessorOptions\": {\n\t\t\t\t\t\t\t\"includePaths\": [\n\t\t\t\t\t\t\t\t\"src/assets/css\",\n\t\t\t\t\t\t\t\t\"src/app/shared/scss/table\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"codeCoverageExclude\": [\"/**/*mock*.ts\"]\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"e2e\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:protractor\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"protractorConfig\": \"e2e/protractor.conf.js\",\n\t\t\t\t\t\t\"devServerTarget\": \"hiddenCompany:serve\"\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"devServerTarget\": \"hiddenCompany:serve:production\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"lint\": {\n\t\t\t\t\t\"builder\": \"@angular-eslint/builder:lint\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"lintFilePatterns\": [\"src/**/*.ts\", \"src/**/*.html\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t\"cli\": {\n\t\t\"analytics\": false,\n\t\t\"schematicCollections\": [\"@angular-eslint/schematics\"],\n\t\t\"cache\": {\n\t\t\t\"enabled\": false\n\t\t}\n  },\n  \"schematics\": {\n    \"@schematics/angular:component\": {\n      \"type\": \"component\"\n    },\n    \"@schematics/angular:directive\": {\n      \"type\": \"directive\"\n    },\n    \"@schematics/angular:service\": {\n      \"type\": \"service\"\n    },\n    \"@schematics/angular:guard\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:interceptor\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:module\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:pipe\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:resolver\": {\n      \"typeSeparator\": \".\"\n    }\n  }\n}\n```\n\n### Minimal Reproduction\n\nversion of Angular CLI used: **20.1.2**\nversion of Angular DevKit used: **20.1.2**\nangular.json configuration: \n\n```\n{\n\t\"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\n\t\"version\": 1,\n\t\"newProjectRoot\": \"projects\",\n\t\"projects\": {\n\t\t\"hiddenCompany\": {\n\t\t\t\"projectType\": \"application\",\n\t\t\t\"schematics\": {\n\t\t\t\t\"@schematics/angular:component\": {\n\t\t\t\t\t\"style\": \"scss\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"root\": \"\",\n\t\t\t\"sourceRoot\": \"src\",\n\t\t\t\"prefix\": \"app\",\n\t\t\t\"architect\": {\n\t\t\t\t\"build\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:browser\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"allowedCommonJsDependencies\": [\n\t\t\t\t\t\t\t\"file-saver\",\n\t\t\t\t\t\t\t\"spark-md5\",\n\t\t\t\t\t\t\t\"dompurify\",\n\t\t\t\t\t\t\t\"highcharts\",\n\t\t\t\t\t\t\t\"@fortawesome/pro-light-svg-icons\",\n\t\t\t\t\t\t\t\"@fortawesome/pro-solid-svg-icons\",\n\t\t\t\t\t\t\t\"date-fns-tz\",\n\t\t\t\t\t\t\t\"iframe-resizer\",\n\t\t\t\t\t\t\t\"reflect-metadata\",\n\t\t\t\t\t\t\t\"@dagrejs/dagre\",\n\t\t\t\t\t\t\t\"color-convert\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"outputPath\": \"dist\",\n\t\t\t\t\t\t\"index\": \"src/index.html\",\n\t\t\t\t\t\t\"main\": \"src/main.ts\",\n\t\t\t\t\t\t\"polyfills\": \"src/polyfills.ts\",\n\t\t\t\t\t\t\"tsConfig\": \"tsconfig.app.json\",\n\t\t\t\t\t\t\"buildOptimizer\": false,\n\t\t\t\t\t\t\"assets\": [\"src/assets\", \"src/tech\", \"src/favicon.ico\"],\n\t\t\t\t\t\t\"styles\": [\n\t\t\t\t\t\t\t\"src/assets/css/google-web-fonts.scss\",\n\t\t\t\t\t\t\t\"src/bootstrap-sass-grid/bootstrap-sass-grid.scss\",\n\t\t\t\t\t\t\t\"src/styles.scss\",\n\t\t\t\t\t\t\t\"src/assets/css/print.scss\",\n\t\t\t\t\t\t\t\"src/assets/css/global.scss\",\n\t\t\t\t\t\t\t\"node_modules/highcharts/css/highcharts.css\",\n\t\t\t\t\t\t\t\"src/app/components/widget-core/css/chart-colors.scss\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"scripts\": [],\n\t\t\t\t\t\t\"stylePreprocessorOptions\": {\n\t\t\t\t\t\t\t\"includePaths\": [\n\t\t\t\t\t\t\t\t\"src/assets/css\",\n\t\t\t\t\t\t\t\t\"src/app/shared/scss/table\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"extractLicenses\": false,\n\t\t\t\t\t\t\"sourceMap\": true,\n\t\t\t\t\t\t\"optimization\": false,\n\t\t\t\t\t\t\"namedChunks\": true\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"fileReplacements\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"replace\": \"src/environments/environment.ts\",\n\t\t\t\t\t\t\t\t\t\"with\": \"src/environments/environment.prod.ts\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"optimization\": {\n\t\t\t\t\t\t\t\t\"fonts\": {\n\t\t\t\t\t\t\t\t\t\"inline\": false\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"styles\": {\n\t\t\t\t\t\t\t\t\t\"inlineCritical\": false\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"outputHashing\": \"all\",\n\t\t\t\t\t\t\t\"sourceMap\": false,\n\t\t\t\t\t\t\t\"extractLicenses\": true,\n\t\t\t\t\t\t\t\"buildOptimizer\": true,\n\t\t\t\t\t\t\t\"budgets\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"type\": \"initial\",\n\t\t\t\t\t\t\t\t\t\"maximumWarning\": \"2.17mb\",\n\t\t\t\t\t\t\t\t\t\"maximumError\": \"5mb\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"type\": \"anyComponentStyle\",\n\t\t\t\t\t\t\t\t\t\"maximumWarning\": \"10kb\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t\"defaultConfiguration\": \"\"\n\t\t\t\t},\n\t\t\t\t\"serve\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:dev-server\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build\"\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build:production\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"dev\": {\n\t\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build:dev\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"extract-i18n\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:extract-i18n\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"buildTarget\": \"hiddenCompany:build\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"test\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:karma\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"main\": \"src/test.ts\",\n\t\t\t\t\t\t\"polyfills\": \"src/polyfills.ts\",\n\t\t\t\t\t\t\"tsConfig\": \"tsconfig.spec.json\",\n\t\t\t\t\t\t\"karmaConfig\": \"karma.conf.js\",\n\t\t\t\t\t\t\"assets\": [],\n\t\t\t\t\t\t\"scripts\": [],\n\t\t\t\t\t\t\"stylePreprocessorOptions\": {\n\t\t\t\t\t\t\t\"includePaths\": [\n\t\t\t\t\t\t\t\t\"src/assets/css\",\n\t\t\t\t\t\t\t\t\"src/app/shared/scss/table\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"codeCoverageExclude\": [\"/**/*mock*.ts\"]\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"e2e\": {\n\t\t\t\t\t\"builder\": \"@angular-devkit/build-angular:protractor\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"protractorConfig\": \"e2e/protractor.conf.js\",\n\t\t\t\t\t\t\"devServerTarget\": \"hiddenCompany:serve\"\n\t\t\t\t\t},\n\t\t\t\t\t\"configurations\": {\n\t\t\t\t\t\t\"production\": {\n\t\t\t\t\t\t\t\"devServerTarget\": \"hiddenCompany:serve:production\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"lint\": {\n\t\t\t\t\t\"builder\": \"@angular-eslint/builder:lint\",\n\t\t\t\t\t\"options\": {\n\t\t\t\t\t\t\"lintFilePatterns\": [\"src/**/*.ts\", \"src/**/*.html\"]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t\"cli\": {\n\t\t\"analytics\": false,\n\t\t\"schematicCollections\": [\"@angular-eslint/schematics\"],\n\t\t\"cache\": {\n\t\t\t\"enabled\": false\n\t\t}\n  },\n  \"schematics\": {\n    \"@schematics/angular:component\": {\n      \"type\": \"component\"\n    },\n    \"@schematics/angular:directive\": {\n      \"type\": \"directive\"\n    },\n    \"@schematics/angular:service\": {\n      \"type\": \"service\"\n    },\n    \"@schematics/angular:guard\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:interceptor\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:module\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:pipe\": {\n      \"typeSeparator\": \".\"\n    },\n    \"@schematics/angular:resolver\": {\n      \"typeSeparator\": \".\"\n    }\n  }\n}\n```\n\n### Exception or Error\n\n```text\n1) Dumb Test assertion\n     Dumb Test\n     SyntaxError: Invalid left-hand side in assignment\n    at eval (\u003canonymous>)\n    at newTrustedFunctionForJIT (http://localhost:9876/_karma_webpack_/polyfills.js:7486:29)\n    at JitEvaluator.evaluateCode (http://localhost:9876/_karma_webpack_/polyfills.js:7557:16)\n    at JitEvaluator.evaluateStatements (http://localhost:9876/_karma_webpack_/polyfills.js:7527:17)\n    at CompilerFacadeImpl.jitExpression (http://localhost:9876/_karma_webpack_/polyfills.js:31040:35)\n    at CompilerFacadeImpl.compileComponentFromMeta (http://localhost:9876/_karma_webpack_/polyfills.js:31001:17)\n    at CompilerFacadeImpl.compileComponent (http://localhost:9876/_karma_webpack_/polyfills.js:30990:17)\n    at CustomFieldsComponent.get (http://localhost:9876/_karma_webpack_/vendor.js:399460:37)\n    at getComponentDef (http://localhost:9876/_karma_webpack_/vendor.js:458515:14)\n    at isStandalone (http://localhost:9876/_karma_webpack_/vendor.js:458539:15)\n```\n\n### Your Environment\n\n```text\n20.1.2\n```\n\n### Anything else relevant?\n\nI've tried to change the testing builder to  \"builder\": \"@angular/build:karma\", still the same error happens. ","author":{"url":"https://github.com/flaviohenriquealmeida","@type":"Person","name":"flaviohenriquealmeida"},"datePublished":"2025-07-24T15:30:25Z","url":"https://github.com/angular/angular/issues/62837"}

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:2c76694a-fdc4-d530-bba3-7c82cd44dfad
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id80E8:229B2E:16B8D5A:1DF2E08:6B01309B
html-safe-nonce682eb3416e18f21ffed45c5dc34b0054cb881cb5baa7638618e07331978e352a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEU4OjIyOUIyRToxNkI4RDVBOjFERjJFMDg6NkIwMTMwOUIiLCJ2aXNpdG9yX2lkIjoiOTE3MjQyNTk3NzM3NTc0NTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac006addadec615dabdd1d5d73b2c4d43e57e775673da22fb89236612ea48daa83
hovercard-subject-tagissue:3267092003
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/62837/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7f32f6236e1857fe6593b38c56fa6ae5bb40a6875edac8816e924495ad16ae04/angular/angular/issues/62837
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7f32f6236e1857fe6593b38c56fa6ae5bb40a6875edac8816e924495ad16ae04/angular/angular/issues/62837
og:image:altCommand test Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was 20.0.5 Description After updating from Angular ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflaviohenriquealmeida
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
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/issues/62837#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F62837
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%2Fissues%2F62837
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
Reloadhttps://github.com/angular/angular/issues/62837
Reloadhttps://github.com/angular/angular/issues/62837
Reloadhttps://github.com/angular/angular/issues/62837
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/62837
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/62837
SyntaxError: Invalid left-hand side in assignment in Karma tests after updating from 20.0.5 to 20.1.3https://github.com/angular/angular/issues/62837#top
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
compiler: parserhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20parser%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 24, 2025https://github.com/angular/angular/issues/62837#issue-3267092003
Nexthttps://github.com/angular/angular/issues/62837?timeline_page=1
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jul 25, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124403269
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 25, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124403272
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jul 25, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124403275
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 25, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124403279
https://github.com/angular/angular/tree/18.0.3/packages/core/schematics/migrations/invalid-two-way-bindingshttps://github.com/angular/angular/tree/18.0.3/packages/core/schematics/migrations/invalid-two-way-bindings
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jul 27, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124403280
#55342https://github.com/angular/angular/pull/55342
JoostKhttps://github.com/JoostK
angular/angular-clihttps://github.com/angular/angular-cli
on Jul 27, 2025https://github.com/angular/angular/issues/62837#event-18840107452
JoostKhttps://github.com/JoostK
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
compiler: parserhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20parser%22
on Jul 27, 2025https://github.com/angular/angular/issues/62837#event-18840109107
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jul 27, 2025https://github.com/angular/angular/issues/62837#event-18840109182
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jul 27, 2025https://github.com/angular/angular/issues/62837#issuecomment-3124434215
JeanMechehttps://github.com/JeanMeche
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Jul 27, 2025https://github.com/angular/angular/issues/62837#event-18840353694
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Jul 27, 2025https://github.com/angular/angular/issues/62837#event-18840354110
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 28, 2025https://github.com/angular/angular/issues/62837#issuecomment-3125982583
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 28, 2025https://github.com/angular/angular/issues/62837#issuecomment-3126138072
https://private-user-images.githubusercontent.com/1374362/471402073-090ec88c-da29-42ae-b47e-82eaa266744b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDAzOTIsIm5iZiI6MTc5NTI0MDA5MiwicGF0aCI6Ii8xMzc0MzYyLzQ3MTQwMjA3My0wOTBlYzg4Yy1kYTI5LTQyYWUtYjQ3ZS04MmVhYTI2Njc0NGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDU0ODEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTgzZDI4ZDU2YWMyOTliNTBiNGRkMTVhNDhjYjU2YWNlMmY3ZTBiNjViMTA1MWJjOGFmNDcwYThmMDlkOWE3MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.Nxi3GsHfi0D8a3gXqvJS1s2hpWl83LPvkokTafsU0Rc
@JeanMechehttps://github.com/JeanMeche
https://private-user-images.githubusercontent.com/1374362/471406340-2081d950-4956-46a9-a18d-3c21f6c3a3d4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDAzOTIsIm5iZiI6MTc5NTI0MDA5MiwicGF0aCI6Ii8xMzc0MzYyLzQ3MTQwNjM0MC0yMDgxZDk1MC00OTU2LTQ2YTktYTE4ZC0zYzIxZjZjM2EzZDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDU0ODEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGM3OWNiYzY3NDY3MjY5OWZiZmIzNDUwNDMyMzg2ZTNlNjMzMWI0ZDUwMDExYTJjMmZiOTg0YTRjZGYwY2JhOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.V0Brkvr2Bq7lZItlaSAZ-jEwy2e0AhDAhnixdoTPzYs
https://private-user-images.githubusercontent.com/1374362/471404127-8d09b604-6605-4914-8e4b-f039d7b3de54.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDAzOTIsIm5iZiI6MTc5NTI0MDA5MiwicGF0aCI6Ii8xMzc0MzYyLzQ3MTQwNDEyNy04ZDA5YjYwNC02NjA1LTQ5MTQtOGU0Yi1mMDM5ZDdiM2RlNTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDU0ODEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzU3YjlkYTEwOTYzNWIzNmU5ODA5NGU1NDJmNzU1ODE0ZjA5N2ExNTZhODBhYjVlMGFhYjQ4NGIxMjY0YWEzZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.lyumQfrEqqMu1Yc8IHMSo1-2TBe4dx6hy8dhnp4vZn8
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jul 28, 2025https://github.com/angular/angular/issues/62837#issuecomment-3126290722
#37619https://github.com/angular/angular/issues/37619
https://github.com/flaviohenriquealmeida
flaviohenriquealmeidahttps://github.com/flaviohenriquealmeida
on Jul 28, 2025https://github.com/angular/angular/issues/62837#issuecomment-3126447851
@JeanMechehttps://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Jul 28, 2025https://github.com/angular/angular/issues/62837#event-18852635379
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
needsTriagehttps://github.com/angular/angular/milestone/83
on Jul 28, 2025https://github.com/angular/angular/issues/62837#event-18852636702
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jul 28, 2025https://github.com/angular/angular/issues/62837#issuecomment-3126611539
JeanMechehttps://github.com/JeanMeche
on Jul 28, 2025https://github.com/angular/angular/issues/62837#event-18853274531
fix(compiler): exclude more safe reads expression from 2way-bindinghttps://github.com/JeanMeche/angular/commit/3b62a2c49a89fbd175daedecda0fbff583118a60
https://docs.github.com/articles/closing-issues-via-commit-messages
3b62a2chttps://github.com/JeanMeche/angular/commit/3b62a2c49a89fbd175daedecda0fbff583118a60
fix(compiler): exclude more safe reads expression from 2way-bindinghttps://github.com/JeanMeche/angular/commit/10b10db40a4b300eedc5baa54b21fa844d786d56
https://docs.github.com/articles/closing-issues-via-commit-messages
10b10dbhttps://github.com/JeanMeche/angular/commit/10b10db40a4b300eedc5baa54b21fa844d786d56
fix(compiler): exclude more safe reads expression from 2way-bindinghttps://github.com/JeanMeche/angular/commit/38fb1a98098191306ddb10fee545fc7e66819f69
https://docs.github.com/articles/closing-issues-via-commit-messages
38fb1a9https://github.com/JeanMeche/angular/commit/38fb1a98098191306ddb10fee545fc7e66819f69
fix(compiler): exclude more safe reads expression from 2way-bindinghttps://github.com/JeanMeche/angular/commit/75929cf059fe5b87ea24c3b61293399e87bcf06b
https://docs.github.com/articles/closing-issues-via-commit-messages
75929cfhttps://github.com/JeanMeche/angular/commit/75929cf059fe5b87ea24c3b61293399e87bcf06b
thePunderWomanhttps://github.com/thePunderWoman
on Jul 29, 2025https://github.com/angular/angular/issues/62837#event-18883482653
fix(compiler): exclude more safe reads expression from 2way-binding (#…https://github.com/angular/angular/commit/db3c5826ee0b52e5b7886087b82990340a34c1ab
#…https://github.com/angular/angular/pull/62852
https://docs.github.com/articles/closing-issues-via-commit-messages
db3c582https://github.com/angular/angular/commit/db3c5826ee0b52e5b7886087b82990340a34c1ab
thePunderWomanhttps://github.com/thePunderWoman
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
5b25d93https://github.com/angular/angular/commit/5b25d93f27b259098ed968a8a355e9c16867b37b
on Jul 29, 2025https://github.com/angular/angular/issues/62837#event-18883483103
angular-robothttps://github.com/angular-robot
on Jul 29, 2025https://github.com/angular/angular/issues/62837#event-18883643343
fix(compiler): exclude more safe reads expression from 2way-binding (a…https://github.com/angular-robot/angular/commit/5b25d93f27b259098ed968a8a355e9c16867b37b
a…https://github.com/angular/angular/pull/62852
https://docs.github.com/articles/closing-issues-via-commit-messages
5b25d93https://github.com/angular-robot/angular/commit/5b25d93f27b259098ed968a8a355e9c16867b37b
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Aug 29, 2025https://github.com/angular/angular/issues/62837#issuecomment-3235315702
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Aug 29, 2025https://github.com/angular/angular/issues/62837#event-19401592118
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/62837
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/62837
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
compiler: parserhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20parser%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.